aboutsummaryrefslogtreecommitdiff
path: root/src/codegen/spirv/Module.zig
diff options
context:
space:
mode:
authorAlex Rønne Petersen <alex@alexrp.com>2024-11-23 02:37:46 +0100
committerAlex Rønne Petersen <alex@alexrp.com>2024-11-23 03:10:58 +0100
commitfc8a4c445d6f01ad0e0dab21129fa1594c55aae8 (patch)
tree157e075d2b741a5eb45d4a1c5d3c169608fadc36 /src/codegen/spirv/Module.zig
parentcc73d7ad749df8d53da442faa2e7af5d69357b33 (diff)
downloadzig-fc8a4c445d6f01ad0e0dab21129fa1594c55aae8.tar.gz
zig-fc8a4c445d6f01ad0e0dab21129fa1594c55aae8.zip
gen_stubs: Require less manual intervention and produce better output.
The tool will now skip over undefined symbols. These can only occur as a result of building musl without compiler-rt, i.e. -rtlib=none. Thanks to this, it's no longer necessary to patch Zig's compiler-rt, nor is it necessary to maintain a symbol blacklist. See the updated instructions here: https://github.com/ziglang/zig/wiki/Updating-libc#updating-the-libcs-file Additionally, the tool now produces slightly more compact output by recognizing symbols that are defined for a single arch, for a family of arches, or only for arches using 32-bit or 64-bit time as their primary ABI. Finally, the tool now supports all architectures that we can emit code for, with the single exception of x86_64-linux-muslx32. (x32 currently fails with a ton of relocation errors, leading me to believe that it might be an LLVM or LLD bug.)
Diffstat (limited to 'src/codegen/spirv/Module.zig')
0 files changed, 0 insertions, 0 deletions