Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Sink assert-only variables into the asserts | Matt Beaumont-Gay | 2012-01-24 | 1 | -16/+10 |
| | | | | llvm-svn: 148849 | ||||
* | Silence warnings in -asserts build | Matt Beaumont-Gay | 2012-01-23 | 1 | -0/+6 |
| | | | | llvm-svn: 148715 | ||||
* | Remove trailing spaces | Eli Bendersky | 2012-01-22 | 1 | -2/+2 |
| | | | | llvm-svn: 148654 | ||||
* | Basic runtime dynamic loading capabilities added to ELFObjectFile, implemented | Eli Bendersky | 2012-01-22 | 1 | -19/+239 |
| | | | | | | | | | | | | | in a subclass named DyldELFObject. This class supports rebasing the object file it represents by re-mapping section addresses to the actual memory addresses the object was placed in. This is required for MC-JIT implementation on ELF with debugging support. Patch reviewed on llvm-commits. Developed together with Ashok Thirumurthi and Andrew Kaylor. llvm-svn: 148653 | ||||
* | Remove unused variables. | Rafael Espindola | 2011-12-25 | 1 | -1/+1 |
| | | | | llvm-svn: 147261 | ||||
* | Unweaken vtables as per ↵ | David Blaikie | 2011-12-20 | 2 | -0/+4 |
| | | | | | | http://llvm.org/docs/CodingStandards.html#ll_virtual_anch llvm-svn: 146960 | ||||
* | LLVMBuild: Remove trailing newline, which irked me. | Daniel Dunbar | 2011-12-12 | 1 | -1/+0 |
| | | | | llvm-svn: 146409 | ||||
* | build/CMake: Finish removal of add_llvm_library_dependencies. | Daniel Dunbar | 2011-11-29 | 1 | -5/+0 |
| | | | | llvm-svn: 145420 | ||||
* | Fixed ObjectFile functions: | Danil Malyshev | 2011-11-29 | 4 | -32/+140 |
| | | | | | | | | | | | - getSymbolOffset() renamed as getSymbolFileOffset() - getSymbolFileOffset(), getSymbolAddress(), getRelocationAddress() returns same result for ELFObjectFile, MachOObjectFile and COFFObjectFile. - added getRelocationOffset() - fixed MachOObjectFile::getSymbolSize() - fixed MachOObjectFile::getSymbolSection() - fixed MachOObjectFile::getSymbolOffset() for symbols without section data. llvm-svn: 145408 | ||||
* | Fix some possible gcc-4.2 may be used uninitialized warnings. | Daniel Dunbar | 2011-11-28 | 1 | -2/+2 |
| | | | | llvm-svn: 145292 | ||||
* | Revert r145180 as it is causing test failures on all the bots. | Chandler Carruth | 2011-11-27 | 4 | -126/+32 |
| | | | | | | | | | | | | | Original commit message: Fixed ObjectFile functions: - getSymbolOffset() renamed as getSymbolFileOffset() - getSymbolFileOffset(), getSymbolAddress(), getRelocationAddress() returns same result for ELFObjectFile, MachOObjectFile and COFFObjectFile. - added getRelocationOffset() - fixed MachOObjectFile::getSymbolSize() - fixed MachOObjectFile::getSymbolSection() - fixed MachOObjectFile::getSymbolOffset() for symbols without section data. llvm-svn: 145182 | ||||
* | Fixed ObjectFile functions: | Danil Malyshev | 2011-11-27 | 4 | -32/+126 |
| | | | | | | | | | | | - getSymbolOffset() renamed as getSymbolFileOffset() - getSymbolFileOffset(), getSymbolAddress(), getRelocationAddress() returns same result for ELFObjectFile, MachOObjectFile and COFFObjectFile. - added getRelocationOffset() - fixed MachOObjectFile::getSymbolSize() - fixed MachOObjectFile::getSymbolSection() - fixed MachOObjectFile::getSymbolOffset() for symbols without section data. llvm-svn: 145180 | ||||
* | Object/COFF: Support common symbols. | Michael J. Spencer | 2011-11-16 | 1 | -1/+3 |
| | | | | llvm-svn: 144861 | ||||
* | build: Attempt to rectify inconsistencies between CMake and LLVMBuild ↵ | Daniel Dunbar | 2011-11-12 | 1 | -1/+1 |
| | | | | | | | | versions of explicit dependencies. - The hope is that we have a tool/test to verify these are accurate (and tight) soon. llvm-svn: 144444 | ||||
* | Object/COFF: Fix PE reading. | Michael J. Spencer | 2011-11-08 | 1 | -23/+30 |
| | | | | llvm-svn: 144148 | ||||
* | MachOObject: Use DataExtractor's uleb parser instead of rolling our own. | Benjamin Kramer | 2011-11-05 | 1 | -21/+10 |
| | | | | llvm-svn: 143810 | ||||
* | Simplify code. | Benjamin Kramer | 2011-11-04 | 1 | -4/+3 |
| | | | | llvm-svn: 143695 | ||||
* | build: Add initial cut at LLVMBuild.txt files. | Daniel Dunbar | 2011-11-03 | 1 | -0/+23 |
| | | | | llvm-svn: 143634 | ||||
* | Removed unused variable. | Chad Rosier | 2011-11-02 | 1 | -1/+0 |
| | | | | llvm-svn: 143591 | ||||
* | object/COFF: Properly initalize uses of DataRefImpl. | Michael J. Spencer | 2011-11-02 | 1 | -0/+2 |
| | | | | llvm-svn: 143562 | ||||
* | Object/Archive: Add symbol table iteration. | Michael J. Spencer | 2011-11-02 | 1 | -9/+71 |
| | | | | llvm-svn: 143561 | ||||
* | If we're searching for a symbol reference to pretty-print a scattered ↵ | Owen Anderson | 2011-10-27 | 1 | -0/+18 |
| | | | | | | relocation address, and we don't find a symbol table entry, try section begin addresses as well. llvm-svn: 143151 | ||||
* | Fix pretty printing of i386 local sect diff relocations, TLV relocations, ↵ | Owen Anderson | 2011-10-27 | 1 | -7/+50 |
| | | | | | | and x86_64 TLV relocations in MachO. llvm-svn: 143140 | ||||
* | Expose relocation accessors through the libObject C API. | Owen Anderson | 2011-10-27 | 1 | -0/+45 |
| | | | | llvm-svn: 143109 | ||||
* | Add relocation iterators to the libObject C API. | Owen Anderson | 2011-10-27 | 1 | -0/+23 |
| | | | | llvm-svn: 143107 | ||||
* | Add support for scattered relocations to the MachO relocatation pretty printer. | Owen Anderson | 2011-10-26 | 1 | -86/+144 |
| | | | | llvm-svn: 143051 | ||||
* | The order of the two symbol listings in a Macho x86_64 subtractor relocation ↵ | Owen Anderson | 2011-10-26 | 1 | -1/+3 |
| | | | | | | is reversed from what seems intuitive to me. llvm-svn: 143035 | ||||
* | Include the full 64 bits of relocation data in the type info for MachO ↵ | Owen Anderson | 2011-10-26 | 1 | -1/+3 |
| | | | | | | relocations, so that we can recognize scattered relocations. llvm-svn: 143033 | ||||
* | Expand relocation type field to 64 bits. MachO scattered relocations ↵ | Owen Anderson | 2011-10-26 | 3 | -4/+4 |
| | | | | | | require 33 bits of type info. llvm-svn: 143032 | ||||
* | Improve pretty printing of GOT relocations in MachO on x86_64. | Owen Anderson | 2011-10-26 | 1 | -0/+7 |
| | | | | llvm-svn: 143031 | ||||
* | Remove unused variable. | Eric Christopher | 2011-10-26 | 1 | -1/+0 |
| | | | | llvm-svn: 143011 | ||||
* | Object/Archive: Cleanup anon namespace. | Michael J. Spencer | 2011-10-25 | 1 | -8/+5 |
| | | | | llvm-svn: 142983 | ||||
* | Object/Archive: Add BSD style long file name support and skip internal members. | Michael J. Spencer | 2011-10-25 | 1 | -7/+48 |
| | | | | llvm-svn: 142981 | ||||
* | Remove extraneous printing of "-PC". | Owen Anderson | 2011-10-25 | 1 | -1/+0 |
| | | | | llvm-svn: 142970 | ||||
* | Add support for the notion of "hidden" relocations. On MachO, these are ↵ | Owen Anderson | 2011-10-25 | 1 | -0/+32 |
| | | | | | | | | relocation entries that are used as additional information for other, real relocations, rather than being relocations themselves. I'm not familiar enough with ELF or COFF to know if they should have any relocations marked hidden. llvm-svn: 142961 | ||||
* | Teach the MachO relocation pretty-printer to interpret ARM half-relocations. | Owen Anderson | 2011-10-25 | 1 | -42/+104 |
| | | | | llvm-svn: 142938 | ||||
* | More fixes and improvements to MachO relocation pretty-printing, particular ↵ | Owen Anderson | 2011-10-24 | 1 | -31/+127 |
| | | | | | | for x86 and x86_64 relocations with addends. llvm-svn: 142875 | ||||
* | Get relocation parsing/dumping to a mostly-working state for MachO files. | Owen Anderson | 2011-10-24 | 1 | -6/+127 |
| | | | | llvm-svn: 142852 | ||||
* | Stub out some of the MachO relocation decoding hooks. | Owen Anderson | 2011-10-24 | 1 | -0/+4 |
| | | | | llvm-svn: 142840 | ||||
* | Use LLVMBool for a function that logically returns a boolean value. | Owen Anderson | 2011-10-21 | 1 | -1/+1 |
| | | | | llvm-svn: 142683 | ||||
* | STABS symbols are debug symbols. | Owen Anderson | 2011-10-21 | 1 | -1/+3 |
| | | | | llvm-svn: 142673 | ||||
* | Bind libObject API for obtaining the section containing a Symbol. | Owen Anderson | 2011-10-21 | 1 | -0/+6 |
| | | | | llvm-svn: 142667 | ||||
* | Expand the coverage of the libObject C bindings to include more SectionRef ↵ | Owen Anderson | 2011-10-21 | 1 | -0/+69 |
| | | | | | | accessors as well as Symbol iterators. llvm-svn: 142661 | ||||
* | Object/COFF: Remove useless test. | Michael J. Spencer | 2011-10-18 | 1 | -1/+1 |
| | | | | llvm-svn: 142408 | ||||
* | Object/COFF: Change type from a struct to a uint16_t. The struct would be | Michael J. Spencer | 2011-10-18 | 1 | -1/+1 |
| | | | | | | incorrect for bigendian systems. llvm-svn: 142403 | ||||
* | Object: Add some types to SymbolRef::Type. | Michael J. Spencer | 2011-10-17 | 1 | -0/+6 |
| | | | | | | | | Some of these can be true at the same time and there are a lot to add, so this should be turned into a bitfield. Some of the other accessors should probably be folded into this. llvm-svn: 142318 | ||||
* | Object: Add isSymbolAbsolute and getSymbolSection. | Michael J. Spencer | 2011-10-17 | 3 | -0/+88 |
| | | | | llvm-svn: 142317 | ||||
* | Object: Add isSymbolWeak. | Michael J. Spencer | 2011-10-17 | 3 | -0/+33 |
| | | | | llvm-svn: 142316 | ||||
* | Object/COFF: Expose more data in the public API. | Michael J. Spencer | 2011-10-17 | 1 | -16/+26 |
| | | | | llvm-svn: 142315 | ||||
* | Object: Implement casting for concrete classes. | Michael J. Spencer | 2011-10-17 | 1 | -0/+5 |
| | | | | llvm-svn: 142314 |