about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/src/debuginfo.rs
diff options
context:
space:
mode:
authorDaniel Paoliello <danpao@microsoft.com>2023-08-07 14:24:41 -0700
committerDaniel Paoliello <danpao@microsoft.com>2023-08-11 10:21:52 -0700
commit687bffa49375aa00bacc51f5d9adfb84a9453e17 (patch)
tree84485ddb451524c2189daf67fc59b3d839203812 /compiler/rustc_codegen_gcc/src/debuginfo.rs
parentfaee636ebfff793ea9dcff17960a611b580e3cd5 (diff)
downloadrust-687bffa49375aa00bacc51f5d9adfb84a9453e17.tar.gz
rust-687bffa49375aa00bacc51f5d9adfb84a9453e17.zip
Use the same DISubprogram for each instance of the same inlined function within the caller
Diffstat (limited to 'compiler/rustc_codegen_gcc/src/debuginfo.rs')
-rw-r--r--compiler/rustc_codegen_gcc/src/debuginfo.rs2
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
     }