summaryrefslogtreecommitdiff
path: root/test/lld
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2023-11-27 11:42:23 -0800
committerGitHub <noreply@github.com>2023-11-27 11:42:23 -0800
commite0314900bcf19be95d59dfdf695874d966f4ef4a (patch)
tree8032efa4bc33ecc5ed31fcf11bbf8dd1677e1ba1 /test/lld
parentc5db74cae9bc0c46065ad1ec9f3ec48772d09784 (diff)
downloadbinaryen-e0314900bcf19be95d59dfdf695874d966f4ef4a.tar.gz
binaryen-e0314900bcf19be95d59dfdf695874d966f4ef4a.tar.bz2
binaryen-e0314900bcf19be95d59dfdf695874d966f4ef4a.zip
[wasm-emscripten-finalize] Remove --separate-data-segments (#6091)
See #6088
Diffstat (limited to 'test/lld')
-rw-r--r--test/lld/em_asm.wat.mem.membin97 -> 0 bytes
-rw-r--r--test/lld/em_asm.wat.mem.out68
-rw-r--r--test/lld/hello_world.wat.mem.membin13 -> 0 bytes
-rw-r--r--test/lld/hello_world.wat.mem.out27
4 files changed, 0 insertions, 95 deletions
diff --git a/test/lld/em_asm.wat.mem.mem b/test/lld/em_asm.wat.mem.mem
deleted file mode 100644
index bc55b6452..000000000
--- a/test/lld/em_asm.wat.mem.mem
+++ /dev/null
Binary files differ
diff --git a/test/lld/em_asm.wat.mem.out b/test/lld/em_asm.wat.mem.out
deleted file mode 100644
index 6647b397c..000000000
--- a/test/lld/em_asm.wat.mem.out
+++ /dev/null
@@ -1,68 +0,0 @@
-(module
- (type $i32_i32_i32_=>_i32 (func (param i32 i32 i32) (result i32)))
- (type $none_=>_none (func))
- (type $none_=>_i32 (func (result i32)))
- (type $i32_i32_=>_i32 (func (param i32 i32) (result i32)))
- (import "env" "emscripten_asm_const_int" (func $emscripten_asm_const_int (param i32 i32 i32) (result i32)))
- (global $__stack_pointer (mut i32) (i32.const 66208))
- (global $global$1 i32 (i32.const 574))
- (global $global$2 i32 (i32.const 665))
- (memory $0 2)
- (table $0 1 1 funcref)
- (export "memory" (memory $0))
- (export "__wasm_call_ctors" (func $__wasm_call_ctors))
- (export "main" (func $main))
- (func $__wasm_call_ctors
- (nop)
- )
- (func $__original_main (result i32)
- (local $0 i32)
- (global.set $__stack_pointer
- (local.tee $0
- (i32.sub
- (global.get $__stack_pointer)
- (i32.const 32)
- )
- )
- )
- (drop
- (call $emscripten_asm_const_int
- (i32.const 574)
- (i32.const 568)
- (i32.const 0)
- )
- )
- (i64.store offset=16
- (local.get $0)
- (i64.const 115964117005)
- )
- (i32.store
- (local.get $0)
- (call $emscripten_asm_const_int
- (i32.const 614)
- (i32.const 569)
- (i32.add
- (local.get $0)
- (i32.const 16)
- )
- )
- )
- (drop
- (call $emscripten_asm_const_int
- (i32.const 634)
- (i32.const 572)
- (local.get $0)
- )
- )
- (global.set $__stack_pointer
- (i32.add
- (local.get $0)
- (i32.const 32)
- )
- )
- (i32.const 0)
- )
- (func $main (param $0 i32) (param $1 i32) (result i32)
- (call $__original_main)
- )
-)
diff --git a/test/lld/hello_world.wat.mem.mem b/test/lld/hello_world.wat.mem.mem
deleted file mode 100644
index 2bc1f1ee6..000000000
--- a/test/lld/hello_world.wat.mem.mem
+++ /dev/null
Binary files differ
diff --git a/test/lld/hello_world.wat.mem.out b/test/lld/hello_world.wat.mem.out
deleted file mode 100644
index c482a7465..000000000
--- a/test/lld/hello_world.wat.mem.out
+++ /dev/null
@@ -1,27 +0,0 @@
-(module
- (type $i32_=>_i32 (func (param i32) (result i32)))
- (type $none_=>_none (func))
- (type $none_=>_i32 (func (result i32)))
- (type $i32_i32_=>_i32 (func (param i32 i32) (result i32)))
- (import "env" "puts" (func $puts (param i32) (result i32)))
- (global $__stack_pointer (mut i32) (i32.const 66128))
- (memory $0 2)
- (table $0 1 1 funcref)
- (export "memory" (memory $0))
- (export "__wasm_call_ctors" (func $__wasm_call_ctors))
- (export "main" (func $main))
- (func $__wasm_call_ctors
- (nop)
- )
- (func $__original_main (result i32)
- (drop
- (call $puts
- (i32.const 568)
- )
- )
- (i32.const 0)
- )
- (func $main (param $0 i32) (param $1 i32) (result i32)
- (call $__original_main)
- )
-)