0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/lib/std/Build
David Gonzalez Martin d026202a26 Expose an option for producing 64-bit DWARF format
This commit enables producing 64-bit DWARF format for Zig executables
that are produced through the LLVM backend. This is achieved by exposing
both command-line flags and CompileStep flags. The production of the
64-bit format only affects binaries that use the DWARF format and it is
disabled on MacOS due to it being problematic. This commit, despite
generating the interface for the Zig user to be able to tell the compile
which format is wanted, is just implemented for the LLVM backend, so
clang and the self-hosted backends will need this to be implemented in a
future commit.

This is an effort to work around #7962, since the emission of the 64-bit
format automatically produces 64-bit relocations. Further investigation
will be needed to make DWARF 32-bit format to emit bigger relocations
when needed and not make the linker angry.
History 2023-04-20 14:46:53 -07:00
..
Cache move the cache system from compiler to std lib 2023-02-13 06:42:25 -07:00
Cache.zig Cache: fix multi-process race condition on macOS 2023-04-18 17:53:47 -07:00
CheckFileStep.zig std.Build.CheckFileStep: add a way to expect exact 2023-03-15 10:48:14 -07:00
CheckObjectStep.zig build: allow for deferred FileSource matching in CheckObjectStep 2023-03-23 23:46:53 +01:00
CompileStep.zig Expose an option for producing 64-bit DWARF format 2023-04-20 14:46:53 -07:00
ConfigHeaderStep.zig std.Build.ConfigHeaderStep: integrate with the cache system 2023-03-15 10:48:13 -07:00
FmtStep.zig zig build: many enhancements related to parallel building 2023-03-15 10:48:13 -07:00
InstallArtifactStep.zig std.Build.CompileStep: delete install_step field 2023-04-10 18:35:14 -07:00
InstallDirStep.zig std.Build: audit use of updateFile 2023-03-15 10:48:13 -07:00
InstallFileStep.zig std.Build.InstallFileStep: add missing step dependencies 2023-03-15 10:48:14 -07:00
ObjCopyStep.zig zig objcopy: support the compiler protocol 2023-03-15 10:48:14 -07:00
OptionsStep.zig fix std.Build.OptionsStep 2023-03-19 00:39:29 -04:00
RemoveDirStep.zig std.build.CompileStep: eliminate std.log usage 2023-03-15 10:48:13 -07:00
RunStep.zig CI: more C backend test coverage 2023-04-15 10:33:08 -07:00
Step.zig build-step: remove latest LogStep ref 2023-03-18 15:08:53 -04:00
TranslateCStep.zig CLI: remove --enable-cache option 2023-04-11 08:41:24 -07:00
WriteFileStep.zig make the build runner and test runner talk to each other 2023-03-15 10:48:14 -07:00