mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-02 22:23:10 +00:00
Print "lock \t foo" instead of "lock \n foo".
This gets gas and llc -filetype=obj to agree on the order of prefixes. For llvm-mc we need to fix the asm parser to know that it makes a difference on which line the "lock" is in. Part of pr23594. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238232 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -48,7 +48,7 @@ void X86ATTInstPrinter::printInst(const MCInst *MI, raw_ostream &OS,
|
||||
EmitAnyX86InstComments(MI, *CommentStream, getRegisterName);
|
||||
|
||||
if (TSFlags & X86II::LOCK)
|
||||
OS << "\tlock\n";
|
||||
OS << "\tlock\t";
|
||||
|
||||
// Output CALLpcrel32 as "callq" in 64-bit mode.
|
||||
// In Intel annotation it's always emitted as "call".
|
||||
|
||||
Reference in New Issue
Block a user