b3e6b04aea9d12183b97770f7b250622e78fe7f1 |
|
28-Feb-2013 |
Eric Christopher <echristo@gmail.com> |
Move an assert earlier in a file and check that the result of our bitwise compare is equal to the field we're looking for. Noticed on inspection. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176296 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|
87d0b9ed1462705dd9bf1cb7f67d0bf03af776c8 |
|
12-Feb-2013 |
Guy Benyei <guy.benyei@intel.com> |
Add static cast to unsigned char whenever a character classification function is called with a signed char argument, in order to avoid assertions in Windows Debug configuration. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175006 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|
133f6b8582f12ab4fdaee3b870d4bcb12d61ca9b |
|
31-Jan-2013 |
Jim Grosbach <grosbach@apple.com> |
Object: Fix errant fallthrough. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174079 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|
cef81b37c77978cd4dddb4a5ad13564793ded155 |
|
21-Dec-2012 |
Rafael Espindola <rafael.espindola@gmail.com> |
Add a function to get the segment name of a section. On MachO, sections also have segment names. When a tool looking at a .o file prints a segment name, this is what they mean. In reality, a .o has only one anonymous, segment. This patch adds a MachO only function to fetch that segment name. I named it getSectionFinalSegmentName since the main use for the name seems to be inform the linker with segment this section should go to. The patch also changes MachOObjectFile::getSectionName to return just the section name instead of computing SegmentName,SectionName. The main difference from the previous patch is that it doesn't use InMemoryStruct. It is extremely dangerous: if the endians match it returns a pointer to the file buffer, if not, it returns a pointer to an internal buffer that is overwritten in the next API call. We should change all of this code to use support::detail::packed_endian_specific_integral like ELF, but since these functions only handle strings, they work with big and little endian machines as is. I have tested this by installing ubuntu 12.10 ppc on qemu, that is why it took so long :-) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170838 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|
cd7ee1ced017d7a957113df9d6cf855ecbc3797e |
|
19-Dec-2012 |
Rafael Espindola <rafael.espindola@gmail.com> |
Revert 170545 while I debug the ppc failures. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170547 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|
f9a6bd8524ba16d3e4036304ffdc9475df6844f2 |
|
19-Dec-2012 |
Rafael Espindola <rafael.espindola@gmail.com> |
Add r170095 back. I cannot reproduce it the failures locally, so I will keep an eye at the ppc bots. This patch does add the change to the "Disassembly of section" message, but that is not what was failing on the bots. Original message: Add a funciton to get the segment name of a section. On MachO, sections also have segment names. When a tool looking at a .o file prints a segment name, this is what they mean. In reality, a .o has only one anonymous, segment. This patch adds a MachO only function to fetch that segment name. I named it getSectionFinalSegmentName since the main use for the name seems to be infor the linker with segment this section should go to. The patch also changes MachOObjectFile::getSectionName to return just the section name instead of computing SegmentName,SectionName. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170545 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|
1c2b2f9c56c01aa1c317da4fd0234eaa1fe6e739 |
|
17-Dec-2012 |
Tim Northover <Tim.Northover@arm.com> |
Teach MachO which sections contain code git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170349 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|
ef8581479e58fe092178a9727f373a61b690a8df |
|
13-Dec-2012 |
Eric Christopher <echristo@gmail.com> |
Revert "Add a funciton to get the segment name of a section." This reverts commit r170095 since it appears to be breaking the bots. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170105 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|
e3ec87a6f7b718596697727e699a62aed0d40b25 |
|
13-Dec-2012 |
Rafael Espindola <rafael.espindola@gmail.com> |
Add a funciton to get the segment name of a section. On MachO, sections also have segment names. When a tool looking at a .o file prints a segment name, this is what they mean. In reality, a .o has only one, anonymous, segment. This patch adds a MachO only function to fetch that segment name. I named it getSectionFinalSegmentName since the main use for the name seems to be informing the linker with segment this section should go to. The patch also changes MachOObjectFile::getSectionName to return just the section name instead of computing SegmentName,SectionName. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170095 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|
9ee68e3f729e95a12e9f266a09e8ffdbaeda83f2 |
|
12-Dec-2012 |
Rafael Espindola <rafael.espindola@gmail.com> |
Remove some dead code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169963 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|
d04a8d4b33ff316ca4cf961e06c9e312eff8e64f |
|
03-Dec-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Use the new script to sort the includes of every file under lib. Sooooo many of these had incorrect or strange main module includes. I have manually inspected all of these, and fixed the main module include to be the nearest plausible thing I could find. If you own or care about any of these source files, I encourage you to take some time and check that these edits were sensible. I can't have broken anything (I strictly added headers, and reordered them, never removed), but they may not be the headers you'd really like to identify as containing the API being implemented. Many forward declarations and missing includes were added to a header files to allow them to parse cleanly when included first. The main module rule does in fact have its merits. =] git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169131 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|
f56c3e28b94545d7d7cf34d39d7ed87fae29d9be |
|
29-Nov-2012 |
Benjamin Kramer <benny.kra@googlemail.com> |
Object: Pass the buffer name through when making a copy. Should bring the buildbots back to life. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168935 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|
596e474101ea9a8ecac9d8ee090d31469dbcc61d |
|
29-Nov-2012 |
Jim Grosbach <grosbach@apple.com> |
Fix a memory leak in MachOObjectFile. MachOObjectFile owns a MachOObj, but never frees it. Both MachOObjectFile and MachOObj want to own the MemoryBuffer, though, so we have to be careful and give them each one of their own. Thanks to Greg Clayton, Eric Christopher and Michael Spencer for helping figure out what's going wrong here. rdar://12561773 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168923 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|
a41dce3c642e50775352cce49e3a3d0cd004d393 |
|
29-Oct-2012 |
Tim Northover <Tim.Northover@arm.com> |
Add interface for querying object files for symbol values. Currently only implemented for ELF. Patch by Amara Emerson. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166918 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|
30b20ebdd3a41e103c6aa35849a33ed299332bc9 |
|
10-Oct-2012 |
Andrew Kaylor <andrew.kaylor@intel.com> |
Cosmetic changes git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165588 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|
3a129c85920404e7ccdb7e655c89fa60a0309cfd |
|
10-Oct-2012 |
Andrew Kaylor <andrew.kaylor@intel.com> |
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. Patch by Ashok Thirumurthi. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165586 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|
e32981048244ecfa67d0bdc211af1bac2020a555 |
|
24-May-2012 |
Craig Topper <craig.topper@gmail.com> |
Mark some static arrays as const. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157377 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|
41827f9ba2745cfe16d94775f6fd0803b0efef23 |
|
02-May-2012 |
Eli Friedman <eli.friedman@gmail.com> |
Fix the implementation of MachOObjectFile::isSectionZeroInit so it follows the MachO spec. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155976 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|
8fc7d5c35cc79f941d2eb8e992133f94f375670a |
|
13-Apr-2012 |
Benjamin Kramer <benny.kra@googlemail.com> |
Remove unused variable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154661 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|
c68dda815e64fb2fb463318d1eaa304e22199d50 |
|
12-Apr-2012 |
Preston Gurd <preston.gurd@intel.com> |
This patch improves the MCJIT runtime dynamic loader by adding new handling of zero-initialized sections, virtual sections and common symbols and preventing the loading of sections which are not required for execution such as debug information. Patch by Andy Kaylor! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154610 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|
3fd9b8422328a60664a5c631ec9519b58017fcbc |
|
10-Apr-2012 |
Danil Malyshev <dmalyshev@accesssoftek.com> |
Add a constructor for DataRefImpl and remove excess initialization. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154371 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|
6f9489a86f33624f9ff5388411d12359ce9cef20 |
|
09-Mar-2012 |
David Meyer <pdox@google.com> |
[Object] Make Binary::TypeID more granular, to distinguish between ELF 32/64 little/big git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152435 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|
97f7787bfb56ad31fe20ec0bb9c3c9f3253d14fb |
|
01-Mar-2012 |
David Meyer <pdox@google.com> |
[Object] Add ObjectFile::getLoadName() for retrieving the soname/installname of a shared object. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151845 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|
5c2b4ea73c8f48bb5f96c86fe437385b8fb3dcda |
|
01-Mar-2012 |
David Meyer <pdox@google.com> |
[Object] * 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151785 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|
2c67727046234ad9702ab5acb72700b5ac99a676 |
|
29-Feb-2012 |
David Meyer <pdox@google.com> |
[Object] Add symbol attribute flags: ST_ThreadLocal, ST_Common, and 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). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151696 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|
c46255a32ec92c427e621b6d7eabd887962ce4a4 |
|
29-Feb-2012 |
David Meyer <pdox@google.com> |
In the ObjectFile interface, replace isInternal(), isAbsolute(), isGlobal(), and isWeak(), with a bitset of flags. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151670 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|
dfa1896b6b61e708f002b814794890ff308172ee |
|
28-Feb-2012 |
Michael J. Spencer <bigcheesegs@gmail.com> |
[Object] Add {begin,end}_dynamic_symbols stubs and implementation for ELF. Add -D option to llvm-nm to dump dynamic symbols. Patch by David Meyer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151600 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|
b0436a73054fe676b216a0cf872d1fc433125c62 |
|
29-Nov-2011 |
Danil Malyshev <dmalyshev@accesssoftek.com> |
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145408 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|
790552c20fbd8daa77d343419f0f6ec4e7fa1457 |
|
27-Nov-2011 |
Chandler Carruth <chandlerc@gmail.com> |
Revert r145180 as it is causing test failures on all the bots. 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145182 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|
9b24738bd1dc791eb2c21b5562fcfe4b7b99fe2a |
|
27-Nov-2011 |
Danil Malyshev <dmalyshev@accesssoftek.com> |
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145180 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|
b28bdbf8468e728501828fd41b3f2dba8db62efa |
|
27-Oct-2011 |
Owen Anderson <resistor@mac.com> |
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143151 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|
eb6bd339954376e4ab1fda52133ef3f94c3029b7 |
|
27-Oct-2011 |
Owen Anderson <resistor@mac.com> |
Fix pretty printing of i386 local sect diff relocations, TLV relocations, and x86_64 TLV relocations in MachO. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143140 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|
1832f4d94eb292d63824eaa043118ed6cc61389b |
|
26-Oct-2011 |
Owen Anderson <resistor@mac.com> |
Add support for scattered relocations to the MachO relocatation pretty printer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143051 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|
ef22f78c68d3f096b3c8aac2752ca8e3e25106a6 |
|
26-Oct-2011 |
Owen Anderson <resistor@mac.com> |
The order of the two symbol listings in a Macho x86_64 subtractor relocation is reversed from what seems intuitive to me. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143035 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|
f8261e7d07a8994e08cdba9f0e336e645daf104c |
|
26-Oct-2011 |
Owen Anderson <resistor@mac.com> |
Include the full 64 bits of relocation data in the type info for MachO relocations, so that we can recognize scattered relocations. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143033 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|
9472b8d220fc746498429f430cb4c4dbfbd38f2a |
|
26-Oct-2011 |
Owen Anderson <resistor@mac.com> |
Expand relocation type field to 64 bits. MachO scattered relocations require 33 bits of type info. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143032 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|
929e27cc3c67d4c6355c7b56b2983722d28d2624 |
|
26-Oct-2011 |
Owen Anderson <resistor@mac.com> |
Improve pretty printing of GOT relocations in MachO on x86_64. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143031 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|
b64541fc7285c7305c6df7a83e4514a89bdaaa7b |
|
26-Oct-2011 |
Eric Christopher <echristo@apple.com> |
Remove unused variable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143011 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|
c8aa726ec22a362bf9fe0d81fdcf68a48bfc999f |
|
25-Oct-2011 |
Owen Anderson <resistor@mac.com> |
Remove extraneous printing of "-PC". git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142970 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|
0685e94895f26f96aa1032696e3150dd00aad1f3 |
|
25-Oct-2011 |
Owen Anderson <resistor@mac.com> |
Add support for the notion of "hidden" relocations. On MachO, these are 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142961 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|
013d756310a92fd358a9aab2a63cce52c107f777 |
|
25-Oct-2011 |
Owen Anderson <resistor@mac.com> |
Teach the MachO relocation pretty-printer to interpret ARM half-relocations. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142938 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|
d8fa76d4bed067cd8662c3196211bc90cc8d4470 |
|
25-Oct-2011 |
Owen Anderson <resistor@mac.com> |
More fixes and improvements to MachO relocation pretty-printing, particular for x86 and x86_64 relocations with addends. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142875 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|
0135fe1854bef035efea1e3113dc6a127ef6e51e |
|
24-Oct-2011 |
Owen Anderson <resistor@mac.com> |
Get relocation parsing/dumping to a mostly-working state for MachO files. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142852 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|
5f4e02cbf1d0fa0d8048369264201c258f2ad717 |
|
24-Oct-2011 |
Owen Anderson <resistor@mac.com> |
Stub out some of the MachO relocation decoding hooks. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142840 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|
a48aab924d93be3cdb4a230a9158d210b97b3f56 |
|
21-Oct-2011 |
Owen Anderson <resistor@mac.com> |
STABS symbols are debug symbols. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142673 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|
9b2b812fea4df160437e7b7d56e38f6335189ad0 |
|
18-Oct-2011 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Object: Add isSymbolAbsolute and getSymbolSection. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142317 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|
c38c36a8c44bd32bdfc2e48ab3e447f6dc1547bd |
|
18-Oct-2011 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Object: Add isSymbolWeak. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142316 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|
1130a799ab2fd7042625163a2506518960394884 |
|
17-Oct-2011 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Object: Fix redundant name. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142238 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|
95f8db4d4d0110182d721586a006748b30e4fc82 |
|
13-Oct-2011 |
Owen Anderson <resistor@mac.com> |
The VMAs stored in the symbol table of a MachO file are absolute addresses, not offsets from the section. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141828 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|
10a8c62d46bca8632fd827f3afc13235d81e47fd |
|
13-Oct-2011 |
Owen Anderson <resistor@mac.com> |
Don't label a STAB debugging symbol as a function symbol. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141824 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|
cd74988fb94ffc180196fed9aa2c8ee548915f86 |
|
13-Oct-2011 |
Owen Anderson <resistor@mac.com> |
sectionContainsSymbol needs to be based on VMA's rather than section indices to properly account for files with segment load commands that contain no sections. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141822 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|
41242942fcbb2e6bc4e5bed3e8041f7b20ece8af |
|
12-Oct-2011 |
Owen Anderson <resistor@mac.com> |
Section indices in MachO symbol tables begin at 1, not 0. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141815 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|
f7c93a3867b45e42db6927536f76e7d2869ead60 |
|
11-Oct-2011 |
Owen Anderson <resistor@mac.com> |
Expose MachOObjectFile externally, like we do for COFF. First step in reducing the amount of special-purpose code needed for llvm-objdump. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141684 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|
15565ad758ae28f21a1f8bbcc92fac49482bd820 |
|
11-Oct-2011 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Fix warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141597 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|
e2f2f07be7cf2b55b7e5501291bbcede87e43fd6 |
|
10-Oct-2011 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Object: add getSectionAlignment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141581 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|
4344b1ef9b3721a5ebc2e024f753772a1e4ddd92 |
|
07-Oct-2011 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Change relocation API to be per section. This time without breaking GCC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141385 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|
a48ad1333999e2fb483d23096349138af5a51ec6 |
|
07-Oct-2011 |
Bill Wendling <isanbard@gmail.com> |
Revert 141376 and 141377 due to breaking the build. --- 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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141379 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|
f1164a2487750f891694fc2e3347860e50f705fb |
|
07-Oct-2011 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Change relocation API to be per section. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141376 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|
13afc5eff2d7370ab486d5039886ab8bbf9039da |
|
28-Sep-2011 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Object: Add isSection{Data,BSS}. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140721 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|
ac241fe9f0d73c6f632e4f7f89e06b698d39da54 |
|
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, 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! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139683 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|
d40b0b0a0632d4b20631ac2196e0a07abb704343 |
|
09-Sep-2011 |
Benjamin Kramer <benny.kra@googlemail.com> |
Remove dead code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139343 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|
58856eae1629f7176f2dbde822bb4220773f72fc |
|
09-Sep-2011 |
Nick Lewycky <nicholas@mxc.ca> |
Fix release build: MachOObjectFile.cpp:524: error: unused variable 'NumLoadCommands' [-Wunused-variable] git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139341 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|
0fcab076f0358890e2f1b213f4303c780e05d99d |
|
08-Sep-2011 |
Benjamin Kramer <benny.kra@googlemail.com> |
Add support for relocations to ObjectFile. Patch by Danil Malyshev! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139314 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|
07ea23aa2d17f701fa125442c20c1eba75b55fdb |
|
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135288 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|
32fb2af67988348f9f341005c35b1ed544d13265 |
|
15-Jul-2011 |
Benjamin Kramer <benny.kra@googlemail.com> |
MachOObjectFile: Get symbol functions ready for 64 bit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135282 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|
291e767dcf19d60b8e774114efc6e10f2e022844 |
|
15-Jul-2011 |
Benjamin Kramer <benny.kra@googlemail.com> |
Output MachO section names in the form SEGMENT,section. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135231 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|
7d145789c01f9a1863ea02574bc3f9567c8a33fa |
|
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135229 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|
82ba5b7c40add3d8d7516d81b9ff288545b821fc |
|
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) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135228 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|
25b15777df42d5d608810f6881b6c98107481d69 |
|
25-Jun-2011 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Object: Add proper error handling. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133872 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|
001c9205fca2220480589ec355cb6ec701a37e08 |
|
25-Jun-2011 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Make Binary the parent of ObjectFile and update children to new interface. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133870 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|
5e45dc40d329829ad23bf444f32dca221215e239 |
|
13-Jun-2011 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Revert the last two commits in the series. r132911, r132912. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132913 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|
69aec36f9b3129ba6eb83d64cde31c3d86d6d39a |
|
13-Jun-2011 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Make Binary the parent of ObjectFile and update children to new interface. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132911 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|
f4b2f933a98e402083134f710a5d247c42e39ed5 |
|
22-Apr-2011 |
Eric Christopher <echristo@apple.com> |
Use enums for constant values. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129984 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|
9ab1d7f9b2d4caf1b8a5af91b74a7b13f1ac8986 |
|
22-Apr-2011 |
Eric Christopher <echristo@apple.com> |
Make the file format strings a little prettier for mach-o. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129980 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|
6256b03674f4d50d1c035aa3ecba45df1345ea79 |
|
22-Apr-2011 |
Eric Christopher <echristo@apple.com> |
Add an ObjectFile implementation for mach-o. Patch by Patrick Walton! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129974 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Object/MachOObjectFile.cpp
|