summaryrefslogtreecommitdiff
path: root/src/binary-reader-objdump.h
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2022-03-17 05:28:57 +0000
committerGitHub <noreply@github.com>2022-03-16 22:28:57 -0700
commit46ec46b60d50174d063b1399dc71db79be4f18b5 (patch)
treed305863c92e8a4d3bce8f66ed0735c545ce792c7 /src/binary-reader-objdump.h
parentd0e5fe79a0a330ff77e18e2d154d48a24ee4077e (diff)
downloadwabt-46ec46b60d50174d063b1399dc71db79be4f18b5.tar.gz
wabt-46ec46b60d50174d063b1399dc71db79be4f18b5.tar.bz2
wabt-46ec46b60d50174d063b1399dc71db79be4f18b5.zip
wasm-objdump: Improve disassembly of call_indirect (#1866)
Use the text format convention of putting the table before the type. Also track type names so they can be reported along with the table name, if available. Fixes: #1865
Diffstat (limited to 'src/binary-reader-objdump.h')
-rw-r--r--src/binary-reader-objdump.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/binary-reader-objdump.h b/src/binary-reader-objdump.h
index 43f34a1e..3b859160 100644
--- a/src/binary-reader-objdump.h
+++ b/src/binary-reader-objdump.h
@@ -76,6 +76,7 @@ struct ObjdumpLocalNames {
struct ObjdumpState {
std::vector<Reloc> code_relocations;
std::vector<Reloc> data_relocations;
+ ObjdumpNames type_names;
ObjdumpNames function_names;
ObjdumpNames global_names;
ObjdumpNames section_names;