File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 9
9
// CHECK: @rust_item_that_can_unwind() unnamed_addr [[ATTR0:#[0-9]+]]
10
10
#[ no_mangle]
11
11
pub unsafe extern "C-unwind" fn rust_item_that_can_unwind ( ) {
12
- // CHECK: call void @_ZN4core9panicking15panic_no_unwind
12
+ // Handle both legacy and v0 symbol mangling.
13
+ // CHECK: call void @{{.*core9panicking15panic_no_unwind}}
13
14
may_unwind ( ) ;
14
15
}
15
16
Original file line number Diff line number Diff line change @@ -9,7 +9,8 @@ extern "C-unwind" {
9
9
10
10
// CHECK: Function Attrs:{{.*}}nounwind
11
11
// CHECK-NEXT: define{{.*}}void @foo
12
- // CHECK: call void @_ZN4core9panicking15panic_no_unwind
12
+ // Handle both legacy and v0 symbol mangling.
13
+ // CHECK: call void @{{.*core9panicking15panic_no_unwind}}
13
14
#[ no_mangle]
14
15
pub unsafe extern "C" fn foo ( ) {
15
16
bar ( ) ;
You can’t perform that action at this time.
0 commit comments