Debian Codegraph @

clang/test/CodeGenObjCXX/arc-marker-funclet.mm

raw
1 // RUN: %clang_cc1 -triple i686-unknown-windows-msvc -fobjc-runtime=ios-6.0 -fobjc-arc \
2 // RUN: -fexceptions -fcxx-exceptions -emit-llvm -o - %s | FileCheck %s
3
4 id f();
5 void g() {
6 try {
7 f();
8 } catch (...) {
9 f();
10 }
11 }
12
13 // CHECK: call noundef ptr @"?f@@YAPAUobjc_object@@XZ"() [ "funclet"(token %1) ]
14 // CHECK-NEXT: call void asm sideeffect "movl{{.*}}%ebp, %ebp{{.*}}", ""() [ "funclet"(token %1) ]
15
16 // The corresponding f() call was invoked from the entry basic block.
17 // CHECK: call void asm sideeffect "movl{{.*}}%ebp, %ebp{{.*}}", ""(){{$}}