diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-12-11 22:18:44 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-12-11 22:18:44 +0000 |
commit | 2b5a0c9e68ef960ade8fe5241ca0f0690ef7bfb3 (patch) | |
tree | c122cc459af614ab40cbe951c9abae31c9ad9860 /llvm/lib/CodeGen | |
parent | 727747eb29baaf61c5058bae7d9f6c8fa350b96f (diff) | |
download | bcm5719-llvm-2b5a0c9e68ef960ade8fe5241ca0f0690ef7bfb3.tar.gz bcm5719-llvm-2b5a0c9e68ef960ade8fe5241ca0f0690ef7bfb3.zip |
On ELF and COFF treat linker_private like private.
The linkers on these systems don't have anything special to do with these
symbols. Since the intent is for them to be absent from the final object,
just treat them as private.
llvm-svn: 197080
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp index ad542737447..5d49831a6f1 100644 --- a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp @@ -1175,7 +1175,7 @@ void AsmPrinter::EmitJumpTableInfo() { // before each jump table. The first label is never referenced, but tells // the assembler and linker the extents of the jump table object. The // second label is actually referenced by the code. - if (JTInDiffSection && MAI->getLinkerPrivateGlobalPrefix()[0]) + if (JTInDiffSection && MAI->hasLinkerPrivateGlobalPrefix()) // FIXME: This doesn't have to have any specific name, just any randomly // named and numbered 'l' label would work. Simplify GetJTISymbol. OutStreamer.EmitLabel(GetJTISymbol(JTI, true)); |