[PATCH] D152929: [lld-macho] Switch to new tool ID
Davide Italiano via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 14 15:53:03 PDT 2023
davide added a comment.
> As of Xcode 15 there is now a tool ID for LLD, likely driven by Apple's tests with using LLD for their CAS work in clang.
The tool ID is something Apple introduced to stamp in the load command what linker is used to produce the executable, and it's unrelated to the CAS.
That's both useful to distinguish between ld(1) -- as provided by Apple and 3rd party linkers. dyld can also parse this field potentially to make the behavior more strict on Apple produced binaries, as other linkers could produce slightly broken (for some definition of broken) binaries that can create binary compatibility problems (e.g. some load commands aren't emitted).
HTH.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D152929/new/
https://reviews.llvm.org/D152929
More information about the llvm-commits
mailing list