diff options
author | Alon Zakai <azakai@google.com> | 2019-06-07 11:05:30 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-07 11:05:30 -0700 |
commit | cac94c5aece24855c2d8cdc73e75f7f5abb29cd2 (patch) | |
tree | dae61541d5d48a4714037bc3a4c138e8666496e6 /test/debugInfo.fromasm.read-written | |
parent | 5f252c3a6c2129a3f86e00401806b74bc2f266df (diff) | |
download | binaryen-cac94c5aece24855c2d8cdc73e75f7f5abb29cd2.tar.gz binaryen-cac94c5aece24855c2d8cdc73e75f7f5abb29cd2.tar.bz2 binaryen-cac94c5aece24855c2d8cdc73e75f7f5abb29cd2.zip |
Copy debug info when inlining (#2168)
Diffstat (limited to 'test/debugInfo.fromasm.read-written')
-rw-r--r-- | test/debugInfo.fromasm.read-written | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test/debugInfo.fromasm.read-written b/test/debugInfo.fromasm.read-written index 2cc9a03de..362d828a3 100644 --- a/test/debugInfo.fromasm.read-written +++ b/test/debugInfo.fromasm.read-written @@ -11,6 +11,7 @@ (export "fib" (func $fib)) (export "switch_reach" (func $switch_reach)) (export "nofile" (func $nofile)) + (export "inlineInto" (func $inlineInto)) (func $add (; 0 ;) (type $0) (param $0 i32) (param $1 i32) (result i32) ;;@ tests/other_file.cpp:314159:0 (i32.add @@ -175,5 +176,21 @@ ;;@ (unknown):1337:0 (call $nofile) ) + (func $inlineInto (; 6 ;) (type $0) (param $0 i32) (param $1 i32) (result i32) + ;;@ inline_me.c:120:0 + (i32.add + (local.tee $0 + (i32.add + (local.get $0) + (local.get $1) + ) + ) + (i32.add + (local.get $0) + (local.get $1) + ) + ) + ;;@ inline_me.c:125:0 + ) ) |