Skip to content

Commit 4393f3a

Browse files
authored
Rollup merge of rust-lang#53152 - michaelwoerister:reenable-drop-location-debuginfo-test, r=kennytm
Re-enable drop-locations debuginfo tests. The `-O -C no-prepopulate-passes` workaround doesn't seem to be needed anymore, so it works again for my version of GDB. Let's see what CI says.
2 parents 6d7cc7e + 6608552 commit 4393f3a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/test/debuginfo/drop-locations.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,11 @@
1010

1111
// ignore-windows
1212
// ignore-android
13-
// ignore-test // Test temporarily ignored due to debuginfo tests being disabled, see PR 47155
1413
// min-lldb-version: 310
1514

1615
#![allow(unused)]
1716

18-
// compile-flags:-g -O -C no-prepopulate-passes
19-
// -O -C no-prepopulate-passes added to work around https://bugs.llvm.org/show_bug.cgi?id=32123
17+
// compile-flags:-g
2018

2119
// This test checks that drop glue code gets attributed to scope's closing brace,
2220
// and function epilogues - to function's closing brace.
@@ -90,4 +88,5 @@ fn foo() {
9088

9189
} // #loc4
9290

91+
#[inline(never)]
9392
fn zzz() {()}

0 commit comments

Comments
 (0)