Update llvm-mc / MCAsmStreamer to print the instruction using the actual target
specific printer (this only works on x86, for now). - This makes it possible to do some correctness checking of the parsing and matching, since we can compare the results of 'as' on the original input, to those of 'as' on the output from llvm-mc. - In theory, we could now have an easy ATT -> Intel syntax converter. :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78986 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- include/llvm/MC/MCStreamer.h 5 additions, 1 deletioninclude/llvm/MC/MCStreamer.h
- lib/MC/MCAsmStreamer.cpp 21 additions, 43 deletionslib/MC/MCAsmStreamer.cpp
- lib/Target/X86/AsmParser/X86AsmParser.cpp 2 additions, 4 deletionslib/Target/X86/AsmParser/X86AsmParser.cpp
- test/MC/AsmParser/labels.s 3 additions, 3 deletionstest/MC/AsmParser/labels.s
- test/MC/AsmParser/x86_instructions.s 17 additions, 17 deletionstest/MC/AsmParser/x86_instructions.s
- test/MC/AsmParser/x86_operands.s 43 additions, 21 deletionstest/MC/AsmParser/x86_operands.s
- tools/llvm-mc/llvm-mc.cpp 42 additions, 21 deletionstools/llvm-mc/llvm-mc.cpp
Loading
Please register or sign in to comment