diff options
author | Heejin Ahn <aheejin@gmail.com> | 2024-05-06 16:37:32 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-06 16:37:32 -0700 |
commit | 4b7c610f14329dfe045534ec1cde7f28330393f9 (patch) | |
tree | 4c94816f122ab7655af038c9b9f62af36d7192ad /test/lit/binary/dwarf-multivalue.test.wasm | |
parent | d58c54643eb97e5c35f8c14a38f3bf549aee92f4 (diff) | |
download | binaryen-4b7c610f14329dfe045534ec1cde7f28330393f9.tar.gz binaryen-4b7c610f14329dfe045534ec1cde7f28330393f9.tar.bz2 binaryen-4b7c610f14329dfe045534ec1cde7f28330393f9.zip |
Allow DWARF and multivalue together (#6570)
This allows writing of binaries with DWARF info when multivalue is
enabled. Currently we just crash when both are enabled together. This
just assumes, unless we have run DWARF-invalidating passes, all locals
added for tuples or scratch locals would have been added at the end of
the local list, so just printing all locals in order would preserve the
DWARF info. Tuple locals are expanded in place and scratch locals are
added at the end.
Diffstat (limited to 'test/lit/binary/dwarf-multivalue.test.wasm')
-rwxr-xr-x | test/lit/binary/dwarf-multivalue.test.wasm | bin | 0 -> 6099 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/test/lit/binary/dwarf-multivalue.test.wasm b/test/lit/binary/dwarf-multivalue.test.wasm Binary files differnew file mode 100755 index 000000000..14d7dc60e --- /dev/null +++ b/test/lit/binary/dwarf-multivalue.test.wasm |