summaryrefslogtreecommitdiff
path: root/test/fn_prolog_epilog.debugInfo.wast.fromBinary.noDebugInfo
diff options
context:
space:
mode:
authorYury Delendik <ydelendik@mozilla.com>2018-09-17 10:05:43 -0500
committerGitHub <noreply@github.com>2018-09-17 10:05:43 -0500
commitcefbbfadae87135ff37fb4fc1058c6baf8de0140 (patch)
tree4be93c23ad7cb95623f699a2fff9ef829abc426c /test/fn_prolog_epilog.debugInfo.wast.fromBinary.noDebugInfo
parent403be53fb84645b9338454681792538af876cf87 (diff)
downloadbinaryen-cefbbfadae87135ff37fb4fc1058c6baf8de0140.tar.gz
binaryen-cefbbfadae87135ff37fb4fc1058c6baf8de0140.tar.bz2
binaryen-cefbbfadae87135ff37fb4fc1058c6baf8de0140.zip
Add debug information locations to the function prolog/epilog (#1674)
The current patch: * Preserves the debug locations from function prolog and epilog * Preserves the debug locations of the nested blocks
Diffstat (limited to 'test/fn_prolog_epilog.debugInfo.wast.fromBinary.noDebugInfo')
-rw-r--r--test/fn_prolog_epilog.debugInfo.wast.fromBinary.noDebugInfo13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/fn_prolog_epilog.debugInfo.wast.fromBinary.noDebugInfo b/test/fn_prolog_epilog.debugInfo.wast.fromBinary.noDebugInfo
new file mode 100644
index 000000000..735a9dbcf
--- /dev/null
+++ b/test/fn_prolog_epilog.debugInfo.wast.fromBinary.noDebugInfo
@@ -0,0 +1,13 @@
+(module
+ (type $0 (func))
+ (func $0 (; 0 ;) (type $0)
+ (nop)
+ (block $label$1
+ (block $label$2
+ (br $label$2)
+ )
+ )
+ (return)
+ )
+)
+