diff options
author | Eric Christopher <echristo@apple.com> | 2012-04-05 22:03:32 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2012-04-05 22:03:32 +0000 |
commit | 78af8fd568f05aa872194756c96d8ba73d8c4956 (patch) | |
tree | 952a7a6d04a7f9432d9eaae4f20a7aa0279d75f1 /test/CodeGenObjC | |
parent | 87b9c0311f96c35109204a49d4bda909aa72b62a (diff) |
Only emit the getter and setter names if they're not the default
synthesized ones. Reasonable debug info size reduction for objc.
rdar://11179756
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154129 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenObjC')
-rw-r--r-- | test/CodeGenObjC/debug-info-property.m | 2 | ||||
-rw-r--r-- | test/CodeGenObjC/debug-info-property3.m | 2 | ||||
-rw-r--r-- | test/CodeGenObjC/debug-info-property4.m | 2 |
3 files changed, 1 insertions, 5 deletions
diff --git a/test/CodeGenObjC/debug-info-property.m b/test/CodeGenObjC/debug-info-property.m index 6ed467a5bc..dd105a58bd 100644 --- a/test/CodeGenObjC/debug-info-property.m +++ b/test/CodeGenObjC/debug-info-property.m @@ -1,8 +1,6 @@ // RUN: %clang_cc1 -masm-verbose -S -g %s -o - | FileCheck %s // CHECK: AT_APPLE_property_name -// CHECK: AT_APPLE_property_getter -// CHECK: AT_APPLE_property_setter // CHECK: AT_APPLE_property_attribute // CHECK: AT_APPLE_property @interface I1 { diff --git a/test/CodeGenObjC/debug-info-property3.m b/test/CodeGenObjC/debug-info-property3.m index c3bf1ae262..f96ec44c6b 100644 --- a/test/CodeGenObjC/debug-info-property3.m +++ b/test/CodeGenObjC/debug-info-property3.m @@ -1,6 +1,6 @@ // RUN: %clang_cc1 -S -emit-llvm -g %s -o - | FileCheck %s -// CHECK: metadata !"p1", metadata !6, i32 5, metadata !"p1", metadata !"setP1:", i32 2316, metadata !9} ; [ DW_TAG_APPLE_property ] +// CHECK: metadata !"p1", metadata !6, i32 5, metadata !"", metadata !"", i32 2316, metadata !9} ; [ DW_TAG_APPLE_property ] @interface I1 @property int p1; @end diff --git a/test/CodeGenObjC/debug-info-property4.m b/test/CodeGenObjC/debug-info-property4.m index 619813f687..386a80854c 100644 --- a/test/CodeGenObjC/debug-info-property4.m +++ b/test/CodeGenObjC/debug-info-property4.m @@ -1,8 +1,6 @@ // RUN: %clang_cc1 -fobjc-default-synthesize-properties -masm-verbose -S -g %s -o - | FileCheck %s // CHECK: AT_APPLE_property_name -// CHECK: AT_APPLE_property_getter -// CHECK: AT_APPLE_property_setter // CHECK: AT_APPLE_property_attribute // CHECK: AT_APPLE_property |