1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/tools
Michael Trent d317d94f80 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
..
bugpoint [Bugpoint] Do not create illegal function attribute combos 2019-12-16 10:32:35 -06:00
bugpoint-passes
dsymutil Temporarily Revert "[Dsymutil][Debuginfo][NFC] Refactor dsymutil to separate DWARF optimizing part 2." 2019-12-19 13:29:02 -08:00
gold Move CodeGenFileType enum to Support/CodeGen.h 2019-11-13 16:39:34 -08:00
llc Move CodeGenFileType enum to Support/CodeGen.h 2019-11-13 16:39:34 -08:00
lli [ORC] Add a runAsMain utility function to ExecutionUtils. 2019-12-02 01:52:52 -08:00
llvm-ar [llvm-ar] Improve tool selection heuristic 2019-12-10 17:32:50 -08:00
llvm-as
llvm-as-fuzzer
llvm-bcanalyzer [llvm-bcanalyzer] Don't dump the contents if -dump is not passed 2019-11-13 10:38:57 -08:00
llvm-c-test Recommit "[DWARF5]Addition of alignment atrribute in typedef DIE." 2019-12-03 09:51:43 +05:30
llvm-cat
llvm-cfi-verify Reland 9f3fdb0d7fab: [Driver] Use VFS to check if sanitizer blacklists exist 2019-11-21 11:56:09 +01:00
llvm-config llvm-config: do not link absolute paths with -l 2019-12-03 08:54:09 -08:00
llvm-cov Reland 9f3fdb0d7fab: [Driver] Use VFS to check if sanitizer blacklists exist 2019-11-21 11:56:09 +01:00
llvm-cvtres
llvm-cxxdump
llvm-cxxfilt [llvm-cxxfilt] Correctly demangle COFF import thunk 2019-12-16 09:50:04 -08:00
llvm-cxxmap
llvm-diff llvm-diff: Perform structural comparison on GlobalVariables, if possible 2019-12-17 14:21:48 -05:00
llvm-dis [llvm-dis] Fix the disable-output flag 2019-11-14 13:35:21 -08:00
llvm-dwarfdump [llvm-dwarfdump][Statistics] Don't count coverage less than 1% as 0% 2019-12-13 17:34:58 +03:00
llvm-dwp
llvm-elfabi
llvm-exegesis [llvm-exegesis][NFC] internal changes 2019-12-18 17:24:07 +01:00
llvm-extract
llvm-go
llvm-ifs [llvm] llvm-ifs: Support for handling empty IFS and merging weak+strong symbols. 2019-12-05 12:56:37 -05:00
llvm-isel-fuzzer Move CodeGenFileType enum to Support/CodeGen.h 2019-11-13 16:39:34 -08:00
llvm-itanium-demangle-fuzzer
llvm-jitlink [ORC] Make ObjectLinkingLayer own its jitlink::MemoryManager. 2019-12-15 17:35:52 -08:00
llvm-jitlistener
llvm-link
llvm-lipo [llvm-lipo] Add support for -extract 2019-11-21 16:11:48 -08:00
llvm-lto
llvm-lto2
llvm-mc
llvm-mc-assemble-fuzzer
llvm-mc-disassemble-fuzzer
llvm-mca
llvm-microsoft-demangle-fuzzer
llvm-modextract
llvm-mt
llvm-nm
llvm-objcopy [llvm-objcopy][ELF] -O binary: use LMA instead of sh_offset to decide where to write section contents 2019-12-15 21:45:25 -08:00
llvm-objdump llvm-objdump should ignore Mach-O stab symbols for disassembly. 2019-12-20 15:20:53 -08:00
llvm-opt-fuzzer Sink all InitializePasses.h includes 2019-11-13 16:34:37 -08:00
llvm-opt-report
llvm-pdbutil
llvm-profdata
llvm-rc llvm-rc - fix uninitialized variable warnings. NFC. 2019-11-18 13:26:50 +00:00
llvm-readobj [llvm-readob] - Refactor printing of sections flags. NFCI. 2019-12-18 11:43:52 +03:00
llvm-reduce llvm-reduce: Add a space to an option's --help 2019-12-05 19:46:16 -08:00
llvm-rtdyld
llvm-shlib [cmake] Explicitly mark libraries defined in lib/ as "Component Libraries" 2019-11-21 10:48:08 -08:00
llvm-size
llvm-special-case-list-fuzzer
llvm-split
llvm-stress
llvm-strings
llvm-symbolizer [llvm-symbolizer] Support reading options from environment 2019-12-20 12:47:27 -08:00
llvm-undname
llvm-xray
llvm-yaml-numeric-parser-fuzzer
lto [LTO][Legacy] Add API for passing LLVM options separately 2019-11-19 16:30:37 -08:00
msbuild
obj2yaml [yaml2obj] - Make DynamicSymbols to be Optional<> too. 2019-12-04 13:12:02 +03:00
opt [CodeGen] Move ARMCodegenPrepare to TypePromotion 2019-12-03 11:12:52 +00:00
opt-viewer
remarks-shlib
sancov Reland 9f3fdb0d7fab: [Driver] Use VFS to check if sanitizer blacklists exist 2019-11-21 11:56:09 +01:00
sanstats
verify-uselistorder
vfabi-demangle-fuzzer
xcode-toolchain
yaml2obj
CMakeLists.txt
LLVMBuild.txt