Repository navigation
Changed
-
LocalFunction::original_rangeandCodeTransform::function_rangesnow
start at the function body, after the body's size, rather than at the size. -
CodeTransform::code_section_startis 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.