about summary refs log tree commit diff
path: root/src/test/codegen
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2022-04-19 12:52:48 +0200
committerNikita Popov <npopov@redhat.com>2022-04-19 15:08:15 +0200
commit57717eb8adf63e00ee51b722a81a6676b74f2678 (patch)
tree0c440613ebf0e82fc297f98eb49bf0242ffa5476 /src/test/codegen
parente2661bac6d8ae6b9e2a26cd08e9c087ab59e1357 (diff)
downloadrust-57717eb8adf63e00ee51b722a81a6676b74f2678.tar.gz
rust-57717eb8adf63e00ee51b722a81a6676b74f2678.zip
Don't use new-llvm-pass-manager=no in test
Diffstat (limited to 'src/test/codegen')
-rw-r--r--src/test/codegen/panic-in-drop-abort.rs8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/test/codegen/panic-in-drop-abort.rs b/src/test/codegen/panic-in-drop-abort.rs
index 39f73c4e396..7b9c41b658a 100644
--- a/src/test/codegen/panic-in-drop-abort.rs
+++ b/src/test/codegen/panic-in-drop-abort.rs
@@ -1,10 +1,12 @@
-// compile-flags: -Z panic-in-drop=abort -O -Z new-llvm-pass-manager=no
+// compile-flags: -Z panic-in-drop=abort -O
+// ignore-msvc
 
 // Ensure that unwinding code paths are eliminated from the output after
 // optimization.
 
-// This test uses -Z new-llvm-pass-manager=no, because the expected optimization does not happen
-// on targets using SEH exceptions (i.e. MSVC) anymore. The core issue is that Rust promises that
+// This test uses ignore-msvc, because the expected optimization does not happen on targets using
+// SEH exceptions with the new LLVM pass manager anymore, see
+// https://github.com/llvm/llvm-project/issues/51311. The core issue is that Rust promises that
 // the drop_in_place() function can't unwind, but implements it in a way that *can*, because we
 // currently go out of our way to allow longjmps, which also use the unwinding mechanism on MSVC
 // targets. We should either forbid longjmps, or not assume nounwind, making this optimization