Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |||||
* | Make EmitIntValue more efficient and more like what we do for leb128. The | Rafael Espindola | 2010-12-03 | 1 | -9/+7 | |
| | | | | | | 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 | -0/+10 | |
| | | | | | | 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/+24 | |
| | | | | | | | 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 | |||||
* | Move EmitValueToOffset to the ObjectStreamer. | Rafael Espindola | 2010-12-02 | 1 | -0/+5 | |
| | | | | llvm-svn: 120691 | |||||
* | Add EmitInstToFragment to the generic object streamer. | Rafael Espindola | 2010-12-02 | 1 | -0/+7 | |
| | | | | llvm-svn: 120690 | |||||
* | Move EmitValue to MCObjectStreamer. | Rafael Espindola | 2010-11-28 | 1 | -0/+19 | |
| | | | | llvm-svn: 120269 | |||||
* | Fixed verson of r120245. | Rafael Espindola | 2010-11-28 | 1 | -0/+19 | |
| | | | | | | Factor some duplicated code into MCObjectStreamer::EmitLabel. llvm-svn: 120248 | |||||
* | Revert previous patch while I debug the darwin bootstrap failure. | Rafael Espindola | 2010-11-28 | 1 | -20/+0 | |
| | | | | llvm-svn: 120246 | |||||
* | Factor some duplicated code into MCObjectStreamer::EmitLabel. | Rafael Espindola | 2010-11-28 | 1 | -0/+20 | |
| | | | | llvm-svn: 120245 | |||||
* | Add support for expressions in .sleb/.uleb directives. | Rafael Espindola | 2010-11-02 | 1 | -0/+10 | |
| | | | | llvm-svn: 118023 | |||||
* | Move EmitInstruction to MCObjectStreamer so that ELF and MachO can share it. | Rafael Espindola | 2010-11-01 | 1 | -0/+34 | |
| | | | | llvm-svn: 117925 | |||||
* | Implement .weakref. | Rafael Espindola | 2010-11-01 | 1 | -0/+5 | |
| | | | | llvm-svn: 117911 | |||||
* | Avoid some Mach-O specific alignment being done on ELF. | Rafael Espindola | 2010-09-22 | 1 | -2/+5 | |
| | | | | llvm-svn: 114594 | |||||
* | Add AsmParser support for the ELF .previous directive. Patch by Roman Divacky. | Benjamin Kramer | 2010-09-02 | 1 | -0/+1 | |
| | | | | llvm-svn: 112849 | |||||
* | Plug the remaining MC leaks by giving MCObjectStreamer/MCAsmStreamer ↵ | Benjamin Kramer | 2010-07-29 | 1 | -0/+4 | |
| | | | | | | ownership of the TargetAsmBackend and the MCCodeEmitter. llvm-svn: 109767 | |||||
* | MC: Add WinCOFFStreamer implementation and merge common code from MachO | Michael J. Spencer | 2010-07-19 | 1 | -0/+43 | |
| | | | | | | | | into MCObjectStreamer. Origonal Windows COFF implementation by Nathan Jedffords. llvm-svn: 108678 | |||||
* | MC: Lift SwitchSection() and Finish() into MCObjectStreamer. | Daniel Dunbar | 2010-06-16 | 1 | -2/+17 | |
| | | | | llvm-svn: 106141 | |||||
* | MC: Factor out an MCObjectStreamer class, which will be shared by the concrete | Daniel Dunbar | 2010-06-16 | 1 | -0/+24 | |
object file format writers. llvm-svn: 106140 |