File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 99// CHECK: @rust_item_that_can_unwind() unnamed_addr [[ATTR0:#[0-9]+]]
1010#[ no_mangle]
1111pub 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}}
1314 may_unwind ( ) ;
1415}
1516
Original file line number Diff line number Diff line change @@ -9,7 +9,8 @@ extern "C-unwind" {
99
1010// CHECK: Function Attrs:{{.*}}nounwind
1111// 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}}
1314#[ no_mangle]
1415pub unsafe extern "C" fn foo ( ) {
1516 bar ( ) ;
You can’t perform that action at this time.
0 commit comments