Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Reduce clutter in asm output. Do not emit source location as comment for ↵ | Devang Patel | 2011-04-18 | 1 | -1/+1 |
| | | | | | | each instruction. llvm-svn: 129715 | ||||
* | Be consistent about being virtual and returning void in the cfi methods. | Rafael Espindola | 2011-04-12 | 1 | -10/+19 |
| | | | | | | Implement the ones that were missing in the asm streamer. llvm-svn: 129413 | ||||
* | Remove LastOffset from the asm parser. | Rafael Espindola | 2011-04-12 | 1 | -19/+3 |
| | | | | llvm-svn: 129378 | ||||
* | Fix the case of a .cfi_rel_offset before any .cfi_def_cfa_offset. | Rafael Espindola | 2011-04-12 | 1 | -6/+2 |
| | | | | llvm-svn: 129362 | ||||
* | Implement .cfi_same_value. | Rafael Espindola | 2011-04-12 | 1 | -0/+17 |
| | | | | llvm-svn: 129361 | ||||
* | 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 | ||||
* | To avoid printing out multiple error messages for cases like: | Eric Christopher | 2011-04-12 | 1 | -0/+3 |
| | | | | | | | | | | .long 80+08 go ahead and assume that if we've got an Error token that we handled it already. Otherwise if it's a token we can't handle then go ahead and return the default error. llvm-svn: 129322 | ||||
* | Lex, and then fail on invalid constants. | Eric Christopher | 2011-04-11 | 1 | -1/+1 |
| | | | | | | | | Testcase forthcoming. rdar://8490596 llvm-svn: 129309 | ||||
* | Implement cfi_rel_offset | Rafael Espindola | 2011-04-11 | 1 | -1/+33 |
| | | | | llvm-svn: 129306 | ||||
* | implement .cfi_adjust_cfa_offset. | Rafael Espindola | 2011-04-11 | 1 | -1/+28 |
| | | | | llvm-svn: 129296 | ||||
* | Add support for .skip. | Rafael Espindola | 2011-04-07 | 1 | -1/+1 |
| | | | | | | | Patch by Roman Divacky. Fixes PR9361. llvm-svn: 129106 | ||||
* | Added support symbolic floating point constants in the MC assembler for Infinity | Kevin Enderby | 2011-03-29 | 1 | -3/+11 |
| | | | | | | and Nans with the same strings as GAS supports. rdar://8673024 llvm-svn: 128488 | ||||
* | MC: Improve some diagnostics on uses of '.' pseudo-symbol. | Daniel Dunbar | 2011-03-25 | 1 | -1/+18 |
| | | | | llvm-svn: 128289 | ||||
* | Tidyness. | Daniel Dunbar | 2011-03-25 | 1 | -2/+2 |
| | | | | llvm-svn: 128288 | ||||
* | 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 | ||||
* | Reapply 127939 since Daniel fixed the breakage. <rdar://problem/9012638> | Stuart Hastings | 2011-03-19 | 1 | -2/+3 |
| | | | | llvm-svn: 127944 | ||||
* | Revert 127939. <rdar://problem/9012638> | Stuart Hastings | 2011-03-19 | 1 | -3/+2 |
| | | | | llvm-svn: 127943 | ||||
* | Revise r126127 to address Daniel's comments. <rdar://problem/9012638> | Stuart Hastings | 2011-03-19 | 1 | -2/+3 |
| | | | | llvm-svn: 127939 | ||||
* | MC/Mach-O: Fix regression introduced in r126127, this assignment shouldn't have | Daniel Dunbar | 2011-03-17 | 1 | -1/+2 |
| | | | | | | been removed. llvm-svn: 127812 | ||||
* | Darwin 'as' silently ignores the '.ident' directive. | Jim Grosbach | 2011-03-08 | 1 | -0/+7 |
| | | | | llvm-svn: 127258 | ||||
* | Restore r125595 (reverted in r126336) with modifications: | Joerg Sonnenberger | 2011-02-24 | 3 | -2/+25 |
| | | | | | | | Introduce a variable in the AsmParserExtension whether [] is valid in an expression. If it is true, parse them like (). Enable this for ELF only. llvm-svn: 126443 | ||||
* | Revert r125595, which is an X86-only undocumented assembly syntax extension | Jim Grosbach | 2011-02-23 | 1 | -18/+0 |
| | | | | | | | | | | enabled for all targets. Non-X86 targets should not have this behavior enabled by default. Joerg, if you would like to resubmit with the behavior conditionalized to be X86-ELF only, that's fine. llvm-svn: 126336 | ||||
* | Bug#9172: Don't use static in file scope, use an attribute on the | Joerg Sonnenberger | 2011-02-22 | 1 | -5/+5 |
| | | | | | | parser. llvm-svn: 126225 | ||||
* | Add support for pushsection and popsection. Patch by Joerg Sonnenberger. | Rafael Espindola | 2011-02-16 | 1 | -4/+26 |
| | | | | llvm-svn: 125629 | ||||
* | Add support for parsing [expr]. | Roman Divacky | 2011-02-15 | 1 | -0/+18 |
| | | | | | | This is submitted by Joerg Sonnenberger and fixes his PR8685. llvm-svn: 125595 | ||||
* | More whitespace cleanup... | Jim Grosbach | 2011-02-11 | 2 | -41/+41 |
| | | | | llvm-svn: 125388 | ||||
* | Support for .ifdef / .ifndef in the assembler parser. Patch by Joerg ↵ | Benjamin Kramer | 2011-02-08 | 1 | -1/+31 |
| | | | | | | Sonnenberger. llvm-svn: 125120 | ||||
* | Do not sign extend floating-point values in the asm parser. | Bob Wilson | 2011-02-03 | 1 | -1/+1 |
| | | | | llvm-svn: 124831 | ||||
* | Enumerate .code16/32/64 instead of checking .code prefix. This | Roman Divacky | 2011-01-31 | 1 | -1/+1 |
| | | | | | | unbreaks some ARM tests. llvm-svn: 124608 | ||||
* | Error on all .code* directives instead of just .code16 as they | Roman Divacky | 2011-01-31 | 1 | -2/+2 |
| | | | | | | all lead to a silent miscompilation of code. llvm-svn: 124603 | ||||
* | Error on .code16 instead of producing wrong (32bit) code. | Roman Divacky | 2011-01-28 | 1 | -0/+3 |
| | | | | llvm-svn: 124498 | ||||
* | Add support for parsing .float | Roman Divacky | 2011-01-28 | 1 | -1/+1 |
| | | | | llvm-svn: 124485 | ||||
* | PR8951: Support for .equiv in integrated assembler, patch by Jörg Sonnenberger! | Nico Weber | 2011-01-28 | 1 | -8/+12 |
| | | | | llvm-svn: 124467 | ||||
* | Add support for specifying register name in cfi-register/offset/def | Roman Divacky | 2011-01-27 | 1 | -3/+23 |
| | | | | | | as well as register number. llvm-svn: 124379 | ||||
* | Add support for parsing a Real value. It stores the Real value as its binary | Bill Wendling | 2011-01-25 | 1 | -1/+7 |
| | | | | | | | encoding. It's up to the individual back-ends to convert it to their preferred representation when printing. llvm-svn: 124229 | ||||
* | Handle strings in section names the same way as gas: | Rafael Espindola | 2011-01-24 | 1 | -3/+14 |
| | | | | | | | * If the name is a single string, we remove the quotes * If the name starts without a quote, we include any quotes in the name llvm-svn: 124127 | ||||
* | Delay the creation of eh_frame so that the user can change the defaults. | Rafael Espindola | 2011-01-23 | 1 | -0/+2 |
| | | | | | | Add support for SHT_X86_64_UNWIND. llvm-svn: 124059 | ||||
* | Remove more duplicated code. | Rafael Espindola | 2011-01-23 | 1 | -35/+35 |
| | | | | llvm-svn: 124056 | ||||
* | Remove duplicated code. | Rafael Espindola | 2011-01-23 | 1 | -18/+19 |
| | | | | llvm-svn: 124054 | ||||
* | Make sure to propogate the error code when we fail to parse a modifier. | Jim Grosbach | 2011-01-19 | 1 | -1/+1 |
| | | | | llvm-svn: 123857 | ||||
* | Correctly encode pcrel|indirect. | Rafael Espindola | 2010-12-29 | 1 | -3/+2 |
| | | | | llvm-svn: 122624 | ||||
* | Implement cfi_def_cfa. Also don't convert to dwarf reg numbers twice. Looks | Rafael Espindola | 2010-12-29 | 1 | -0/+22 |
| | | | | | | like 6 is a fixed point of that and so the previous tests were OK :-) llvm-svn: 122614 | ||||
* | Implement .cfi_remember_state and .cfi_restore_state. | Rafael Espindola | 2010-12-28 | 1 | -0/+20 |
| | | | | llvm-svn: 122602 | ||||
* | Add support for .cfi_lsda. | Rafael Espindola | 2010-12-27 | 1 | -1/+1 |
| | | | | llvm-svn: 122584 | ||||
* | Add support for the same encodings of the personality function that gnu as | Rafael Espindola | 2010-12-27 | 1 | -1/+1 |
| | | | | | | supports. llvm-svn: 122577 | ||||
* | Add support for @note. Patch by Jörg Sonnenberger. | Rafael Espindola | 2010-12-26 | 1 | -0/+2 |
| | | | | llvm-svn: 122568 | ||||
* | Add basic support for .cfi_personality. | Rafael Espindola | 2010-12-26 | 1 | -2/+25 |
| | | | | llvm-svn: 122566 | ||||
* | 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 | ||||
* | In llvm-mc parse a Hash token as a full line comment. Allows handling of | Kevin Enderby | 2010-12-24 | 1 | -2/+7 |
| | | | | | | | preprocessed .s files and matches darwin gas. rdar://8798690 Also fix a comment on the next line of AsmParser.cpp after this new code. llvm-svn: 122531 | ||||
* | Add missing standard headers. Patch by Joerg Sonnenberger! | Nick Lewycky | 2010-12-19 | 2 | -0/+2 |
| | | | | llvm-svn: 122193 |