Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Move state var to private class member. | Jim Grosbach | 2011-09-14 | 1 | -1/+1 | |
| | | | | llvm-svn: 139697 | |||||
* | First step in supporting #line directives in assembler. This step parses the | Kevin Enderby | 2011-09-13 | 1 | -1/+22 | |
| | | | | | | | | | #line directives with the needed support in the lexer. Next will be to build a simple file/line# table mapping source SMLoc's for later use by diagnostics. And the last step will be to get the diagnostics to use the mapping for file and line numbers. llvm-svn: 139669 | |||||
* | allow \r's in .s files. | Chris Lattner | 2011-08-04 | 1 | -1/+1 | |
| | | | | llvm-svn: 136908 | |||||
* | Basic support for macros with explicit arguments. | Rafael Espindola | 2011-06-05 | 1 | -0/+1 | |
| | | | | | | | | | | | We still don't handle * default values * :req * :vararg * \() llvm-svn: 132656 | |||||
* | Match case for invalid constant error messages and add a new | Eric Christopher | 2011-04-12 | 1 | -5/+5 | |
| | | | | | | test for invalid hexadecimals. llvm-svn: 129326 | |||||
* | Lex, and then fail on invalid constants. | Eric Christopher | 2011-04-11 | 1 | -1/+1 | |
| | | | | | | | | Testcase forthcoming. rdar://8490596 llvm-svn: 129309 | |||||
* | Clean up assembly statement separator support. | Jim Grosbach | 2011-03-24 | 1 | -4/+14 | |
| | | | | | | | | The MC asm lexer wasn't honoring a non-default (anything but ';') statement separator. Fix that, and generalize a bit to support multi-character statement separators. llvm-svn: 128227 | |||||
* | More whitespace cleanup... | Jim Grosbach | 2011-02-11 | 1 | -40/+40 | |
| | | | | llvm-svn: 125388 | |||||
* | Generalize a previous change, fixing PR8855 - an valid large immediate | Chris Lattner | 2010-12-25 | 1 | -6/+6 | |
| | | | | | | rejected by the mc assembler. llvm-svn: 122557 | |||||
* | Add missing standard headers. Patch by Joerg Sonnenberger! | Nick Lewycky | 2010-12-19 | 1 | -0/+1 | |
| | | | | llvm-svn: 122193 | |||||
* | Add support for lexing single quotes like 'c'. | Roman Divacky | 2010-12-18 | 1 | -0/+37 | |
| | | | | | | This fixed 8615. llvm-svn: 122150 | |||||
* | MC/AsmLexer: Fix bug in source location for Slash token. | Daniel Dunbar | 2010-10-25 | 1 | -1/+1 | |
| | | | | llvm-svn: 117298 | |||||
* | MC/AsmParser: Handle exponents in floating point literals. | Daniel Dunbar | 2010-09-27 | 1 | -9/+30 | |
| | | | | llvm-svn: 114861 | |||||
* | MC/AsmParser: Handle a missed case of floating literals in the lexer. | Daniel Dunbar | 2010-09-24 | 1 | -1/+1 | |
| | | | | llvm-svn: 114733 | |||||
* | MC/Lexer: Add 'Real' token type for floating point literals. | Daniel Dunbar | 2010-09-24 | 1 | -5/+24 | |
| | | | | llvm-svn: 114718 | |||||
* | fix rdar://7997827 - Accept and ignore LL and ULL suffixes on integer literals. | Chris Lattner | 2010-08-24 | 1 | -2/+26 | |
| | | | | | | Also fix 0b010 syntax to actually work while we're at it :-) llvm-svn: 111876 | |||||
* | MC: Move getLoc() to MCAsmLexer(). | Daniel Dunbar | 2010-07-12 | 1 | -5/+0 | |
| | | | | llvm-svn: 108154 | |||||
* | Convert some tab stops into spaces. | Duncan Sands | 2010-07-12 | 1 | -1/+1 | |
| | | | | llvm-svn: 108130 | |||||
* | Add support for parsing the ELF .type assembler directive. | Matt Fleming | 2010-05-21 | 1 | -0/+1 | |
| | | | | llvm-svn: 104316 | |||||
* | Incorporate Daniel's suggestion and use !isdigit(CurPtr[0]) and not | Kevin Enderby | 2010-05-18 | 1 | -1/+1 | |
| | | | | | | | CurPtr[0] == '\n' when testing the character after a "0b" when looking to see if it part of a something like "jmp 0b". llvm-svn: 104039 | |||||
* | Fixed the problem with a branch to "0b" that was not parsed by llvm-mc | Kevin Enderby | 2010-05-18 | 1 | -1/+0 | |
| | | | | | | | correctly. The Lexer was incorrectly eating the newline casusing it to branch to address 0. Updated the test case to use a "0:" label and a branch to "0b". llvm-svn: 104038 | |||||
* | Added support in MC for Directional Local Labels. | Kevin Enderby | 2010-05-17 | 1 | -5/+7 | |
| | | | | llvm-svn: 103989 | |||||
* | Revert r103137, fix for $ in labels. It looks like we can't actually handle this | Daniel Dunbar | 2010-05-06 | 1 | -16/+7 | |
| | | | | | | | | | | | | at the token level. Consider the following horrible test case: a = 1 .globl $a movl ($a), %eax movl $a, %eax movl $$a, %eax llvm-svn: 103178 | |||||
* | fix rdar://7946934 - in some limited cases, the assembler should | Chris Lattner | 2010-05-05 | 1 | -7/+16 | |
| | | | | | | allow $ at the start of a symbol name. llvm-svn: 103137 | |||||
* | implement mc asmparser support for '.', which gets the | Chris Lattner | 2010-04-14 | 1 | -0/+5 | |
| | | | | | | | | | | | | | | | | | | | current PC. rdar://7834775 We now produce an identical .o file compared to the cctools assembler for something like this: _f0: L0: jmp L1 .long . - L0 L1: jmp A .long . - L1 .zerofill __DATA,_bss,A,0 llvm-svn: 101227 | |||||
* | add a hack to allow parsing negative minint. rdar://7751341 | Chris Lattner | 2010-03-13 | 1 | -2/+8 | |
| | | | | llvm-svn: 98442 | |||||
* | stop using strtoll, it gives windows heartburn. | Chris Lattner | 2010-01-22 | 1 | -8/+24 | |
| | | | | llvm-svn: 94167 | |||||
* | move some files out of the llvm-mc tool into the MCParser library so | Chris Lattner | 2010-01-22 | 1 | -0/+304 | |
other tools can link it. llvm-svn: 94131 |