diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-02-27 19:01:11 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-02-27 19:01:11 +0000 |
commit | 5179a4ea28b92e7f099abe334973df21db66c289 (patch) | |
tree | 9a431c67a25a8408689839427cd8b0e2b9d7c086 /clang/test/CodeGenObjC/encode-cstyle-method.m | |
parent | 7fe38e1ade9a60d6d582cb2e6ab7ad9e068acebb (diff) | |
download | bcm5719-llvm-5179a4ea28b92e7f099abe334973df21db66c289.tar.gz bcm5719-llvm-5179a4ea28b92e7f099abe334973df21db66c289.zip |
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.
llvm-svn: 202419
Diffstat (limited to 'clang/test/CodeGenObjC/encode-cstyle-method.m')
-rw-r--r-- | clang/test/CodeGenObjC/encode-cstyle-method.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGenObjC/encode-cstyle-method.m b/clang/test/CodeGenObjC/encode-cstyle-method.m index 309089b9b60..d0a99215b9a 100644 --- a/clang/test/CodeGenObjC/encode-cstyle-method.m +++ b/clang/test/CodeGenObjC/encode-cstyle-method.m @@ -8,4 +8,4 @@ @implementation Foo - (id)test:(id )one, id two {return two; } @end -// CHECK-LP64: internal global [11 x i8] c"@24@0:8@16 +// CHECK-LP64: private global [11 x i8] c"@24@0:8@16 |