about summary refs log tree commit diff
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
commitfb6ec5e510e16466f6dbf93ca5f8901bf210c61e (patch)
treeb3afee9a29f5be406ca8a7b10bcf47e2d269def4
parent8a160d6fcd361041dcd6edb8f72c411f71e3a23c (diff)
downloadrust-fb6ec5e510e16466f6dbf93ca5f8901bf210c61e.tar.gz
rust-fb6ec5e510e16466f6dbf93ca5f8901bf210c61e.zip
Use the same DISubprogram for each instance of the same inlined function within the caller
-rw-r--r--src/debuginfo.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debuginfo.rs b/src/debuginfo.rs
index a81585d4128..d1bfd833cd8 100644
--- a/src/debuginfo.rs
+++ b/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
     }