Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Enable DebugInfo support for COFF object files. | Devang Patel | 2011-02-24 | 1 | -0/+1 | |
| | | | | | | Patch by Nathan Jeffords! llvm-svn: 126425 | |||||
* | Add support for pushsection and popsection. Patch by Joerg Sonnenberger. | Rafael Espindola | 2011-02-16 | 1 | -5/+3 | |
| | | | | llvm-svn: 125629 | |||||
* | Fixed version of 121434 with no new memory leaks. | Rafael Espindola | 2010-12-10 | 1 | -2/+2 | |
| | | | | llvm-svn: 121471 | |||||
* | Revert my previous patch to make the valgrind bots happy. | Rafael Espindola | 2010-12-10 | 1 | -2/+2 | |
| | | | | llvm-svn: 121461 | |||||
* | Initial support for the cfi directives. This is just enough to get | Rafael Espindola | 2010-12-09 | 1 | -2/+2 | |
| | | | | | | | | | | | f: .cfi_startproc nop .cfi_endproc assembled (on ELF). llvm-svn: 121434 | |||||
* | There are two reasons why we might want to use | Rafael Espindola | 2010-12-04 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | foo = a - b .long foo instead of just .long a - b First, on darwin9 64 bits the assembler produces the wrong result. Second, if "a" is the end of the section all darwin assemblers (9, 10 and mc) will not consider a - b to be a constant but will if the dummy foo is created. Split how we handle these cases. The first one is something MC should take care of. The second one has to be handled by the caller. llvm-svn: 120889 | |||||
* | Try to resolve symbol differences early, and if successful create a plain | Rafael Espindola | 2010-12-03 | 1 | -0/+3 | |
| | | | | | | | data fragment. This reduces the time to assemble the test in 8711 from 60s to 54s. llvm-svn: 120767 | |||||
* | Use set directive for StartMinusEndExpr. | Devang Patel | 2010-12-02 | 1 | -1/+1 | |
| | | | | | | This is a fix for llvm-gcc-i386-darwin9 buildbot failure. llvm-svn: 120742 | |||||
* | Add .loc methods to the streamer. | Rafael Espindola | 2010-11-16 | 1 | -1/+6 | |
| | | | | | | | Next: Add support for the !HasDotLocAndDotFile case to the MCAsmStreamer and then switch codegen to use it. llvm-svn: 119384 | |||||
* | MC'ize the '.code 16' and '.thumb_func' ARM directives. | Jim Grosbach | 2010-11-05 | 1 | -0/+1 | |
| | | | | llvm-svn: 118301 | |||||
* | Add support for expressions in .sleb/.uleb directives. | Rafael Espindola | 2010-11-02 | 1 | -0/+4 | |
| | | | | llvm-svn: 118023 | |||||
* | Implement .weakref. | Rafael Espindola | 2010-11-01 | 1 | -0/+1 | |
| | | | | llvm-svn: 117911 | |||||
* | Add a InitSections method to the streamer interface. | Rafael Espindola | 2010-09-15 | 1 | -0/+3 | |
| | | | | | | | | | | | | | | The ELF implementation now creates text, data and bss to match the gnu as behavior. The text streamer still has the old MachO specific behavior since the testsuite checks that it will error when a directive is given before a setting the current section for example. A nice benefit is that -n is not required anymore when producing ELF files. llvm-svn: 114027 | |||||
* | Add AsmParser support for the ELF .previous directive. Patch by Roman Divacky. | Benjamin Kramer | 2010-09-02 | 1 | -0/+1 | |
| | | | | llvm-svn: 112849 | |||||
* | Make EmitTBSSSymbol take a section argument so that we can find it later. | Eric Christopher | 2010-05-18 | 1 | -2/+2 | |
| | | | | | | Fix up callers and users. llvm-svn: 104057 | |||||
* | Add AsmParser support for darwin tbss directive. | Eric Christopher | 2010-05-14 | 1 | -1/+2 | |
| | | | | | | Nothing uses this yet. llvm-svn: 103757 | |||||
* | break coff symbol definition stuff out into proper MCStreamer callbacks, | Chris Lattner | 2010-05-08 | 1 | -0/+6 | |
| | | | | | | patch by Nathan Jeffords! llvm-svn: 103346 | |||||
* | make the NullStreamer set the section on a label when emitted so that ↵ | Chris Lattner | 2010-03-09 | 1 | -1/+5 | |
| | | | | | | isDefined() works. llvm-svn: 98100 | |||||
* | This is the first patch to put the needed bits in place to eventually allow code | Kevin Enderby | 2010-02-23 | 1 | -0/+3 | |
| | | | | | | | | | | | to be aligned with optimal nops. This patch does not change any functionality and when the compiler is changed to use EmitCodeAlignment() it should also not change the resulting output. Once the compiler change is made and everything looks good the next patch with the table of optimal X86 nops will be added to WriteNopData() changing the output. There are many FIXMEs in this patch which will be removed when we have better target hooks (coming soon I hear). llvm-svn: 96963 | |||||
* | mcstreamerize gprel32 emission. | Chris Lattner | 2010-01-25 | 1 | -1/+1 | |
| | | | | llvm-svn: 94452 | |||||
* | mcstreamerize .file and .file. This also fixes an issue where the | Chris Lattner | 2010-01-25 | 1 | -0/+2 | |
| | | | | | | | normal form of .file would fail if the filename had a weird character in it. llvm-svn: 94437 | |||||
* | emit the .size directive for global variables on ELF through | Chris Lattner | 2010-01-25 | 1 | -1/+1 | |
| | | | | | | mcstreamer. llvm-svn: 94416 | |||||
* | mcize lcomm, simplify .comm, extend both to support 64-bit sizes. | Chris Lattner | 2010-01-23 | 1 | -1/+2 | |
| | | | | llvm-svn: 94299 | |||||
* | move the various directive enums out of the MCStreamer class | Chris Lattner | 2010-01-23 | 1 | -2/+2 | |
| | | | | | | into a new MCDirectives.h file. llvm-svn: 94294 | |||||
* | 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 | |||||
* | Pass StringRef by value. | Daniel Dunbar | 2009-11-06 | 1 | -1/+1 | |
| | | | | llvm-svn: 86251 | |||||
* | llvm-mc: Pass values to MCStreamer as MCExprs, not MCValues. | Daniel Dunbar | 2009-08-31 | 1 | -4/+3 | |
| | | | | llvm-svn: 80578 | |||||
* | llvm-mc: Simplify EmitAssignment ('.set' is identical to '='). | Daniel Dunbar | 2009-08-31 | 1 | -2/+1 | |
| | | | | llvm-svn: 80577 | |||||
* | llvm-mc: MCStreamer cleanups. - Remove EmitLocalSymbol, this is unsupported ↵ | Daniel Dunbar | 2009-08-30 | 1 | -4/+2 | |
| | | | | | | | | for now. - Switch Emit{CommonSymbol,Zerofill} to take alignment in bytes (for consistency). llvm-svn: 80484 | |||||
* | llvm-mc: Emit .lcomm as .zerofill. | Daniel Dunbar | 2009-08-28 | 1 | -1/+1 | |
| | | | | llvm-svn: 80343 | |||||
* | llvm-mc: Add const to EmitZeroFill section argument. | Daniel Dunbar | 2009-08-28 | 1 | -1/+1 | |
| | | | | llvm-svn: 80341 | |||||
* | null streamer needs to maintain the current section as well. | Chris Lattner | 2009-08-18 | 1 | -1/+3 | |
| | | | | llvm-svn: 79343 | |||||
* | change AsmPrinter to switch sections using AsmStreamer instead of | Chris Lattner | 2009-08-17 | 1 | -1/+1 | |
| | | | | | | | | | doing it directly. This requires const'izing a bunch of stuff that took sections, but this seems like the right semantic thing to do: emitting a label to a section shouldn't mutate the MCSection object itself, for example. llvm-svn: 79227 | |||||
* | llvm-mc: Add dummy MCStreamer implementation, (eventually) for use in profiling. | Daniel Dunbar | 2009-08-13 | 1 | -0/+72 | |
- Currently unused. - A few other random comment fixes lumped in. llvm-svn: 78960 |