]> granicus.if.org Git - clang/commit
Use private linkage for globals we already name with \01L and \01l.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 27 Feb 2014 19:01:11 +0000 (19:01 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 27 Feb 2014 19:01:11 +0000 (19:01 +0000)
commit8bb3054559fa34de5a8324b3d78431f9602e6797
tree624a086cfb85819a23dd22403214cd97200e5316
parentcb258fa9e950a7261cd85394b7dfa96739ad7a2f
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
22 files changed:
lib/CodeGen/CGObjCMac.cpp
test/CodeGenObjC/arc.m
test/CodeGenObjC/boxing.m
test/CodeGenObjC/complex-property.m
test/CodeGenObjC/encode-cstyle-method.m
test/CodeGenObjC/encode-test-6.m
test/CodeGenObjC/encode-test.m
test/CodeGenObjC/externally-initialized-selectors.m
test/CodeGenObjC/interface-layout-64.m
test/CodeGenObjC/ivar-layout-64.m
test/CodeGenObjC/metadata-symbols-32.m
test/CodeGenObjC/metadata-symbols-64.m
test/CodeGenObjC/metadata_symbols.m
test/CodeGenObjC/non-lazy-classes.m
test/CodeGenObjC/objc-align.m
test/CodeGenObjC/property-category-impl.m
test/CodeGenObjC/property-list-in-class.m
test/CodeGenObjC/reorder-synthesized-ivars.m
test/CodeGenObjCXX/arc-blocks.mm
test/CodeGenObjCXX/encode.mm
test/CodeGenObjCXX/externally-initialized-selectors.mm
test/CodeGenObjCXX/lambda-expressions.mm