projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a3e305
)
lib/Target/X86/X86MCAsmInfo.cpp: [PR8741] On Win64, specify explicit PrivateGlobalPre...
author
NAKAMURA Takumi
<geek4civic@gmail.com>
Tue, 7 Dec 2010 02:43:45 +0000
(
02:43
+0000)
committer
NAKAMURA Takumi
<geek4civic@gmail.com>
Tue, 7 Dec 2010 02:43:45 +0000
(
02:43
+0000)
Or, global symbols @Lxxxx might be treated as temporal symbol by MCSymbol.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121103
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86MCAsmInfo.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86MCAsmInfo.cpp
b/lib/Target/X86/X86MCAsmInfo.cpp
index f45fdf5a3fb3da9d506759553951c6f788acb394..7732372f2032d0a353d8ea3b58974bb99d94684a 100644
(file)
--- a/
lib/Target/X86/X86MCAsmInfo.cpp
+++ b/
lib/Target/X86/X86MCAsmInfo.cpp
@@
-103,8
+103,10
@@
getNonexecutableStackSection(MCContext &Ctx) const {
}
X86MCAsmInfoCOFF::X86MCAsmInfoCOFF(const Triple &Triple) {
- if (Triple.getArch() == Triple::x86_64)
+ if (Triple.getArch() == Triple::x86_64)
{
GlobalPrefix = "";
+ PrivateGlobalPrefix = ".L";
+ }
AsmTransCBE = x86_asm_table;
AssemblerDialect = AsmWriterFlavor;