summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-mc/AsmLexer.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Normalize SourceMgr messages.Daniel Dunbar2009-06-301-3/+4
| | | | | | | | | | | | - Don't print "Parsing" in front of every message. - Take additional "type" argument which is prepended to the message (with ": ") if given. - Update clients to print errors (warnings) as: <filename>:<line number>: error(warning): ... llvm-svn: 74489
* llvm-mc: Recognize C++ style comments.Daniel Dunbar2009-06-291-5/+9
| | | | llvm-svn: 74462
* MC: Improve expression parsing and implement evaluation of absolute expressions.Daniel Dunbar2009-06-291-14/+25
| | | | llvm-svn: 74448
* MC: Parse .set and assignments.Daniel Dunbar2009-06-251-0/+1
| | | | llvm-svn: 74208
* make the lexer unique strings it lexes instead of passing them back asChris Lattner2009-06-241-3/+21
| | | | | | std::strings. llvm-svn: 74036
* implement a trivial binary expression parser, we can now parse all of ↵Chris Lattner2009-06-231-3/+22
| | | | | | 176.gcc.llc.s llvm-svn: 73950
* get a definition of strull on windows, thanks to Howard Su.Chris Lattner2009-06-231-0/+1
| | | | llvm-svn: 73929
* Include cstdio to get EOF, needed with gcc-4.4.Duncan Sands2009-06-221-1/+2
| | | | llvm-svn: 73879
* Implement full support for parsing primary expressions. We can now parseChris Lattner2009-06-221-0/+1
| | | | | | | | | | | all of health and voronoi (ignoring directives). We only get 409 lines into 176.gcc though because we don't have binary operators yet: Parsing 176.gcc.llc.s:409: unexpected token in operand list movsbl _arityvec+1(,%edi,8), %eax ^ llvm-svn: 73877
* rename SourceMgr::PrintError to PrintMessage.Chris Lattner2009-06-211-11/+5
| | | | llvm-svn: 73861
* stub out parser for asm files. Change invariant on lexer to alwaysChris Lattner2009-06-211-6/+5
| | | | | | | | print its error message when it returns an asmtok::Error token. Compute a proper error code for llvm-mc in 'lex' mode. Add new -as-lex option to enable lexing mode (vs parsing mode). llvm-svn: 73859
* add string literals.Chris Lattner2009-06-211-1/+24
| | | | llvm-svn: 73858
* hopefully fix the build on linux.Chris Lattner2009-06-211-0/+1
| | | | llvm-svn: 73857
* implement enough of a lexer to get through Olden/health/Output/health.llc.sChris Lattner2009-06-211-5/+157
| | | | | | without errors. llvm-svn: 73855
* some baby steps.Chris Lattner2009-06-211-0/+87
llvm-svn: 73848
OpenPOWER on IntegriCloud