llvm-project/llvm/tools/llvm-objdump
Andy Wingo db69ea40a9 [llvm-objdump][WebAssembly] Fix llvm-objdump on files without symbols
If a file has no symbols, perhaps because it is a linked executable,
synthesize some symbols by walking the code section.  Otherwise the
disassembler will try to treat the whole code section as a function,
which won't parse.  Fixes https://bugs.llvm.org/show_bug.cgi?id=50957.

Differential Revision: https://reviews.llvm.org/D105539
2021-07-19 08:59:26 +02:00
..
CMakeLists.txt Fix lld macho standalone build by including llvm/Config/llvm-config.h instead of llvm/Config/config.h 2021-05-19 11:15:07 -04:00
COFFDump.cpp [llvm-objdump] Use append_range (NFC) 2021-01-26 20:00:19 -08:00
COFFDump.h [llvm-objdump][COFF][NFC] Split format-specific interfaces; add namespace 2020-04-02 18:42:13 -04:00
ELFDump.cpp [llvm-objdump] Improve newline consistency between different pieces of information 2021-05-04 09:56:07 -07:00
ELFDump.h [llvm-objdump][ELF][NFC] Create ELFDump.h 2020-04-23 21:24:37 -04:00
MachODump.cpp [llvm-objdump/mac] Print symbols at the same address deterministically 2021-06-30 22:38:07 -04:00
MachODump.h llvm-objdump: add --rpaths to macho support 2021-04-22 16:01:10 -07:00
ObjdumpOptID.h [llvm-objdump] Add an llvm-otool tool 2021-04-20 08:24:58 -04:00
ObjdumpOpts.td [llvm-objdump] Delete temporary Hexagon workaround options 2021-05-04 11:05:11 -07:00
OtoolOpts.td [llvm-objdump] Add an llvm-otool tool 2021-04-20 08:24:58 -04:00
SourcePrinter.cpp llvm-objdump: refactor SourcePrinter into separate file. NFC. 2021-04-23 10:21:52 +01:00
SourcePrinter.h llvm-objdump: refactor SourcePrinter into separate file. NFC. 2021-04-23 10:21:52 +01:00
WasmDump.cpp [llvm-objdump][Wasm][NFC] Create WasmDump.h 2020-04-14 18:26:24 -04:00
WasmDump.h [llvm-objdump][Wasm][NFC] Create WasmDump.h 2020-04-14 18:26:24 -04:00
XCOFFDump.cpp [XCOFF][AIX] Enable tooling support for 64 bit symbol table parsing 2021-06-07 17:24:13 +00:00
XCOFFDump.h [llvm-objdump][XCOFF] Print more symbol info in relocation 2020-04-22 13:52:08 +00:00
llvm-objdump.cpp [llvm-objdump][WebAssembly] Fix llvm-objdump on files without symbols 2021-07-19 08:59:26 +02:00
llvm-objdump.h llvm-objdump: refactor SourcePrinter into separate file. NFC. 2021-04-23 10:21:52 +01:00