summaryrefslogtreecommitdiff
path: root/test/lld/reserved_func_ptr.wast
diff options
context:
space:
mode:
Diffstat (limited to 'test/lld/reserved_func_ptr.wast')
-rw-r--r--test/lld/reserved_func_ptr.wast6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/lld/reserved_func_ptr.wast b/test/lld/reserved_func_ptr.wast
index 6a77ec71b..b3c6fd9b3 100644
--- a/test/lld/reserved_func_ptr.wast
+++ b/test/lld/reserved_func_ptr.wast
@@ -7,8 +7,9 @@
(type $5 (func (param i32 i32 i32)))
(type $6 (func (param i32) (result i32)))
(import "env" "_Z4atoiPKc" (func $_Z4atoiPKc (param i32) (result i32)))
- (global $global$0 (mut i32) (i32.const 66560))
- (global $global$1 i32 (i32.const 66560))
+ (global $global$0 (mut i32) (i32.const 66112))
+ (global $global$1 i32 (i32.const 66112))
+ (global $global$2 i32 (i32.const 568))
(table 3 3 anyfunc)
(elem (i32.const 1) $_Z18address_taken_funciii $_Z19address_taken_func2iii)
(memory $0 2)
@@ -16,6 +17,7 @@
(export "__wasm_call_ctors" (func $__wasm_call_ctors))
(export "main" (func $main))
(export "__heap_base" (global $global$1))
+ (export "__data_end" (global $global$2))
(func $_Z18address_taken_funciii (; 1 ;) (type $5) (param $var$0 i32) (param $var$1 i32) (param $var$2 i32)
)
(func $_Z19address_taken_func2iii (; 2 ;) (type $5) (param $var$0 i32) (param $var$1 i32) (param $var$2 i32)