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:
eb9a42c
)
Make inline ASM the INTEL one if it's in that emission mode.
author
Bill Wendling
<isanbard@gmail.com>
Tue, 16 Jan 2007 04:13:03 +0000
(
04:13
+0000)
committer
Bill Wendling
<isanbard@gmail.com>
Tue, 16 Jan 2007 04:13:03 +0000
(
04:13
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33247
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86TargetAsmInfo.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86TargetAsmInfo.cpp
b/lib/Target/X86/X86TargetAsmInfo.cpp
index 021976eea762c9374190b507ab1fbf8781d741de..97e59a51c260df3bb21c0e62d991815a8c2e1dcc 100644
(file)
--- a/
lib/Target/X86/X86TargetAsmInfo.cpp
+++ b/
lib/Target/X86/X86TargetAsmInfo.cpp
@@
-137,12
+137,12
@@
X86TargetAsmInfo::X86TargetAsmInfo(const X86TargetMachine &TM) {
DwarfRangesSection = "\t.section\t.debug_ranges,\"dr\"";
DwarfMacInfoSection = "\t.section\t.debug_macinfo,\"dr\"";
break;
-
- break;
+
case X86Subtarget::isWindows:
GlobalPrefix = "_";
HasDotTypeDotSizeDirective = false;
break;
+
default: break;
}
@@
-169,6
+169,8
@@
X86TargetAsmInfo::X86TargetAsmInfo(const X86TargetMachine &TM) {
TextSectionStartSuffix = "\tsegment 'CODE'";
DataSectionStartSuffix = "\tsegment 'DATA'";
SectionEndDirectiveSuffix = "\tends\n";
+
+ AssemblerDialect = X86_INTEL;
}
}