diff options
author | Tim Northover <tnorthover@apple.com> | 2013-12-10 11:53:16 +0000 |
---|---|---|
committer | Tim Northover <tnorthover@apple.com> | 2013-12-10 11:53:16 +0000 |
commit | 3e8df696ea367a2ad863bc537d56ac7a9c9b9f31 (patch) | |
tree | 4f009516df518de0c541dea42475e8317d85a38d /llvm/lib/Support/Triple.cpp | |
parent | 17b23098eedbe3b2af1578937b144570d44aecb4 (diff) | |
download | bcm5719-llvm-3e8df696ea367a2ad863bc537d56ac7a9c9b9f31.tar.gz bcm5719-llvm-3e8df696ea367a2ad863bc537d56ac7a9c9b9f31.zip |
Darwin: update default iOS version to 5.0
Defaulting to iOS 3.0 when LLVM has to guess the version is no longer a useful
option and can give surprising results (like tail calls being disabled).
5.0 seems like a reasonable compromise as a platform that's still interesting
to some people.
rdar://problem/15567348
llvm-svn: 196912
Diffstat (limited to 'llvm/lib/Support/Triple.cpp')
-rw-r--r-- | llvm/lib/Support/Triple.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Support/Triple.cpp b/llvm/lib/Support/Triple.cpp index 6c978a0244b..20531b15efd 100644 --- a/llvm/lib/Support/Triple.cpp +++ b/llvm/lib/Support/Triple.cpp @@ -600,15 +600,15 @@ void Triple::getiOSVersion(unsigned &Major, unsigned &Minor, // the clang driver combines OS X and IOS support into a common Darwin // toolchain that wants to know the iOS version number even when targeting // OS X. - Major = 3; + Major = 5; Minor = 0; Micro = 0; break; case IOS: getOSVersion(Major, Minor, Micro); - // Default to 3.0. + // Default to 5.0. if (Major == 0) - Major = 3; + Major = 5; break; } } |