forked from OSchip/llvm-project
Make inline ASM the INTEL one if it's in that emission mode.
llvm-svn: 33247
This commit is contained in:
parent
e21237e59a
commit
0b3a451e1b
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue