[obj2yaml] - Fix a comment. NFC.
[llvm-complete.git] / test / DebugInfo / dwarfdump-objc.test
blobf79ae1d3b06b0bdb7e2a3d6a985ea5d502660a13
1 RUN: llvm-dwarfdump -v %p/Inputs/dwarfdump-objc.x86_64.o | FileCheck %s
3 CHECK:      .debug_info contents:
5 CHECK: DW_TAG_APPLE_property
6 CHECK-NOT: TAG
7 CHECK:    DW_AT_APPLE_property_name {{.*}} "ReadOnly"
8 CHECK-NOT: TAG
9 CHECK:    DW_AT_APPLE_property_attribute {{.*}} (0x0101 (DW_APPLE_PROPERTY_readonly, DW_APPLE_PROPERTY_atomic))
11 CHECK: DW_TAG_APPLE_property
12 CHECK-NOT: TAG
13 CHECK:   DW_AT_APPLE_property_name {{.*}} "Assign"
14 CHECK-NOT: TAG
15 CHECK:   DW_AT_APPLE_property_attribute {{.*}} (0x090c (DW_APPLE_PROPERTY_assign, DW_APPLE_PROPERTY_readwrite, DW_APPLE_PROPERTY_atomic, DW_APPLE_PROPERTY_unsafe_unretained))
17 CHECK: DW_TAG_APPLE_property
18 CHECK-NOT: TAG
19 CHECK:   DW_AT_APPLE_property_name {{.*}} "ReadWrite"
20 CHECK-NOT: TAG
21 CHECK:   DW_AT_APPLE_property_attribute {{.*}} (0x090c (DW_APPLE_PROPERTY_assign, DW_APPLE_PROPERTY_readwrite, DW_APPLE_PROPERTY_atomic, DW_APPLE_PROPERTY_unsafe_unretained))
23 CHECK: DW_TAG_APPLE_property
24 CHECK-NOT: TAG
25 CHECK:   DW_AT_APPLE_property_name {{.*}} "Retain"
26 CHECK-NOT: TAG
27 CHECK:   DW_AT_APPLE_property_attribute {{.*}} (0x0118 (DW_APPLE_PROPERTY_readwrite, DW_APPLE_PROPERTY_retain, DW_APPLE_PROPERTY_atomic))
29 CHECK: DW_TAG_APPLE_property
30 CHECK-NOT: TAG
31 CHECK:   DW_AT_APPLE_property_name {{.*}} "Copy"
32 CHECK-NOT: TAG
33 CHECK:   DW_AT_APPLE_property_attribute {{.*}} (0x0128 (DW_APPLE_PROPERTY_readwrite, DW_APPLE_PROPERTY_copy, DW_APPLE_PROPERTY_atomic))
35 CHECK: DW_TAG_APPLE_property
36 CHECK-NOT: TAG
37 CHECK:   DW_AT_APPLE_property_name {{.*}} "NonAtomic"
38 CHECK-NOT: TAG
39 CHECK:   DW_AT_APPLE_property_attribute {{.*}} (0x084c (DW_APPLE_PROPERTY_assign, DW_APPLE_PROPERTY_readwrite, DW_APPLE_PROPERTY_nonatomic, DW_APPLE_PROPERTY_unsafe_unretained))
41 CHECK: DW_TAG_APPLE_property
42 CHECK-NOT: TAG
43 CHECK:   DW_AT_APPLE_property_name {{.*}} "Atomic"
44 CHECK-NOT: TAG
45 CHECK:   DW_AT_APPLE_property_attribute {{.*}} (0x090c (DW_APPLE_PROPERTY_assign, DW_APPLE_PROPERTY_readwrite, DW_APPLE_PROPERTY_atomic, DW_APPLE_PROPERTY_unsafe_unretained))
47 CHECK: DW_TAG_APPLE_property
48 CHECK-NOT: TAG
49 CHECK:   DW_AT_APPLE_property_name {{.*}} "Strong"
50 CHECK-NOT: TAG
51 CHECK:   DW_AT_APPLE_property_attribute {{.*}} (0x0508 (DW_APPLE_PROPERTY_readwrite, DW_APPLE_PROPERTY_atomic, DW_APPLE_PROPERTY_strong))
53 CHECK: DW_TAG_APPLE_property
54 CHECK-NOT: TAG
55 CHECK:   DW_AT_APPLE_property_name {{.*}} "UnsafeUnretained"
56 CHECK-NOT: TAG
57 CHECK:   DW_AT_APPLE_property_attribute {{.*}} (0x090c (DW_APPLE_PROPERTY_assign, DW_APPLE_PROPERTY_readwrite, DW_APPLE_PROPERTY_atomic, DW_APPLE_PROPERTY_unsafe_unretained))
59 CHECK: DW_TAG_APPLE_property
60 CHECK-NOT: TAG
61 CHECK:   DW_AT_APPLE_property_name {{.*}} "Nullability"
62 CHECK-NOT: TAG
63 CHECK:   DW_AT_APPLE_property_attribute {{.*}} (0x190c (DW_APPLE_PROPERTY_assign, DW_APPLE_PROPERTY_readwrite, DW_APPLE_PROPERTY_atomic, DW_APPLE_PROPERTY_unsafe_unretained, DW_APPLE_PROPERTY_nullability))
65 CHECK: DW_TAG_APPLE_property
66 CHECK-NOT: TAG
67 CHECK:   DW_AT_APPLE_property_name {{.*}} "NullResettable"
68 CHECK-NOT: TAG
69 CHECK:   DW_AT_APPLE_property_attribute {{.*}} (0x390c (DW_APPLE_PROPERTY_assign, DW_APPLE_PROPERTY_readwrite, DW_APPLE_PROPERTY_atomic, DW_APPLE_PROPERTY_unsafe_unretained, DW_APPLE_PROPERTY_nullability, DW_APPLE_PROPERTY_null_resettable))
71 CHECK: DW_TAG_APPLE_property
72 CHECK-NOT: TAG
73 CHECK:   DW_AT_APPLE_property_name {{.*}} "ClassProperty"
74 CHECK-NOT: TAG
75 CHECK:   DW_AT_APPLE_property_attribute {{.*}} (0x490c (DW_APPLE_PROPERTY_assign, DW_APPLE_PROPERTY_readwrite, DW_APPLE_PROPERTY_atomic, DW_APPLE_PROPERTY_unsafe_unretained, DW_APPLE_PROPERTY_class))