diff options
author | Eric Christopher <echristo@apple.com> | 2010-06-03 04:02:59 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2010-06-03 04:02:59 +0000 |
commit | 7310064f4d14b62029805ab16a11ff443ea309d5 (patch) | |
tree | 7382505d1a95b6ae76452b8303470f08d3e1b4ee | |
parent | 268637ed0f34e10e4125e94c44ff3e2975a19166 (diff) | |
download | external_llvm-7310064f4d14b62029805ab16a11ff443ea309d5.zip external_llvm-7310064f4d14b62029805ab16a11ff443ea309d5.tar.gz external_llvm-7310064f4d14b62029805ab16a11ff443ea309d5.tar.bz2 |
One underscore, not two.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105379 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/CodeGen/AsmPrinter/AsmPrinter.cpp | 2 | ||||
-rw-r--r-- | test/CodeGen/X86/tls-1.ll | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/lib/CodeGen/AsmPrinter/AsmPrinter.cpp index 5a0c27b..2b57a68 100644 --- a/lib/CodeGen/AsmPrinter/AsmPrinter.cpp +++ b/lib/CodeGen/AsmPrinter/AsmPrinter.cpp @@ -353,7 +353,7 @@ void AsmPrinter::EmitGlobalVariable(const GlobalVariable *GV) { // - spare pointer, used when mapped by the runtime // - pointer to mangled symbol above with initializer unsigned PtrSize = TD->getPointerSizeInBits()/8; - OutStreamer.EmitSymbolValue(GetExternalSymbolSymbol("__tlv_bootstrap"), + OutStreamer.EmitSymbolValue(GetExternalSymbolSymbol("_tlv_bootstrap"), PtrSize, 0); OutStreamer.EmitIntValue(0, PtrSize, 0); OutStreamer.EmitSymbolValue(MangSym, PtrSize, 0); diff --git a/test/CodeGen/X86/tls-1.ll b/test/CodeGen/X86/tls-1.ll index 5f6cbe0..de694d8 100644 --- a/test/CodeGen/X86/tls-1.ll +++ b/test/CodeGen/X86/tls-1.ll @@ -7,13 +7,13 @@ ; CHECK: .section __DATA,__thread_vars,thread_local_variables ; CHECK: .globl _a ; CHECK: _a: -; CHECK: .quad ___tlv_bootstrap +; CHECK: .quad __tlv_bootstrap ; CHECK: .quad 0 ; CHECK: .quad _a$tlv$init ; CHECK: .tbss _b$tlv$init, 4, 2 ; CHECK: .globl _b ; CHECK: _b: -; CHECK: .quad ___tlv_bootstrap +; CHECK: .quad __tlv_bootstrap ; CHECK: .quad 0 ; CHECK: .quad _b$tlv$init |