Skip to content

Commit 7c4989a

Browse files
committed
Drop -opt-bisect-limit=0 flag from test
This causes an assertion failure under NewPM, because it also ends up disabling the NameAnonGlobals pass. Instead pass -Copt-level=0 to disable optimizations. If that should be insufficient, we can use -C no-prepopulate-passes.
1 parent db140de commit 7c4989a

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/test/ui/backtrace-debuginfo.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,11 @@
66
// Unfortunately, LLVM has no "disable" option for this, so we have to set
77
// "enable" to 0 instead.
88

9-
// compile-flags:-g -Cllvm-args=-enable-tail-merge=0 -Cllvm-args=-opt-bisect-limit=0
9+
// compile-flags:-g -Copt-level=0 -Cllvm-args=-enable-tail-merge=0
1010
// compile-flags:-Cforce-frame-pointers=yes
1111
// ignore-pretty issue #37195
1212
// ignore-emscripten spawning processes is not supported
1313
// ignore-sgx no processes
14-
// normalize-stderr-test ".*\n" -> ""
15-
16-
// Note that above `-opt-bisect-limit=0` is used to basically disable
17-
// optimizations. It creates tons of output on stderr, hence we normalize
18-
// that away entirely.
1914

2015
use std::env;
2116

0 commit comments

Comments
 (0)