[lld] r365734 - Fix build breakage on Darwin.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 10 23:12:18 PDT 2019
Author: ruiu
Date: Wed Jul 10 23:12:18 2019
New Revision: 365734
URL: http://llvm.org/viewvc/llvm-project?rev=365734&view=rev
Log:
Fix build breakage on Darwin.
Modified:
lld/trunk/tools/lld/lld.cpp
Modified: lld/trunk/tools/lld/lld.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/tools/lld/lld.cpp?rev=365734&r1=365733&r2=365734&view=diff
==============================================================================
--- lld/trunk/tools/lld/lld.cpp (original)
+++ lld/trunk/tools/lld/lld.cpp Wed Jul 10 23:12:18 2019
@@ -94,7 +94,7 @@ static bool isPETarget(std::vector<const
static Flavor parseProgname(StringRef progname) {
#if __APPLE__
// Use Darwin driver for "ld" on Darwin.
- if (Progname == "ld")
+ if (progname == "ld")
return Darwin;
#endif
More information about the llvm-commits
mailing list