aboutsummaryrefslogtreecommitdiff
path: root/src/codegen/spirv.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2024-10-11 01:15:30 -0700
committerAndrew Kelley <andrew@ziglang.org>2024-10-11 10:36:19 -0700
commit13fb68c064900cee67583e603d8c2acf41770663 (patch)
tree537e524b28610d80f2553d1b124f67b4656fb80a /src/codegen/spirv.zig
parent5e53203e82bdeb0273160db156050164c5c69267 (diff)
downloadzig-13fb68c064900cee67583e603d8c2acf41770663.tar.gz
zig-13fb68c064900cee67583e603d8c2acf41770663.zip
link: consolidate diagnostics
By organizing linker diagnostics into this struct, it becomes possible to share more code between linker backends, and more importantly it becomes possible to pass only the Diag struct to some functions, rather than passing the entire linker state object in. This makes data dependencies more obvious, making it easier to rearrange code and to multithread. Also fix MachO code abusing an atomic variable. Not only was it using the wrong atomic operation, it is unnecessary additional state since the state is already being protected by a mutex.
Diffstat (limited to 'src/codegen/spirv.zig')
0 files changed, 0 insertions, 0 deletions