about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-08-26 07:47:26 +0000
committerbors <bors@rust-lang.org>2023-08-26 07:47:26 +0000
commit42857db66dcc0ab71b38de119e02deecef36916d (patch)
tree7f44d7a4929ff16385c8e91274cde6a97b6fcd40 /compiler/rustc_codegen_gcc
parent766c0c0b83d4e391c6882f5af2c690888edcf42a (diff)
parentd0b2c4f72760915b2503ca14ce3cad305ce7dc52 (diff)
downloadrust-42857db66dcc0ab71b38de119e02deecef36916d.tar.gz
rust-42857db66dcc0ab71b38de119e02deecef36916d.zip
Auto merge of #115232 - wesleywiser:revert_114643, r=tmiasko
Revert "Use the same DISubprogram for each instance of the same inline function within the caller"

This reverts commit 687bffa49375aa00bacc51f5d9adfb84a9453e17.

Reverting to resolve ICEs reported on nightly.

cc `@dpaoliello`

Fixes #115156
Diffstat (limited to 'compiler/rustc_codegen_gcc')
-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 d1bfd833cd8..a81585d4128 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<'tcx, Self::DIScope, Self::DILocation>> {
+    ) -> Option<FunctionDebugContext<Self::DIScope, Self::DILocation>> {
         // TODO(antoyo)
         None
     }