2017-09-12 07:05:20 +08:00
|
|
|
RUN: llvm-dwarfdump -v %p/Inputs/dwarfdump-objc.x86_64.o | FileCheck %s
|
2014-10-10 23:51:10 +08:00
|
|
|
|
|
|
|
CHECK: .debug_info contents:
|
|
|
|
|
|
|
|
CHECK: DW_TAG_APPLE_property
|
|
|
|
CHECK-NOT: TAG
|
|
|
|
CHECK: DW_AT_APPLE_property_name {{.*}} "ReadOnly"
|
|
|
|
CHECK-NOT: TAG
|
2016-07-14 08:41:18 +08:00
|
|
|
CHECK: DW_AT_APPLE_property_attribute {{.*}} (0x0101 (DW_APPLE_PROPERTY_readonly, DW_APPLE_PROPERTY_atomic))
|
2014-10-10 23:51:10 +08:00
|
|
|
|
|
|
|
CHECK: DW_TAG_APPLE_property
|
|
|
|
CHECK-NOT: TAG
|
|
|
|
CHECK: DW_AT_APPLE_property_name {{.*}} "Assign"
|
|
|
|
CHECK-NOT: TAG
|
2016-07-14 08:41:18 +08:00
|
|
|
CHECK: DW_AT_APPLE_property_attribute {{.*}} (0x090c (DW_APPLE_PROPERTY_assign, DW_APPLE_PROPERTY_readwrite, DW_APPLE_PROPERTY_atomic, DW_APPLE_PROPERTY_unsafe_unretained))
|
2014-10-10 23:51:10 +08:00
|
|
|
|
|
|
|
CHECK: DW_TAG_APPLE_property
|
|
|
|
CHECK-NOT: TAG
|
|
|
|
CHECK: DW_AT_APPLE_property_name {{.*}} "ReadWrite"
|
|
|
|
CHECK-NOT: TAG
|
2016-07-14 08:41:18 +08:00
|
|
|
CHECK: DW_AT_APPLE_property_attribute {{.*}} (0x090c (DW_APPLE_PROPERTY_assign, DW_APPLE_PROPERTY_readwrite, DW_APPLE_PROPERTY_atomic, DW_APPLE_PROPERTY_unsafe_unretained))
|
2014-10-10 23:51:10 +08:00
|
|
|
|
|
|
|
CHECK: DW_TAG_APPLE_property
|
|
|
|
CHECK-NOT: TAG
|
|
|
|
CHECK: DW_AT_APPLE_property_name {{.*}} "Retain"
|
|
|
|
CHECK-NOT: TAG
|
2016-07-14 08:41:18 +08:00
|
|
|
CHECK: DW_AT_APPLE_property_attribute {{.*}} (0x0118 (DW_APPLE_PROPERTY_readwrite, DW_APPLE_PROPERTY_retain, DW_APPLE_PROPERTY_atomic))
|
2014-10-10 23:51:10 +08:00
|
|
|
|
|
|
|
CHECK: DW_TAG_APPLE_property
|
|
|
|
CHECK-NOT: TAG
|
|
|
|
CHECK: DW_AT_APPLE_property_name {{.*}} "Copy"
|
|
|
|
CHECK-NOT: TAG
|
2016-07-14 08:41:18 +08:00
|
|
|
CHECK: DW_AT_APPLE_property_attribute {{.*}} (0x0128 (DW_APPLE_PROPERTY_readwrite, DW_APPLE_PROPERTY_copy, DW_APPLE_PROPERTY_atomic))
|
2014-10-10 23:51:10 +08:00
|
|
|
|
|
|
|
CHECK: DW_TAG_APPLE_property
|
|
|
|
CHECK-NOT: TAG
|
|
|
|
CHECK: DW_AT_APPLE_property_name {{.*}} "NonAtomic"
|
|
|
|
CHECK-NOT: TAG
|
2016-07-14 08:41:18 +08:00
|
|
|
CHECK: DW_AT_APPLE_property_attribute {{.*}} (0x084c (DW_APPLE_PROPERTY_assign, DW_APPLE_PROPERTY_readwrite, DW_APPLE_PROPERTY_nonatomic, DW_APPLE_PROPERTY_unsafe_unretained))
|
2014-10-10 23:51:10 +08:00
|
|
|
|
2016-07-14 08:41:18 +08:00
|
|
|
CHECK: DW_TAG_APPLE_property
|
|
|
|
CHECK-NOT: TAG
|
|
|
|
CHECK: DW_AT_APPLE_property_name {{.*}} "Atomic"
|
|
|
|
CHECK-NOT: TAG
|
|
|
|
CHECK: DW_AT_APPLE_property_attribute {{.*}} (0x090c (DW_APPLE_PROPERTY_assign, DW_APPLE_PROPERTY_readwrite, DW_APPLE_PROPERTY_atomic, DW_APPLE_PROPERTY_unsafe_unretained))
|
|
|
|
|
|
|
|
CHECK: DW_TAG_APPLE_property
|
|
|
|
CHECK-NOT: TAG
|
|
|
|
CHECK: DW_AT_APPLE_property_name {{.*}} "Strong"
|
|
|
|
CHECK-NOT: TAG
|
|
|
|
CHECK: DW_AT_APPLE_property_attribute {{.*}} (0x0508 (DW_APPLE_PROPERTY_readwrite, DW_APPLE_PROPERTY_atomic, DW_APPLE_PROPERTY_strong))
|
|
|
|
|
|
|
|
CHECK: DW_TAG_APPLE_property
|
|
|
|
CHECK-NOT: TAG
|
|
|
|
CHECK: DW_AT_APPLE_property_name {{.*}} "UnsafeUnretained"
|
|
|
|
CHECK-NOT: TAG
|
|
|
|
CHECK: DW_AT_APPLE_property_attribute {{.*}} (0x090c (DW_APPLE_PROPERTY_assign, DW_APPLE_PROPERTY_readwrite, DW_APPLE_PROPERTY_atomic, DW_APPLE_PROPERTY_unsafe_unretained))
|
|
|
|
|
|
|
|
CHECK: DW_TAG_APPLE_property
|
|
|
|
CHECK-NOT: TAG
|
|
|
|
CHECK: DW_AT_APPLE_property_name {{.*}} "Nullability"
|
|
|
|
CHECK-NOT: TAG
|
|
|
|
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))
|
|
|
|
|
|
|
|
CHECK: DW_TAG_APPLE_property
|
|
|
|
CHECK-NOT: TAG
|
|
|
|
CHECK: DW_AT_APPLE_property_name {{.*}} "NullResettable"
|
|
|
|
CHECK-NOT: TAG
|
|
|
|
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))
|
|
|
|
|
|
|
|
CHECK: DW_TAG_APPLE_property
|
|
|
|
CHECK-NOT: TAG
|
|
|
|
CHECK: DW_AT_APPLE_property_name {{.*}} "ClassProperty"
|
|
|
|
CHECK-NOT: TAG
|
|
|
|
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))
|