[PATCH] D98493: [WoA][MSVC] Use default linker setting in MSVC-compatible driver
Maxim Kuvyrkov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 17 12:18:51 PDT 2021
maxim-kuvyrkov added inline comments.
================
Comment at: clang/lib/Driver/ToolChains/MSVC.cpp:582
+ StringRef Linker = Args.getLastArgValue(options::OPT_fuse_ld_EQ,
+ CLANG_DEFAULT_LINKER);
+ if (Linker.empty())
----------------
asl wrote:
> How is CLANG_DEFAULT_LINKER initialized by default? Is it just empty?
Yes, by default it's empty.
The definition is at https://github.com/llvm/llvm-project/blob/d9ef6bc42643ae4feab3f9eca97864d72034f2ce/clang/CMakeLists.txt#L241 .
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D98493/new/
https://reviews.llvm.org/D98493
More information about the cfe-commits
mailing list