diff options
Diffstat (limited to 'test/lit/debug/source-map-stop.wast')
-rw-r--r-- | test/lit/debug/source-map-stop.wast | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/lit/debug/source-map-stop.wast b/test/lit/debug/source-map-stop.wast index d075d5686..cdc06505e 100644 --- a/test/lit/debug/source-map-stop.wast +++ b/test/lit/debug/source-map-stop.wast @@ -3,6 +3,11 @@ ;; RUN: wasm-opt %s -g -o %t.wasm -osm %t.wasm.map ;; RUN: wasm-opt %t.wasm -ism %t.wasm.map -S -o - | filecheck %s +;; Also test with StackIR, which should have identical results. +;; +;; RUN: wasm-opt %s --generate-stack-ir -o %t.wasm -osm %t.map -g -q +;; RUN: wasm-opt %t.wasm -ism %t.map -q -o - -S | filecheck %s + ;; Verify that writing to a source map and reading it back does not "smear" ;; debug info across adjacent instructions. The debug info in the output should ;; be identical to the input. |