summaryrefslogtreecommitdiff
path: root/test/lld/em_asm_shared.wat.out
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2022-08-04 16:07:08 -0700
committerGitHub <noreply@github.com>2022-08-04 23:07:08 +0000
commit9534e6927c41f4a6a5d06d58d00c271c9f066e9a (patch)
tree38bf1a3d763a5d4c2be409f8911b0c7f8d5269f2 /test/lld/em_asm_shared.wat.out
parente5c8bf665054bbaeab79506c562684f34ef376db (diff)
downloadbinaryen-9534e6927c41f4a6a5d06d58d00c271c9f066e9a.tar.gz
binaryen-9534e6927c41f4a6a5d06d58d00c271c9f066e9a.tar.bz2
binaryen-9534e6927c41f4a6a5d06d58d00c271c9f066e9a.zip
Cleanup em_asm/em_js strings as part of PostEmscripten (#4871)
Rather than doing it as a side effect of dumping the metadata in wasm-emscripten-finalize.
Diffstat (limited to 'test/lld/em_asm_shared.wat.out')
-rw-r--r--test/lld/em_asm_shared.wat.out8
1 files changed, 6 insertions, 2 deletions
diff --git a/test/lld/em_asm_shared.wat.out b/test/lld/em_asm_shared.wat.out
index d7d480866..ac15b0fd9 100644
--- a/test/lld/em_asm_shared.wat.out
+++ b/test/lld/em_asm_shared.wat.out
@@ -17,7 +17,7 @@
(global $global$2 i32 (i32.const 4))
(global $global$3 i32 (i32.const 6))
(global $global$4 i32 (i32.const 90))
- (data $.data (global.get $__memory_base) "\00ii\00i\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00")
+ (data $.data (global.get $__memory_base) "\00ii\00i\00{ Module.print(\"Hello world\"); }\00{ return $0 + $1; }\00{ Module.print(\"Got \" + $0); }\00")
(export "__wasm_call_ctors" (func $__wasm_call_ctors))
(export "__wasm_apply_data_relocs" (func $__wasm_apply_data_relocs))
(export "__original_main" (func $__original_main))
@@ -25,6 +25,8 @@
(export "_ZN20__em_asm_sig_builderI19__em_asm_type_tupleIJiiEEE6bufferE" (global $global$1))
(export "_ZN20__em_asm_sig_builderI19__em_asm_type_tupleIJiEEE6bufferE" (global $global$2))
(export "main" (func $main))
+ (export "__start_em_asm" (global $global$3))
+ (export "__stop_em_asm" (global $global$4))
(func $__wasm_call_ctors
(nop)
)
@@ -122,7 +124,9 @@
"namedGlobals": {
"_ZN20__em_asm_sig_builderI19__em_asm_type_tupleIJEEE6bufferE" : "0",
"_ZN20__em_asm_sig_builderI19__em_asm_type_tupleIJiiEEE6bufferE" : "1",
- "_ZN20__em_asm_sig_builderI19__em_asm_type_tupleIJiEEE6bufferE" : "4"
+ "_ZN20__em_asm_sig_builderI19__em_asm_type_tupleIJiEEE6bufferE" : "4",
+ "__start_em_asm" : "6",
+ "__stop_em_asm" : "90"
},
"invokeFuncs": [
],