aboutsummaryrefslogtreecommitdiff
path: root/lib/std/Build/Step
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2024-10-08 23:41:39 -0700
committerAndrew Kelley <andrew@ziglang.org>2024-10-09 15:40:59 -0700
commitc86a334d43c1818ed19eb403f88e61e38bbf20d6 (patch)
tree2fdfd31e19d6acb4ee3deb4ee873e10b161cdfb1 /lib/std/Build/Step
parent10cb578e4e16bac44055f277cd06baaf99b159b6 (diff)
downloadzig-c86a334d43c1818ed19eb403f88e61e38bbf20d6.tar.gz
zig-c86a334d43c1818ed19eb403f88e61e38bbf20d6.zip
link.Elf.Object.initAtoms: reduce state access and indirection
The initAtoms function now only uses the `elf_file` parameter for reporting linker error messages, making it easier to see that the function has no data dependencies other than the Object struct itself, making it easier to parallelize or otherwise move that logic around. Also removed an indirect call via `addExtra` since we already know the atom's file is the current Object instance. All calls to `Atom.addExtra` should be audited for similar reasons. Also removed unjustified use of `inline fn`.
Diffstat (limited to 'lib/std/Build/Step')
0 files changed, 0 insertions, 0 deletions