From 2c50f59f518968643a36e800c0268bcfabc485ac Mon Sep 17 00:00:00 2001 From: Sam Clegg Date: Wed, 22 May 2024 11:48:28 -0700 Subject: [wasm-objdump] Fix reporting of imported 64-bit tables (#2425) --- src/binary-reader-objdump.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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)); -- cgit v1.2.3