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

Petr Hosek via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 9 12:29:36 PST 2016


phosek added inline comments.


================
Comment at: lib/Driver/ToolChain.cpp:362
+      return UseLinker;
+  } else if (UseLinker == "ld") {
+    // If we're passed the argument ld, then use whatever the default system
----------------
I'm wandering whether we shouldn't use `"platform"` instead of `"ld"` here to match what we do for `-rtlib=` and `-stdlib=`?


Repository:
  rL LLVM

https://reviews.llvm.org/D25263





More information about the cfe-commits mailing list