| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2024-04-08 | link/elf: do not set soname unless only dynlib (reverts for haiku exec) | Jakub Konka | |
| 2024-04-08 | link/elf: handle symbols to begin/end of .eh_frame section | Jakub Konka | |
| 2024-04-08 | link/elf: actually emit DYN when targetting haiku | Jakub Konka | |
| 2024-04-08 | InternPool: remove slice from byte aggregate keys | Jacob Young | |
| This deletes a ton of lookups and avoids many UAF bugs. Closes #19485 | |||
| 2024-04-08 | link/elf: propagate Haiku requirement of always passing -shared for images | Jakub Konka | |
| 2024-04-08 | haiku: fix linking issues | Jacob Young | |
| 2024-04-06 | spirv: fix some recursive pointers edge cases in dedup pass | Robin Voetter | |
| 2024-04-06 | spirv: add link progression | Robin Voetter | |
| 2024-04-06 | spirv: remove cache usage for types | Robin Voetter | |
| 2024-04-05 | Merge pull request #19260 from mikdusan/macos-zippered | Jakub Konka | |
| macos: add zippered support | |||
| 2024-04-01 | Merge pull request #19490 from Snektron/spirv-dedup | Robin Voetter | |
| spirv: deduplication pass | |||
| 2024-03-30 | Update uses of `@fieldParentPtr` to use RLS | Jacob Young | |
| 2024-03-30 | Update uses of `@fieldParentPtr` to pass a pointer type | Jacob Young | |
| 2024-03-30 | cbe: rewrite `CType` | Jacob Young | |
| Closes #14904 | |||
| 2024-03-30 | cbe: fix bugs revealed by an upcoming commit | Jacob Young | |
| Closes #18023 | |||
| 2024-03-30 | spirv: handle annotations in deduplication pass | Robin Voetter | |
| 2024-03-30 | spirv: avoid copying operands in dedup pass | Robin Voetter | |
| 2024-03-30 | spirv: deduplicate prototype | Robin Voetter | |
| 2024-03-28 | macho: fix double free | Jakub Konka | |
| 2024-03-28 | Merge pull request #19399 from ypsvlq/mingw | Andrew Kelley | |
| mingw: support -municode | |||
| 2024-03-27 | Merge pull request #19430 from ziglang/dwarf-ub | Jakub Konka | |
| link: fix undefined memory being written out in dwarf and codegen | |||
| 2024-03-27 | mingw: support -municode | Elaine Gibson | |
| 2024-03-26 | compiler: eliminate most usages of TypedValue | mlugg | |
| 2024-03-26 | Zcu.Decl: remove `ty` field | mlugg | |
| `Decl` can no longer store un-interned values, so this field is now unnecessary. The type can instead be fetched with the new `typeOf` helper method, which just gets the type of the Decl's `Value`. | |||
| 2024-03-25 | dwarf+codegen: use appendNTimes instead of writer().writeByteNTimes | Jakub Konka | |
| 2024-03-25 | dwarf: actually write zeroed out unresolved relocs into emitted DWARF in ↵ | Jakub Konka | |
| initDeclState | |||
| 2024-03-25 | compiler: implement analysis-local comptime-mutable memory | mlugg | |
| This commit changes how we represent comptime-mutable memory (`comptime var`) in the compiler in order to implement the intended behavior that references to such memory can only exist at comptime. It does *not* clean up the representation of mutable values, improve the representation of comptime-known pointers, or fix the many bugs in the comptime pointer access code. These will be future enhancements. Comptime memory lives for the duration of a single Sema, and is not permitted to escape that one analysis, either by becoming runtime-known or by becoming comptime-known to other analyses. These restrictions mean that we can represent comptime allocations not via Decl, but with state local to Sema - specifically, the new `Sema.comptime_allocs` field. All comptime-mutable allocations, as well as any comptime-known const allocs containing references to such memory, live in here. This allows for relatively fast checking of whether a value references any comptime-mtuable memory, since we need only traverse values up to pointers: pointers to Decls can never reference comptime-mutable memory, and pointers into `Sema.comptime_allocs` always do. This change exposed some faulty pointer access logic in `Value.zig`. I've fixed the important cases, but there are some TODOs I've put in which are definitely possible to hit with sufficiently esoteric code. I plan to resolve these by auditing all direct accesses to pointers (most of them ought to use Sema to perform the pointer access!), but for now this is sufficient for all realistic code and to get tests passing. This change eliminates `Zcu.tmp_hack_arena`, instead using the Sema arena for comptime memory mutations, which is possible since comptime memory is now local to the current Sema. This change should allow `Decl` to store only an `InternPool.Index` rather than a full-blown `ty: Type, val: Value`. This commit does not perform this refactor. | |||
| 2024-03-24 | dwarf: actually write out well-defined placeholder bytes for relocs | Jakub Konka | |
| 2024-03-19 | fix compilation failures found by CI | Andrew Kelley | |
| 2024-03-19 | extract std.posix from std.os | Andrew Kelley | |
| closes #5019 | |||
| 2024-03-18 | spirv: unused instruction pruning linker pass | Robin Voetter | |
| 2024-03-18 | spirv: make generic globals invocation-local | Robin Voetter | |
| 2024-03-18 | spirv: make IdResult an enum | Robin Voetter | |
| 2024-03-17 | Revert "spirv: merge `construct(Struct/Vector/Array)` into `constructComposite`" | Robin Voetter | |
| This reverts commit eb2d61d02e503f01070c05e2e1fc87e827124d94. | |||
| 2024-03-16 | macos: archive size fix | zhylmzr | |
| fixed: #19154 | |||
| 2024-03-15 | macho: fix a sad typo in calculating the address of a TLV pointer | Jakub Konka | |
| 2024-03-14 | coff: only store PDB basename | Elaine Gibson | |
| 2024-03-13 | macos: add tbd-v3 zippered support | Michael Dusan | |
| Support linking against tbd-v3 SDKs such as those bundled with Xcode 10.3 → 11.3.1 . - Map target os=`ios` and abi=`macabi` to macho.PLATFORM.MACCATALYST. This allows for matches against tbdv4 targets, eg. `x86_64-maccatalyst`. - When parsing old tbdv3 files with `zippered` platform, we append [`ARCH-macos`, `ARCH-maccatalyst`] to list of "tbd" targets. This enables linking for standard targets like `ARCH-macos-none` and maccatalyst targets `ARCH-ios-macabi`. - Update mappings for macho platform and zig target macabi. While this is not full maccatalyst support, a basic exe can be built as follows: ``` zig libc > libc.txt zig build-exe z0.zig --libc libc.txt -target x86_64-ios-macabi ``` closes #19110 | |||
| 2024-03-13 | macho: log.debug dylib path | Michael Dusan | |
| 2024-03-12 | elf: re-use output buffer for emitting thunks | Jakub Konka | |
| 2024-03-12 | elf+aarch64: fix off-by-one in converging on groups interleaved with thunks | Jakub Konka | |
| 2024-03-12 | elf+aarch64: actually write out thunks, and add a proper link test | Jakub Konka | |
| 2024-03-11 | std.builtin: make global linkage fields lowercase | Tristan Ross | |
| 2024-03-11 | std.builtin: make link mode fields lowercase | Tristan Ross | |
| 2024-03-11 | std.builtin: make container layout fields lowercase | Tristan Ross | |
| 2024-03-09 | elf+aarch64: handle PREL64 reloc | Jakub Konka | |
| 2024-03-09 | elf+aarch64: fix 32bit build | Jakub Konka | |
| 2024-03-08 | elf+aarch64: implement basic thunk support | Jakub Konka | |
| 2024-03-08 | elf+aarch64: handle PREL32 reloc | Jakub Konka | |
| 2024-03-08 | elf+aarch64: handle TLS GD model | Jakub Konka | |
