[all-commits] [llvm/llvm-project] 31142c: [clang] Make --ld-path= work with -fuse-ld=lld
Nico Weber via All-commits
all-commits at lists.llvm.org
Fri Sep 23 06:04:43 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 31142c4290533eeb771a0fc66af4918bd74bc162
https://github.com/llvm/llvm-project/commit/31142c4290533eeb771a0fc66af4918bd74bc162
Author: Nico Weber <thakis at chromium.org>
Date: 2022-09-23 (Fri, 23 Sep 2022)
Changed paths:
M clang/lib/Driver/ToolChain.cpp
M clang/test/Driver/darwin-ld-demangle-lld.c
Log Message:
-----------
[clang] Make --ld-path= work with -fuse-ld=lld
This allows using --ld-path= to set a custom linker path, while
still informing clang that the binary at that path is an lld built
at the same revision as clang, so that clang can make assumptions
about the flags it supports, its output format, etc.
This currently only has an observable effect on Darwin.
Differential Revision: https://reviews.llvm.org/D134063
More information about the All-commits
mailing list