ziglang/zig

completely eliminate dependency on LLD

andrewrk opened this issue · 1 comments

In celebration of @kubkon's recent accomplishments of improving the self-hosted linker on Mach-O enough to be able to link LLVM, Clang, LLD, and Zig, this issue is to completely rely on our own linker implementation for all targets, and entirely stop linking against LLD. This issue is the spiritual successor to #1535.

Other Considerations

  • miscellaneous features such as linker scripts (related: #3206)
  • LTO. For our purposes, this would look like suporting LLVM IR bitcode files and using LLVM APIs to turn them into object(s) before completing the linking process.

Does fixing #7133 need to wait on this? Will this issue fix that one?