diff options
| author | Luuk de Gram <luuk@degram.dev> | 2022-09-04 21:00:44 +0200 |
|---|---|---|
| committer | Luuk de Gram <luuk@degram.dev> | 2022-09-07 18:53:16 +0200 |
| commit | f2c8d09c4f743f4172e0a0a6f0fd59a96e56386d (patch) | |
| tree | b6d34647df04407a67339920cae7c986788c2c0a /src/zig_llvm.cpp | |
| parent | b2718e213ed7e7cd8bcd85bdf49d7ae33c857c58 (diff) | |
| download | zig-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/zig_llvm.cpp')
0 files changed, 0 insertions, 0 deletions
