| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
archive headers to llvm-objdump.
llvm-svn: 226228
|
|
|
|
|
|
|
|
|
|
|
| |
utils/sort_includes.py.
I clearly haven't done this in a while, so more changed than usual. This
even uncovered a missing include from the InstrProf library that I've
added. No functionality changed here, just mechanical cleanup of the
include order.
llvm-svn: 225974
|
|
|
|
|
|
|
|
| |
to llvm-obdump).
And a fly by fix to some formatting issues with the same commit.
llvm-svn: 225550
|
|
|
|
|
|
| |
universal headers to llvm-objdump.
llvm-svn: 225537
|
|
|
|
|
|
| |
previous changes got in with incorrect formatting. No functional change.
llvm-svn: 225417
|
|
|
|
|
|
|
|
|
|
|
|
| |
used with
options other than just -disassemble so that universal files can be used with other
options combined with -arch options.
No functional change to existing options and use. One test case added for the
additional functionality with a universal file an a -arch option.
llvm-svn: 225383
|
|
|
|
| |
llvm-svn: 225271
|
|
|
|
|
|
| |
place to fix I think.
llvm-svn: 224794
|
|
|
|
| |
llvm-svn: 224793
|
|
|
|
| |
llvm-svn: 224792
|
|
|
|
| |
llvm-svn: 224679
|
|
|
|
|
|
| |
-private-headers.
llvm-svn: 224627
|
|
|
|
|
|
| |
-private-headers.
llvm-svn: 224616
|
|
|
|
|
|
| |
-private-headers.
llvm-svn: 224607
|
|
|
|
|
|
| |
-private-headers.
llvm-svn: 224548
|
|
|
|
|
|
| |
-private-headers.
llvm-svn: 224534
|
|
|
|
|
|
|
|
|
|
| |
-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
|
|
|
|
| |
llvm-svn: 224413
|
|
|
|
|
|
|
|
| |
-private-headers
and add tests for the two AArch64 binaries.
llvm-svn: 224400
|
|
|
|
|
|
| |
-private-headers.
llvm-svn: 224390
|
|
|
|
|
|
| |
load command not getting printed.
llvm-svn: 224376
|
|
|
|
| |
llvm-svn: 224368
|
|
|
|
|
|
|
|
| |
incorrectly using PRIx32
when it should have been using PRIx64 for the value that was passed as uint64_t .
llvm-svn: 224350
|
|
|
|
|
|
| |
printing the section header. And add some tests for this for 32-bit files.
llvm-svn: 224302
|
|
|
|
|
|
| |
This is the same return type of Archive::create.
llvm-svn: 223827
|
|
|
|
|
|
|
|
|
|
|
| |
-macho
with fixes. Includes the move of tests for llvm-objdump for universal files to an X86
directory. And the fix where it was failing on linux Rafael tracked down with asan.
I had both Jim Grosbach and Adam Hemet look over the second fix since I could not
set up asan to reproduce with the old version but not with the fix.
llvm-svn: 223416
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
The code is using uninitialized memory and failing on linux.
llvm-svn: 223315
|
|
|
|
| |
llvm-svn: 223277
|
|
|
|
|
|
|
|
|
| |
llvm-objdump printed out an error message for this off-by-one error,
but because it always exits with 0 whether or not it found an error,
the test (llvm-objdump/coff-many-relocs.test) succeeded.
I made llvm-objdump exit with EXIT_FAILURE when an error is found.
llvm-svn: 222852
|
|
|
|
|
|
| |
Fixes PR21607
llvm-svn: 222385
|
|
|
|
|
|
|
|
|
|
|
|
| |
We were a little lax in a few areas:
- We pretended that import libraries were like any old COFF file, they
are not. In fact, they aren't really COFF files at all, we should
probably grow some specialized functionality to handle them smarter.
- Our symbol iterators were more than happy to attempt to go past the
end of the symbol table if you had a symbol with a bad list of
auxiliary symbols.
llvm-svn: 222124
|
|
|
|
|
|
|
|
|
| |
symbolizer.
FYI, removed the unused MCInstrAnalysis as it does not exist for 64-bit ARM and
was causing a “couldn't initialize disassembler for target” error.
llvm-svn: 222045
|
|
|
|
|
|
|
| |
Don't assert if we can return an error code, reuse existing
functionality like is64Bit().
llvm-svn: 221915
|
|
|
|
| |
llvm-svn: 221782
|
|
|
|
| |
llvm-svn: 221755
|
|
|
|
|
|
|
|
|
|
|
|
| |
With this patch MCDisassembler::getInstruction takes an ArrayRef<uint8_t>
instead of a MemoryObject.
Even on X86 there is a maximum size an instruction can have. Given
that, it seems way simpler and more efficient to just pass an ArrayRef
to the disassembler instead of a MemoryObject and have it do a virtual
call every time it wants some extra bytes.
llvm-svn: 221751
|
|
|
|
|
|
| |
Thanks to Aaron Ballman for noticing this!
llvm-svn: 221696
|
|
|
|
|
|
|
| |
Empty sections are just noise when using objdump.
This is similar to what binutils does.
llvm-svn: 221680
|
|
|
|
| |
llvm-svn: 221502
|
|
|
|
|
|
|
|
|
|
|
|
| |
add the code and test cases for 32-bit ARM symbolizer.
Also fixed the printing of data in code as it was not using the table correctly
and needed to fix one of the test cases too.
This will break lld’s test/mach-o/arm-interworking-movw.yaml till the tweak
for that is made. Which I’ll be committing immediately after this commit.
llvm-svn: 221470
|
|
|
|
|
|
|
|
|
| |
DiceTableEntry is 24 bytes on my machine, it's probably better to pass
them by reference.
This fixes PR21464.
llvm-svn: 221247
|
|
|
|
|
|
| |
symbolizer.
llvm-svn: 221211
|
|
|
|
| |
llvm-svn: 220875
|
|
|
|
| |
llvm-svn: 220833
|
|
|
|
| |
llvm-svn: 220518
|
|
|
|
|
|
| |
Should fix the build bot issues from commit r220500.
llvm-svn: 220504
|
|
|
|
|
|
|
| |
This prints disassembly comments for Objective-C references to CFStrings,
Selectors, Classes and method calls.
llvm-svn: 220500
|
|
|
|
| |
llvm-svn: 219945
|
|
|
|
|
|
| |
bad library ordinals
llvm-svn: 219746
|