0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/lib/std
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
..
atomic update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
Build Expose an option for producing 64-bit DWARF format 2023-04-20 14:46:53 -07:00
c std: freebsd update proposal 2023-04-18 14:59:01 +03:00
compress std.compress.zstandard: fix error sets for streaming API 2023-02-21 22:06:25 +11:00
crypto add explicit error union for Bundle.rescan and associated functions 2023-04-17 19:14:48 -05:00
dwarf wasm: Implement debug info for parameters 2022-05-09 18:51:46 +02:00
event update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
fmt enable more float-parsing tests 2023-03-25 14:09:00 +02:00
fs std: fix memory bugs 2023-04-05 08:23:07 +02:00
hash std.hash: use std.math.rotl in Xxhash64 and Xxhash32 2023-02-21 12:09:27 +11:00
heap std: fix memory bugs 2023-04-05 08:23:07 +02:00
http std.http: add missing InvalidTrailers to ReadError 2023-04-20 12:35:26 +03:00
io std: restrict mem.span() and mem.len() to sentinel terminated pointers 2023-01-29 15:07:06 -05:00
json std.json: support tuples 2023-03-21 15:01:45 +02:00
math math.big.int: remove stale comments 2023-04-18 18:42:02 -07:00
mem split @qualCast into @constCast and @volatileCast 2023-02-15 01:43:57 +02:00
meta Zir: implement explicit block_comptime instruction 2023-04-12 12:06:19 -04:00
net Zir: implement explicit block_comptime instruction 2023-04-12 12:06:19 -04:00
os work around an intermittent io_uring test failure 2023-04-19 22:49:51 -07:00
rand Remove Gimli and Xoodoo from the standard library (#14928) 2023-03-21 04:54:10 +00:00
target std.target.riscv: fix baseline_rv32 missing feature "32bit" 2023-04-18 18:37:15 -07:00
testing std.mem.Allocator: allow shrink to fail 2022-11-29 23:30:38 -07:00
Thread std.Thread.Condition: optimize example 2023-04-18 18:38:52 -07:00
time std.time.epoch: fix issue in documentation 2021-12-16 19:08:58 -08:00
tz Support legacy TZ format, expose header struct to a potential writer 2022-01-01 12:47:08 +00:00
unicode update usages of @call 2022-12-13 13:14:20 +02:00
valgrind std.valgrind.callgrind: fix string type 2022-08-22 13:55:00 +03:00
zig zig fmt: omit extra whitespace after last comment before EOF 2023-04-18 18:33:05 -07:00
array_hash_map.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
array_list.zig std: Add ArrayList.insertAssumeCapacity() 2023-03-12 11:02:53 +00:00
ascii.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
atomic.zig all: rename i386 to x86 2022-11-04 00:09:27 +03:30
base64.zig std.base64: don't overflow dest with padding 2023-03-23 22:52:15 +02:00
bit_set.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
bounded_array.zig add BoundedArrayAligned (#14580) 2023-03-17 17:50:25 +01:00
buf_map.zig reverse some of the now unneeded changes from squeek 2022-05-11 18:41:23 -06:00
buf_set.zig std.BufSet.clone: fix key ownership 2022-03-01 13:28:47 -05:00
Build.zig CI: more C backend test coverage 2023-04-15 10:33:08 -07:00
builtin.zig amdgpu,nvptx: unify kernel calling conventions 2023-04-09 01:51:54 +02:00
c.zig std: child process API supports rusage data 2023-03-15 10:48:13 -07:00
child_process.zig std.process.Child: implement maxrss on Darwin 2023-03-25 03:20:50 +01:00
coff.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
compress.zig std.compress.zstd: renamed from std.compress.zstandard 2023-02-22 00:11:20 +11:00
comptime_string_map.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
crypto.zig std.crypto.aegis: support 256-bit tags (#15276) 2023-04-14 11:20:36 +02:00
cstr.zig std: restrict mem.span() and mem.len() to sentinel terminated pointers 2023-01-29 15:07:06 -05:00
debug.zig debug: fix missing stack traces during crashes on windows 2023-04-18 18:20:15 -07:00
dwarf.zig Expose an option for producing 64-bit DWARF format 2023-04-20 14:46:53 -07:00
dynamic_library.zig DynLib.lookup: cast the pointer to the correct alignment 2023-04-15 23:23:29 -04:00
elf.zig run zig fmt on everything checked by CI 2022-11-18 19:22:42 +00:00
enums.zig std: fix uses of comptime blocks in non-inline functions 2023-04-18 19:51:18 -07:00
event.zig std, compiler-rt: remove test names where applicable 2021-09-01 17:54:06 -07:00
fifo.zig add std.LinearFifo.readableSliceOfLen 2023-03-15 10:48:15 -07:00
fmt.zig std: fix uses of comptime blocks in non-inline functions 2023-04-18 19:51:18 -07:00
fs.zig std: add fchmodat 2023-03-03 02:37:45 -05:00
hash.zig std.hash: add XxHash64 and XxHash32 2023-02-20 09:09:05 +11:00
hash_map.zig tools: implement more lldb pretty printers 2023-02-27 05:37:03 -05:00
heap.zig add std.heap.ThreadSafeAllocator 2023-03-15 10:48:12 -07:00
http.zig std.http: use 'Field' to describe an individual header 2023-04-17 19:16:06 -05:00
Ini.zig add std.Ini for basic .ini file parsing 2023-01-11 15:39:48 -08:00
io.zig std: remove temporary workarounds for stage2_x86_64 2023-03-25 21:32:55 -04:00
json.zig std.json: allow returning custom errors from custom stringify 2023-04-07 15:01:09 +03:00
leb128.zig update uses of overflow arithmetic builtins 2022-12-27 15:13:14 +02:00
linked_list.zig chore: Remove unused constants 2022-09-11 23:18:43 -04:00
log.zig std: collect all options under one namespace 2023-01-05 02:31:29 -07:00
macho.zig macho: use TOOL=0x5 to mean ZIG as the build tool 2023-03-21 13:47:09 +01:00
math.zig Zir: implement explicit block_comptime instruction 2023-04-12 12:06:19 -04:00
mem.zig std: fix uses of comptime blocks in non-inline functions 2023-04-18 19:51:18 -07:00
meta.zig Zir: implement explicit block_comptime instruction 2023-04-12 12:06:19 -04:00
multi_array_list.zig Removing duplicate word in doc 2023-04-16 22:10:48 +03:00
net.zig Enable IPv4 mapped address conversion in linux version getAddressList (#14916) 2023-03-17 15:58:02 -04:00
once.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
os.zig std.os.sendto: use ws2_32 on Windows 2023-04-09 20:08:18 -04:00
packed_int_array.zig Merge pull request #14671 from ziglang/multi-object-for 2023-02-19 10:10:59 -05:00
pdb.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
priority_dequeue.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
priority_queue.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
process.zig windows: replace GetPhysicallyInstalledSystemMemory with ntdll. 2023-04-14 13:43:03 -04:00
Progress.zig std.Progress.Node: add a setName method 2023-03-15 10:48:14 -07:00
rand.zig Remove Gimli and Xoodoo from the standard library (#14928) 2023-03-21 04:54:10 +00:00
RingBuffer.zig std.RingBuffer: add (non-concurrent) RingBuffer implementation 2023-02-21 12:58:34 +11:00
segmented_list.zig behavior: add test coverage for slicing zero length array field of struct 2022-12-10 12:33:17 +01:00
SemanticVersion.zig api(std.ascii): remove deprecated decls 2022-12-09 21:57:17 +01:00
simd.zig add wasm-simd support for suggestVectorSizeForCpu (#14992) 2023-03-20 17:45:12 +01:00
sort.zig naming: mid for index and mid_item for item 2023-03-21 15:12:13 +02:00
start.zig wasm: no longer use simplified start.zig 2023-04-14 15:25:42 +02:00
start_windows_tls.zig cbe: fixes for tls, support for not linking libc, and enabling tests 2023-01-29 15:04:13 -05:00
std.zig add BoundedArrayAligned (#14580) 2023-03-17 17:50:25 +01:00
tar.zig zig build: add executable bit and file path to package hash 2023-02-01 18:42:29 -07:00
target.zig add c_char type 2023-04-13 02:47:16 -04:00
testing.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
Thread.zig openbsd: fix thread name buffer size 2023-04-12 15:36:03 -04:00
time.zig std.time: add microTimestamp() (#13327) 2022-11-02 23:20:19 +01:00
treap.zig treap: zig fmt 2022-04-15 17:01:01 -05:00
tz.zig std.tz: fix function returning pointer to local variable 2022-06-17 21:04:21 +03:00
unicode.zig Zir: implement explicit block_comptime instruction 2023-04-12 12:06:19 -04:00
Uri.zig std.http: very basic http client proxy 2023-04-17 19:14:48 -05:00
valgrind.zig LLVM: add valgrind integration for x86 and aarch64 2022-11-19 19:32:45 -07:00
wasm.zig wasm: add atomics opcodes and refactoring 2023-03-18 20:13:30 +01:00
zig.zig integrate the build runner and the compiler server 2023-03-15 10:48:13 -07:00