From: David Chisnall Date: Thu, 3 Sep 2009 01:48:05 +0000 (+0000) Subject: Fixed bug introduced in r79900 where FreeBSD was turned into NetBSD, transposing... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=75c135a511c855d94bbfa7f00dd27a165f61e953;p=clang Fixed bug introduced in r79900 where FreeBSD was turned into NetBSD, transposing the ABIs and breaking both platforms. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@80870 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/TargetABIInfo.cpp b/lib/CodeGen/TargetABIInfo.cpp index 0ca2bb29b9..9525a8ecf5 100644 --- a/lib/CodeGen/TargetABIInfo.cpp +++ b/lib/CodeGen/TargetABIInfo.cpp @@ -1539,7 +1539,7 @@ const ABIInfo &CodeGenTypes::getABIInfo() const { case llvm::Triple::DragonFly: case llvm::Triple::MinGW32: case llvm::Triple::MinGW64: - case llvm::Triple::NetBSD: + case llvm::Triple::FreeBSD: case llvm::Triple::OpenBSD: return *(TheABIInfo = new X86_32ABIInfo(Context, false, true));