From cefbbfadae87135ff37fb4fc1058c6baf8de0140 Mon Sep 17 00:00:00 2001 From: Yury Delendik Date: Mon, 17 Sep 2018 10:05:43 -0500 Subject: 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 --- test/fn_prolog_epilog.debugInfo.wast.fromBinary | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 test/fn_prolog_epilog.debugInfo.wast.fromBinary (limited to 'test/fn_prolog_epilog.debugInfo.wast.fromBinary') diff --git a/test/fn_prolog_epilog.debugInfo.wast.fromBinary b/test/fn_prolog_epilog.debugInfo.wast.fromBinary new file mode 100644 index 000000000..735a9dbcf --- /dev/null +++ b/test/fn_prolog_epilog.debugInfo.wast.fromBinary @@ -0,0 +1,13 @@ +(module + (type $0 (func)) + (func $0 (; 0 ;) (type $0) + (nop) + (block $label$1 + (block $label$2 + (br $label$2) + ) + ) + (return) + ) +) + -- cgit v1.2.3