| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
llvm-svn: 153051
|
|
|
|
|
|
| |
Also add some documentation.
llvm-svn: 153050
|
|
|
|
| |
llvm-svn: 152812
|
|
|
|
|
|
| |
Make Binary::TypeID more granular, to distinguish between ELF 32/64 little/big
llvm-svn: 152435
|
|
|
|
|
|
| |
Add ObjectFile::getLoadName() for retrieving the soname/installname of a shared object.
llvm-svn: 151845
|
|
|
|
|
|
|
|
|
| |
* Add begin_dynamic_table() / end_dynamic_table() private interface to ELFObjectFile.
* Add begin_libraries_needed() / end_libraries_needed() interface to ObjectFile, for grabbing the list of needed libraries for a shared object or dynamic executable.
* Implement this new interface completely for ELF, leave stubs for COFF and MachO.
* Add 'llvm-readobj' tool for dumping ObjectFile information.
llvm-svn: 151785
|
|
|
|
|
|
|
|
|
| |
ST_Undefined. Implement these completely for ELF.
Rename ST_External to ST_Unknown, and slightly change its semantics. It now only indicates that the symbol's type
is unknown, not that the symbol is undefined. (For that, use ST_Undefined).
llvm-svn: 151696
|
|
|
|
|
|
| |
and isWeak(), with a bitset of flags.
llvm-svn: 151670
|
|
|
|
|
|
|
|
| |
Add -D option to llvm-nm to dump dynamic symbols.
Patch by David Meyer.
llvm-svn: 151600
|
|
|
|
| |
llvm-svn: 151160
|
|
|
|
|
|
|
|
|
|
| |
to what's done for MachO and COFF. This allows advanced uses of the class to
be implemented outside the Object library. In particular, the DyldELFObject
subclass is now moved into its logical home - ExecutionEngine/RuntimeDyld.
This patch was reviewed by Michael Spencer.
llvm-svn: 150327
|
|
|
|
|
|
|
|
|
|
| |
Don't form an out of bounds pointer just to test if it
would be out of bounds.
Also perform the same bounds checking for all the previous
mapped structures.
llvm-svn: 149750
|
|
|
|
| |
llvm-svn: 148849
|
|
|
|
| |
llvm-svn: 148715
|
|
|
|
| |
llvm-svn: 148654
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 147261
|
|
|
|
|
|
| |
http://llvm.org/docs/CodingStandards.html#ll_virtual_anch
llvm-svn: 146960
|
|
|
|
| |
llvm-svn: 146409
|
|
|
|
| |
llvm-svn: 145420
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
| |
llvm-svn: 145292
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
| |
llvm-svn: 144861
|
|
|
|
|
|
|
|
| |
versions of explicit dependencies.
- The hope is that we have a tool/test to verify these are accurate (and tight) soon.
llvm-svn: 144444
|
|
|
|
| |
llvm-svn: 144148
|
|
|
|
| |
llvm-svn: 143810
|
|
|
|
| |
llvm-svn: 143695
|
|
|
|
| |
llvm-svn: 143634
|
|
|
|
| |
llvm-svn: 143591
|
|
|
|
| |
llvm-svn: 143562
|
|
|
|
| |
llvm-svn: 143561
|
|
|
|
|
|
| |
relocation address, and we don't find a symbol table entry, try section begin addresses as well.
llvm-svn: 143151
|
|
|
|
|
|
| |
and x86_64 TLV relocations in MachO.
llvm-svn: 143140
|
|
|
|
| |
llvm-svn: 143109
|
|
|
|
| |
llvm-svn: 143107
|
|
|
|
| |
llvm-svn: 143051
|
|
|
|
|
|
| |
is reversed from what seems intuitive to me.
llvm-svn: 143035
|
|
|
|
|
|
| |
relocations, so that we can recognize scattered relocations.
llvm-svn: 143033
|
|
|
|
|
|
| |
require 33 bits of type info.
llvm-svn: 143032
|
|
|
|
| |
llvm-svn: 143031
|
|
|
|
| |
llvm-svn: 143011
|
|
|
|
| |
llvm-svn: 142983
|
|
|
|
| |
llvm-svn: 142981
|
|
|
|
| |
llvm-svn: 142970
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 142938
|
|
|
|
|
|
| |
for x86 and x86_64 relocations with addends.
llvm-svn: 142875
|
|
|
|
| |
llvm-svn: 142852
|