Skip to content

Commit 7694817

Browse files
committed
[clang][DebugInfo] Make property-auto-synth.m check LLVM IR
Check for lack of `setter` and `getter` attributes on `DIObjCProperty`
1 parent dce8252 commit 7694817

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

clang/test/DebugInfo/ObjC/property-auto-synth.m

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
1-
// FIXME: Check IR rather than asm, then triple is not needed.
2-
// RUN: %clang_cc1 -triple %itanium_abi_triple -S -debug-info-kind=limited %s -o - | FileCheck %s
3-
4-
// CHECK: AT_APPLE_property_name
5-
// CHECK-NOT: AT_APPLE_property_getter
6-
// CHECK-NOT: AT_APPLE_property_setter
7-
// CHECK: AT_APPLE_property_attribute
8-
// CHECK: AT_APPLE_property
1+
// RUN: %clang_cc1 -emit-llvm -debug-info-kind=limited %s -o - | FileCheck %s
92

3+
// CHECK-NOT: setter
4+
// CHECK-NOT: getter
105

116
@interface I1
127
@property int p1;

0 commit comments

Comments
 (0)