Do not emit debug info by default

This basically flips the --noDebug flag to become a --debug flag, so some optimizations, like inlining, aren't skipped by default, which might be unexpected.
This commit is contained in:
dcodeIO
2018-11-09 12:28:10 +01:00
parent d93ca84aed
commit 4f95dce6e2
72 changed files with 6244 additions and 6197 deletions

View File

@ -1,26 +1,11 @@
(module
(type $i (func (result i32)))
(type $v (func))
(memory $0 0)
(table $0 1 anyfunc)
(elem (i32.const 0) $null)
(global $namespace/Outer.Inner.aVar (mut i32) (i32.const 0))
(elem (i32.const 0) $start)
(export "memory" (memory $0))
(export "table" (table $0))
(start $start)
(func $namespace/Outer.Inner.aFunc (; 0 ;) (type $i) (result i32)
get_global $namespace/Outer.Inner.aVar
)
(func $namespace/Joined.anotherFunc (; 1 ;) (type $i) (result i32)
i32.const 3
)
(func $start (; 2 ;) (type $v)
call $namespace/Outer.Inner.aFunc
drop
call $namespace/Joined.anotherFunc
drop
)
(func $null (; 3 ;) (type $v)
(func $start (; 0 ;) (type $v)
nop
)
)