#
75d1cf33 |
| 14-Sep-2011 |
Benjamin Kramer <benny.kra@googlemail.com> |
Object: make the following changes into SymbolRef
- Add enum SymbolType and function getSymbolType() - Add function isGlobal() - it's returns true for symbols that can be used in another objects, su
Object: make the following changes into SymbolRef
- Add enum SymbolType and function getSymbolType() - Add function isGlobal() - it's returns true for symbols that can be used in another objects, such as library functions. - Rename function getAddress() to getOffset() and add new function getAddress(), because currently getAddress() returns section offset of symbol first byte. new getAddress() return symbol address. - Change usage SymbolRef::getAddress() to getOffset() in tools/llvm-nm and tools/llvm-objdump.
Patch by Danil Malyshev!
llvm-svn: 139683
show more ...
|
#
eba0b403 |
| 09-Sep-2011 |
Benjamin Kramer <benny.kra@googlemail.com> |
Remove dead code.
llvm-svn: 139343
|
#
940b598f |
| 09-Sep-2011 |
Nick Lewycky <nicholas@mxc.ca> |
Fix release build: MachOObjectFile.cpp:524: error: unused variable 'NumLoadCommands' [-Wunused-variable]
llvm-svn: 139341
|
#
022ecdf2 |
| 08-Sep-2011 |
Benjamin Kramer <benny.kra@googlemail.com> |
Add support for relocations to ObjectFile.
Patch by Danil Malyshev!
llvm-svn: 139314
|
#
f6f3e81c |
| 15-Jul-2011 |
Benjamin Kramer <benny.kra@googlemail.com> |
ObjectFile: Add a method to check whether a section contains a symbol.
- No ELF or COFF implementation yet, I don't have a way to test that. Should be straightforward to add though.
llvm-svn: 135
ObjectFile: Add a method to check whether a section contains a symbol.
- No ELF or COFF implementation yet, I don't have a way to test that. Should be straightforward to add though.
llvm-svn: 135288
show more ...
|
#
99582e9b |
| 15-Jul-2011 |
Benjamin Kramer <benny.kra@googlemail.com> |
MachOObjectFile: Get symbol functions ready for 64 bit.
llvm-svn: 135282
|
#
c41d4fe2 |
| 15-Jul-2011 |
Benjamin Kramer <benny.kra@googlemail.com> |
Output MachO section names in the form SEGMENT,section.
llvm-svn: 135231
|
#
56498d16 |
| 15-Jul-2011 |
Benjamin Kramer <benny.kra@googlemail.com> |
Add support for 64 bit objects to MachOObjectFile.
- I don't see a better way than duplicating all the code.
llvm-svn: 135229
|
#
b1d80722 |
| 15-Jul-2011 |
Benjamin Kramer <benny.kra@googlemail.com> |
MachOObjectFile: Change isSectionText to return true for sections named text, not for load commands name __TEXT (which isn't the case in actual object files)
llvm-svn: 135228
|
#
1d6167fd |
| 25-Jun-2011 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Object: Add proper error handling.
llvm-svn: 133872
|
#
ec29b121 |
| 25-Jun-2011 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Make Binary the parent of ObjectFile and update children to new interface.
llvm-svn: 133870
|
#
aa41981d |
| 13-Jun-2011 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Revert the last two commits in the series. r132911, r132912.
llvm-svn: 132913
|
#
a7f9c49a |
| 13-Jun-2011 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Make Binary the parent of ObjectFile and update children to new interface.
llvm-svn: 132911
|
#
ae95ad19 |
| 22-Apr-2011 |
Eric Christopher <echristo@apple.com> |
Use enums for constant values.
llvm-svn: 129984
|
#
22a19816 |
| 22-Apr-2011 |
Eric Christopher <echristo@apple.com> |
Make the file format strings a little prettier for mach-o.
llvm-svn: 129980
|
#
7b015c75 |
| 22-Apr-2011 |
Eric Christopher <echristo@apple.com> |
Add an ObjectFile implementation for mach-o.
Patch by Patrick Walton!
llvm-svn: 129974
|