mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +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:
parent
4efeab208c
commit
a6e24d8caf
@ -37,7 +37,12 @@ AsmWriterFlavor("x86-asm-syntax",
|
||||
clEnumVal(att, " Emit AT&T-style assembly"),
|
||||
clEnumVal(intel, " Emit Intel-style assembly"),
|
||||
clEnumValEnd),
|
||||
cl::init(att));
|
||||
#ifdef _MSC_VER
|
||||
cl::init(intel)
|
||||
#else
|
||||
cl::init(att)
|
||||
#endif
|
||||
);
|
||||
|
||||
/// doInitialization
|
||||
bool X86SharedAsmPrinter::doInitialization(Module &M) {
|
||||
|
Loading…
Reference in New Issue
Block a user