aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2024-12-02macho: refactors errors from parsing DWARFJakub Konka
Currently we don't report any errors to the user due to a bug in self-hosted x86_64-macos backend.
2024-12-02macho: move things around in MachO/Object.zig and refactorJakub Konka
2024-12-02macho: handle DWARFv5 when parsing debug info in objectsJakub Konka
2024-12-02macho: rename dwarf.zig to Dwarf.zigJakub Konka
Separate commit since macOS is case-insensitive by default and so I had to do it from Linux.
2024-12-02coff: fix memory leakJacob Young
2024-11-29zig fetch: add missing path separator in error messageTw
Signed-off-by: Tw <tw19881113@gmail.com>
2024-11-29Merge pull request #22095 from alexrp/test-llvm-emitAndrew Kelley
Change `llvm_targets` tests to actually emit objects, and fix bugs found as a result
2024-11-29compiler: use `@Type` instead of `@TypeOf` to print enum literal typemlugg
2024-11-29Add build option to set tracy-callstack-depth in `build.zig` (#21990)Justin Braben
2024-11-29Merge pull request #22099 from Rexicon226/fix-cat-mulAndrew Kelley
change `++` and `**` to not return mutable pointers
2024-11-28sema: hotpath `++` and `**` for array-pointersDavid Rubin
2024-11-28link.MachO: Don't try to get a semver value for bridgeos.Alex Rønne Petersen
2024-11-28llvm: Lower ohoseabi to ohos instead of verbatim.Alex Rønne Petersen
LLVM doesn't recognize ohoseabi.
2024-11-28Merge pull request #22067 from alexrp/pie-testsAlex Rønne Petersen
Add PIC/PIE tests and fix some bugs + some improvements to the test harness
2024-11-27sema: make `++` and `**` return immutable pointersDavid Rubin
2024-11-27std.os.windows: Map PIPE_NOT_AVAILABLE from OpenFile() to error.NoDevice ↵Justin Braben
(#21938)
2024-11-26diversify "unable to spawn" failure messagesAndrew Kelley
to help understand where a spurious failure is occurring
2024-11-25ip: cleanup `@constCast` usagesDavid Rubin
2024-11-24dwarf: fix stepping through an inline loop containing one statementJacob Young
Previously, stepping from the single statement within the loop would always exit the loop because all of the code unrolled from the loop is associated with the same line and treated by the debugger as one line.
2024-11-24std.Target: Add Os.HurdVersionRange for Os.Tag.hurd.Alex Rønne Petersen
This is necessary since isGnuLibC() is true for hurd, so we need to be able to represent a glibc version for it. Also add an Os.TaggedVersionRange.gnuLibCVersion() convenience function.
2024-11-23Merge pull request #22049 from alexrp/musl-gen-stubsAndrew Kelley
`gen_stubs`: No compiler-rt hacks, more compact output, and more arch support
2024-11-23compiler: Disallow align(0) everywhere in the language.Alex Rønne Petersen
Thus leaving the design space for this alignment value open, e.g. for packing.
2024-11-23musl: Define TIME32 and FAMILY_* macros for libc.S as appropriate.Alex Rønne Petersen
Also adjust ARCH_* logic for the updated gen_stubs.zig tool.
2024-11-22link: use target to determine risc-v eflag validityDavid Rubin
2024-11-23Compilation: Consider *.lo files to be object files.Alex Rønne Petersen
Fixes musl libc.so compilation with zig cc.
2024-11-20Append disabled LLVM CPU features after enabled onesShawn Gao
2024-11-20Fix peer type resolution with allowzero pointersxdBronch
2024-11-19Compilation: Re-enable LTO for RISC-V.Alex Rønne Petersen
2024-11-19zig fetch: handle redirects for Git packagesIan Johnson
Closes #21976
2024-11-18Merge pull request #22004 from jacobly0/fix-self-llvmAndrew Kelley
fix llvm-enabled compiler builds with the self-hosted backend
2024-11-18Compilation: Disable LTO for all ILP32-on-LP64 ABIs.Alex Rønne Petersen
Extension of 3a6a8b8aa540413d099a6f41a0d8f882f22acb45 to all similar ABIs. The LLD issue affects them all.
2024-11-17Compilation: Disable LTO for mips n32.Alex Rønne Petersen
See: https://github.com/llvm/llvm-project/pull/116537
2024-11-16link: fix memory bugsJacob Young
2024-11-16Sema: fix peer resolution alignment between slice and empty structJacob Young
An empty struct that coerces to an empty array should not force `align(1)` on the resulting slice type.
2024-11-16Merge pull request #21999 from jacobly0/incr-casesJacob Young
link: fix failing incremental test cases
2024-11-16Use options debug format if it is provided (#21995)Benjamin
Co-authored-by: Alex Rønne Petersen <alex@alexrp.com>
2024-11-16link: fix failing incremental test casesJacob Young
2024-11-16dev: support incremental for x86_64-linux envJacob Young
2024-11-13Take eagerness into account when deduplicating dependenciesCarl Åstholm
If the same dependency is first found as lazy and then later as eager, the existing entry needs to be updated to eager in order for `b.dependency()` to work.
2024-11-13Compilation: Pass -municode on to Clang.Alex Rønne Petersen
This is supposed to define the UNICODE macro; it's not just a linker option. Closes #21978.
2024-11-12compiler: un-jit `zig fmt`mlugg
This command being JITed leads to a substantially worse first-time user experience, since you have to wait for upwards of 20 seconds for `fmt.zig` to build. This is especially bad when your editor is configured to run `zig fmt` on save and does so in a blocking manner. As such, it makes sense from a usability perspective to not JIT this particular command.
2024-11-12Merge pull request #21920 from alexrp/nobuiltinAlex Rønne Petersen
compiler: Improve handling of `-fno-builtin` and compiler-rt options
2024-11-12AstGen: add missing `rvalue` call to `labeledBlockExpr`mlugg
...and fix a minor x86_64 backend bug exposed by this fix. Resolves: #21974
2024-11-09Merge pull request #21937 from Snektron/spirv-vulkan-ptrsRobin Voetter
spirv: miscellaneous vulkan + zig stuff
2024-11-09Sema: fix wording in error messageWooster
It's an FQN, not an actual file name.
2024-11-09spirv: enable variable pointers for nowRobin Voetter
This seems to be required for ptr_elem_ptr with storage buffers. Note that this does not imply that the pointer can be regarded as physical too. Some variants of ptr_elem_ptr will need to be forbidden
2024-11-09spirv: dont emit forward pointer for annotation instructionsRobin Voetter
2024-11-08spirv: emit ArrayStride for many-item pointersRobin Voetter
2024-11-08spirv: make all vulkan structs Block for nowRobin Voetter
2024-11-08add storage_buffer address spaceRobin Voetter