diff options
author | Eric Christopher <echristo@apple.com> | 2011-07-02 00:20:22 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2011-07-02 00:20:22 +0000 |
commit | aa7333c860ac651c75da495217e0d6a9c10c0bb0 (patch) | |
tree | 2c91312c6e6e5f89c2a1ce1a1ea1ec5320806490 /lib/Driver/Tools.cpp | |
parent | 1b03c8719e2e45cf2769430335d7e71f18e6634a (diff) |
Update for llvm commit r134291.
Fixes rdar://9714064
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134292 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Tools.cpp')
-rw-r--r-- | lib/Driver/Tools.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Driver/Tools.cpp b/lib/Driver/Tools.cpp index 41be873b35..78d8677a8a 100644 --- a/lib/Driver/Tools.cpp +++ b/lib/Driver/Tools.cpp @@ -870,7 +870,7 @@ shouldUseExceptionTablesForObjCExceptions(unsigned objcABIVersion, if (Triple.getOS() != llvm::Triple::Darwin) return false; - return (Triple.getDarwinMajorNumber() >= 9 && + return (!Triple.isMacOSXVersionLT(10,5) && (Triple.getArch() == llvm::Triple::x86_64 || Triple.getArch() == llvm::Triple::arm)); } |