[all-commits] [llvm/llvm-project] 480a16: [MC] Changes to help improve target specific symbo...
Ronak Chauhan via All-commits
all-commits at lists.llvm.org
Fri Jun 12 12:53:51 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 480a16d5c8092f4eac181fb669c7ac05dc446a00
https://github.com/llvm/llvm-project/commit/480a16d5c8092f4eac181fb669c7ac05dc446a00
Author: Ronak Chauhan <ronaknilesh.chauhan at amd.com>
Date: 2020-06-12 (Fri, 12 Jun 2020)
Changed paths:
M llvm/include/llvm/MC/MCDisassembler/MCDisassembler.h
M llvm/lib/MC/MCDisassembler/MCDisassembler.cpp
M llvm/lib/Target/WebAssembly/Disassembler/WebAssemblyDisassembler.cpp
M llvm/tools/llvm-objdump/llvm-objdump.cpp
Log Message:
-----------
[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
More information about the All-commits
mailing list