diff options
| author | Jakub Konka <kubkon@jakubkonka.com> | 2022-10-21 23:20:34 +0200 |
|---|---|---|
| committer | Jakub Konka <kubkon@jakubkonka.com> | 2022-10-22 07:59:24 +0200 |
| commit | 086cee844a082bab82dba9e7422067f644930309 (patch) | |
| tree | 290f75decc67ffa008cfb4e5680c0ff730768778 /src/codegen/spirv/Module.zig | |
| parent | 0cc4d54781ca3835e2f83c8ce93b485366a52b2a (diff) | |
| download | zig-086cee844a082bab82dba9e7422067f644930309.tar.gz zig-086cee844a082bab82dba9e7422067f644930309.zip | |
macho: refactor dead code stripping conditions
1. If an object file was not compiled with `MH_SUBSECTIONS_VIA_SYMBOLS`
such a hand-written ASM on x86_64, treat the entire object file as
not suitable for dead code stripping aka a GC root.
2. If there are non-extern relocs within a section, treat the entire
section as a root, at least temporarily until we work out the exact
conditions for marking the atoms live.
Diffstat (limited to 'src/codegen/spirv/Module.zig')
0 files changed, 0 insertions, 0 deletions
