Skip to content

Commit

Permalink
Rollup merge of rust-lang#53152 - michaelwoerister:reenable-drop-loca…
Browse files Browse the repository at this point in the history
…tion-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.
  • Loading branch information
cramertj committed Aug 8, 2018
2 parents 5cfdbae + 6608552 commit 42edec6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/test/debuginfo/drop-locations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,11 @@

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

#![allow(unused)]

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

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

} // #loc4

#[inline(never)]
fn zzz() {()}

0 comments on commit 42edec6

Please sign in to comment.