summaryrefslogtreecommitdiffstats
path: root/test/CodeGenObjC/complex-property.m
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-02-27 19:01:11 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-02-27 19:01:11 +0000
commit8bb3054559fa34de5a8324b3d78431f9602e6797 (patch)
tree624a086cfb85819a23dd22403214cd97200e5316 /test/CodeGenObjC/complex-property.m
parentcb258fa9e950a7261cd85394b7dfa96739ad7a2f (diff)
Use private linkage for globals we already name with \01L and \01l.
In llvm the only semantic difference between internal and private is that llvm tries to hide private globals my mangling them with a private prefix. Since the globals changed by this patch already had the magic don't mangle marker, there should be no change in the generated assembly. A followup patch should then be able to drop the \01L and \01l prefixes and let llvm mangle as appropriate. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@202419 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 d65d72fdd7..bed0ca6611 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: internal global [13 x i8] c"COMPLEX_PROP
-// CHECK-LP64: internal global [17 x i8] c"setCOMPLEX_PROP
+// CHECK-LP64: private global [13 x i8] c"COMPLEX_PROP
+// CHECK-LP64: private global [17 x i8] c"setCOMPLEX_PROP
// rdar: // 7351147
@interface B