aboutsummaryrefslogtreecommitdiff
path: root/src/Cache.zig
diff options
context:
space:
mode:
authorLuuk de Gram <luuk@degram.dev>2022-09-04 21:00:44 +0200
committerLuuk de Gram <luuk@degram.dev>2022-09-07 18:53:16 +0200
commitf2c8d09c4f743f4172e0a0a6f0fd59a96e56386d (patch)
treeb6d34647df04407a67339920cae7c986788c2c0a /src/Cache.zig
parentb2718e213ed7e7cd8bcd85bdf49d7ae33c857c58 (diff)
downloadzig-f2c8d09c4f743f4172e0a0a6f0fd59a96e56386d.tar.gz
zig-f2c8d09c4f743f4172e0a0a6f0fd59a96e56386d.zip
wasm-linker: Mix Zig -and Object debug atoms
When linking a Zig-compilation with an object file, we allow mixing the debug atoms to make sure debug information is preserved from object files. By default, we now always initialize all debug sections if the `strip` flag is unset. This also fixes relocations for debug information as previously the offset of an atom wasn't calculated, and neither was the code size itself which meant that debug lines were off and file names from other object files were missing.
Diffstat (limited to 'src/Cache.zig')
0 files changed, 0 insertions, 0 deletions