Skip to content

Addr2line enhance 2#4974

Merged
lum1n0us merged 1 commit into
bytecodealliance:mainfrom
TianlongLiang:addr2line_enhance_2
Jul 16, 2026
Merged

Addr2line enhance 2#4974
lum1n0us merged 1 commit into
bytecodealliance:mainfrom
TianlongLiang:addr2line_enhance_2

Conversation

@TianlongLiang

Copy link
Copy Markdown
Contributor

No description provided.

- README: document the --mode flag and inline expansion behavior, and
  point to the tool README for the interval-table overlay rationale.
- symbolicate.sh: pass --mode aot for the AOT call-stack invocation.
- verify.sh (new): assertion-based smoke test that runs the existing
  symbolicate.sh and grep-checks for inline expansion (trap_helper)
  in both the wasm and AOT outputs. Replaces the inline assertions
  the CI step previously carried.
- wasm-apps/trap.c: add a trap_helper marked __attribute__((always_inline))
  that the trap site falls inside, so addr2line.py can demonstrate
  inline-frame annotation against this sample.

Depends on the addr2line.py refactor (--mode flag).

@lum1n0us lum1n0us left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Depends on upgraded wasi-sdk provided by #4977

@lum1n0us
lum1n0us merged commit eb9cc24 into bytecodealliance:main Jul 16, 2026
498 of 501 checks passed
@lum1n0us lum1n0us mentioned this pull request Jul 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants