| Adrian Prantl | 16aa4cf | 2017-09-11 23:05:20 +0000 | [diff] [blame] | 1 | RUN: llvm-dwarfdump -v %p/Inputs/dwarfdump-objc.x86_64.o | FileCheck %s | 
| Frederic Riss | b3c9912 | 2014-10-10 15:51:10 +0000 | [diff] [blame] | 2 |  | 
|  | 3 | CHECK:      .debug_info contents: | 
|  | 4 |  | 
|  | 5 | CHECK: DW_TAG_APPLE_property | 
|  | 6 | CHECK-NOT: TAG | 
|  | 7 | CHECK:    DW_AT_APPLE_property_name {{.*}} "ReadOnly" | 
|  | 8 | CHECK-NOT: TAG | 
| Adrian Prantl | 0418ef2 | 2016-07-14 00:41:18 +0000 | [diff] [blame] | 9 | CHECK:    DW_AT_APPLE_property_attribute {{.*}} (0x0101 (DW_APPLE_PROPERTY_readonly, DW_APPLE_PROPERTY_atomic)) | 
| Frederic Riss | b3c9912 | 2014-10-10 15:51:10 +0000 | [diff] [blame] | 10 |  | 
|  | 11 | CHECK: DW_TAG_APPLE_property | 
|  | 12 | CHECK-NOT: TAG | 
|  | 13 | CHECK:   DW_AT_APPLE_property_name {{.*}} "Assign" | 
|  | 14 | CHECK-NOT: TAG | 
| Adrian Prantl | 0418ef2 | 2016-07-14 00:41:18 +0000 | [diff] [blame] | 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)) | 
| Frederic Riss | b3c9912 | 2014-10-10 15:51:10 +0000 | [diff] [blame] | 16 |  | 
|  | 17 | CHECK: DW_TAG_APPLE_property | 
|  | 18 | CHECK-NOT: TAG | 
|  | 19 | CHECK:   DW_AT_APPLE_property_name {{.*}} "ReadWrite" | 
|  | 20 | CHECK-NOT: TAG | 
| Adrian Prantl | 0418ef2 | 2016-07-14 00:41:18 +0000 | [diff] [blame] | 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)) | 
| Frederic Riss | b3c9912 | 2014-10-10 15:51:10 +0000 | [diff] [blame] | 22 |  | 
|  | 23 | CHECK: DW_TAG_APPLE_property | 
|  | 24 | CHECK-NOT: TAG | 
|  | 25 | CHECK:   DW_AT_APPLE_property_name {{.*}} "Retain" | 
|  | 26 | CHECK-NOT: TAG | 
| Adrian Prantl | 0418ef2 | 2016-07-14 00:41:18 +0000 | [diff] [blame] | 27 | CHECK:   DW_AT_APPLE_property_attribute {{.*}} (0x0118 (DW_APPLE_PROPERTY_readwrite, DW_APPLE_PROPERTY_retain, DW_APPLE_PROPERTY_atomic)) | 
| Frederic Riss | b3c9912 | 2014-10-10 15:51:10 +0000 | [diff] [blame] | 28 |  | 
|  | 29 | CHECK: DW_TAG_APPLE_property | 
|  | 30 | CHECK-NOT: TAG | 
|  | 31 | CHECK:   DW_AT_APPLE_property_name {{.*}} "Copy" | 
|  | 32 | CHECK-NOT: TAG | 
| Adrian Prantl | 0418ef2 | 2016-07-14 00:41:18 +0000 | [diff] [blame] | 33 | CHECK:   DW_AT_APPLE_property_attribute {{.*}} (0x0128 (DW_APPLE_PROPERTY_readwrite, DW_APPLE_PROPERTY_copy, DW_APPLE_PROPERTY_atomic)) | 
| Frederic Riss | b3c9912 | 2014-10-10 15:51:10 +0000 | [diff] [blame] | 34 |  | 
|  | 35 | CHECK: DW_TAG_APPLE_property | 
|  | 36 | CHECK-NOT: TAG | 
|  | 37 | CHECK:   DW_AT_APPLE_property_name {{.*}} "NonAtomic" | 
|  | 38 | CHECK-NOT: TAG | 
| Adrian Prantl | 0418ef2 | 2016-07-14 00:41:18 +0000 | [diff] [blame] | 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)) | 
| Frederic Riss | b3c9912 | 2014-10-10 15:51:10 +0000 | [diff] [blame] | 40 |  | 
| Adrian Prantl | 0418ef2 | 2016-07-14 00:41:18 +0000 | [diff] [blame] | 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)) | 
|  | 46 |  | 
|  | 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)) | 
|  | 52 |  | 
|  | 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)) | 
|  | 58 |  | 
|  | 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)) | 
|  | 64 |  | 
|  | 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)) | 
|  | 70 |  | 
|  | 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)) |