summaryrefslogtreecommitdiff
path: root/test/binaryen.js/debug-info.js.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/binaryen.js/debug-info.js.txt')
-rw-r--r--test/binaryen.js/debug-info.js.txt33
1 files changed, 33 insertions, 0 deletions
diff --git a/test/binaryen.js/debug-info.js.txt b/test/binaryen.js/debug-info.js.txt
new file mode 100644
index 000000000..8825b135f
--- /dev/null
+++ b/test/binaryen.js/debug-info.js.txt
@@ -0,0 +1,33 @@
+=== default ===
+debugInfo=false
+(module
+ (type $0 (func))
+ (memory $0 0)
+ (export "test" (func $0))
+ (func $0 (; 0 ;) (type $0)
+ (nop)
+ )
+)
+
+=== with debug info ===
+debugInfo=true
+(module
+ (type $0 (func))
+ (memory $0 0)
+ (export "test" (func $test))
+ (func $test (; 0 ;) (type $0)
+ (nop)
+ )
+)
+
+=== without debug info ===
+debugInfo=false
+(module
+ (type $0 (func))
+ (memory $0 0)
+ (export "test" (func $0))
+ (func $0 (; 0 ;) (type $0)
+ (nop)
+ )
+)
+