aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen
diff options
context:
space:
mode:
authorDavid Chisnall <csdavec@swan.ac.uk>2009-09-03 01:48:05 +0000
committerDavid Chisnall <csdavec@swan.ac.uk>2009-09-03 01:48:05 +0000
commit75c135a511c855d94bbfa7f00dd27a165f61e953 (patch)
treefabe854e5aa76cdb3111c53dd5fc1ac662d12601 /lib/CodeGen
parent970e03a6bf949947d8558ffd1b6cb6563e958831 (diff)
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
Diffstat (limited to 'lib/CodeGen')
-rw-r--r--lib/CodeGen/TargetABIInfo.cpp2
1 files changed, 1 insertions, 1 deletions
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));