Skip to content

completely eliminate dependency on LLD #8726

Open
@andrewrk

Description

@andrewrk

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: Zig-based alternative to linker scripts #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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    contributor friendlyThis issue is limited in scope and/or knowledge of Zig internals.enhancementSolving this issue will likely involve adding new logic or components to the codebase.linking

    Type

    No type

    Projects

    Status

    Ditch LLVM

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions