Skip to content

fix: preserve DWARF markers at duplicate PCs - #294

Merged
swananan merged 1 commit into
mainfrom
fix/line-table-statement-selection
Sep 5, 2026
Merged

fix: preserve DWARF markers at duplicate PCs#294
swananan merged 1 commit into
mainfrom
fix/line-table-statement-selection

Conversation

@swananan

@swananan swananan commented Sep 5, 2026

Copy link
Copy Markdown
Owner

Summary

  • inspect every DWARF line row at a PC when selecting prologue_end or the first statement address
  • bound prologue and statement scans to the selected function range
  • add a real GCC DWARF 5 -O3 -gcolumn-info regression and keep cached fixture build flags synchronized

Testing

  • cargo fmt --all -- --check
  • cargo clippy --all-targets --all-features -- -D warnings
  • cargo test -p ghostscope-dwarf index::line_mapping::tests -- --nocapture (18 passed)
  • targeted partitioned-range and duplicate-PC e2e tests passed through the runner service
  • full host-to-host e2e reached the existing rust_script_execution baseline failures (33 passed, 16 failed in that test binary); a representative failure was reproduced on unchanged main

Container-topology e2e was not run because this change does not affect container or PID-namespace behavior.

@swananan
swananan merged commit 1420f7f into main Sep 5, 2026
10 checks passed
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.

1 participant