view test/DebugInfo/dwarfdump-objc.test @ 107:a03ddd01be7e

resolve warnings
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Sun, 31 Jan 2016 17:34:49 +0900
parents 60c9769439b8
children 1172e4bd9c6f
line wrap: on
line source

RUN: llvm-dwarfdump %p/Inputs/dwarfdump-objc.x86_64.o | FileCheck %s

CHECK:      .debug_info contents:

CHECK: DW_TAG_APPLE_property
CHECK-NOT: TAG
CHECK:    DW_AT_APPLE_property_name {{.*}} "ReadOnly"
CHECK-NOT: TAG
CHECK:    DW_AT_APPLE_property_attribute {{.*}} (0x01 (DW_APPLE_PROPERTY_readonly))

CHECK: DW_TAG_APPLE_property
CHECK-NOT: TAG
CHECK:   DW_AT_APPLE_property_name {{.*}} "Assign"
CHECK-NOT: TAG
CHECK:   DW_AT_APPLE_property_attribute {{.*}} (0x0c (DW_APPLE_PROPERTY_assign, DW_APPLE_PROPERTY_readwrite))

CHECK: DW_TAG_APPLE_property
CHECK-NOT: TAG
CHECK:   DW_AT_APPLE_property_name {{.*}} "ReadWrite"
CHECK-NOT: TAG
CHECK:   DW_AT_APPLE_property_attribute {{.*}} (0x0c (DW_APPLE_PROPERTY_assign, DW_APPLE_PROPERTY_readwrite))

CHECK: DW_TAG_APPLE_property
CHECK-NOT: TAG
CHECK:   DW_AT_APPLE_property_name {{.*}} "Retain"
CHECK-NOT: TAG
CHECK:   DW_AT_APPLE_property_attribute {{.*}} (0x18 (DW_APPLE_PROPERTY_readwrite, DW_APPLE_PROPERTY_retain))

CHECK: DW_TAG_APPLE_property
CHECK-NOT: TAG
CHECK:   DW_AT_APPLE_property_name {{.*}} "Copy"
CHECK-NOT: TAG
CHECK:   DW_AT_APPLE_property_attribute {{.*}} (0x28 (DW_APPLE_PROPERTY_readwrite, DW_APPLE_PROPERTY_copy))

CHECK: DW_TAG_APPLE_property
CHECK-NOT: TAG
CHECK:   DW_AT_APPLE_property_name {{.*}} "NonAtomic"
CHECK-NOT: TAG
CHECK:   DW_AT_APPLE_property_attribute {{.*}} (0x4c (DW_APPLE_PROPERTY_assign, DW_APPLE_PROPERTY_readwrite, DW_APPLE_PROPERTY_nonatomic))