zig/src/link
Luuk de Gram 0a030d6598
wasm: Use File.Index for symbol locations
Rather than using the optional, we now directly use `File.Index` which
can already represent an unknown file due to its `.null` value. This
means we do not pay for the memory cost.

This type of index is now used for:
- SymbolLoc
- Key of the functions map
- InitFunc

Now we can simply pass things like atom.file, object.file, loc.file etc
whenever we need to access its representing object file which makes it
a lot easier.
2024-02-29 15:23:03 +01:00
..
Coff cli+build: handle -ObjC flag and route it to MachO linker 2024-02-02 22:00:16 +01:00
Elf test: rework how filtering works 2024-02-25 19:12:08 -08:00
MachO test: rework how filtering works 2024-02-25 19:12:08 -08:00
Plan9 std.builtin.Endian: make the tags lower case 2023-10-31 21:37:35 -04:00
tapi compiler: correct unnecessary uses of 'var' 2023-11-19 11:11:49 +00:00
Wasm wasm: Use File.Index for symbol locations 2024-02-29 15:23:03 +01:00
aarch64.zig link: commit missing files 2024-02-21 22:48:19 +01:00
C.zig cbe: do not set execute bits on emitted file 2024-02-17 10:50:46 +01:00
Coff.zig test: rework how filtering works 2024-02-25 19:12:08 -08:00
Dwarf.zig wasm: move incremental Dwarf info into ZigObject 2024-02-29 15:23:02 +01:00
Elf.zig elf: make GOT arch aware when resolving relocs 2024-02-21 20:58:43 +01:00
MachO.zig move zig libc command to be lazily built 2024-02-27 22:55:00 -07:00
msdos-stub.bin Coff: minor fixes 2023-12-03 18:18:09 -05:00
NvPtx.zig link: accept the update arena in flush 2024-01-01 19:49:08 -07:00
Plan9.zig test: rework how filtering works 2024-02-25 19:12:08 -08:00
riscv.zig link+riscv: simplify bitSlice helper 2024-02-21 23:40:44 +01:00
SpirV.zig spirv: use extended instructions whenever possible 2024-02-15 17:25:44 +03:30
StringTable.zig link: commit missing source StringTable.zig 2023-11-04 09:12:46 +01:00
table_section.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
tapi.zig macho: handle mismatched and missing platform errors 2023-08-29 15:27:44 +02:00
Wasm.zig wasm: Use File.Index for symbol locations 2024-02-29 15:23:03 +01:00