Rafael Espindola
|
e3ec87a6f7
Add a funciton to get the segment name of a section.
|
hace 12 años |
Rafael Espindola
|
9ee68e3f72
Remove some dead code.
|
hace 12 años |
Chandler Carruth
|
d04a8d4b33
Use the new script to sort the includes of every file under lib.
|
hace 12 años |
Benjamin Kramer
|
f56c3e28b9
Object: Pass the buffer name through when making a copy.
|
hace 12 años |
Jim Grosbach
|
596e474101
Fix a memory leak in MachOObjectFile.
|
hace 12 años |
Tim Northover
|
a41dce3c64
Add interface for querying object files for symbol values.
|
hace 13 años |
Andrew Kaylor
|
30b20ebdd3
Cosmetic changes
|
hace 13 años |
Andrew Kaylor
|
3a129c8592
This patch adds new functions to the SectionRef and ObjectFile interfaces to determine whether or not a section is meant to be read-only. These functions will be used by the MCJIT RuntimeDyld to give hints to the memory manager during the object loading process in a future patch.
|
hace 13 años |
Craig Topper
|
e329810482
Mark some static arrays as const.
|
hace 13 años |
Eli Friedman
|
41827f9ba2
Fix the implementation of MachOObjectFile::isSectionZeroInit so it follows the MachO spec.
|
hace 13 años |
Benjamin Kramer
|
8fc7d5c35c
Remove unused variable.
|
hace 13 años |
Preston Gurd
|
c68dda815e
This patch improves the MCJIT runtime dynamic loader by adding new handling
|
hace 13 años |
Danil Malyshev
|
3fd9b84223
Add a constructor for DataRefImpl and remove excess initialization.
|
hace 13 años |
David Meyer
|
6f9489a86f
[Object]
|
hace 13 años |
David Meyer
|
97f7787bfb
[Object]
|
hace 13 años |
David Meyer
|
5c2b4ea73c
[Object]
|
hace 13 años |
David Meyer
|
2c67727046
[Object] Add symbol attribute flags: ST_ThreadLocal, ST_Common, and ST_Undefined. Implement these completely for ELF.
|
hace 13 años |
David Meyer
|
c46255a32e
In the ObjectFile interface, replace isInternal(), isAbsolute(), isGlobal(), and isWeak(), with a bitset of flags.
|
hace 13 años |
Michael J. Spencer
|
dfa1896b6b
[Object] Add {begin,end}_dynamic_symbols stubs and implementation for ELF.
|
hace 13 años |
Danil Malyshev
|
b0436a7305
Fixed ObjectFile functions:
|
hace 13 años |
Chandler Carruth
|
790552c20f
Revert r145180 as it is causing test failures on all the bots.
|
hace 13 años |
Danil Malyshev
|
9b24738bd1
Fixed ObjectFile functions:
|
hace 13 años |
Owen Anderson
|
b28bdbf846
If we're searching for a symbol reference to pretty-print a scattered relocation address, and we don't find a symbol table entry, try section begin addresses as well.
|
hace 14 años |
Owen Anderson
|
eb6bd33995
Fix pretty printing of i386 local sect diff relocations, TLV relocations, and x86_64 TLV relocations in MachO.
|
hace 14 años |
Owen Anderson
|
1832f4d94e
Add support for scattered relocations to the MachO relocatation pretty printer.
|
hace 14 años |
Owen Anderson
|
ef22f78c68
The order of the two symbol listings in a Macho x86_64 subtractor relocation is reversed from what seems intuitive to me.
|
hace 14 años |
Owen Anderson
|
f8261e7d07
Include the full 64 bits of relocation data in the type info for MachO relocations, so that we can recognize scattered relocations.
|
hace 14 años |
Owen Anderson
|
9472b8d220
Expand relocation type field to 64 bits. MachO scattered relocations require 33 bits of type info.
|
hace 14 años |
Owen Anderson
|
929e27cc3c
Improve pretty printing of GOT relocations in MachO on x86_64.
|
hace 14 años |
Eric Christopher
|
b64541fc72
Remove unused variable.
|
hace 14 años |