[llvm-commits] [llvm] r105379 - in /llvm/trunk: lib/CodeGen/AsmPrinter/AsmPrinter.cpp test/CodeGen/X86/tls-1.ll

Eric Christopher echristo at apple.com
Wed Jun 2 21:02:59 PDT 2010


Author: echristo
Date: Wed Jun  2 23:02:59 2010
New Revision: 105379

URL: http://llvm.org/viewvc/llvm-project?rev=105379&view=rev
Log:
One underscore, not two.

Modified:
    llvm/trunk/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
    llvm/trunk/test/CodeGen/X86/tls-1.ll

Modified: llvm/trunk/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/AsmPrinter.cpp?rev=105379&r1=105378&r2=105379&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/AsmPrinter.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/AsmPrinter.cpp Wed Jun  2 23:02:59 2010
@@ -353,7 +353,7 @@
     //   - 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);

Modified: llvm/trunk/test/CodeGen/X86/tls-1.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/tls-1.ll?rev=105379&r1=105378&r2=105379&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/tls-1.ll (original)
+++ llvm/trunk/test/CodeGen/X86/tls-1.ll Wed Jun  2 23:02:59 2010
@@ -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





More information about the llvm-commits mailing list