Skip to content

Commit 3cf0809

Browse files
committed
Drop inaccurate comment
The linked issue has an accurate description of the situation, drop the inaccurate comment.
1 parent 890caba commit 3cf0809

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/test/codegen/panic-in-drop-abort.rs

+1-5
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,7 @@
66

77
// This test uses ignore-msvc, because the expected optimization does not happen on targets using
88
// SEH exceptions with the new LLVM pass manager anymore, see
9-
// https://github.com/llvm/llvm-project/issues/51311. The core issue is that Rust promises that
10-
// the drop_in_place() function can't unwind, but implements it in a way that *can*, because we
11-
// currently go out of our way to allow longjmps, which also use the unwinding mechanism on MSVC
12-
// targets. We should either forbid longjmps, or not assume nounwind, making this optimization
13-
// incompatible with the current behavior of running cleanuppads on longjmp unwinding.
9+
// https://github.com/llvm/llvm-project/issues/51311.
1410

1511
// CHECK-NOT: {{(call|invoke).*}}should_not_appear_in_output
1612

0 commit comments

Comments
 (0)