[PATCH] D25263: [Driver] Allow setting the default linker during build

Sean Fertile via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 30 11:33:42 PST 2016


sfertile added inline comments.


================
Comment at: lib/Driver/ToolChain.cpp:721-724
+
+const char *ToolChain::getDefaultLinker() const {
+  return CLANG_DEFAULT_LINKER;
+}
----------------
Hahnfeld wrote:
> I think this could go into the header
The CLANG_DEFAULT_LINKER macro is getting defined in "clang/Config/config.h" which isn't meant to be included in other headers.


Repository:
  rL LLVM

https://reviews.llvm.org/D25263





More information about the cfe-commits mailing list