Rafael Espindola
|
4c70eeaf33
|
Make EmitIntValue more efficient and more like what we do for leb128. The
difference is much smaller (about 0.3s) but significant.
llvm-svn: 120787
|
2010-12-03 02:54:21 +00:00 |
Rafael Espindola
|
675fbb2ad1
|
Do with uleb the same trick we now do with dwarf line/address advances. This
avoids creating leb128 fragments and speeds up the test in PR8711 to 33s.
llvm-svn: 120774
|
2010-12-03 01:19:49 +00:00 |
Rafael Espindola
|
57ab708bdd
|
Try to resolve symbol differences early, and if successful create a plain
data fragment. This reduces the time to assemble the test in 8711 from 60s to
54s.
llvm-svn: 120767
|
2010-12-03 00:55:40 +00:00 |
Devang Patel
|
8cabd938ed
|
Use set directive for StartMinusEndExpr.
This is a fix for llvm-gcc-i386-darwin9 buildbot failure.
llvm-svn: 120742
|
2010-12-02 21:32:30 +00:00 |
Rafael Espindola
|
9065bfc692
|
Move EmitValueToOffset to the ObjectStreamer.
llvm-svn: 120691
|
2010-12-02 05:59:38 +00:00 |
Rafael Espindola
|
3fa6fc1450
|
Add EmitInstToFragment to the generic object streamer.
llvm-svn: 120690
|
2010-12-02 05:44:06 +00:00 |
Rafael Espindola
|
a084fd6e9d
|
Move EmitValue to MCObjectStreamer.
llvm-svn: 120269
|
2010-11-28 23:08:47 +00:00 |
Rafael Espindola
|
e5b7415b21
|
Fixed verson of r120245.
Factor some duplicated code into MCObjectStreamer::EmitLabel.
llvm-svn: 120248
|
2010-11-28 17:18:55 +00:00 |
Rafael Espindola
|
1679580cc9
|
Revert previous patch while I debug the darwin bootstrap failure.
llvm-svn: 120246
|
2010-11-28 16:22:59 +00:00 |
Rafael Espindola
|
d4b3feb3f7
|
Factor some duplicated code into MCObjectStreamer::EmitLabel.
llvm-svn: 120245
|
2010-11-28 15:54:36 +00:00 |
Rafael Espindola
|
5e874982f2
|
Add support for expressions in .sleb/.uleb directives.
llvm-svn: 118023
|
2010-11-02 17:22:24 +00:00 |
Rafael Espindola
|
72b5488680
|
Move EmitInstruction to MCObjectStreamer so that ELF and MachO can share it.
llvm-svn: 117925
|
2010-11-01 16:27:31 +00:00 |
Rafael Espindola
|
1614597873
|
Implement .weakref.
llvm-svn: 117911
|
2010-11-01 14:28:48 +00:00 |
Rafael Espindola
|
dee12d8110
|
Avoid some Mach-O specific alignment being done on ELF.
llvm-svn: 114594
|
2010-09-22 22:27:05 +00:00 |
Benjamin Kramer
|
e39017cb97
|
Add AsmParser support for the ELF .previous directive. Patch by Roman Divacky.
llvm-svn: 112849
|
2010-09-02 18:53:37 +00:00 |
Benjamin Kramer
|
a3e0ddb564
|
Plug the remaining MC leaks by giving MCObjectStreamer/MCAsmStreamer ownership of the TargetAsmBackend and the MCCodeEmitter.
llvm-svn: 109767
|
2010-07-29 17:48:06 +00:00 |
Michael J. Spencer
|
e2da0a478d
|
MC: Add WinCOFFStreamer implementation and merge common code from MachO
into MCObjectStreamer.
Origonal Windows COFF implementation by Nathan Jedffords.
llvm-svn: 108678
|
2010-07-19 06:13:10 +00:00 |
Daniel Dunbar
|
b2347fe504
|
MC: Lift SwitchSection() and Finish() into MCObjectStreamer.
llvm-svn: 106141
|
2010-06-16 20:04:25 +00:00 |
Daniel Dunbar
|
8a3c9d9bc4
|
MC: Factor out an MCObjectStreamer class, which will be shared by the concrete
object file format writers.
llvm-svn: 106140
|
2010-06-16 20:04:22 +00:00 |