aboutsummaryrefslogtreecommitdiff
path: root/test/cases/compile_errors/setAlignStack_in_inline_function.zig
diff options
context:
space:
mode:
authorLuuk de Gram <luuk@degram.dev>2023-11-22 06:51:50 +0100
committerLuuk de Gram <luuk@degram.dev>2023-11-28 15:47:07 +0100
commit8447d4fb1f5b628b3c0c9f2b1254d8ddc7801ab1 (patch)
tree27215b80d31309497606aeb00a9ae5c0aa1ce2c9 /test/cases/compile_errors/setAlignStack_in_inline_function.zig
parentf7d4f72fd5e3e3026e395f43c5b2b2c3cb49fce2 (diff)
downloadzig-8447d4fb1f5b628b3c0c9f2b1254d8ddc7801ab1.tar.gz
zig-8447d4fb1f5b628b3c0c9f2b1254d8ddc7801ab1.zip
wasm-linker: handle debug info during gc
When we encounter a debug info symbol, we initially have to parse it into an atom to find its relocations. We then go through its relocations to find out if any of the target symbols are marked alive. When it finds an alive symbol, we also mark the debug symbol as alive to ensure this piece of debug info is emit to the binary. When it does not encounter any alive symbols, the debug symbol remains dead and will be garbage- collected during `allocateAtoms`.
Diffstat (limited to 'test/cases/compile_errors/setAlignStack_in_inline_function.zig')
0 files changed, 0 insertions, 0 deletions