teak-llvm/llvm/test/tools/llvm-objdump/Inputs
Michael Trent f72d001e09 llvm-objdump should ignore Mach-O stab symbols for disassembly.
Summary:
llvm-objdump will commonly error out when disassembling a Mach-O binary with
stab symbols, or when printing a Mach-O symbol table that includesstab symbols.
That is because the Mach-O N_OSO symbol has been modified to include the
bottom 8-bit value of the Mach-O's cpusubtype value in the section field. In
general, one cannot blindly assume a stab symbol's section field is valid
unless one has actually consulted the specification for the specific stab.

Since objdump mostly just walks the symbol table to get mnemonics for code
disassembly it's best for objdump to just ignore stab symbols. llvm-nm will
do a more complete and correct job of displaying Mach-O symbol table contents.

Reviewers: pete, lhames, ab, thegameg, jhenderson, MaskRay

Reviewed By: thegameg, MaskRay

Subscribers: MaskRay, rupprecht, seiya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D71394
2019-12-20 15:20:53 -08:00
..
bad-ordinal.macho-x86_64
bind2.macho-x86_64
bind.macho-x86_64
call-absolute-symbol.elf-x86_64 Some targets don't have lld built, so just use a binary copy 2018-06-28 19:47:23 +00:00
common-symbol-elf
compact-unwind.macho-i386
compact-unwind.macho-x86_64
corrupt-section.wasm [wasm] readSection: Avoid reading past eof (fixes oss-fuzz #3219) 2017-10-23 18:04:34 +00:00
eh_frame_zero_cie.o
eh_frame-coff.yaml [COFF] Map truncated .eh_frame section name 2018-12-08 18:15:41 +00:00
eh_frame.elf-mipsel
eh_frame.macho-arm64
embedded-source [llvm] Prevent duplicate files in debug line header in dwarf 5: another attempt 2019-04-19 02:26:56 +00:00
empty.macho-armv7
export.dll.coff-i386
exports-trie.macho-x86_64
file-aux-record.yaml
file.obj.coff-arm
large-bss.obj.coff-i386
lazy-bind.macho-x86_64
libbogus1.a
libbogus2.a
libbogus3.a
libbogus4.a
libbogus5.a
libbogus6.a
libbogus7.a
libbogus8.a
libbogus9.a
libbogus10.a
libbogus11.a
libbogus12.a
libbogus13.a
libbogus14.a
liblong_filenames.a [llvm-objdump] Add --archive-headers (-a) option 2018-07-05 14:43:29 +00:00
library.lib
LLVM-bundle.macho-x86_64
macho-bind-add_addr_uleb
macho-bind-add-addr-imm-scaled
macho-bind-bad-opcode-value
macho-bind-bind-add-addr-uleb
macho-bind-do-bind-no-segIndex
macho-bind-dylib-ordinal-uleb
macho-bind-dylib-ordinal-uleb-malformed-uleb128
macho-bind-dylib-ordinal-uleb-too-big
macho-bind-dylib-special-imm
macho-bind-seg-too-big
macho-bind-segoff-too-big
macho-bind-set-addend-sleb
macho-bind-set-symbol
macho-bind-set-type-imm
macho-bind-uleb-times-skipping-uleb
macho-do-bind-no-dylib-ordinal
macho-do-bind-no-symbol
macho-inconsistant-export Add error handling to the dyld compact export entries in libObject. 2017-07-20 23:08:41 +00:00
macho-lazy-do_bind_add_addr_uleb
macho-lazy-do-bind-add-addr-imm-scaled
macho-lazy-do-bind-uleb-times-skipping-uleb
macho-rebase-add-addr-imm-scaled
macho-rebase-add-addr-uleb
macho-rebase-add-addr-uleb-too-big Fix Mach-O bind and rebase validation errors in libObject 2019-03-20 23:21:16 +00:00
macho-rebase-bad-opcode-value
macho-rebase-imm-times
macho-rebase-seg-too-big
macho-rebase-segoff-too-big
macho-rebase-set-type-imm
macho-rebase-uleb-malformed-uleb128
macho-rebase-uleb-times
macho-rebase-uleb-times-skipping-uleb
macho-stabs-x86_64 llvm-objdump should ignore Mach-O stab symbols for disassembly. 2019-12-20 15:20:53 -08:00
macho-trie-bad-export-info-malformed-uleb128 Add error handling to the dyld compact export entries in libObject. 2017-07-20 23:08:41 +00:00
macho-trie-bad-export-info-malformed-uleb128_too_big Add error handling to the dyld compact export entries in libObject. 2017-07-20 23:08:41 +00:00
macho-trie-bad-kind Add error handling to the dyld compact export entries in libObject. 2017-07-20 23:08:41 +00:00
macho-trie-bad-library-ordinal Add error handling to the dyld compact export entries in libObject. 2017-07-20 23:08:41 +00:00
macho-trie-children-count-byte Add error handling to the dyld compact export entries in libObject. 2017-07-20 23:08:41 +00:00
macho-trie-edge-string-end Add error handling to the dyld compact export entries in libObject. 2017-07-20 23:08:41 +00:00
macho-trie-export-info-size-too-big Add error handling to the dyld compact export entries in libObject. 2017-07-20 23:08:41 +00:00
macho-trie-import-name-end Add error handling to the dyld compact export entries in libObject. 2017-07-20 23:08:41 +00:00
macho-trie-import-name-start Add error handling to the dyld compact export entries in libObject. 2017-07-20 23:08:41 +00:00
macho-trie-node-loop Add error handling to the dyld compact export entries in libObject. 2017-07-20 23:08:41 +00:00
macho-trie-not-export-node Add error handling to the dyld compact export entries in libObject. 2017-07-20 23:08:41 +00:00
macho-weak-bind-set-dylib-ordinal-imm
macho-weak-bind-set-dylib-ordinal-uleb
macho-weak-bind-set-dylib-special-imm
malformed-macho.bin
malformed-unwind.macho-x86_64
many-relocs.obj-i386
nop.exe.coff-i386
out-of-section-sym.s
private-headers-x86_64.elf [llvm-objdump] Add dynamic section printing to private-headers option 2018-07-25 11:09:20 +00:00
proc-specific-section-elf
rebase.macho-x86_64
section.macho-armv7
tls.exe.coff-x86_64
trivial.ll [WebAsembly] Update default triple in test files to wasm32-unknown-unkown. 2018-05-10 17:49:11 +00:00
trivial.obj.wasm [WebAssembly] Store section alignment as a power of 2 2019-01-16 01:34:48 +00:00
unwind-info-no-relocs.macho-x86_64
unwind-info.macho-arm64
unwind-info.macho-x86_64
weak-bind.macho-x86_64
win64-unwind.exe.coff-x86_64.asm [X86] Print register names in .seh_* directives 2019-08-30 21:23:05 +00:00
win64-unwind.exe.coff-x86_64.exe
win64-unwind.exe.coff-x86_64.obj
xcoff-long-sec-names.o [Object][XCOFF] Add intial support for section header table. 2019-04-25 21:36:04 +00:00
xcoff-section-headers-truncate.o [Object][XCOFF] Add intial support for section header table. 2019-04-25 21:36:04 +00:00
xcoff-section-headers.o [Object][XCOFF] Add intial support for section header table. 2019-04-25 21:36:04 +00:00