summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCParser/MCAsmParser.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Enhance llvm::SourceMgr to support diagnostic ranges, the same way clang ↵Chris Lattner2011-10-161-2/+2
| | | | | | | | | | | | | | | does. Enhance the X86 asmparser to produce ranges in the one case that was annoying me, for example: test.s:10:15: error: invalid operand for instruction movl 0(%rax), 0(%edx) ^~~~~~~ It should be straight-forward to enhance filecheck, tblgen, and/or the .ll parser to use ranges where appropriate if someone is interested. llvm-svn: 142106
* Rename TargetAsmParser to MCTargetAsmParser and TargetAsmLexer to ↵Evan Cheng2011-07-261-2/+2
| | | | | | MCTargetAsmLexer; rename createAsmLexer to createMCAsmLexer and createAsmParser to createMCAsmParser. llvm-svn: 136027
* Move TargetAsmParser.h TargetAsmBackend.h and TargetAsmLexer.h to MC where ↵Evan Cheng2011-07-231-2/+2
| | | | | | they belong. llvm-svn: 135833
* Update MCParsedAsmOperand debug methods.Jim Grosbach2011-07-131-1/+5
| | | | | | | | | | | Update the debug output interface for MCParsedAsmOperand to have a print() method which takes an output stream argument, an << operator which invokes the print method using the given stream, and a dump() method which prints the operand to the dbgs() stream. This makes the interface more consistent with the rest of LLVM, and more convenient to use at the debugger command line. llvm-svn: 135043
* llvm-mc: Add -show-inst-operands, for dumping the parsed instruction ↵Daniel Dunbar2010-08-111-1/+1
| | | | | | representation before matching. llvm-svn: 110791
* MCAsmParser: Add dump() hook to MCParsedAsmOperand.Daniel Dunbar2010-08-111-4/+0
| | | | llvm-svn: 110790
* MC/AsmParser: Fix TokError() to accept a Twine.Daniel Dunbar2010-07-181-1/+1
| | | | llvm-svn: 108647
* MC/AsmParser: Lift Run() and TargetParser to base class.Daniel Dunbar2010-07-171-1/+8
| | | | | | Also, add constructor function for creating AsmParser instances. llvm-svn: 108604
* MC: Move AsmParser::TokError to MCAsmParser().Daniel Dunbar2010-07-121-0/+6
| | | | llvm-svn: 108155
* create a new MCParser library and move some stuff into it.Chris Lattner2010-01-221-0/+35
llvm-svn: 94129
OpenPOWER on IntegriCloud