diff options
Diffstat (limited to 'clang/test/CodeGenCXX/microsoft-abi-eh-catch.cpp')
| -rw-r--r-- | clang/test/CodeGenCXX/microsoft-abi-eh-catch.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/clang/test/CodeGenCXX/microsoft-abi-eh-catch.cpp b/clang/test/CodeGenCXX/microsoft-abi-eh-catch.cpp index 6e18b92e0f4..52351cfb94b 100644 --- a/clang/test/CodeGenCXX/microsoft-abi-eh-catch.cpp +++ b/clang/test/CodeGenCXX/microsoft-abi-eh-catch.cpp @@ -17,7 +17,7 @@ extern "C" void catch_all() { } } -// WIN64-LABEL: define void @catch_all() +// WIN64-LABEL: define dso_local void @catch_all() // WIN64: invoke void @might_throw() // WIN64-NEXT: to label %[[cont:[^ ]*]] unwind label %[[catchswitch_lpad:[^ ]*]] // @@ -46,7 +46,7 @@ extern "C" void catch_int() { } } -// WIN64-LABEL: define void @catch_int() +// WIN64-LABEL: define dso_local void @catch_int() // WIN64: catchpad within %{{[^ ]*}} [%rtti.TypeDescriptor2* @"\01??_R0H@8", i32 0, i32* %[[e_addr:[^\]]*]]] // // The catchpad instruction starts the lifetime of 'e'. Unfortunately, that @@ -68,7 +68,7 @@ extern "C" void catch_int_unnamed() { } } -// WIN64-LABEL: define void @catch_int_unnamed() +// WIN64-LABEL: define dso_local void @catch_int_unnamed() // WIN64: catchpad within %{{.*}} [%rtti.TypeDescriptor2* @"\01??_R0H@8", i32 0, i8* null] // WIN64: catchret @@ -94,7 +94,7 @@ extern "C" void catch_a_byval() { } } -// WIN64-LABEL: define void @catch_a_byval() +// WIN64-LABEL: define dso_local void @catch_a_byval() // WIN64: %[[e_addr:[^ ]*]] = alloca %struct.A // WIN64: catchpad within %{{[^ ]*}} [%rtti.TypeDescriptor7* @"\01??_R0?AUA@@@8", i32 0, %struct.A* %[[e_addr]]] // WIN64: %[[e_i8:[^ ]*]] = bitcast %struct.A* %[[e_addr]] to i8* @@ -109,7 +109,7 @@ extern "C" void catch_a_ref() { } } -// WIN64-LABEL: define void @catch_a_ref() +// WIN64-LABEL: define dso_local void @catch_a_ref() // WIN64: %[[e_addr:[^ ]*]] = alloca %struct.A* // WIN64: catchpad within %{{[^ ]*}} [%rtti.TypeDescriptor7* @"\01??_R0?AUA@@@8", i32 8, %struct.A** %[[e_addr]]] // WIN64: %[[eptr:[^ ]*]] = load %struct.A*, %struct.A** %[[e_addr]] @@ -121,7 +121,7 @@ extern "C" void fn_with_exc_spec() throw(int) { might_throw(); } -// WIN64-LABEL: define void @fn_with_exc_spec() +// WIN64-LABEL: define dso_local void @fn_with_exc_spec() // WIN64: call void @might_throw() // WIN64-NEXT: ret void @@ -137,7 +137,7 @@ extern "C" void catch_nested() { } } -// WIN64-LABEL: define void @catch_nested() +// WIN64-LABEL: define dso_local void @catch_nested() // WIN64: invoke void @might_throw() // WIN64-NEXT: to label %{{.*}} unwind label %[[catchswitch_outer:[^ ]*]] // |

