diff options
author | Thomas Lively <7121787+tlively@users.noreply.github.com> | 2021-06-11 21:12:48 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-12 01:12:48 +0000 |
commit | aec8d12282b5279b80e79f21d54491db5d55278e (patch) | |
tree | 4f0325893fda3aa98ab970757e9d3cd2288f6603 /test/lit/wasm-split/help.test | |
parent | 446634a503116186a025d23375c430cb837e00f0 (diff) | |
download | binaryen-aec8d12282b5279b80e79f21d54491db5d55278e.tar.gz binaryen-aec8d12282b5279b80e79f21d54491db5d55278e.tar.bz2 binaryen-aec8d12282b5279b80e79f21d54491db5d55278e.zip |
[wasm-split] Add an option to emit a placeholder map (#3931)
The new instruction emits a file containing a map between placeholder index and
the name of the split out function that placeholder is replacing in the table.
This map is intended to be useful for debugging, as discussed in
https://github.com/emscripten-core/emscripten/issues/14330.
Diffstat (limited to 'test/lit/wasm-split/help.test')
-rw-r--r-- | test/lit/wasm-split/help.test | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/lit/wasm-split/help.test b/test/lit/wasm-split/help.test index de789a362..8159e66db 100644 --- a/test/lit/wasm-split/help.test +++ b/test/lit/wasm-split/help.test @@ -34,6 +34,8 @@ CHECK-NEXT: --secondary-output,-o2 [split] Output file for the s CHECK-NEXT: module. CHECK-NEXT: --symbolmap [split] Write a symbol map file for each CHECK-NEXT: of the output modules. +CHECK-NEXT: --placeholdermap [split] Write a file mapping placeholder +CHECK-NEXT: indices to the function names. CHECK-NEXT: --import-namespace [split] The namespace from which to CHECK-NEXT: import objects from the primary module CHECK-NEXT: into the secondary module. |