1 // RUN: %clang_cc1 -triple x86_64-pc-linux-gnu -emit-llvm -fexceptions -fobjc-exceptions -fobjc-runtime=objfw -fcxx-exceptions -o - %s | FileCheck %s -check-prefix=CHECK -check-prefix=CHECK-DWARF
2 // RUN: %clang_cc1 -triple x86_64-pc-linux-gnu -emit-llvm -fexceptions -fobjc-exceptions -fobjc-runtime=objfw -fcxx-exceptions -exception-model=sjlj -o - %s | FileCheck %s -check-prefix=CHECK -check-prefix=CHECK-SJLJ
7 // CHECK: define{{.*}} void @_Z3foov()
8 // CHECK-DWARF-SAME: personality ptr @__gnu_objc_personality_v0
9 // CHECK-SJLJ-SAME: personality ptr @__gnu_objc_personality_sj0
12 // CHECK: invoke void @_Z6opaquev
15 // CHECK: landingpad { ptr, i32 }