diff options
author | Alon Zakai <alonzakai@gmail.com> | 2017-12-05 10:55:29 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-05 10:55:29 -0800 |
commit | 82d8dc7a9f5ca1c7989ab227bf32edfcd7e4a3c1 (patch) | |
tree | 4c80e609349117435eccccdc1a304c011078b029 /test/debugInfo.fromasm.no-opts | |
parent | 42acc22254c89b035bbaba512c86c1784545278d (diff) | |
download | binaryen-82d8dc7a9f5ca1c7989ab227bf32edfcd7e4a3c1.tar.gz binaryen-82d8dc7a9f5ca1c7989ab227bf32edfcd7e4a3c1.tar.bz2 binaryen-82d8dc7a9f5ca1c7989ab227bf32edfcd7e4a3c1.zip |
Handle debug info without a filename in asm2wasm (#1249)
* support debug info without a filename in asm2wasm input (which can happen if llvm doesn't know the file, only the line)
Diffstat (limited to 'test/debugInfo.fromasm.no-opts')
-rw-r--r-- | test/debugInfo.fromasm.no-opts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/debugInfo.fromasm.no-opts b/test/debugInfo.fromasm.no-opts index 8e4ebdd3f..83e1c4ec0 100644 --- a/test/debugInfo.fromasm.no-opts +++ b/test/debugInfo.fromasm.no-opts @@ -10,6 +10,7 @@ (export "opts" (func $opts)) (export "fib" (func $fib)) (export "switch_reach" (func $switch_reach)) + (export "nofile" (func $nofile)) (func $add (; 0 ;) (param $x i32) (param $y i32) (result i32) ;;@ tests/hello_world.c:5:0 (set_local $x @@ -282,4 +283,8 @@ (get_local $$rc$0) ) ) + (func $nofile (; 6 ;) + ;;@ (unknown):1337:0 + (call $nofile) + ) ) |