[PATCH] If lld binary is named 'ld' on darwin, use darwin driver mode

Rui Ueyama ruiu at google.com
Tue Sep 9 18:24:41 PDT 2014


================
Comment at: lib/Driver/UniversalDriver.cpp:162
@@ -163,1 +161,3 @@
+  } else
+#endif
   if (parsedArgs->getLastArg(OPT_core)) {
----------------
argv[0] == "ld" means "the default linker driver" only on Darwin? On other platforms it should also mean the default linker, which is gnu ld driver, for the sake of consistency.

http://reviews.llvm.org/D5282






More information about the llvm-commits mailing list