alexcrichton opened PR #2085 from refactor-debuginfo
to main
:
This commit updates debuginfo parsing to happen during the main
translation of the original wasm module. This avoid re-parsing the wasm
module twice (at least the section-level headers). Additionally this
ties debuginfo directly to aModuleTranslation
which makes it easier
to process debuginfo for nested modules in the upcoming module linking
proposal.The changes here are summarized by taking the
read_debuginfo
function
and merging it with the main module translation that happens which is
driven by cranelift. Some new hooks were added to the module environment
trait to support this, but most of it was integrating with existing hooks.
alexcrichton requested yurydelendik for a review on PR #2085.
bjorn3 submitted PR Review.
bjorn3 submitted PR Review.
bjorn3 created PR Review Comment:
*starts
alexcrichton updated PR #2085 from refactor-debuginfo
to main
:
This commit updates debuginfo parsing to happen during the main
translation of the original wasm module. This avoid re-parsing the wasm
module twice (at least the section-level headers). Additionally this
ties debuginfo directly to aModuleTranslation
which makes it easier
to process debuginfo for nested modules in the upcoming module linking
proposal.The changes here are summarized by taking the
read_debuginfo
function
and merging it with the main module translation that happens which is
driven by cranelift. Some new hooks were added to the module environment
trait to support this, but most of it was integrating with existing hooks.
yurydelendik submitted PR Review.
alexcrichton merged PR #2085.
Last updated: Nov 22 2024 at 17:03 UTC