1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-18 18:42:46 +02:00
llvm-mirror/tools/llvm-objdump
Ronak Chauhan 94e53ef1f1 [MC] Changes to help improve target specific symbol disassembly
Summary:
This commit slightly modifies the MCDisassembler, and llvm-objdump to
allow targets to also decode entire symbols.

WebAssembly uses the onSymbolStart hook it to decode preludes.
WebAssembly partially disassembles the symbol in its target specific
way; and then falls back to the normal flow of llvm-objdump.

AMDGPU needs it to decode kernel descriptors entirely, and move to the
next symbol.

This commit is to split the above task into 2.
- Changes to llvm-objdump and MC-layer without breaking WebAssembly code
  [ this commit ]
- AMDGPU's implementation of onSymbolStart that decodes kernel
  descriptors. [ https://reviews.llvm.org/D80713 ]

Reviewers: scott.linder, t-tye, sunfish, arsenm, jhenderson, MaskRay, aardappel

Reviewed By: scott.linder, jhenderson, aardappel

Subscribers: bcain, dschuff, wdng, tpr, sbc100, jgravelle-google, hiraditya, aheejin, MaskRay, rupprecht, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D80512
2020-06-12 15:51:37 -04:00
..
CMakeLists.txt [llvm-objdump][XCOFF][AIX] Implement -r option 2020-03-27 16:05:42 +00:00
COFFDump.cpp Re-land "Migrate the rest of COFFObjectFile to Error" 2020-06-11 14:46:16 -07: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][ELF][NFC] Create ELFDump.h 2020-04-23 21:24:37 -04:00
ELFDump.h [llvm-objdump][ELF][NFC] Create ELFDump.h 2020-04-23 21:24:37 -04:00
llvm-objdump.cpp [MC] Changes to help improve target specific symbol disassembly 2020-06-12 15:51:37 -04:00
llvm-objdump.h [llvm-objdump] Move llvm:: to llvm::objdump:: and qualifying definitions with objdump:: 2020-05-30 18:00:15 -07:00
LLVMBuild.txt
MachODump.cpp [Object] Change ObjectFile::getSymbolValue() return type to Expected<uint64_t> 2020-05-02 14:04:44 +08:00
MachODump.h [llvm-objdump][NFC] MachODump.cpp interface cleanup 2020-04-09 15:35:33 -04: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 [llvm-objdump][XCOFF] Print more symbol info in relocation 2020-04-22 13:52:08 +00:00
XCOFFDump.h [llvm-objdump][XCOFF] Print more symbol info in relocation 2020-04-22 13:52:08 +00:00