Resolve wasm traps to unit source
This commit is contained in:
@@ -31,9 +31,13 @@ UCE expects these executables on each deployment host:
|
||||
/opt/wasi-sdk/bin/wasm-ld
|
||||
/opt/wasi-sdk/bin/llvm-objcopy
|
||||
/opt/wasi-sdk/bin/llvm-nm
|
||||
/opt/wasi-sdk/bin/llvm-dwarfdump
|
||||
```
|
||||
|
||||
`llvm-nm` is used by `scripts/check_unit_wasm.py`, which is called by `scripts/compile_wasm_unit` after linking each unit.
|
||||
`llvm-dwarfdump` is used at unit compile time to extract the compact, out-of-band
|
||||
source map before debug sections are stripped from the runtime artifact. The
|
||||
map is consulted only on a wasm trap.
|
||||
|
||||
## Upgrade policy
|
||||
|
||||
|
||||
Reference in New Issue
Block a user