aboutsummaryrefslogtreecommitdiff
path: root/test/link/macho.zig
AgeCommit message (Collapse)Author
2025-11-05zig fmt: fix extra whitespace in StructInit with multiline stringsskewb1k
68d2f68ed introduced special handling for StructInit fields containing multiline strings to prevent inserting whitespace after =. However, this logic didn't handle cases without a trailing comma, which resulted in unwanted trailing whitespace.
2025-10-11test: disable test-link macho on FreeBSDAlex Rønne Petersen
See also d6d1fef. https://github.com/ziglang/zig/issues/25323
2025-07-26Migrate from deprecated `Step.Compile` APIsCarl Åstholm
2025-07-07update standalone and incremental tests to new APIAndrew Kelley
2025-06-19Target: pass and use locals by pointer instead of by valueJacob Young
This struct is larger than 256 bytes and code that copies it consistently shows up in profiles of the compiler.
2025-06-12test-link: correct expected object file namemlugg
The name of the ZCU object file emitted by the LLVM backend has been changed in this branch from e.g. `foo.o` to `foo_zcu.o`. This is to avoid name clashes. This commit just updates a link test which started failing because the object name in a linker error changed.
2025-03-05Remove uses of deprecated callconv aliasesLinus Groh
2025-02-22zig build fmtAndrew Kelley
2025-02-22link.MachO: Add support for the -x flag (discard local symbols).Alex Rønne Petersen
This can also be extended to ELF later as it means roughly the same thing there. This addresses the main issue in #21721 but as I don't have a macOS machine to do further testing on, I can't confirm whether zig cc is able to pass the entire cgo test suite after this commit. It can, however, cross-compile a basic program that uses cgo to x86_64-macos-none which previously failed due to lack of -x support. Unlike previously, the resulting symbol table does not contain local symbols (such as C static functions). I believe this satisfies the related donor bounty: https://ziglang.org/news/second-donor-bounty
2024-12-18compiler: disallow `callconv` etc from depending on function parametersmlugg
Resolves: #22261
2024-10-09test/link/macho: test reporting undefined special symbolsJakub Konka
2024-08-27lib,test,tools,doc: update usages of @exportmlugg
2024-08-22test/macho: simplify testing range extension thunksJakub Konka
2024-07-28macho: test section$end$ boundary symbol handlingJakub Konka
2024-07-18macho: reinstate duplicate definition checkingJakub Konka
2024-07-18macho: ensure we always name decls like LLVM to avoid confusionJakub Konka
2024-07-18macho: fix unresolved symbols error reportingJakub Konka
2024-07-18macho: test TLS in Zig with x86_64 backendJakub Konka
2024-06-13Change deprecated b.host to b.graph.host in tests and Zig's build.zigKrzysztof Wolicki
2024-05-24test/link/macho: add symbol stabs smoke testJakub Konka
2024-05-23link/macho: fix 32bit buildJakub Konka
2024-05-23test/link/macho: test merge literals on x86_64Jakub Konka
2024-05-23test/link/macho: clean up merge literals tests on aarch64Jakub Konka
2024-05-23link/macho: test merging literals targeting ObjCJakub Konka
2024-05-23link/macho: apply fixes to deduping logicJakub Konka
* test non-ObjC literal deduping logic
2024-05-22test/link: actually run tests requiring symlinks on non-WinJakub Konka
Fixes regression introduced by https://github.com/ziglang/zig/commit/5d5e89aa8d5a454bce2c93555d3bc7c7ae1aa162 Turns out since landing that PR we haven't run any tests requiring symlinks or any Apple SDK on a macOS host. Not great.
2024-04-11remove deprecated LazyPath.path union tagAndrew Kelley
2024-03-15macho: fix a sad typo in calculating the address of a TLV pointerJakub Konka
2024-03-12test/link/macho: remove redundant 'macho-' prefix from case namesJakub Konka
2024-03-11std.builtin: make global linkage fields lowercaseTristan Ross
2024-02-09Merge pull request #18875 from ziglang/macho-zo-dwarfJakub Konka
macho: emit DWARF for ZigObject relocatable
2024-02-09test.link.macho: fix for non-x86 and arm architecturesTristan Ross
This fix is requires to make the build runner even compile when building Zig on architectures like RISC-V.
2024-02-09macho: align memory size with file size when emitting relocatableJakub Konka
2024-02-08test/link/macho: more self-hosted testsJakub Konka
2024-02-08test/link/macho: -fstrip is no longer needed for self-hostedJakub Konka
2024-02-03test/link/macho: test for signals only when running on the hostJakub Konka
2024-02-03test/link/macho: add some smoke tests for self-hosted MachOJakub Konka
2024-02-02cli+build: handle -ObjC flag and route it to MachO linkerJakub Konka
2024-01-30macho: fix parsing versions from TBDs if parsed as floatsJakub Konka
2024-01-30macho: improve weak-ref symbols handlingJakub Konka
2024-01-24test/link/macho: ensure we do not run testStackSize on foreign hostJakub Konka
2024-01-24test/link/macho: migrate all tests to the new test matrixJakub Konka
2024-01-24test/link/macho: upgrade tbdv3 testJakub Konka
2024-01-24test/link/macho: upgrade unwind info testsJakub Konka
2024-01-24test/link/macho: test stacksize optionJakub Konka
2024-01-24test/link/macho: upgrade search strategy testJakub Konka
2024-01-24test/link/macho: test re-exports in zigJakub Konka
2024-01-24test/link/macho: test pagezero sizeJakub Konka
2024-01-24test/link/macho: revert testing objc msgsend stubs - no way of enabling in clangJakub Konka
2024-01-24test/link/macho: test objc msgsend selector stubsJakub Konka