Revision tags: llvmorg-3.0.0-rc1 |
|
#
f895efaa |
| 12-Oct-2011 |
Nick Lewycky <nicholas@mxc.ca> |
Hoist vector.size() computation out of the loop. No functionality change.
llvm-svn: 141807
|
#
bbf3b0de |
| 20-Jul-2011 |
Evan Cheng <evan.cheng@apple.com> |
Goodbye TargetAsmInfo. This eliminate last bit of CodeGen and Target in llvm-mc.
There is still a bit more refactoring left to do in Targets. But we are now very close to fixing all the layering iss
Goodbye TargetAsmInfo. This eliminate last bit of CodeGen and Target in llvm-mc.
There is still a bit more refactoring left to do in Targets. But we are now very close to fixing all the layering issues in MC.
llvm-svn: 135611
show more ...
|
#
76792992 |
| 20-Jul-2011 |
Evan Cheng <evan.cheng@apple.com> |
Add MCObjectFileInfo and sink the MCSections initialization code from TargetLoweringObjectFileImpl down to MCObjectFileInfo.
TargetAsmInfo is done to one last method. It's *almost* gone!
llvm-svn:
Add MCObjectFileInfo and sink the MCSections initialization code from TargetLoweringObjectFileImpl down to MCObjectFileInfo.
TargetAsmInfo is done to one last method. It's *almost* gone!
llvm-svn: 135569
show more ...
|
#
d60fa58b |
| 18-Jul-2011 |
Evan Cheng <evan.cheng@apple.com> |
Sink getDwarfRegNum, getLLVMRegNum, getSEHRegNum from TargetRegisterInfo down to MCRegisterInfo. Also initialize the mapping at construction time.
This patch eliminate TargetRegisterInfo from Target
Sink getDwarfRegNum, getLLVMRegNum, getSEHRegNum from TargetRegisterInfo down to MCRegisterInfo. Also initialize the mapping at construction time.
This patch eliminate TargetRegisterInfo from TargetAsmInfo. It's another step towards fixing the layering violation.
llvm-svn: 135424
show more ...
|
#
0e40208d |
| 18-Apr-2011 |
Eli Friedman <eli.friedman@gmail.com> |
Make the StringMaps attached to MCContext use the MCContext's allocator; reduces the number of calls to malloc().
llvm-svn: 129687
|
#
2b6c96b4 |
| 09-Apr-2011 |
Benjamin Kramer <benny.kra@googlemail.com> |
Don't store Twine temporaries, it's not safe.
And don't append the name over and over again in the loop.
llvm-svn: 129210
|
Revision tags: llvmorg-2.9.0 |
|
#
4ee0d032 |
| 28-Mar-2011 |
Daniel Dunbar <daniel@zuster.org> |
MC: Add support for disabling "temporary label" behavior. Useful for debugging on Darwin.
llvm-svn: 128430
|
Revision tags: llvmorg-2.9.0-rc3, llvmorg-2.9.0-rc2, llvmorg-2.9.0-rc1 |
|
#
aea4958e |
| 23-Jan-2011 |
Rafael Espindola <rafael.espindola@gmail.com> |
Remove duplicated code.
llvm-svn: 124054
|
#
0a017a6d |
| 10-Dec-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Fixed version of 121434 with no new memory leaks.
llvm-svn: 121471
|
#
a945a34c |
| 10-Dec-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Revert my previous patch to make the valgrind bots happy.
llvm-svn: 121461
|
#
56eb7412 |
| 09-Dec-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Initial support for the cfi directives. This is just enough to get
f: .cfi_startproc nop .cfi_endproc
assembled (on ELF).
llvm-svn: 121434
|
#
5fe5f453 |
| 01-Dec-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Rename temporary symbols if they conflict with artificial symbols created by the assembler. This was blocking parsing any large .s produced by clang for example.
Fixes PR8596.
llvm-svn: 120603
|
#
f13f442b |
| 26-Nov-2010 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Fix Whitespace.
llvm-svn: 120166
|
#
c653a895 |
| 16-Nov-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Add .loc methods to the streamer.
Next: Add support for the !HasDotLocAndDotFile case to the MCAsmStreamer and then switch codegen to use it.
llvm-svn: 119384
|
#
f01b6229 |
| 13-Nov-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Parse and remember discriminators in .loc line. I try to output them with another patch. This lets us parse a bit more of the gcc 4.5 output.
llvm-svn: 118975
|
#
a3e9a229 |
| 11-Nov-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Initial comdat implementation.
llvm-svn: 118805
|
#
36ef57d2 |
| 10-Nov-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Use MCSectionELF in places we know we have an ELF section.
llvm-svn: 118699
|
#
9bb44a5c |
| 09-Nov-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Fixed version of 118639 with an extra assert to catch similar problems earlier. Implicit bool -> int conversions are evil!
llvm-svn: 118651
|
#
33048f06 |
| 09-Nov-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Revert previous patch. Missed a case.
llvm-svn: 118645
|
#
4bdd2724 |
| 09-Nov-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Remove IsExplicit. It was always false.
llvm-svn: 118639
|
Revision tags: llvmorg-2.8.0 |
|
#
a68d004d |
| 04-Oct-2010 |
Kevin Enderby <enderby@apple.com> |
Incorporate suggestions by Daniel Dunbar after his review. Thanks Daniel!
1) Changed ValidateDwarfFileNumber() to isValidDwarfFileNumber() to be better named. Since it is just a predicate and i
Incorporate suggestions by Daniel Dunbar after his review. Thanks Daniel!
1) Changed ValidateDwarfFileNumber() to isValidDwarfFileNumber() to be better named. Since it is just a predicate and isn't actually changing any state.
2) Added a missing return in the comments for setCurrentDwarfLoc() in include/llvm/MC/MCContext.h for fix formatting.
3) Changed clearDwarfLocSeen() to ClearDwarfLocSeen() since it does change state.
4) Simplified the last test in isValidDwarfFileNumber() to just a one line boolean test of MCDwarfFiles[FileNumber] != 0 for the final return statement.
llvm-svn: 115551
show more ...
|
Revision tags: llvmorg-2.8.0-rc3 |
|
#
efbdbe55 |
| 30-Sep-2010 |
Jan Wen Voung <jvoung@google.com> |
Move logic of determining ELF entsize from the .s printer to initialization time. That way, the EntrySize field is initialized for other code paths, namely, the .ll -> .o code path.
llvm-svn: 115141
|
Revision tags: llvmorg-2.8.0-rc2, llvmorg-2.8.0-rc1, llvmorg-2.8.0-rc0 |
|
#
d94dacf8 |
| 31-Aug-2010 |
Kevin Enderby <enderby@apple.com> |
This is the second of three patches to implement support for the .loc directive and output the dwarf line number tables. This takes the current loc info after an instruction is assembled and saves t
This is the second of three patches to implement support for the .loc directive and output the dwarf line number tables. This takes the current loc info after an instruction is assembled and saves the needed info into an object that has vector and for each section. These objects will be used for the final patch to build and emit the encoded dwarf line number tables. Again for now this is only in the Mach-O streamer but at some point will move to a more generic place.
llvm-svn: 112668
show more ...
|
#
1264b7ca |
| 24-Aug-2010 |
Kevin Enderby <enderby@apple.com> |
First bit of support for the dwarf .loc directive. This patch updates the needed parsing for the .loc directive and saves the current info from that into the context. The next patch will take the c
First bit of support for the dwarf .loc directive. This patch updates the needed parsing for the .loc directive and saves the current info from that into the context. The next patch will take the current loc info after an instruction is assembled and save that info into a vector for each section for use to build the line number tables. The patch after that will encode the info from those vectors into the output file as the dwarf line tables.
llvm-svn: 111956
show more ...
|
#
d83b9278 |
| 16-Aug-2010 |
Matt Fleming <matt@console-pimps.org> |
Add ELF ObjectWriter and Streamer support.
llvm-svn: 111172
|