r234629 - Create correct platform-specific target for NetBSD PPC64LE.
Joerg Sonnenberger
joerg at bec.de
Fri Apr 10 13:53:49 PDT 2015
Author: joerg
Date: Fri Apr 10 15:53:48 2015
New Revision: 234629
URL: http://llvm.org/viewvc/llvm-project?rev=234629&view=rev
Log:
Create correct platform-specific target for NetBSD PPC64LE.
Modified:
cfe/trunk/lib/Basic/Targets.cpp
Modified: cfe/trunk/lib/Basic/Targets.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/Targets.cpp?rev=234629&r1=234628&r2=234629&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/Targets.cpp (original)
+++ cfe/trunk/lib/Basic/Targets.cpp Fri Apr 10 15:53:48 2015
@@ -6841,6 +6841,8 @@ static TargetInfo *AllocateTarget(const
switch (os) {
case llvm::Triple::Linux:
return new LinuxTargetInfo<PPC64TargetInfo>(Triple);
+ case llvm::Triple::NetBSD:
+ return new NetBSDTargetInfo<PPC64TargetInfo>(Triple);
default:
return new PPC64TargetInfo(Triple);
}
More information about the cfe-commits
mailing list