wasm-micro-runtime/.github/workflows
Enrico Loparco 0e4c4799b1
Get location info from function indexes in addr2line script (#3206)
Update the `addr2line` script so that:
- line info is printed in a more convenient format, e.g.
```
0: c
        at wasm-micro-runtime/test-tools/addr2line/trap.c:5:1
1: b
        at wasm-micro-runtime/test-tools/addr2line/trap.c:11:12
2: a
        at wasm-micro-runtime/test-tools/addr2line/trap.c:17:12
```
similar to how Rust prints stack traces when there's a panic. In an IDE, the user
can conveniently click on the printed path and be redirected to the file line.
- a new `--no-addr` argument can be provided to the script 

It can be used in fast interpreter mode (that is not supported by the script otherwise)
or with older wamr versions (where the stack trace only had the function index info
and not the function address). In that case, `wasm-objdump` is used to get the function
name from the index and `llvm-dwarfdump` to obtain the location info (where the line
refers to the start of the function).
2024-03-08 10:20:04 +08:00
..
build_docker_images.yml CI: Update version of checkout to suppress warnings (#3093) 2024-01-27 07:55:49 +08:00
build_iwasm_release.yml CI: Update version of checkout to suppress warnings (#3093) 2024-01-27 07:55:49 +08:00
build_llvm_libraries.yml CI: Update version of checkout to suppress warnings (#3093) 2024-01-27 07:55:49 +08:00
build_wamr_lldb.yml CI: Update version of checkout to suppress warnings (#3093) 2024-01-27 07:55:49 +08:00
build_wamr_sdk.yml Separate app-manager and app-framework from WAMR (#3129) 2024-02-20 18:12:36 +08:00
build_wamr_vscode_ext.yml CI: Update version of checkout to suppress warnings (#3093) 2024-01-27 07:55:49 +08:00
build_wamrc.yml CI: Update version of checkout to suppress warnings (#3093) 2024-01-27 07:55:49 +08:00
coding_guidelines.yml CI: Update version of checkout to suppress warnings (#3093) 2024-01-27 07:55:49 +08:00
compilation_on_android_ubuntu.yml Get location info from function indexes in addr2line script (#3206) 2024-03-08 10:20:04 +08:00
compilation_on_macos.yml Get location info from function indexes in addr2line script (#3206) 2024-03-08 10:20:04 +08:00
compilation_on_nuttx.yml Separate app-manager and app-framework from WAMR (#3129) 2024-02-20 18:12:36 +08:00
compilation_on_sgx.yml Separate app-manager and app-framework from WAMR (#3129) 2024-02-20 18:12:36 +08:00
compilation_on_windows.yml Separate app-manager and app-framework from WAMR (#3129) 2024-02-20 18:12:36 +08:00
create_tag.yml CI: Update version of checkout to suppress warnings (#3093) 2024-01-27 07:55:49 +08:00
hadolint_dockerfiles.yml CI: Update version of checkout to suppress warnings (#3093) 2024-01-27 07:55:49 +08:00
nightly_run.yml Separate app-manager and app-framework from WAMR (#3129) 2024-02-20 18:12:36 +08:00
release_process.yml Separate app-manager and app-framework from WAMR (#3129) 2024-02-20 18:12:36 +08:00
reuse_latest_release_binaries.yml CI: Update version of checkout to suppress warnings (#3093) 2024-01-27 07:55:49 +08:00
spec_test_on_nuttx.yml Implement GC (Garbage Collection) feature for interpreter, AOT and LLVM-JIT (#3125) 2024-02-06 20:47:11 +08:00