You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
619 B
21 lines
619 B
// RUN: %clang_cc1 %s -debug-info-kind=line-tables-only -fblocks -S -emit-llvm -o - | FileCheck %s
|
|
// RUN: %clang_cc1 %s -debug-info-kind=line-directives-only -fblocks -S -emit-llvm -o - | FileCheck %s
|
|
|
|
struct A {
|
|
A();
|
|
A(const A &);
|
|
~A();
|
|
};
|
|
|
|
void test() {
|
|
__block A a;
|
|
^{ (void)a; };
|
|
}
|
|
|
|
// CHECK: !DISubprogram(name: "__Block_byref_object_copy_",
|
|
// CHECK-SAME: line: 11,
|
|
// CHECK-SAME: DISPFlagLocalToUnit | DISPFlagDefinition
|
|
// CHECK: !DISubprogram(name: "__Block_byref_object_dispose_",
|
|
// CHECK-SAME: line: 11,
|
|
// CHECK-SAME: DISPFlagLocalToUnit | DISPFlagDefinition
|