| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
literal pointer sections
with the Mach-O S_LITERAL_POINTERS section type.
Also fix the printing of the leading addresses for literal sections to be consistent and
not print the 0x prefix. Updated test cases to match.
llvm-svn: 229548
|
|
|
|
|
|
| |
sections with the Mach-O S_{4,8,16}BYTE_LITERALS section types.
llvm-svn: 228465
|
|
|
|
|
|
|
|
|
|
|
|
| |
Reviewers: kledzik, rafael
Reviewed By: rafael
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D6303
llvm-svn: 228313
|
|
|
|
| |
llvm-svn: 228309
|
|
|
|
|
|
|
|
|
|
|
|
| |
Reviewers: kledzik, rafael
Reviewed By: rafael
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D6303
llvm-svn: 228308
|
|
|
|
|
|
|
|
| |
‘C’ string
sections with the Mach-O S_CSTRING_LITERALS section type.
llvm-svn: 228198
|
|
|
|
|
|
|
|
| |
sections
that have attributes indicating they contain instructions.
llvm-svn: 228101
|
|
|
|
|
|
|
|
|
|
| |
segname,sectname to specify a Mach-O section to print. The printing is based on
the section type or section attributes.
The printing of the module initialization and termination section types is printed
with this change. Printing of other section types will be added next.
llvm-svn: 227649
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In preparation for adding PDB support to LLVM, this moves the
DWARF parsing code to its own subdirectory under DebugInfo, and
renames LLVMDebugInfo to LLVMDebugInfoDWARF.
This is purely a mechanical / build system change.
Differential Revision: http://reviews.llvm.org/D7269
Reviewed by: Eric Christopher
llvm-svn: 227586
|
|
|
|
|
|
| |
Mach-O AArch64 linker optimization hints for ADRP code optimization.
llvm-svn: 227246
|
|
|
|
|
|
|
|
| |
archive header size field.
This problem showed up with the clang-cmake-armv7-a15-full bot. Thanks to Renato Golin for his help.
llvm-svn: 226936
|
|
|
|
|
|
| |
Mach-O data in code table.
llvm-svn: 226921
|
|
|
|
|
|
| |
indirect symbol table to llvm-objdump.
llvm-svn: 226848
|
|
|
|
|
|
| |
Mach-O parser).
llvm-svn: 226612
|
|
|
|
| |
llvm-svn: 226416
|
|
|
|
|
|
|
|
| |
-archive-headers option
and tweak its use in llvm-objdump. Add back the test case for the -archive-headers option.
llvm-svn: 226332
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
-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
|
|
|
|
|
|
| |
Fixes PR21607
llvm-svn: 222385
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|