Kevin Enderby
846c000737
For llvm-objdump added support for printing Objc1 32-bit runtime meta data
...
with the existing -objc-meta-data and -macho options for Mach-O files.
llvm-svn: 235119
2015-04-16 17:19:59 +00:00
Kevin Enderby
28c1c1b5e6
For llvm-objdump added support for printing Objc2 32-bit runtime meta data
...
with the existing -objc-meta-data and -macho options for Mach-O files.
llvm-svn: 234185
2015-04-06 17:47:03 +00:00
Kevin Enderby
0fc1182eed
Add the option -objc-meta-data to llvm-objdump used with -macho to
...
print the Objective-C runtime meta data for Mach-O files.
There are three types of Objective-C runtime meta data, Objc2 64-bit,
Objc2 32-bit and Objc1 32-bit. This prints the first of these types. The
changes to print the others will follow next.
llvm-svn: 233840
2015-04-01 20:57:01 +00:00
Kevin Enderby
f6d258537d
Add the -section option to llvm-objdump used with -macho that takes the argument
...
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
2015-01-31 00:37:11 +00:00
Kevin Enderby
48ef534b74
Add printing the LC_THREAD load commands with llvm-objdump’s -private-headers.
...
llvm-svn: 224792
2014-12-23 22:56:39 +00:00
Kevin Enderby
52e4ce4a53
Add printing the LC_ROUTINES load commands with llvm-objdump’s -private-headers.
...
llvm-svn: 224627
2014-12-19 22:25:22 +00:00
Kevin Enderby
186eac3c0c
Add printing the LC_SUB_CLIENT load command with llvm-objdump’s -private-headers.
...
llvm-svn: 224616
2014-12-19 21:06:24 +00:00
Kevin Enderby
36c8d3ae63
Add printing the LC_SUB_LIBRARY load command with llvm-objdump’s -private-headers.
...
llvm-svn: 224607
2014-12-19 19:48:16 +00:00
Kevin Enderby
a2bd8d98a1
Add printing the LC_SUB_UMBRELLA load command with llvm-objdump’s -private-headers.
...
llvm-svn: 224548
2014-12-18 23:13:26 +00:00
Kevin Enderby
b4b7931748
Add printing the LC_SUB_FRAMEWORK load command with llvm-objdump’s -private-headers.
...
llvm-svn: 224534
2014-12-18 19:24:35 +00:00
Kevin Enderby
d0b6b7fb7f
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
2014-12-18 00:53:40 +00:00
Kevin Enderby
ef3ad2ff32
Re-add support to llvm-objdump for Mach-O universal files and archives with -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
2014-12-04 23:56:27 +00:00
Rafael Espindola
de882cd1c7
This reverts commit r223306 and r223277.
...
The code is using uninitialized memory and failing on linux.
llvm-svn: 223315
2014-12-03 23:29:34 +00:00
Kevin Enderby
55d5005f66
Move tests for llvm-objdump for universal files to X86 directory to fix build bots.
...
llvm-svn: 223306
2014-12-03 23:00:16 +00:00
Kevin Enderby
9907d0a3c2
Add the code and test cases for 32-bit Intel to llvm-objdump’s Mach-O symbolizer.
...
llvm-svn: 221211
2014-11-04 00:43:16 +00:00
Kevin Enderby
04bf6931cc
Update llvm-objdump’s Mach-O symbolizer code to demangle C++ names.
...
llvm-svn: 220833
2014-10-28 23:39:46 +00:00
Kevin Enderby
6f326ce75b
Update llvm-objdump’s Mach-O symbolizer code for Objective-C references.
...
This prints disassembly comments for Objective-C references to CFStrings,
Selectors, Classes and method calls.
llvm-svn: 220500
2014-10-23 19:37:31 +00:00
Nick Kledzik
600f245b8a
[llvm-objdump] enhance test case for mach-o -private-headers
...
llvm-svn: 220120
2014-10-18 01:50:55 +00:00
Kevin Enderby
8ae63c127d
Adds the next bit of support for llvm-objdump’s -private-headers for executable Mach-O files.
...
This adds the printing of more load commands, so that the normal load commands
in a typical X86 Mach-O executable can all be printed.
llvm-svn: 217172
2014-09-04 16:54:47 +00:00
Kevin Enderby
b76d386d7c
Add the start of the support for llvm-objdump’s -private-headers for Mach-O files.
...
This adds the printing of the mach header. Load command printing will be next.
llvm-svn: 216285
2014-08-22 20:35:18 +00:00
NAKAMURA Takumi
17ae2fca4c
llvm/test/tools/llvm-objdump: Reorganize target-dependent some tests.
...
llvm-svn: 215122
2014-08-07 17:17:19 +00:00