Skip to content

Commit 08529af

Browse files
committed
test: codegen: skip catch-unwind on riscv64
It isn't clear to me if this is a bug or not, hence the FIXME
1 parent 37e8e05 commit 08529af

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Diff for: src/test/codegen/catch-unwind.rs

+9
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
// compile-flags: -O
22

3+
// On x86 the closure is inlined in foo() producting something like
4+
// define i32 @foo() [...] {
5+
// tail call void @bar() [...]
6+
// ret i32 0
7+
// }
8+
// On riscv the closure is another function, placed before fn foo so CHECK can't
9+
// find it
10+
// ignore-riscv64 FIXME
11+
312
#![crate_type = "lib"]
413

514
extern "C" {

0 commit comments

Comments
 (0)