diff options
| author | Daniel Paoliello <danpao@microsoft.com> | 2023-09-01 14:27:21 -0700 |
|---|---|---|
| committer | Daniel Paoliello <danpao@microsoft.com> | 2023-09-01 14:27:21 -0700 |
| commit | 06890774ab4f4f494be55fd6fe1097636fbea7c1 (patch) | |
| tree | f6e110f84418442615f37f9bf28965f0a1c191ef /compiler/rustc_codegen_gcc | |
| parent | 83995f320c13c05a70b460ac1cf5d9d87b497f1e (diff) | |
| download | rust-06890774ab4f4f494be55fd6fe1097636fbea7c1.tar.gz rust-06890774ab4f4f494be55fd6fe1097636fbea7c1.zip | |
Deduplicate inlined function debug info, but create a new lexical scope to child subsequent scopes and variables from colliding
Diffstat (limited to 'compiler/rustc_codegen_gcc')
| -rw-r--r-- | compiler/rustc_codegen_gcc/src/debuginfo.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_gcc/src/debuginfo.rs b/compiler/rustc_codegen_gcc/src/debuginfo.rs index a81585d4128..d1bfd833cd8 100644 --- a/compiler/rustc_codegen_gcc/src/debuginfo.rs +++ b/compiler/rustc_codegen_gcc/src/debuginfo.rs @@ -55,7 +55,7 @@ impl<'gcc, 'tcx> DebugInfoMethods<'tcx> for CodegenCx<'gcc, 'tcx> { _fn_abi: &FnAbi<'tcx, Ty<'tcx>>, _llfn: RValue<'gcc>, _mir: &mir::Body<'tcx>, - ) -> Option<FunctionDebugContext<Self::DIScope, Self::DILocation>> { + ) -> Option<FunctionDebugContext<'tcx, Self::DIScope, Self::DILocation>> { // TODO(antoyo) None } |
