Skip to content

edr_solidity: parse solx DWARF debug info for Solidity stack traces#1425

Open
marianfe wants to merge 11 commits into
mainfrom
feat/solx-dwarf-debug-info
Open

edr_solidity: parse solx DWARF debug info for Solidity stack traces#1425
marianfe wants to merge 11 commits into
mainfrom
feat/solx-dwarf-debug-info

Conversation

@marianfe

@marianfe marianfe commented May 18, 2026

Copy link
Copy Markdown

Adds a DWARF v5 parser for solx-built artifacts so EDR can render Solidity stack traces for tests compiled with solx 0.1.4+. Routes between the solc source-map decoder and the new DWARF decoder based on the existence of the debugInfo field; existing solc artifacts decode unchanged.

Companion hardhat-solx plugin PR: NomicFoundation/hardhat#8296

Notes for Reviewer

Could someone please have a cursory look at the following topics:

  • DWARF Parser
  • Connecting to compiler.rs
  • Test infra + test cases (should we skip the sweep tests that compare solc to solx in the CI? currently skipped)

Recommend reviewing by commit

Loading
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.

3 participants