From aec8d12282b5279b80e79f21d54491db5d55278e Mon Sep 17 00:00:00 2001 From: Thomas Lively <7121787+tlively@users.noreply.github.com> Date: Fri, 11 Jun 2021 21:12:48 -0400 Subject: [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. --- test/lit/wasm-split/help.test | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/lit/wasm-split/help.test') 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. -- cgit v1.2.3