Kevin Enderby
e2297ddd11
Slightly refactor things for llvm-objdump and the -macho option so it can be 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
2015-01-07 21:02:18 +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
Nick Kledzik
4e1ef9951d
[llvm-objdump] don't test timestamp dump as that is time zone dependent
...
llvm-svn: 220123
2014-10-18 02:28:01 +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
84897b8b7d
Removed the ctime printed “time stamp” from macho-private-headers.test to fix the builds.
...
llvm-svn: 217175
2014-09-04 17:13:44 +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
956366c6f1
Next bit of support for llvm-objdump’s -private-headers for Mach-O files.
...
This adds the printing of the LC_SEGMENT load command and sections,
LC_SYMTAB and LC_DYSYMTAB load commands.
llvm-svn: 216795
2014-08-29 22:30:52 +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