#
0d85d107 |
| 22-May-2015 |
Rafael Espindola <rafael.espindola@gmail.com> |
Detect invalid section indexes when we first read them.
We still detect the same errors, but now we do it earlier.
llvm-svn: 238024
|
#
c780e8eb |
| 21-May-2015 |
Keno Fischer <kfischer@college.harvard.edu> |
Make it easier to use DwarfContext with MCJIT
Summary: This supersedes http://reviews.llvm.org/D4010, hopefully properly dealing with the JIT case and also adds an actual test case. DwarfContext was
Make it easier to use DwarfContext with MCJIT
Summary: This supersedes http://reviews.llvm.org/D4010, hopefully properly dealing with the JIT case and also adds an actual test case. DwarfContext was basically already usable for the JIT (and back when we were overwriting ELF files it actually worked out of the box by accident), but in order to resolve relocations correctly it needs to know the load address of the section. Rather than trying to get this out of the ObjectFile or requiring the user to create a new ObjectFile just to get some debug info, this adds the capability to pass in that info directly. As part of this I separated out part of the LoadedObjectInfo struct from RuntimeDyld, since it is now required at a higher layer.
Reviewers: lhames, echristo
Reviewed By: echristo
Subscribers: vtjnash, friss, rafael, llvm-commits
Differential Revision: http://reviews.llvm.org/D6961
llvm-svn: 237961
show more ...
|
Revision tags: llvmorg-3.6.1, llvmorg-3.6.1-rc1 |
|
#
075759aa |
| 30-Mar-2015 |
Yaron Keren <yaron.keren@gmail.com> |
Remove more superfluous .str() and replace std::string concatenation with Twine.
Following r233392, http://llvm.org/viewvc/llvm-project?rev=233392&view=rev.
llvm-svn: 233555
|
Revision tags: llvmorg-3.5.2, llvmorg-3.5.2-rc1, llvmorg-3.6.0, llvmorg-3.6.0-rc4, llvmorg-3.6.0-rc3, llvmorg-3.6.0-rc2 |
|
#
9a50944c |
| 27-Jan-2015 |
Kevin Enderby <enderby@apple.com> |
dd the option, -link-opt-hints to llvm-objdump used with -macho to print the Mach-O AArch64 linker optimization hints for ADRP code optimization.
llvm-svn: 227246
|
#
c552c9ab |
| 15-Jan-2015 |
Filipe Cabecinhas <me@filcab.net> |
Fix edge case when Start overflowed in 32 bit mode
llvm-svn: 226229
|
#
40139500 |
| 15-Jan-2015 |
Filipe Cabecinhas <me@filcab.net> |
Report fatal errors instead of segfaulting/asserting on a few invalid accesses while reading MachO files.
Summary: Shift an older “invalid file” test to get a consistent naming for these tests.
Bug
Report fatal errors instead of segfaulting/asserting on a few invalid accesses while reading MachO files.
Summary: Shift an older “invalid file” test to get a consistent naming for these tests.
Bugs found by afl-fuzz
Reviewers: rafael
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D6945
llvm-svn: 226219
show more ...
|
#
7e0692b6 |
| 15-Jan-2015 |
Lang Hames <lhames@gmail.com> |
[Object] Add SF_Exported flag. This flag will be set on all symbols that would be exported from a dylib if their containing object file were linked into one.
No test case: No command line tools quer
[Object] Add SF_Exported flag. This flag will be set on all symbols that would be exported from a dylib if their containing object file were linked into one.
No test case: No command line tools query this flag, and there are no Object unit tests.
llvm-svn: 226217
show more ...
|
Revision tags: llvmorg-3.6.0-rc1 |
|
#
e71bd0c8 |
| 06-Jan-2015 |
Filipe Cabecinhas <me@filcab.net> |
Don't loop endlessly for MachO files with 0 ncmds
llvm-svn: 225271
|
#
48ef534b |
| 23-Dec-2014 |
Kevin Enderby <enderby@apple.com> |
Add printing the LC_THREAD load commands with llvm-objdump’s -private-headers.
llvm-svn: 224792
|
#
52e4ce4a |
| 19-Dec-2014 |
Kevin Enderby <enderby@apple.com> |
Add printing the LC_ROUTINES load commands with llvm-objdump’s -private-headers.
llvm-svn: 224627
|
#
186eac3c |
| 19-Dec-2014 |
Kevin Enderby <enderby@apple.com> |
Add printing the LC_SUB_CLIENT load command with llvm-objdump’s -private-headers.
llvm-svn: 224616
|
#
36c8d3ae |
| 19-Dec-2014 |
Kevin Enderby <enderby@apple.com> |
Add printing the LC_SUB_LIBRARY load command with llvm-objdump’s -private-headers.
llvm-svn: 224607
|
#
4d7f70d4 |
| 19-Dec-2014 |
Juergen Ributzka <juergen@apple.com> |
[Object] Don't crash on empty export lists.
Summary: This fixes the exports iterator if the export list is empty.
Reviewers: Bigcheese, kledzik
Subscribers: llvm-commits
Differential Revision: ht
[Object] Don't crash on empty export lists.
Summary: This fixes the exports iterator if the export list is empty.
Reviewers: Bigcheese, kledzik
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D6732
llvm-svn: 224563
show more ...
|
#
a2bd8d98 |
| 18-Dec-2014 |
Kevin Enderby <enderby@apple.com> |
Add printing the LC_SUB_UMBRELLA load command with llvm-objdump’s -private-headers.
llvm-svn: 224548
|
#
b4b79317 |
| 18-Dec-2014 |
Kevin Enderby <enderby@apple.com> |
Add printing the LC_SUB_FRAMEWORK load command with llvm-objdump’s -private-headers.
llvm-svn: 224534
|
Revision tags: llvmorg-3.5.1, llvmorg-3.5.1-rc2 |
|
#
d0b6b7fb |
| 18-Dec-2014 |
Kevin Enderby <enderby@apple.com> |
Add printing the LC_LINKER_OPTION load command with llvm-objdump’s -private-headers. Also corrected the name of the load command to not end in an ’S’ as well as corrected the name of the MachO::linke
Add printing the LC_LINKER_OPTION load command with llvm-objdump’s -private-headers. Also corrected the name of the load command to not end in an ’S’ as well as corrected the name of the MachO::linker_option_command struct and other places that had the word option as plural which did not match the Mac OS X headers.
llvm-svn: 224485
show more ...
|
#
57538299 |
| 17-Dec-2014 |
Kevin Enderby <enderby@apple.com> |
Add printing the LC_ENCRYPTION_INFO_64 load command with llvm-objdump’s -private-headers and add tests for the two AArch64 binaries.
llvm-svn: 224400
|
#
0804f467 |
| 16-Dec-2014 |
Kevin Enderby <enderby@apple.com> |
Add printing the LC_ENCRYPTION_INFO load command with llvm-objdump’s -private-headers.
llvm-svn: 224390
|
#
0e77a94f |
| 10-Dec-2014 |
Rafael Espindola <rafael.espindola@gmail.com> |
Move three methods only used by MCJIT to MCJIT.
These methods are only used by MCJIT and are very specific to it. In fact, they are also fairly specific to the fact that we have a dynamic linker of
Move three methods only used by MCJIT to MCJIT.
These methods are only used by MCJIT and are very specific to it. In fact, they are also fairly specific to the fact that we have a dynamic linker of relocatable objects.
llvm-svn: 223964
show more ...
|
Revision tags: llvmorg-3.5.1-rc1 |
|
#
00cc1f5c |
| 04-Dec-2014 |
Jean-Daniel Dupas <devlists@shadowlab.org> |
Add mach-o LC_RPATH support to llvm-objdump
Summary: Add rpath load command support in Mach-O object and update llvm-objdump to use it.
Subscribers: llvm-commits
Differential Revision: http://revi
Add mach-o LC_RPATH support to llvm-objdump
Summary: Add rpath load command support in Mach-O object and update llvm-objdump to use it.
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D6512
llvm-svn: 223343
show more ...
|
#
73cc6ff5 |
| 13-Nov-2014 |
David Majnemer <david.majnemer@gmail.com> |
Object, Mach-O: Refactor and clean code up
Don't assert if we can return an error code, reuse existing functionality like is64Bit().
llvm-svn: 221915
|
#
72cdbf47 |
| 04-Nov-2014 |
Kevin Enderby <enderby@apple.com> |
Remove the static version of getScatteredRelocationType() now that r221211 added a public version MachOObjectFile::getScatteredRelocationType().
This should fix the build bot for the unused function
Remove the static version of getScatteredRelocationType() now that r221211 added a public version MachOObjectFile::getScatteredRelocationType().
This should fix the build bot for the unused function error.
llvm-svn: 221216
show more ...
|
#
9907d0a3 |
| 04-Nov-2014 |
Kevin Enderby <enderby@apple.com> |
Add the code and test cases for 32-bit Intel to llvm-objdump’s Mach-O symbolizer.
llvm-svn: 221211
|
#
59c74b22 |
| 27-Oct-2014 |
NAKAMURA Takumi <geek4civic@gmail.com> |
Fix unicode chars into ascii in comment lines.
llvm-svn: 220668
|
#
014601d5 |
| 24-Oct-2014 |
Benjamin Kramer <benny.kra@googlemail.com> |
[Object] Fix MachO's getUuid to return a pointer into the object instead of a dangling ArrayRef.
This works because uuid's are always little endian so it's not swapped. Fixes use-after-return report
[Object] Fix MachO's getUuid to return a pointer into the object instead of a dangling ArrayRef.
This works because uuid's are always little endian so it's not swapped. Fixes use-after-return reported by asan.
llvm-svn: 220567
show more ...
|