summaryrefslogtreecommitdiffstats
path: root/test/CodeGenObjC/complex-property.m
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2016-09-18 16:12:14 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2016-09-18 16:12:14 +0000
commitf293c786ad7947942509fc0013f0774540ca375b (patch)
tree40f1f27eb9f623872caef58b89b49a9369e58408 /test/CodeGenObjC/complex-property.m
parentdba490c140af9e7098cb318767619efe7123a265 (diff)
CodeGen: mark ObjC cstring literals as unnamed_addr
These are all emitted into a section with a cstring_literal attribute. The attribute permits the linker to coalesce the string contents. The address of the strings are not important. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@281855 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenObjC/complex-property.m')
-rw-r--r--test/CodeGenObjC/complex-property.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGenObjC/complex-property.m b/test/CodeGenObjC/complex-property.m
index dd65ca7821..a5572958a6 100644
--- a/test/CodeGenObjC/complex-property.m
+++ b/test/CodeGenObjC/complex-property.m
@@ -13,8 +13,8 @@ void f0(A *a) {
a.y += a1;
}
-// CHECK-LP64: private constant [13 x i8] c"COMPLEX_PROP
-// CHECK-LP64: private constant [17 x i8] c"setCOMPLEX_PROP
+// CHECK-LP64: private unnamed_addr constant [13 x i8] c"COMPLEX_PROP
+// CHECK-LP64: private unnamed_addr constant [17 x i8] c"setCOMPLEX_PROP
// rdar: // 7351147
@interface B