summaryrefslogtreecommitdiff
path: root/test/lld/shared_longjmp.wat
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2020-05-18 12:49:36 -0400
committerGitHub <noreply@github.com>2020-05-18 09:49:36 -0700
commit86697b641baf3d54dd4c3e0331d5ccec47a33efc (patch)
treef645eb4f8ce2bce3287b77cef479ee6a731998d4 /test/lld/shared_longjmp.wat
parentb3275eb89f086b3a2b0effbafa3b38b4f6ce4ef6 (diff)
downloadbinaryen-86697b641baf3d54dd4c3e0331d5ccec47a33efc.tar.gz
binaryen-86697b641baf3d54dd4c3e0331d5ccec47a33efc.tar.bz2
binaryen-86697b641baf3d54dd4c3e0331d5ccec47a33efc.zip
Machine-generated update of lld tests (#2856)
This change was generated by running: $ ./scripts/test/generate_lld_tests.py --binaryen-bin=$PWD/../binaryen-out/bin/ $PWD/../llvm-build/bin/ $PWD/../emscripten Then: $ ./auto_update_tests.py --binaryen-bin=../binaryen-out/bin/ lld
Diffstat (limited to 'test/lld/shared_longjmp.wat')
-rw-r--r--test/lld/shared_longjmp.wat28
1 files changed, 16 insertions, 12 deletions
diff --git a/test/lld/shared_longjmp.wat b/test/lld/shared_longjmp.wat
index b5179676c..d80e51623 100644
--- a/test/lld/shared_longjmp.wat
+++ b/test/lld/shared_longjmp.wat
@@ -1,12 +1,12 @@
(module
- (type $0 (func (param i32) (result i32)))
- (type $1 (func (param i32 i32 i32 i32) (result i32)))
- (type $2 (func (result i32)))
- (type $3 (func (param i32 i32)))
- (type $4 (func (param i32 i32 i32)))
- (type $5 (func (param i32 i32 i32) (result i32)))
- (type $6 (func (param i32)))
- (type $7 (func))
+ (type $none_=>_none (func))
+ (type $i32_=>_none (func (param i32)))
+ (type $i32_i32_=>_none (func (param i32 i32)))
+ (type $i32_i32_i32_=>_none (func (param i32 i32 i32)))
+ (type $none_=>_i32 (func (result i32)))
+ (type $i32_=>_i32 (func (param i32) (result i32)))
+ (type $i32_i32_i32_=>_i32 (func (param i32 i32 i32) (result i32)))
+ (type $i32_i32_i32_i32_=>_i32 (func (param i32 i32 i32 i32) (result i32)))
(import "env" "memory" (memory $0 0))
(data (global.get $gimport$2) "\00\00\00\00\00\00\00\00")
(import "env" "__indirect_function_table" (table $timport$1 0 funcref))
@@ -30,12 +30,12 @@
(export "_start" (func $2))
(export "__THREW__" (global $global$0))
(export "__threwValue" (global $global$1))
- (func $0 (; 9 ;) (type $7)
+ (func $0
(call $1)
)
- (func $1 (; 10 ;) (type $7)
+ (func $1
)
- (func $2 (; 11 ;) (type $7)
+ (func $2
(local $0 i32)
(local $1 i32)
(local $2 i32)
@@ -138,7 +138,11 @@
)
(unreachable)
)
- ;; custom section "dylink", size 5
+ ;; dylink section
+ ;; memorysize: 8
+ ;; memoryalignment: 2
+ ;; tablesize: 0
+ ;; tablealignment: 0
;; custom section "producers", size 112
)