@@ -23,9 +23,9 @@ enum AsmWriterFlavorTy {
23
23
ATT = 0 , Intel = 1
24
24
};
25
25
26
- static cl::opt<AsmWriterFlavorTy> AsmWriterFlavor (
26
+ static cl::opt<AsmWriterFlavorTy> X86AsmSyntax (
27
27
" x86-asm-syntax" , cl::init(ATT), cl::Hidden,
28
- cl::desc(" Choose style of code to emit from X86 backend: " ),
28
+ cl::desc(" Select the assembly style for input " ),
29
29
cl::values(clEnumValN(ATT, " att" , " Emit AT&T-style assembly" ),
30
30
clEnumValN(Intel, " intel" , " Emit Intel-style assembly" )));
31
31
@@ -41,7 +41,7 @@ X86MCAsmInfoDarwin::X86MCAsmInfoDarwin(const Triple &T) {
41
41
if (is64Bit)
42
42
CodePointerSize = CalleeSaveStackSlotSize = 8 ;
43
43
44
- AssemblerDialect = AsmWriterFlavor ;
44
+ AssemblerDialect = X86AsmSyntax ;
45
45
46
46
if (!is64Bit)
47
47
Data64bitsDirective = nullptr ; // we can't emit a 64-bit unit
@@ -89,7 +89,7 @@ X86ELFMCAsmInfo::X86ELFMCAsmInfo(const Triple &T) {
89
89
// OTOH, stack slot size is always 8 for x86-64, even with the x32 ABI.
90
90
CalleeSaveStackSlotSize = is64Bit ? 8 : 4 ;
91
91
92
- AssemblerDialect = AsmWriterFlavor ;
92
+ AssemblerDialect = X86AsmSyntax ;
93
93
94
94
// Debug Information
95
95
SupportsDebugInformation = true ;
@@ -126,7 +126,7 @@ X86MCAsmInfoMicrosoft::X86MCAsmInfoMicrosoft(const Triple &Triple) {
126
126
127
127
ExceptionsType = ExceptionHandling::WinEH;
128
128
129
- AssemblerDialect = AsmWriterFlavor ;
129
+ AssemblerDialect = X86AsmSyntax ;
130
130
131
131
AllowAtInName = true ;
132
132
}
@@ -159,7 +159,7 @@ X86MCAsmInfoGNUCOFF::X86MCAsmInfoGNUCOFF(const Triple &Triple) {
159
159
ExceptionsType = ExceptionHandling::DwarfCFI;
160
160
}
161
161
162
- AssemblerDialect = AsmWriterFlavor ;
162
+ AssemblerDialect = X86AsmSyntax ;
163
163
164
164
AllowAtInName = true ;
165
165
}
0 commit comments