diff options
| author | Bob Wilson <bob.wilson@apple.com> | 2013-12-05 19:38:42 +0000 | 
|---|---|---|
| committer | Bob Wilson <bob.wilson@apple.com> | 2013-12-05 19:38:42 +0000 | 
| commit | 83e723a9c9fe5dbcb3ae0ec37bcef11d8924c0be (patch) | |
| tree | 15eec93821e363b3a124f03f029b9ad36d56313a /clang/lib | |
| parent | c44a3ff63845cf73bdf0b559a8ddb06ff5f6c710 (diff) | |
| download | bcm5719-llvm-83e723a9c9fe5dbcb3ae0ec37bcef11d8924c0be.tar.gz bcm5719-llvm-83e723a9c9fe5dbcb3ae0ec37bcef11d8924c0be.zip | |
Fix assertion failure left over from changes to move away from "darwin" triples.
I happened to notice this while trying to write a test for an iOS simulator
target. I suspect we just missed this when we added separate "macosx" and "ios"
triples instead of the generic "darwin" OS.
llvm-svn: 196527
Diffstat (limited to 'clang/lib')
| -rw-r--r-- | clang/lib/Driver/Tools.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/clang/lib/Driver/Tools.cpp b/clang/lib/Driver/Tools.cpp index ae19be76082..6e33e8f923a 100644 --- a/clang/lib/Driver/Tools.cpp +++ b/clang/lib/Driver/Tools.cpp @@ -1594,7 +1594,7 @@ shouldUseExceptionTablesForObjCExceptions(const ObjCRuntime &runtime,    if (runtime.isNonFragile())      return true; -  if (!Triple.isOSDarwin()) +  if (!Triple.isMacOSX())      return false;    return (!Triple.isMacOSXVersionLT(10,5) && | 

