| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
option that works with all object container formats.
Now that clang modules/PCH are object containers this option is useful to
to construct pipes like
llvm-objdump -raw-clang-ast foo.pcm | llvm-bcanalyzer -
to inspect the AST contents in a PCH container.
Will be tested via clang.
Belatedly addresses review feedback for r233390.
llvm-svn: 241659
|
|
|
|
|
|
|
|
|
|
|
| |
Only common symbol on MachO and COFF have a size.
For COFF we already had a custom format.
For MachO, there is no native objdump and we were printing it as ELF. Now
we only print the sizes for symbols that actually have them.
llvm-svn: 240422
|
|
|
|
| |
llvm-svn: 239833
|
|
|
|
| |
llvm-svn: 239074
|
|
|
|
|
|
|
|
| |
* If the input file is missing;
* If the type of input object file can't be recognized;
* If the object file can't be parsed correctly.
llvm-svn: 239065
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
MachO and COFF quite reasonably only define the size for common symbols.
We used to try to figure out the "size" by computing the gap from one symbol to
the next.
This would not be correct in general, since a part of a section can belong to no
visible symbol (padding, private globals).
It was also really expensive, since we would walk every symbol to find the size
of one.
If a caller really wants this, it can sort all the symbols once and get all the
gaps ("size") in O(n log n) instead of O(n^2).
On MachO this also has the advantage of centralizing all the checks for an
invalid n_sect.
llvm-svn: 238028
|
|
|
|
|
|
|
|
|
|
| |
-non-verbose
option to print the archive headers using raw numeric values. Also add the -archive-member-offsets
for use with these to also trigger printing of the offset of the archive member from the start
of the archive.
llvm-svn: 236252
|
|
|
|
|
|
|
|
| |
Mach-O files
with the -section option as objc_protocol_t structs.
llvm-svn: 235141
|
|
|
|
|
|
| |
with the existing -objc-meta-data and -macho options for Mach-O files.
llvm-svn: 235119
|
|
|
|
|
|
| |
test macho-objc-meta-data.test had a line it shouldn't have had.
llvm-svn: 234190
|
|
|
|
|
|
| |
with the existing -objc-meta-data and -macho options for Mach-O files.
llvm-svn: 234185
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
This fixes a bug I introduced in r233411.
llvm-svn: 233484
|
|
|
|
| |
llvm-svn: 233390
|
|
|
|
|
|
| |
-disassemble to not symbolic operands when disassembling.
llvm-svn: 232558
|
|
|
|
|
|
| |
-disassemble or -section to not print the leading addresses on each line.
llvm-svn: 232547
|
|
|
|
|
|
| |
-disassemble to disassemble just one symbol’s instructions.
llvm-svn: 232503
|
|
|
|
|
|
|
| |
to print the Mach-O dynamic shared libraries used by a linked image or the
library id of a shared library.
llvm-svn: 232406
|
|
|
|
|
|
|
|
|
|
| |
using numeric values and not their symbolic constant names.
The routines that print Mach-O stuff already had a verbose parameter and this
change is just changing the passing true to passing !NonVerbose. With just a
couple of fixes and a bunch of test case updates.
llvm-svn: 232182
|
|
|
|
|
|
| |
Mach-O info plist section as strings.
llvm-svn: 231974
|
|
|
|
| |
llvm-svn: 229759
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
‘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
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
objdump.
llvm-svn: 226932
|
|
|
|
|
|
| |
Mach-O data in code table.
llvm-svn: 226921
|
|
|
|
|
|
| |
indirect symbol table to llvm-objdump.
llvm-svn: 226848
|
|
|
|
|
|
| |
Mach-O parser).
llvm-svn: 226612
|
|
|
|
|
|
|
|
|
| |
check the size
while I once again try to figure out why only the clang-cmake-armv7-a15-full bot
is getting that value wrong.
llvm-svn: 226345
|
|
|
|
|
|
|
|
| |
-archive-headers option
and tweak its use in llvm-objdump. Add back the test case for the -archive-headers option.
llvm-svn: 226332
|
|
|
|
|
|
|
| |
removing the macho-archive-headers.test added with r226228 that it is
failing on for now while I try to figure out what is going on.
llvm-svn: 226241
|
|
|
|
|
|
| |
the macho-archive-headers.test added with r226228.
llvm-svn: 226239
|
|
|
|
|
|
| |
archive headers to llvm-objdump.
llvm-svn: 226228
|
|
|
|
|
|
| |
universal headers to llvm-objdump.
llvm-svn: 225537
|
|
|
|
|
|
|
|
|
|
|
|
| |
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: 224792
|
|
|
|
|
|
| |
-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
|
|
|
|
|
|
| |
printing the section header. And add some tests for this for 32-bit files.
llvm-svn: 224302
|