8f7d12ccfd8feb258bdf4e582592bc00beacc7c6 |
|
17-Dec-2011 |
Rafael Espindola <rafael.espindola@gmail.com> |
Add back the MC bits of 126425. Original patch by Nathan Jeffords. I added the asm parsing and testcase. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146801 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCParser/COFFAsmParser.cpp
|
94b9550a32d189704a8eae55505edf62662c0534 |
|
26-Jul-2011 |
Evan Cheng <evan.cheng@apple.com> |
Rename TargetAsmParser to MCTargetAsmParser and TargetAsmLexer to MCTargetAsmLexer; rename createAsmLexer to createMCAsmLexer and createAsmParser to createMCAsmParser. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136027 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCParser/COFFAsmParser.cpp
|
f2a35fbd60fbb86465ad2fb4d801cd5c240decd7 |
|
25-Jul-2011 |
Jim Grosbach <grosbach@apple.com> |
Move some ELF directives into ELF asm parser. The .local, .hidden, .internal, and .protected are not legal for all supported file formats (in particular, they're invalid for MachO). Move the parsing for them into the ELF assembly parser since that's the format they're for. Similarly, .weak is used by COFF and ELF, but not MachO, so move the parsing to the COFF and ELF asm parsers. Previously, using any of these directives on Darwin would result in an assertion failure in the parser; now we get a diagnostic as we should. rdar://9827089 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135921 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCParser/COFFAsmParser.cpp
|
a7cfc08ebe737062917b442830eb5321b0f79e89 |
|
23-Jul-2011 |
Evan Cheng <evan.cheng@apple.com> |
Move TargetAsmParser.h TargetAsmBackend.h and TargetAsmLexer.h to MC where they belong. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135833 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCParser/COFFAsmParser.cpp
|
0e6a052331f674dd70e28af41f654a7874405eab |
|
18-Jul-2011 |
Evan Cheng <evan.cheng@apple.com> |
Sink getDwarfRegNum, getLLVMRegNum, getSEHRegNum from TargetRegisterInfo down to MCRegisterInfo. Also initialize the mapping at construction time. This patch eliminate TargetRegisterInfo from TargetAsmInfo. It's another step towards fixing the layering violation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135424 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCParser/COFFAsmParser.cpp
|
1be0e271a07925b928ba89848934f1ea6f1854e2 |
|
15-Jul-2011 |
Evan Cheng <evan.cheng@apple.com> |
Move some parts of TargetAsmInfo down to MCAsmInfo. This is not the greatest solution but it is a small step towards removing the horror that is TargetAsmInfo. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135237 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCParser/COFFAsmParser.cpp
|
410ef2b263e92d3de1b2acff7437059400daed7d |
|
25-May-2011 |
Charles Davis <cdavis@mines.edu> |
Add tests for .seh_setframe and .seh_handlerdata parsing. Fix issues with them. I had to add a special SwitchSectionNoChange method to MCStreamer just for .seh_handlerdata. If this isn't OK, please let me know, and I'll find some other way to fix .seh_handlerdata streaming. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132084 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCParser/COFFAsmParser.cpp
|
575630ccb8a267405146a0c14fba7a5b74e1e4c3 |
|
25-May-2011 |
Charles Davis <cdavis@mines.edu> |
Add tests for .seh_savereg and .seh_savexmm parsing. Once again, fix the buggy methods that parse these directives. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132045 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCParser/COFFAsmParser.cpp
|
47268164f3d660f6357cc3a59d510efe3bc9152f |
|
25-May-2011 |
Charles Davis <cdavis@mines.edu> |
Add a test for .seh_pushframe parsing. Fix the bug exposed by it (and another one I found by inspection). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132037 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCParser/COFFAsmParser.cpp
|
309213279e5d95826d97b2ab2178db5ddea0ed80 |
|
25-May-2011 |
Charles Davis <cdavis@mines.edu> |
Add a test for the .seh_handler directive. Fix problems with the parsing method exposed by the test. While we're at it, simplify the .seh_proc parsing method. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132028 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCParser/COFFAsmParser.cpp
|
3b32d0240c820a8aa829a950628586512a406ea0 |
|
24-May-2011 |
Charles Davis <cdavis@mines.edu> |
Implement the rest of the SEH directive-parsing methods in the COFFAsmParser. Add a size alignment check to the .seh_stackalloc directive parser. Add a more descriptive error message to the .seh_handler directive parser. Add methods to the TargetAsmInfo struct in support of all this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131992 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCParser/COFFAsmParser.cpp
|
16e1b3fcf6f389a6354b5e744730f25bfc0c04c2 |
|
23-May-2011 |
Charles Davis <cdavis@mines.edu> |
Implement .seh_stackalloc and .seh_pushframe parsing. I haven't implemented any of the ones that take registers yet. The problem is that for x86-64 the streamer methods expect a native x86 register number (note: %r8-%r15 want 8-15 instead of 0-7; same for %xmm8-%xmm15). I haven't figured out exactly how I want to do that yet. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131899 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCParser/COFFAsmParser.cpp
|
fbc539ff37ddd08c2480be9185e7a40919ce8940 |
|
22-May-2011 |
Charles Davis <cdavis@mines.edu> |
Add methods to parse the SEH directives to the COFFAsmParser. Implement some of them, particularly the ones that don't take arguments. Also implement .seh_proc and .seh_handler. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131866 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCParser/COFFAsmParser.cpp
|
7d4900416af3813aa9473e6ec2f0497ad5d208dd |
|
09-Oct-2010 |
Michael J. Spencer <bigcheesegs@gmail.com> |
MC-COFF: Add COFFAsmParser. Completes PR8343. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116150 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCParser/COFFAsmParser.cpp
|