Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Implement cfi_def_cfa_register. | Rafael Espindola | 2010-12-29 | 1 | -0/+8 | |
| | | | | llvm-svn: 122612 | |||||
* | Initial .cfi_offset implementation. | Rafael Espindola | 2010-12-29 | 1 | -0/+7 | |
| | | | | llvm-svn: 122611 | |||||
* | Implement .cfi_remember_state and .cfi_restore_state. | Rafael Espindola | 2010-12-28 | 1 | -2/+23 | |
| | | | | llvm-svn: 122602 | |||||
* | Start adding basic support for emitting the call frame instructions. | Rafael Espindola | 2010-12-28 | 1 | -1/+8 | |
| | | | | llvm-svn: 122590 | |||||
* | Add support for .cfi_lsda. | Rafael Espindola | 2010-12-27 | 1 | -2/+3 | |
| | | | | llvm-svn: 122584 | |||||
* | Add support for the same encodings of the personality function that gnu as | Rafael Espindola | 2010-12-27 | 1 | -1/+3 | |
| | | | | | | supports. llvm-svn: 122577 | |||||
* | Rename NeedsSetToChangeDiffSize to HasAggressiveSymbolFolding which is a much | Rafael Espindola | 2010-12-22 | 1 | -1/+1 | |
| | | | | | | better name and matches what is used in the MachO writer. llvm-svn: 122443 | |||||
* | Better fix for opt build | Matt Beaumont-Gay | 2010-12-15 | 1 | -3/+2 | |
| | | | | llvm-svn: 121910 | |||||
* | Fix opt -Werror build | Matt Beaumont-Gay | 2010-12-15 | 1 | -0/+1 | |
| | | | | llvm-svn: 121904 | |||||
* | Generalize an assert. | Rafael Espindola | 2010-12-15 | 1 | -1/+2 | |
| | | | | llvm-svn: 121851 | |||||
* | Fixed version of 121434 with no new memory leaks. | Rafael Espindola | 2010-12-10 | 1 | -1/+57 | |
| | | | | llvm-svn: 121471 | |||||
* | Revert my previous patch to make the valgrind bots happy. | Rafael Espindola | 2010-12-10 | 1 | -57/+1 | |
| | | | | llvm-svn: 121461 | |||||
* | Initial support for the cfi directives. This is just enough to get | Rafael Espindola | 2010-12-09 | 1 | -1/+57 | |
| | | | | | | | | | | | f: .cfi_startproc nop .cfi_endproc assembled (on ELF). llvm-svn: 121434 | |||||
* | Add assert to catch an attempt to emit .byte 256 | Devang Patel | 2010-12-09 | 1 | -1/+2 | |
| | | | | llvm-svn: 121402 | |||||
* | Second try at making direct object emission produce the same results | Rafael Espindola | 2010-12-06 | 1 | -0/+12 | |
| | | | | | | | as llc + llvm-mc. This time ELF is not changed and I tested that llvm-gcc bootstrap on darwin10 using darwin9's assembler and linker. llvm-svn: 121006 | |||||
* | Revert previous two patches while I try to find out how to make both | Rafael Espindola | 2010-12-06 | 1 | -6/+0 | |
| | | | | | | linux and darwin assemblers happy :-( llvm-svn: 121004 | |||||
* | Add an EmitAbsValue helper method and use it in cases where we want to be sure | Rafael Espindola | 2010-12-06 | 1 | -0/+6 | |
| | | | | | | | that no relocations are used (on MochO). Fixes llc producing different output from llc + llvm-mc. llvm-svn: 121000 | |||||
* | Make EmitIntValue more efficient and more like what we do for leb128. The | Rafael Espindola | 2010-12-03 | 1 | -1/+6 | |
| | | | | | | difference is much smaller (about 0.3s) but significant. llvm-svn: 120787 | |||||
* | Do with uleb the same trick we now do with dwarf line/address advances. This | Rafael Espindola | 2010-12-03 | 1 | -2/+8 | |
| | | | | | | avoids creating leb128 fragments and speeds up the test in PR8711 to 33s. llvm-svn: 120774 | |||||
* | Try to resolve symbol differences early, and if successful create a plain | Rafael Espindola | 2010-12-03 | 1 | -0/+11 | |
| | | | | | | | data fragment. This reduces the time to assemble the test in 8711 from 60s to 54s. llvm-svn: 120767 | |||||
* | Avoid code duplication in the many unsupported EmitGPRel32Value implementations. | Rafael Espindola | 2010-11-28 | 1 | -0/+4 | |
| | | | | llvm-svn: 120243 | |||||
* | Add basic CFI methods to the streamer interface. | Rafael Espindola | 2010-11-22 | 1 | -0/+28 | |
| | | | | llvm-svn: 119972 | |||||
* | Add .loc methods to the streamer. | Rafael Espindola | 2010-11-16 | 1 | -0/+14 | |
| | | | | | | | Next: Add support for the !HasDotLocAndDotFile case to the MCAsmStreamer and then switch codegen to use it. llvm-svn: 119384 | |||||
* | Add support for expressions in .sleb/.uleb directives. | Rafael Espindola | 2010-11-02 | 1 | -14/+8 | |
| | | | | llvm-svn: 118023 | |||||
* | Implement .weakref. | Rafael Espindola | 2010-11-01 | 1 | -0/+1 | |
| | | | | llvm-svn: 117911 | |||||
* | This is the last major patch to implement support for the .loc directive | Kevin Enderby | 2010-09-30 | 1 | -0/+19 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and output the dwarf line number tables. This contains the code to emit and encode the dwarf line tables from the previously gathered information in the MCLineSection objects. This contains all the details to encode the line and address deltas into the dwarf line table. To do this an MCDwarfLineAddrFragment has been added. Also this moves the interface code out of Mach-O streamer into MCDwarf so it should be useable by other object file formats. There is now one call to be made from an MCObjectStreamer EmitInstruction() method: MCLineEntry::Make(this, getCurrentSection()); to create a line entry after each instruction is assembled. And one call call to be made from an MCObjectStreamer Finish() method: MCDwarfFileTable::Emit(this, DwarfLineSection); when getContext().hasDwarfFiles() is true and is passed a object file specific MCSection where to emit the dwarf file and the line tables. This appears to now be correct for 32-bit targets, at least x86. But the relocation entries for 64-bit Darwin needs some further work which is next up to work on. So for now the 64-bit Mach-O target does not output the dwarf file and line tables. llvm-svn: 115157 | |||||
* | Add AsmParser support for the ELF .previous directive. Patch by Roman Divacky. | Benjamin Kramer | 2010-09-02 | 1 | -1/+2 | |
| | | | | llvm-svn: 112849 | |||||
* | _[A-Z] identifiers are reserved for the implementation. | Michael J. Spencer | 2010-07-19 | 1 | -1/+1 | |
| | | | | llvm-svn: 108682 | |||||
* | Grammar fix. This is a test commit. | Matt Fleming | 2010-05-20 | 1 | -1/+1 | |
| | | | | llvm-svn: 104264 | |||||
* | add a twine form of MCStreamer::EmitRawText, and mc'ize | Chris Lattner | 2010-04-03 | 1 | -0/+8 | |
| | | | | | | a few more things in AsmPrinter.cpp. llvm-svn: 100294 | |||||
* | add <cstdlib> header for abort() on linux builders. | Chris Lattner | 2010-04-03 | 1 | -0/+1 | |
| | | | | llvm-svn: 100290 | |||||
* | add a new EmitInlineAsm function to asmprinter to handle inline asm. | Chris Lattner | 2010-04-03 | 1 | -0/+9 | |
| | | | | | | | If we have an MCAsmStreamer, we continue to emit asm textually, otherwise we (currently) emit an error to errs and ignore it. llvm-svn: 100289 | |||||
* | add a EmitSymbolValue convenience method to MCStreamer. | Chris Lattner | 2010-03-09 | 1 | -0/+5 | |
| | | | | llvm-svn: 98017 | |||||
* | add a new MCAsmStreamer::GetCommentOS method to simplify stuff | Chris Lattner | 2010-01-22 | 1 | -1/+7 | |
| | | | | | | that doesn't want to use twines. llvm-svn: 94199 | |||||
* | add a new EmitIntValue method that MCStreamer impls can optionally define | Chris Lattner | 2010-01-19 | 1 | -0/+7 | |
| | | | | | | and that clients can use. llvm-svn: 93923 | |||||
* | Generalize mcasmstreamer data emission APIs to take an address space | Chris Lattner | 2010-01-19 | 1 | -2/+3 | |
| | | | | | | identifier. There is no way to work around it. llvm-svn: 93896 | |||||
* | add a "MCStreamer::EmitFill" method, and move the default implementation | Chris Lattner | 2010-01-19 | 1 | -0/+9 | |
| | | | | | | (which just iteratively emits bytes) to MCStreamer. llvm-svn: 93888 | |||||
* | Make AsmStreamer maintain a notion of the current section, pushing it up ↵ | Chris Lattner | 2009-08-18 | 1 | -1/+1 | |
| | | | | | | | | | | | | from the MCAsmStreamer. Based on this, eliminate the current section from AsmPrinter. While I'm at it, clean up the last of the horrible "switch to null section" stuff and add an assert. This change is in preparation for completely eliminating asmprinter::switchtosection. llvm-svn: 79324 | |||||
* | Start MCAsmStreamer implementation. | Daniel Dunbar | 2009-06-24 | 1 | -0/+18 | |
llvm-svn: 74044 |