mirror of https://github.com/WebAssembly/wasi-sdk
Add DWARF debugging information to all artifacts by default (#422)
* Add DWARF debugging information to all artifacts by default This commit adds DWARF debugging information with the `-g` compiler flag to all WASI artifacts for wasi-sdk. The LLVM build itself does not have debugging information, only the sysroot artifacts. This is intended to assist with debugging. The main downside to this is binary size of generated artifacts will, by default, be larger. Stripping debug information from an artifact though involves removing custom sections which is generally pretty easy to do through wasm tooling. * Pass extra cflags to wasi-libc * Fix tests from previous commit * Update some expected error messages and remove some files with duplicate error messages that are no longer needed. * Remove undefined behavior in `stat.c` where padding bytes were being compared.pull/423/head
parent
af429ed157
commit
307694b2fb
@ -1 +1 @@
|
||||
Subproject commit 9e8c542319242a5e536e14e6046de5968d298038
|
||||
Subproject commit 44c4b1e3a58f5c3042fa26dff9c1b29b6fc695b2
|
@ -1,6 +1,7 @@
|
||||
Error: failed to run main module `abort.c.---.wasm`
|
||||
|
||||
Caused by:
|
||||
0: failed to invoke command default
|
||||
0: failed to invoke ---
|
||||
1: error while executing at wasm backtrace:
|
||||
note: using the `WASMTIME_BACKTRACE_DETAILS=1` environment variable may show more debugging information
|
||||
2: wasm trap: wasm `unreachable` instruction executed
|
||||
|
@ -1,6 +0,0 @@
|
||||
Error: failed to run main module `abort.c.---.wasm`
|
||||
|
||||
Caused by:
|
||||
0: failed to invoke `run` function
|
||||
1: error while executing at wasm backtrace:
|
||||
2: wasm trap: wasm `unreachable` instruction executed
|
@ -1,6 +0,0 @@
|
||||
Error: failed to run main module `abort.c.---.wasm`
|
||||
|
||||
Caused by:
|
||||
0: failed to invoke command default
|
||||
1: error while executing at wasm backtrace:
|
||||
2: wasm trap: wasm `unreachable` instruction executed
|
@ -1,6 +0,0 @@
|
||||
Error: failed to run main module `abort.c.---.wasm`
|
||||
|
||||
Caused by:
|
||||
0: failed to invoke `run` function
|
||||
1: error while executing at wasm backtrace:
|
||||
2: wasm trap: wasm `unreachable` instruction executed
|
@ -1,7 +0,0 @@
|
||||
Assertion failed: false (assert-fail.c: main: 5)
|
||||
Error: failed to run main module `assert-fail.c.---.wasm`
|
||||
|
||||
Caused by:
|
||||
0: failed to invoke `run` function
|
||||
1: error while executing at wasm backtrace:
|
||||
2: wasm trap: wasm `unreachable` instruction executed
|
@ -1,7 +0,0 @@
|
||||
Assertion failed: false (assert-fail.c: main: 5)
|
||||
Error: failed to run main module `assert-fail.c.---.wasm`
|
||||
|
||||
Caused by:
|
||||
0: failed to invoke `run` function
|
||||
1: error while executing at wasm backtrace:
|
||||
2: wasm trap: wasm `unreachable` instruction executed
|
Loading…
Reference in new issue