summaryrefslogtreecommitdiffstats
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
commit2c5bef2a743c2231ea55c0284145330d960f3cc5 (patch)
treea79f5112759c8433b3620278961fc5c9aa26a841
parentb117fd91681f0f36fd5ded72e1f5d17f2645def0 (diff)
downloadbcm5719-llvm-2c5bef2a743c2231ea55c0284145330d960f3cc5.tar.gz
bcm5719-llvm-2c5bef2a743c2231ea55c0284145330d960f3cc5.zip
Fixed bug introduced in r79900 where FreeBSD was turned into NetBSD, transposing the ABIs and breaking both platforms.
llvm-svn: 80870
-rw-r--r--clang/lib/CodeGen/TargetABIInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/TargetABIInfo.cpp b/clang/lib/CodeGen/TargetABIInfo.cpp
index 0ca2bb29b95..9525a8ecf5a 100644
--- a/clang/lib/CodeGen/TargetABIInfo.cpp
+++ b/clang/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));
OpenPOWER on IntegriCloud