Commits

wasm linker: mark symbol deps on intrinsics

e44bafe5ff • Andrew Kelley • Jan 15, 2025

wasm linker: fix corruption of string bytes

e18a397c85 • Andrew Kelley • Jan 15, 2025

wasm codegen: fix freeing of locals

9c14645b58 • Andrew Kelley • Jan 15, 2025

wasm linker: handle function data references properly

a327d238f1 • Andrew Kelley • Jan 15, 2025

wasm-linker: fix splitSegmentName and add unit test

d999a8e33b • Andrew Kelley • Jan 15, 2025

wasm linker: don't call init functions unless object included

788b7f8f11 • Andrew Kelley • Jan 15, 2025

implement indirect function table for object functions

1c4b4fb516 • Andrew Kelley • Jan 15, 2025

wasm linker: handle weak globals in relocs

d9d49ce995 • Andrew Kelley • Jan 15, 2025

wasm linker: don't try to lower nav zcu data before updateNav is called

7a4d4357e8 • Andrew Kelley • Jan 15, 2025

wasm linker: don't assume nav callees are fully resolved

21a2888561 • Andrew Kelley • Jan 15, 2025

wasm linker: distinguish symbol name vs import name, and implement weak

5186c6c4ee • Andrew Kelley • Jan 15, 2025

wasm linker: fix not merging object memories

3474057e5e • Andrew Kelley • Jan 15, 2025

wasm linker: apply object relocations to data segments

e6a5fe7c55 • Andrew Kelley • Jan 15, 2025

wasm linker: emit __heap_base and __heap_end globals and datas

290d97bd09 • Andrew Kelley • Jan 15, 2025

fix merge conflicts with updating line numbers

94648a0383 • Andrew Kelley • Jan 15, 2025

wasm linker: implement __wasm_init_memory

b41b5fe529 • Andrew Kelley • Jan 15, 2025

wasm linker: implement data relocs

1fd708b1bc • Andrew Kelley • Jan 15, 2025

wasm linker: implement data symbols

abdbc38574 • Andrew Kelley • Jan 15, 2025

wasm linker: implement __wasm_call_ctors

a4bee3009a • Andrew Kelley • Jan 15, 2025

implement function relocations

9ccf500508 • Andrew Kelley • Jan 15, 2025

type checking for synthetic functions

5b18af85cb • Andrew Kelley • Jan 15, 2025

wasm object parsing: fix handling of weak functions and globals

a4895f3c42 • Andrew Kelley • Jan 15, 2025

wasm linker: improve error messages by making source locations more lazy

4fccb5ae7a • Andrew Kelley • Jan 15, 2025

wasm linker: chase relocations for references

7d224516c4 • Andrew Kelley • Jan 15, 2025

fix bad archive name calculation

c5822879a1 • Andrew Kelley • Jan 15, 2025

wasm linker: fix table imports in objects

b7a95911ab • Andrew Kelley • Jan 15, 2025

can't use source location until return from this function

78987081ce • Andrew Kelley • Jan 15, 2025

wasm linker: fix global imports in objects

a72e7384aa • Andrew Kelley • Jan 15, 2025

resolve merge conflicts

eb943890d9 • Andrew Kelley • Jan 15, 2025

fix missing missing entry symbol error when no zcu

aebccb06e7 • Andrew Kelley • Jan 15, 2025

wasm linker: fix crashes when parsing compiler_rt

1a4c5837fe • Andrew Kelley • Jan 15, 2025

wasm linker: fix relocation parsing

4b9dc2922f • Andrew Kelley • Jan 15, 2025

Compilation: account for C objects and resources in prelink

9cd7cad42e • Andrew Kelley • Jan 15, 2025

wasm linker: fix active data segment offset value

0d028e4407 • Andrew Kelley • Jan 15, 2025

wasm linker: fix missing function type entry for import

50626565ba • Andrew Kelley • Jan 15, 2025

use fixed writer in more places

f1e167c1d8 • Andrew Kelley • Jan 15, 2025

fix stack pointer initialized to wrong vaddr

2174d20540 • Andrew Kelley • Jan 15, 2025

wasm linker: implement indirect function calls

728103467e • Andrew Kelley • Jan 15, 2025

std.io: remove the "temporary workaround" for stage2_aarch64

fbbb54bab2 • Andrew Kelley • Jan 15, 2025

wasm linker: implement stack pointer global

2dbf66dd69 • Andrew Kelley • Jan 15, 2025

implement the prelink phase in the frontend

d1cde847a3 • Andrew Kelley • Jan 15, 2025

wasm linker: fix data section in flush

694b129d89 • Andrew Kelley • Jan 15, 2025

implement error table and error names data segments

ee999d5a14 • Andrew Kelley • Jan 15, 2025

wasm linker: zcu data fixups are already applied

7bf53d236d • Andrew Kelley • Jan 15, 2025

wasm linker: initialize the data segments table in flush

13eef2f8ab • Andrew Kelley • Jan 15, 2025

wasm linker: also call lowerZcuData in updateFunc

5e0d33f00f • Andrew Kelley • Jan 15, 2025

wasm linker: avoid recursion in lowerZcuData

389b29fd8c • Andrew Kelley • Jan 15, 2025

wasm linker: implement data fixups

4f8a6b0888 • Andrew Kelley • Jan 15, 2025

wasm linker: fix eliding empty data segments

5fac6f380e • Andrew Kelley • Jan 15, 2025

wasm codegen: fix call_indirect

568d9936ab • Andrew Kelley • Jan 15, 2025

wasm linker: allow undefined imports when lib name is provided

070b973c4a • Andrew Kelley • Jan 15, 2025

wasm linker: handle extern functions in updateNav

23d0882b54 • Andrew Kelley • Jan 15, 2025

wasm linker: fix data segments memory flow

766284fec8 • Andrew Kelley • Jan 15, 2025

std.ArrayHashMap: allow passing empty values array

3cb00c5bcd • Andrew Kelley • Jan 15, 2025

wasm linker: fix calling imported functions

91efc5c98b • Andrew Kelley • Jan 15, 2025

wasm codegen: fix extra index not relative

1a58ae2ed6 • Andrew Kelley • Jan 15, 2025

wasm linker: add __zig_error_name_table data when needed

3c70392210 • Andrew Kelley • Jan 15, 2025

add safety for calling functions that get virtual addrs

85b53730fe • Andrew Kelley • Jan 15, 2025

wasm codegen: fix wrong union field for locals

2d899e9a9f • Andrew Kelley • Jan 15, 2025

fix calculation of nav alignment

0630344894 • Andrew Kelley • Jan 15, 2025

complete wasm.Emit implementation

416fc2df94 • Andrew Kelley • Jan 15, 2025

wasm linker: implement missing logic

458f658b42 • Andrew Kelley • Jan 15, 2025

wasm linker: implement type index method

761387dc55 • Andrew Kelley • Jan 15, 2025

std.Thread: don't export wasi_thread_start in single-threaded mode

70414c1f43 • Andrew Kelley • Jan 15, 2025

fix replaceVecSectionHeader

0555fe8d5b • Andrew Kelley • Jan 15, 2025

wasm linker: implement name subsection

d6b42e585b • Andrew Kelley • Jan 15, 2025

wasm linker fixes

e80a203768 • Andrew Kelley • Jan 15, 2025

wasm codegen: remove dependency on PerThread where possible

4ecc4addc4 • Andrew Kelley • Jan 15, 2025

wasm codegen: fix lowering of 32/64 float rt calls

098e0b1906 • Andrew Kelley • Jan 15, 2025

remove bad deinit

55773aee3f • Andrew Kelley • Jan 15, 2025

add dev env for wasm

4a4fb16c27 • Andrew Kelley • Jan 15, 2025

cmake: remove deleted file

7879d2cf41 • Andrew Kelley • Jan 15, 2025

fix compilation when enabling llvm

edd592d371 • Andrew Kelley • Jan 15, 2025

wasm linker: finish the flush function

968941b535 • Andrew Kelley • Jan 15, 2025

wasm linker: flush export section

264a63b000 • Andrew Kelley • Jan 15, 2025

wasm linker: flush implemented up to the export section

bf88059591 • Andrew Kelley • Jan 15, 2025

wasm linker: implement name, module name, and type for function imports

e21a42723b • Andrew Kelley • Jan 15, 2025

frontend: add const to more Zcu pointers

c96e23632f • Andrew Kelley • Jan 15, 2025

wasm linker: support export section as implicit symbols

26c38b2d42 • Andrew Kelley • Jan 15, 2025

wasm: fix many compilation errors

031c84c8cb • Andrew Kelley • Jan 15, 2025

switch to ArrayListUnmanaged for machine code

b3ecdb21ee • Andrew Kelley • Jan 15, 2025

wasm: use call_intrinsic MIR instruction

bf20a4aa9e • Andrew Kelley • Jan 15, 2025

wasm: move error_name lowering to Emit phase

c443a7a57f • Andrew Kelley • Jan 15, 2025

wasm codegen: rename func: CodeGen to cg: CodeGen

d45e5ac5eb • Andrew Kelley • Jan 15, 2025

wasm codegen: switch on bool instead of int

4a1447d1db • Andrew Kelley • Jan 15, 2025

wasm: implement errors_len as a MIR opcode with no linker involvement

e24f635c75 • Andrew Kelley • Jan 15, 2025

wasm codegen: fix some compilation errors

bffa148600 • Andrew Kelley • Jan 15, 2025

rewrite wasm/Emit.zig

e521879e47 • Andrew Kelley • Jan 15, 2025

std.array_list: tiny refactor for pleasure

b9355edfb1 • Andrew Kelley • Jan 15, 2025

compiler: add type safety for export indices

943dac3e85 • Andrew Kelley • Jan 15, 2025

rework error handling in the backends

9bf715de74 • Andrew Kelley • Jan 15, 2025

elf linker: conform to explicit error sets

77accf597d • Andrew Kelley • Jan 15, 2025

macho linker conforms to explicit error sets, again

da25ed95fc • Andrew Kelley • Jan 15, 2025

remove "FIXME" from codebase

6235cc3da4 • Andrew Kelley • Jan 15, 2025

macho linker: conform to explicit error sets

16180f525a • Andrew Kelley • Jan 15, 2025

wasm linker: aggressive DODification

795e7c64d5 • Andrew Kelley • Jan 15, 2025

print_value: fix crash on undefined slice ptr

77273103a8 • mlugg • Jan 15, 2025

Sema: more validation for builtin decl types

4b910e525d • mlugg • Jan 14, 2025

Sema: fix UB in error reporting

5322459a0b • mlugg • Jan 14, 2025

Type: `struct {}` does not have a well-defined layout

27274d4fde • mlugg • Jan 14, 2025