Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |||||
* | Add support for lexing single quotes like 'c'. | Roman Divacky | 2010-12-18 | 1 | -0/+37 | |
| | | | | | | This fixed 8615. llvm-svn: 122150 | |||||
* | Factor some code to parseSectionFlags and fix the default type of a section. | Rafael Espindola | 2010-11-25 | 1 | -49/+58 | |
| | | | | llvm-svn: 120145 | |||||
* | Behave a bit more like gnu as and use the symbol (instead of the section) | Rafael Espindola | 2010-11-24 | 1 | -3/+9 | |
| | | | | | | for any relocation to a symbol defined in a tls section. llvm-svn: 120121 | |||||
* | Add basic CFI methods to the streamer interface. | Rafael Espindola | 2010-11-22 | 1 | -7/+19 | |
| | | | | llvm-svn: 119972 | |||||
* | Added support for the Mach-O .symbol_resolver directive. rdar://8673046 | Kevin Enderby | 2010-11-19 | 1 | -0/+2 | |
| | | | | llvm-svn: 119816 | |||||
* | Add support for .int. | Rafael Espindola | 2010-11-17 | 1 | -0/+2 | |
| | | | | llvm-svn: 119512 | |||||
* | Add support for .2byte, .4byte and .8byte. | Rafael Espindola | 2010-11-17 | 1 | -0/+6 | |
| | | | | | | Fixes PR8631. llvm-svn: 119511 | |||||
* | Add .loc methods to the streamer. | Rafael Espindola | 2010-11-16 | 1 | -4/+3 | |
| | | | | | | | Next: Add support for the !HasDotLocAndDotFile case to the MCAsmStreamer and then switch codegen to use it. llvm-svn: 119384 | |||||
* | Parse and ignore some .cfi_* directives. | Rafael Espindola | 2010-11-16 | 1 | -0/+95 | |
| | | | | llvm-svn: 119362 | |||||
* | Fix PR8565. | Rafael Espindola | 2010-11-15 | 1 | -6/+25 | |
| | | | | | | | | | | | This moves most of the isUsed logic to the MCSymbol itself. With this we get a bit more relaxed about allowing definitions after uses: uses that don't evaluate their argument immediately (jmp foo) are accepted. ddunbar, this was the smallest compromise I could think of that lets us accept gcc (and clang!) assembly. llvm-svn: 119144 | |||||
* | Parse and record the gnu_unique_object type. | Rafael Espindola | 2010-11-13 | 1 | -0/+1 | |
| | | | | llvm-svn: 118980 | |||||
* | Parse and remember discriminators in .loc line. I try to output them with | Rafael Espindola | 2010-11-13 | 1 | -1/+7 | |
| | | | | | | | another patch. This lets us parse a bit more of the gcc 4.5 output. llvm-svn: 118975 | |||||
* | gnu as support both % and @ before types, do the same. | Rafael Espindola | 2010-11-12 | 1 | -10/+4 | |
| | | | | llvm-svn: 118893 | |||||
* | Mark labels declared in tls sections as STT_TLS. This matches the behavior of | Rafael Espindola | 2010-11-11 | 1 | -1/+0 | |
| | | | | | | gas. llvm-svn: 118818 | |||||
* | Initial comdat implementation. | Rafael Espindola | 2010-11-11 | 1 | -5/+7 | |
| | | | | llvm-svn: 118805 | |||||
* | Fixed version of 118639 with an extra assert to catch similar problems | Rafael Espindola | 2010-11-09 | 1 | -3/+2 | |
| | | | | | | earlier. Implicit bool -> int conversions are evil! llvm-svn: 118651 | |||||
* | Revert previous patch. Missed a case. | Rafael Espindola | 2010-11-09 | 1 | -2/+3 | |
| | | | | llvm-svn: 118645 | |||||
* | Remove IsExplicit. It was always false. | Rafael Espindola | 2010-11-09 | 1 | -3/+2 | |
| | | | | llvm-svn: 118639 | |||||
* | Fix typo. | Daniel Dunbar | 2010-11-08 | 1 | -1/+1 | |
| | | | | llvm-svn: 118421 | |||||
* | Set default flags for .rodata. | Rafael Espindola | 2010-11-08 | 1 | -1/+3 | |
| | | | | llvm-svn: 118395 | |||||
* | Add support for expressions in .sleb/.uleb directives. | Rafael Espindola | 2010-11-02 | 1 | -31/+7 | |
| | | | | llvm-svn: 118023 | |||||
* | Add support for .value. | Rafael Espindola | 2010-11-01 | 1 | -0/+2 | |
| | | | | llvm-svn: 117922 | |||||
* | Implement .weakref. | Rafael Espindola | 2010-11-01 | 1 | -0/+28 | |
| | | | | llvm-svn: 117911 | |||||
* | Improvements to .section parsing: | Rafael Espindola | 2010-10-28 | 1 | -10/+38 | |
| | | | | | | | | | | * If we have a M or a G, reject sections without the type * Only parse the flag specific arguments if we have M or G * Parse the corresponding arguments for M and G We ignore the G arguments and flag for now. llvm-svn: 117608 | |||||
* | Add support for the .string directive. | Rafael Espindola | 2010-10-28 | 1 | -8/+10 | |
| | | | | llvm-svn: 117592 | |||||
* | Use the IDVal directly as there's no need to convert to std::string. | Roman Divacky | 2010-10-28 | 1 | -2/+2 | |
| | | | | | | Pointed out by Chris! llvm-svn: 117557 | |||||
* | Implement .equ directive as a synonym to .set. | Roman Divacky | 2010-10-28 | 1 | -6/+6 | |
| | | | | llvm-svn: 117553 | |||||
* | Set default type and flags for .init and .fini. | Rafael Espindola | 2010-10-27 | 1 | -1/+9 | |
| | | | | llvm-svn: 117471 | |||||
* | Add support for the .symver directive. This is really ugly, but most of it is | Rafael Espindola | 2010-10-27 | 1 | -0/+30 | |
| | | | | | | contained in the ELF object writer. llvm-svn: 117448 | |||||
* | Add support for .ident. | Rafael Espindola | 2010-10-26 | 1 | -0/+32 | |
| | | | | llvm-svn: 117389 |