Commits

link.MachO: fix error reporting in flushModule

eda8b6e137 • Andrew Kelley • Jan 16, 2025

link.Elf: fix error reporting for failed hot swap

ed810eeb06 • Andrew Kelley • Jan 16, 2025

Compilation: windows doesn't prelink yet

e4868693a5 • Andrew Kelley • Jan 16, 2025

test/link/wasm/shared-memory: update to better linker behavior

24bdb42a23 • Andrew Kelley • Jan 16, 2025

std.Build.Step.CheckObject: better EOF handling

cf898e242a • Andrew Kelley • Jan 16, 2025

wasm linker: omit data count section when value is zero

605311211b • Andrew Kelley • Jan 16, 2025

wasm linker: change rules about symbol visibility

744bb5d16a • Andrew Kelley • Jan 16, 2025

wasm linker: delete commented out code

dcb4134835 • Andrew Kelley • Jan 16, 2025

wasm linker: fix TLS data segments

9dd6efb7e4 • Andrew Kelley • Jan 16, 2025

wasm linker: fix explicit exports not affecting object files

10db1b9eda • Andrew Kelley • Jan 16, 2025

fix compiler unit tests

a4b7e9b97d • Andrew Kelley • Jan 15, 2025

wasm linker: ability to get data and functions from objects

ae16414121 • Andrew Kelley • Jan 15, 2025

wasm codegen: fix mistaking extern data as function

a7bd1a631b • Andrew Kelley • Jan 15, 2025

tests: remove dead code

204e689bdb • Andrew Kelley • Jan 15, 2025

test/link/wasm/export-data: update expected behavior

42602dc96b • Andrew Kelley • Jan 15, 2025

test/wasm/infer-features: update to expected behavior

50d053f31c • Andrew Kelley • Jan 15, 2025

wasm linker: implement --export-table

9ddb1c5092 • Andrew Kelley • Jan 15, 2025

test/link/wasm/function-table: delete bad test

ec5fc6a2a8 • Andrew Kelley • Jan 15, 2025

test/link/wasm/segment: delete bad test

ae119e395a • Andrew Kelley • Jan 15, 2025

test/link/wasm/type: remove redundant tests

c565191f30 • Andrew Kelley • Jan 15, 2025

wasm-linker: remap function types during flush

617eca13eb • Andrew Kelley • Jan 15, 2025

wasm linker: implement __wasm_init_tls synthetic function

c2a918b7a3 • Andrew Kelley • Jan 15, 2025

wasm linker: correct export visibility logic

f7f8878716 • Andrew Kelley • Jan 15, 2025

test/wasm/export: delete redundant tests

9143575ec3 • Andrew Kelley • Jan 15, 2025

delete bad linker test: bss

7ae2f21e2b • Andrew Kelley • Jan 15, 2025

wasm linker: always passive when importing memory

b37ad5110c • Andrew Kelley • Jan 15, 2025

wasm linker: implement hidden visibility

c535422423 • Andrew Kelley • Jan 15, 2025

Compilation.saveState implement saving wasm linker state

f89ef2f7cd • Andrew Kelley • Jan 15, 2025

wasm linker: incremental test coverage

9285f91ccc • Andrew Kelley • Jan 15, 2025

wasm linker: reset function exports after flush

1fe1d55c7b • Andrew Kelley • Jan 15, 2025

build: respect -Duse-llvm option when doing behavior tests

1afa6e260e • Andrew Kelley • Jan 15, 2025

wasm linker: track overaligned uavs

4cc9cfa7e8 • Andrew Kelley • Jan 15, 2025

wasm linker: fix data segment names

ba4521ac85 • Andrew Kelley • Jan 15, 2025

wasm linker: fix `@tagName` for auto-numbered non-exhaustive enums

0cf163089e • Andrew Kelley • Jan 15, 2025

wasm linker: fix missed addend for uav and nav fixups

cde84c8795 • Andrew Kelley • Jan 15, 2025

wasm linker: fix bad export index math

dd9a647210 • Andrew Kelley • Jan 15, 2025

wasm linker: implement `@tagName` for sparse enums

8abdebecdc • Andrew Kelley • Jan 15, 2025

wasm linker: implement `@tagName` functions when tags are autoassigned

b5261599d7 • Andrew Kelley • Jan 15, 2025

wasm linker: don't crash on ref to void

d0d0847cd0 • Andrew Kelley • Jan 15, 2025

codegen: empty tuple can be stored in a runtime var

e5d78f0b55 • Andrew Kelley • Jan 15, 2025

wasm linker: don't pretend it's possible to export data symbols

fbdcb2289b • Andrew Kelley • Jan 15, 2025

frontend: don't increment remaining_prelink_tasks for windows implibs

0dd0ebb6e2 • Andrew Kelley • Jan 15, 2025

wasm-linker: add updateFunc log

220af3f446 • Andrew Kelley • Jan 15, 2025

wasm linker: fix off-by-one in function table indexes

7b255235d6 • Andrew Kelley • Jan 15, 2025

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