diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/binaryen.js/sourcemap.js.txt | 2 | ||||
-rw-r--r-- | test/debugInfo.fromasm.clamp.map | 2 | ||||
-rw-r--r-- | test/debugInfo.fromasm.clamp.no-opts.map | 2 | ||||
-rw-r--r-- | test/debugInfo.fromasm.imprecise.map | 2 | ||||
-rw-r--r-- | test/debugInfo.fromasm.imprecise.no-opts.map | 2 | ||||
-rw-r--r-- | test/debugInfo.fromasm.map | 2 | ||||
-rw-r--r-- | test/debugInfo.fromasm.no-opts.map | 2 | ||||
-rw-r--r-- | test/debugInfo.fromasm.read-written | 29 |
8 files changed, 22 insertions, 21 deletions
diff --git a/test/binaryen.js/sourcemap.js.txt b/test/binaryen.js/sourcemap.js.txt index 0065a09db..edb2d86a7 100644 --- a/test/binaryen.js/sourcemap.js.txt +++ b/test/binaryen.js/sourcemap.js.txt @@ -5,4 +5,4 @@ module.c 020: u r c e M a p p i n g U R L 0f m 030: o d u l e . w a s m . m a p -{"version":3,"sources":["module.c"],"names":[],"mappings":"gCAAE"} +{"version":3,"sources":["module.c"],"names":[],"mappings":"wBAAE"} diff --git a/test/debugInfo.fromasm.clamp.map b/test/debugInfo.fromasm.clamp.map index c16ed9483..0f4b9aca9 100644 --- a/test/debugInfo.fromasm.clamp.map +++ b/test/debugInfo.fromasm.clamp.map @@ -1 +1 @@ -{"version":3,"sources":["tests/hello_world.c","tests/other_file.cpp","return.cpp","even-opted.cpp","fib.c","/tmp/emscripten_test_binaryen2_28hnAe/src.c","(unknown)"],"names":[],"mappings":"0IC8ylTA,QC7vlTA,OAkDA,wBCnGA,OACA,OACA,cCAA,kBAKA,QAJA,OADA,0BAKA,wECsi1DA,KCrvyDA"}
\ No newline at end of file +{"version":3,"sources":["tests/hello_world.c","tests/other_file.cpp","return.cpp","even-opted.cpp","fib.c","/tmp/emscripten_test_binaryen2_28hnAe/src.c","(unknown)"],"names":[],"mappings":"mIC8ylTA,QC7vlTA,OAkDA,wBCnGA,OACA,OACA,cCAA,kBAKA,QAJA,OADA,0BAKA,wECsi1DA,KCrvyDA"}
\ No newline at end of file diff --git a/test/debugInfo.fromasm.clamp.no-opts.map b/test/debugInfo.fromasm.clamp.no-opts.map index dc7e479dd..14e4f4e73 100644 --- a/test/debugInfo.fromasm.clamp.no-opts.map +++ b/test/debugInfo.fromasm.clamp.no-opts.map @@ -1 +1 @@ -{"version":3,"sources":["tests/hello_world.c","tests/other_file.cpp","return.cpp","even-opted.cpp","fib.c","/tmp/emscripten_test_binaryen2_28hnAe/src.c","(unknown)"],"names":[],"mappings":"0LAIA,IACA,ICyylTA,aC7vlTA,OAkDA,0BCnGA,OACA,OACA,uBCAA,4BAKA,QAJA,OADA,8CAKA,yICsi1DA,OCrvyDA"}
\ No newline at end of file +{"version":3,"sources":["tests/hello_world.c","tests/other_file.cpp","return.cpp","even-opted.cpp","fib.c","/tmp/emscripten_test_binaryen2_28hnAe/src.c","(unknown)"],"names":[],"mappings":"mLAIA,IACA,ICyylTA,aC7vlTA,OAkDA,0BCnGA,OACA,OACA,uBCAA,4BAKA,QAJA,OADA,8CAKA,0ICsi1DA,MCrvyDA"}
\ No newline at end of file diff --git a/test/debugInfo.fromasm.imprecise.map b/test/debugInfo.fromasm.imprecise.map index f70ea494b..9e6ef8390 100644 --- a/test/debugInfo.fromasm.imprecise.map +++ b/test/debugInfo.fromasm.imprecise.map @@ -1 +1 @@ -{"version":3,"sources":["tests/hello_world.c","tests/other_file.cpp","return.cpp","even-opted.cpp","fib.c","/tmp/emscripten_test_binaryen2_28hnAe/src.c","(unknown)"],"names":[],"mappings":"mGC8ylTA,QC7vlTA,OAkDA,QCnGA,OACA,OACA,aCAA,kBAKA,QAJA,OADA,0BAKA,wECsi1DA,KCrvyDA"}
\ No newline at end of file +{"version":3,"sources":["tests/hello_world.c","tests/other_file.cpp","return.cpp","even-opted.cpp","fib.c","/tmp/emscripten_test_binaryen2_28hnAe/src.c","(unknown)"],"names":[],"mappings":"4FC8ylTA,QC7vlTA,OAkDA,QCnGA,OACA,OACA,aCAA,kBAKA,QAJA,OADA,0BAKA,wECsi1DA,KCrvyDA"}
\ No newline at end of file diff --git a/test/debugInfo.fromasm.imprecise.no-opts.map b/test/debugInfo.fromasm.imprecise.no-opts.map index e37a63acc..f28541fa2 100644 --- a/test/debugInfo.fromasm.imprecise.no-opts.map +++ b/test/debugInfo.fromasm.imprecise.no-opts.map @@ -1 +1 @@ -{"version":3,"sources":["tests/hello_world.c","tests/other_file.cpp","return.cpp","even-opted.cpp","fib.c","/tmp/emscripten_test_binaryen2_28hnAe/src.c","(unknown)"],"names":[],"mappings":"yLAIA,IACA,ICyylTA,aC7vlTA,OAkDA,SCnGA,OACA,OACA,sBCAA,4BAKA,QAJA,OADA,8CAKA,yICsi1DA,OCrvyDA"}
\ No newline at end of file +{"version":3,"sources":["tests/hello_world.c","tests/other_file.cpp","return.cpp","even-opted.cpp","fib.c","/tmp/emscripten_test_binaryen2_28hnAe/src.c","(unknown)"],"names":[],"mappings":"kLAIA,IACA,ICyylTA,aC7vlTA,OAkDA,SCnGA,OACA,OACA,sBCAA,4BAKA,QAJA,OADA,8CAKA,0ICsi1DA,MCrvyDA"}
\ No newline at end of file diff --git a/test/debugInfo.fromasm.map b/test/debugInfo.fromasm.map index c16ed9483..0f4b9aca9 100644 --- a/test/debugInfo.fromasm.map +++ b/test/debugInfo.fromasm.map @@ -1 +1 @@ -{"version":3,"sources":["tests/hello_world.c","tests/other_file.cpp","return.cpp","even-opted.cpp","fib.c","/tmp/emscripten_test_binaryen2_28hnAe/src.c","(unknown)"],"names":[],"mappings":"0IC8ylTA,QC7vlTA,OAkDA,wBCnGA,OACA,OACA,cCAA,kBAKA,QAJA,OADA,0BAKA,wECsi1DA,KCrvyDA"}
\ No newline at end of file +{"version":3,"sources":["tests/hello_world.c","tests/other_file.cpp","return.cpp","even-opted.cpp","fib.c","/tmp/emscripten_test_binaryen2_28hnAe/src.c","(unknown)"],"names":[],"mappings":"mIC8ylTA,QC7vlTA,OAkDA,wBCnGA,OACA,OACA,cCAA,kBAKA,QAJA,OADA,0BAKA,wECsi1DA,KCrvyDA"}
\ No newline at end of file diff --git a/test/debugInfo.fromasm.no-opts.map b/test/debugInfo.fromasm.no-opts.map index dc7e479dd..14e4f4e73 100644 --- a/test/debugInfo.fromasm.no-opts.map +++ b/test/debugInfo.fromasm.no-opts.map @@ -1 +1 @@ -{"version":3,"sources":["tests/hello_world.c","tests/other_file.cpp","return.cpp","even-opted.cpp","fib.c","/tmp/emscripten_test_binaryen2_28hnAe/src.c","(unknown)"],"names":[],"mappings":"0LAIA,IACA,ICyylTA,aC7vlTA,OAkDA,0BCnGA,OACA,OACA,uBCAA,4BAKA,QAJA,OADA,8CAKA,yICsi1DA,OCrvyDA"}
\ No newline at end of file +{"version":3,"sources":["tests/hello_world.c","tests/other_file.cpp","return.cpp","even-opted.cpp","fib.c","/tmp/emscripten_test_binaryen2_28hnAe/src.c","(unknown)"],"names":[],"mappings":"mLAIA,IACA,ICyylTA,aC7vlTA,OAkDA,0BCnGA,OACA,OACA,uBCAA,4BAKA,QAJA,OADA,8CAKA,0ICsi1DA,MCrvyDA"}
\ No newline at end of file diff --git a/test/debugInfo.fromasm.read-written b/test/debugInfo.fromasm.read-written index 2ea421bfc..63f356c1b 100644 --- a/test/debugInfo.fromasm.read-written +++ b/test/debugInfo.fromasm.read-written @@ -12,55 +12,53 @@ (export "switch_reach" (func $switch_reach)) (export "nofile" (func $nofile)) (func $add (; 0 ;) (type $0) (param $var$0 i32) (param $var$1 i32) (result i32) + ;;@ tests/other_file.cpp:314159:0 (i32.add (get_local $var$1) (get_local $var$1) ) ) (func $ret (; 1 ;) (type $1) (param $var$0 i32) (result i32) + ;;@ return.cpp:50:0 (set_local $var$0 (i32.shl (get_local $var$0) (i32.const 1) ) ) - ;;@ tests/other_file.cpp:314159:0 + ;;@ return.cpp:100:0 (i32.add (get_local $var$0) (i32.const 1) ) ) (func $i32s-rem (; 2 ;) (type $0) (param $var$0 i32) (param $var$1 i32) (result i32) - ;;@ return.cpp:100:0 (if (result i32) - ;;@ return.cpp:50:0 (get_local $var$1) - ;;@ return.cpp:100:0 (i32.rem_s - ;;@ return.cpp:50:0 (get_local $var$0) (get_local $var$1) ) - ;;@ return.cpp:100:0 (i32.const 0) ) ) (func $opts (; 3 ;) (type $0) (param $var$0 i32) (param $var$1 i32) (result i32) + ;;@ even-opted.cpp:1:0 (set_local $var$0 (i32.add (get_local $var$0) (get_local $var$1) ) ) + ;;@ even-opted.cpp:2:0 (set_local $var$1 (i32.shr_s (get_local $var$1) (get_local $var$0) ) ) - ;;@ even-opted.cpp:2:0 + ;;@ even-opted.cpp:3:0 (i32.add - ;;@ even-opted.cpp:1:0 (call $i32s-rem (get_local $var$0) (get_local $var$1) @@ -73,9 +71,10 @@ (local $var$2 i32) (local $var$3 i32) (local $var$4 i32) - ;;@ fib.c:3:0 + ;;@ fib.c:8:0 (set_local $var$4 (if (result i32) + ;;@ fib.c:3:0 (i32.gt_s (get_local $var$0) (i32.const 0) @@ -90,35 +89,35 @@ (set_local $var$1 (i32.const 1) ) + ;;@ fib.c:8:0 (return (get_local $var$1) ) ) ) ) + ;;@ fib.c:3:0 (loop $label$3 + ;;@ fib.c:4:0 (set_local $var$1 (i32.add (get_local $var$3) (get_local $var$4) ) ) - ;;@ fib.c:8:0 + ;;@ fib.c:3:0 (set_local $var$2 (i32.add (get_local $var$2) (i32.const 1) ) ) - ;;@ fib.c:3:0 (if - ;;@ fib.c:4:0 (i32.ne (get_local $var$2) (get_local $var$0) ) (block - ;;@ fib.c:3:0 (set_local $var$4 (get_local $var$3) ) @@ -129,11 +128,11 @@ ) ) ) + ;;@ fib.c:8:0 (get_local $var$1) ) (func $switch_reach (; 5 ;) (type $1) (param $var$0 i32) (result i32) (local $var$1 i32) - ;;@ fib.c:8:0 (set_local $var$1 (block $label$1 (result i32) (block $label$2 @@ -183,9 +182,11 @@ (get_local $var$0) ) ) + ;;@ /tmp/emscripten_test_binaryen2_28hnAe/src.c:59950:0 (get_local $var$1) ) (func $nofile (; 6 ;) (type $2) + ;;@ (unknown):1337:0 (call $nofile) ) ) |