Skip to content

0.28.0

Latest

Choose a tag to compare

@github-actions github-actions released this 03 Nov 05:16
· 7 commits to main since this release
6fc4be9

Changed

  • LocalFunction::original_range and CodeTransform::function_ranges now
    start at the function body, after the body's size, rather than at the size.

  • CodeTransform::code_section_start is now the start of the code section's
    contents, at the function count, for any number of functions. It was
    previously two bytes before the first function's size.

Fixed

  • DWARF code addresses are no longer one byte off in modules with fewer than
    128 or with 16,384 or more functions. The emitted DWARF assumed that the
    code section's function count takes two bytes.

  • A function's DWARF start address no longer moves when walrus emits its
    body's size in a different number of bytes than the original module did,
    as when re-encoding shrinks or grows a body across 128 or 16,384 bytes.

  • A function's DWARF start address is no longer moved into its local
    declarations when a transform adds locals to a function that had none.