mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-15 22:28:18 +00:00
Make Intel syntax the default when LLVM is built with VC++.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28095 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -37,7 +37,12 @@ AsmWriterFlavor("x86-asm-syntax",
|
|||||||
clEnumVal(att, " Emit AT&T-style assembly"),
|
clEnumVal(att, " Emit AT&T-style assembly"),
|
||||||
clEnumVal(intel, " Emit Intel-style assembly"),
|
clEnumVal(intel, " Emit Intel-style assembly"),
|
||||||
clEnumValEnd),
|
clEnumValEnd),
|
||||||
cl::init(att));
|
#ifdef _MSC_VER
|
||||||
|
cl::init(intel)
|
||||||
|
#else
|
||||||
|
cl::init(att)
|
||||||
|
#endif
|
||||||
|
);
|
||||||
|
|
||||||
/// doInitialization
|
/// doInitialization
|
||||||
bool X86SharedAsmPrinter::doInitialization(Module &M) {
|
bool X86SharedAsmPrinter::doInitialization(Module &M) {
|
||||||
|
Reference in New Issue
Block a user