summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenObjC
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2012-04-05 22:03:32 +0000
committerEric Christopher <echristo@apple.com>2012-04-05 22:03:32 +0000
commitf3dd713bce34f46f5d6d690ce14a214ce6018c04 (patch)
tree8f2bb35c103c89cf07633e88f36799ee6ca9b0ca /clang/test/CodeGenObjC
parent1fa36050abd8b798927829f0b0a4362f9e9c63eb (diff)
downloadbcm5719-llvm-f3dd713bce34f46f5d6d690ce14a214ce6018c04.tar.gz
bcm5719-llvm-f3dd713bce34f46f5d6d690ce14a214ce6018c04.zip
Only emit the getter and setter names if they're not the default
synthesized ones. Reasonable debug info size reduction for objc. rdar://11179756 llvm-svn: 154129
Diffstat (limited to 'clang/test/CodeGenObjC')
-rw-r--r--clang/test/CodeGenObjC/debug-info-property.m2
-rw-r--r--clang/test/CodeGenObjC/debug-info-property3.m2
-rw-r--r--clang/test/CodeGenObjC/debug-info-property4.m2
3 files changed, 1 insertions, 5 deletions
diff --git a/clang/test/CodeGenObjC/debug-info-property.m b/clang/test/CodeGenObjC/debug-info-property.m
index 6ed467a5bc4..dd105a58bdf 100644
--- a/clang/test/CodeGenObjC/debug-info-property.m
+++ b/clang/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/clang/test/CodeGenObjC/debug-info-property3.m b/clang/test/CodeGenObjC/debug-info-property3.m
index c3bf1ae2624..f96ec44c6b2 100644
--- a/clang/test/CodeGenObjC/debug-info-property3.m
+++ b/clang/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/clang/test/CodeGenObjC/debug-info-property4.m b/clang/test/CodeGenObjC/debug-info-property4.m
index 619813f6879..386a80854c3 100644
--- a/clang/test/CodeGenObjC/debug-info-property4.m
+++ b/clang/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
OpenPOWER on IntegriCloud