diff options
author | Bill Wendling <isanbard@gmail.com> | 2010-06-29 22:34:52 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2010-06-29 22:34:52 +0000 |
commit | 363217175037e53c8e0844bf596bdb0b32a372e3 (patch) | |
tree | d0fd708d643be64b2d4dac3627c7e08b58e8fea2 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | be3055160034a23e3afff1ecd3e93327573b2659 (diff) | |
download | bcm5719-llvm-363217175037e53c8e0844bf596bdb0b32a372e3.tar.gz bcm5719-llvm-363217175037e53c8e0844bf596bdb0b32a372e3.zip |
Revert r107205 and r107207.
llvm-svn: 107215
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
-rw-r--r-- | llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp b/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp index 56420539b71..71ad3fb6f99 100644 --- a/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp +++ b/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp @@ -755,12 +755,11 @@ shouldEmitUsedDirectiveFor(const GlobalValue *GV, Mangler *Mang) const { /// the directive emitted (this occurs in ObjC metadata). if (!GV) return false; - // Check whether the mangled name has the "Private", "LinkerPrivate", or - // "LinkerWeak" prefix. + // Check whether the mangled name has the "Private" or "LinkerPrivate" prefix. if (GV->hasLocalLinkage() && !isa<Function>(GV)) { // FIXME: ObjC metadata is currently emitted as internal symbols that have - // \1L and \1l prefixes on them. Fix them to be Private / LinkerPrivate / - // LinkerWeak and this horrible hack can go away. + // \1L and \0l prefixes on them. Fix them to be Private/LinkerPrivate and + // this horrible hack can go away. MCSymbol *Sym = Mang->getSymbol(GV); if (Sym->getName()[0] == 'L' || Sym->getName()[0] == 'l') return false; |