Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Object: Fix redundant name. | Michael J. Spencer | 2011-10-17 | 1 | -2/+2 | |
| | | | | llvm-svn: 142238 | |||||
* | The VMAs stored in the symbol table of a MachO file are absolute addresses, ↵ | Owen Anderson | 2011-10-12 | 1 | -9/+9 | |
| | | | | | | not offsets from the section. llvm-svn: 141828 | |||||
* | Don't label a STAB debugging symbol as a function symbol. | Owen Anderson | 2011-10-12 | 1 | -0/+5 | |
| | | | | llvm-svn: 141824 | |||||
* | sectionContainsSymbol needs to be based on VMA's rather than section indices ↵ | Owen Anderson | 2011-10-12 | 1 | -2/+17 | |
| | | | | | | to properly account for files with segment load commands that contain no sections. llvm-svn: 141822 | |||||
* | Section indices in MachO symbol tables begin at 1, not 0. | Owen Anderson | 2011-10-12 | 1 | -1/+1 | |
| | | | | llvm-svn: 141815 | |||||
* | Expose MachOObjectFile externally, like we do for COFF. First step in ↵ | Owen Anderson | 2011-10-11 | 1 | -80/+3 | |
| | | | | | | reducing the amount of special-purpose code needed for llvm-objdump. llvm-svn: 141684 | |||||
* | Fix warning. | Michael J. Spencer | 2011-10-10 | 1 | -2/+2 | |
| | | | | llvm-svn: 141597 | |||||
* | Object: add getSectionAlignment. | Michael J. Spencer | 2011-10-10 | 1 | -0/+15 | |
| | | | | llvm-svn: 141581 | |||||
* | Change relocation API to be per section. This time without breaking GCC. | Michael J. Spencer | 2011-10-07 | 1 | -33/+49 | |
| | | | | llvm-svn: 141385 | |||||
* | Revert 141376 and 141377 due to breaking the build. | Bill Wendling | 2011-10-07 | 1 | -49/+33 | |
| | | | | | | | | | | | | | | | | --- Reverse-merging r141377 into '.': U tools/llvm-objdump/MachODump.cpp --- Reverse-merging r141376 into '.': U include/llvm/Object/COFF.h U include/llvm/Object/ObjectFile.h U include/llvm-c/Object.h U tools/llvm-objdump/llvm-objdump.cpp U lib/Object/MachOObjectFile.cpp U lib/Object/COFFObjectFile.cpp U lib/Object/Object.cpp U lib/Object/ELFObjectFile.cpp llvm-svn: 141379 | |||||
* | Change relocation API to be per section. | Michael J. Spencer | 2011-10-07 | 1 | -33/+49 | |
| | | | | llvm-svn: 141376 | |||||
* | Object: Add isSection{Data,BSS}. | Michael J. Spencer | 2011-09-28 | 1 | -0/+16 | |
| | | | | llvm-svn: 140721 | |||||
* | Object: make the following changes into SymbolRef | Benjamin Kramer | 2011-09-14 | 1 | -1/+64 | |
| | | | | | | | | | | | - 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 | |||||
* | Remove dead code. | Benjamin Kramer | 2011-09-09 | 1 | -8/+0 | |
| | | | | llvm-svn: 139343 | |||||
* | Fix release build: | Nick Lewycky | 2011-09-09 | 1 | -3/+1 | |
| | | | | | | MachOObjectFile.cpp:524: error: unused variable 'NumLoadCommands' [-Wunused-variable] llvm-svn: 139341 | |||||
* | Add support for relocations to ObjectFile. | Benjamin Kramer | 2011-09-08 | 1 | -4/+163 | |
| | | | | | | Patch by Danil Malyshev! llvm-svn: 139314 | |||||
* | ObjectFile: Add a method to check whether a section contains a symbol. | Benjamin Kramer | 2011-07-15 | 1 | -0/+17 | |
| | | | | | | | - No ELF or COFF implementation yet, I don't have a way to test that. Should be straightforward to add though. llvm-svn: 135288 | |||||
* | MachOObjectFile: Get symbol functions ready for 64 bit. | Benjamin Kramer | 2011-07-15 | 1 | -13/+58 | |
| | | | | llvm-svn: 135282 | |||||
* | Output MachO section names in the form SEGMENT,section. | Benjamin Kramer | 2011-07-15 | 1 | -2/+2 | |
| | | | | llvm-svn: 135231 | |||||
* | Add support for 64 bit objects to MachOObjectFile. | Benjamin Kramer | 2011-07-15 | 1 | -21/+77 | |
| | | | | | | - I don't see a better way than duplicating all the code. llvm-svn: 135229 | |||||
* | MachOObjectFile: Change isSectionText to return true for sections named ↵ | Benjamin Kramer | 2011-07-15 | 1 | -4/+3 | |
| | | | | | | text, not for load commands name __TEXT (which isn't the case in actual object files) llvm-svn: 135228 | |||||
* | Object: Add proper error handling. | Michael J. Spencer | 2011-06-25 | 1 | -41/+65 | |
| | | | | llvm-svn: 133872 | |||||
* | Make Binary the parent of ObjectFile and update children to new interface. | Michael J. Spencer | 2011-06-25 | 1 | -3/+4 | |
| | | | | llvm-svn: 133870 | |||||
* | Revert the last two commits in the series. r132911, r132912. | Michael J. Spencer | 2011-06-13 | 1 | -4/+3 | |
| | | | | llvm-svn: 132913 | |||||
* | Make Binary the parent of ObjectFile and update children to new interface. | Michael J. Spencer | 2011-06-13 | 1 | -3/+4 | |
| | | | | llvm-svn: 132911 | |||||
* | Use enums for constant values. | Eric Christopher | 2011-04-22 | 1 | -12/+13 | |
| | | | | llvm-svn: 129984 | |||||
* | Make the file format strings a little prettier for mach-o. | Eric Christopher | 2011-04-22 | 1 | -16/+12 | |
| | | | | llvm-svn: 129980 | |||||
* | Add an ObjectFile implementation for mach-o. | Eric Christopher | 2011-04-22 | 1 | -0/+330 | |
Patch by Patrick Walton! llvm-svn: 129974 |