0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/lib
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
..
compiler_rt compiler_rt: use default visibility for non-exported symbols 2023-04-15 10:33:08 -07:00
docs Merge pull request #15304 from der-teufel-programming/autodoc-defaults 2023-04-17 20:14:57 +02:00
include update C headers to LLVM 16.0.0 2023-03-18 16:01:09 -07:00
init-exe init-exe/init-lib template: fix use of install() and run() 2023-04-10 18:35:14 -07:00
init-lib init-exe/init-lib template: fix use of install() and run() 2023-04-10 18:35:14 -07:00
libc macos: add missing getopt.h header 2023-04-13 00:19:33 +02:00
libcxx update libcxx to LLVM 16.0.1 2023-04-05 23:22:29 -07:00
libcxxabi update libcxxabi to llvm 16 2023-01-26 16:36:13 -07:00
libunwind update libunwind to llvm 16 2023-01-26 16:36:14 -07:00
std Expose an option for producing 64-bit DWARF format 2023-04-20 14:46:53 -07:00
tsan update libcxx, libcxxabi, libunwind, and tsan to llvm 13 rc1 2021-08-16 23:32:13 -07:00
build_runner.zig delete --prominent-compile-errors from help 2023-03-18 20:13:52 +02:00
c.zig Add support for mips64/mips64el 2023-02-04 15:19:53 -05:00
compiler_rt.zig compiler_rt: declutter int.zig, add mulXi3 tests (#14623) 2023-02-24 13:27:02 -05:00
ssp.zig all: rename i386 to x86 2022-11-04 00:09:27 +03:30
test_runner.zig test runner: remove one superfluous stack frame 2023-03-15 10:48:14 -07:00
zig.h zig.h: fix typo for zig_trap definition 2023-04-08 09:54:32 -07:00