diff options
author | Sam Clegg <sbc@chromium.org> | 2024-05-22 11:48:28 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-22 11:48:28 -0700 |
commit | 2c50f59f518968643a36e800c0268bcfabc485ac (patch) | |
tree | 8cf922862bab6b3f23815c481f2c079fb3264938 /src | |
parent | 926304ecffbb83fb7ae9dd06318180b69cd60268 (diff) | |
download | wabt-2c50f59f518968643a36e800c0268bcfabc485ac.tar.gz wabt-2c50f59f518968643a36e800c0268bcfabc485ac.tar.bz2 wabt-2c50f59f518968643a36e800c0268bcfabc485ac.zip |
[wasm-objdump] Fix reporting of imported 64-bit tables (#2425)
Diffstat (limited to 'src')
-rw-r--r-- | src/binary-reader-objdump.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/binary-reader-objdump.cc b/src/binary-reader-objdump.cc index 632fb9e7..ff9afbc6 100644 --- a/src/binary-reader-objdump.cc +++ b/src/binary-reader-objdump.cc @@ -1550,6 +1550,9 @@ Result BinaryReaderObjdump::OnImportTable(Index import_index, if (elem_limits->has_max) { PrintDetails(" max=%" PRId64, elem_limits->max); } + if (elem_limits->is_64) { + PrintDetails(" i64"); + } PrintDetails(" <- " PRIstringview "." PRIstringview "\n", WABT_PRINTF_STRING_VIEW_ARG(module_name), WABT_PRINTF_STRING_VIEW_ARG(field_name)); |