summaryrefslogtreecommitdiff
path: root/test/lit/source-map.wast
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2023-02-28 14:24:08 -0800
committerGitHub <noreply@github.com>2023-02-28 14:24:08 -0800
commit62e0b2f3e25629a8f18c725fbf2787fad292e26e (patch)
tree2ab98eb4826fbfc694ca690787f219237bb08792 /test/lit/source-map.wast
parentedc278476167b50e3f07bf38d0523707fff749f6 (diff)
downloadbinaryen-62e0b2f3e25629a8f18c725fbf2787fad292e26e.tar.gz
binaryen-62e0b2f3e25629a8f18c725fbf2787fad292e26e.tar.bz2
binaryen-62e0b2f3e25629a8f18c725fbf2787fad292e26e.zip
Emit source map information for control flow structures (#5524)
With this, the sourcemap testcase outputs the exact same thing as the input. Followup to #5504
Diffstat (limited to 'test/lit/source-map.wast')
-rw-r--r--test/lit/source-map.wast3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/lit/source-map.wast b/test/lit/source-map.wast
index a0e969c23..fcb5e1dd3 100644
--- a/test/lit/source-map.wast
+++ b/test/lit/source-map.wast
@@ -26,8 +26,9 @@
)
;; CHECK: (func $foo (param $x i32) (param $y i32)
-;; CHECK-NEXT: ;;@ src.cpp:20:1
+;; CHECK-NEXT: ;;@ src.cpp:10:1
;; CHECK-NEXT: (if
+;; CHECK-NEXT: ;;@ src.cpp:20:1
;; CHECK-NEXT: (i32.add
;; CHECK-NEXT: ;;@ src.cpp:30:1
;; CHECK-NEXT: (local.get $x)