diff options
author | Alexander Potapenko <glider@google.com> | 2013-07-16 08:35:42 +0000 |
---|---|---|
committer | Alexander Potapenko <glider@google.com> | 2013-07-16 08:35:42 +0000 |
commit | b137ca157b8ef911077e6c252e9b4351e6f8e507 (patch) | |
tree | 122e54eae81aab6781b5f5be1f50548729bb1245 /compiler-rt/lib/asan/asan_mac.cc | |
parent | dfdb731967d8427f09a90110985b0f71a670b3d9 (diff) | |
download | bcm5719-llvm-b137ca157b8ef911077e6c252e9b4351e6f8e507.tar.gz bcm5719-llvm-b137ca157b8ef911077e6c252e9b4351e6f8e507.zip |
[ASan] Add support for OS X Mavericks to GetMacosVersion.
llvm-svn: 186386
Diffstat (limited to 'compiler-rt/lib/asan/asan_mac.cc')
-rw-r--r-- | compiler-rt/lib/asan/asan_mac.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler-rt/lib/asan/asan_mac.cc b/compiler-rt/lib/asan/asan_mac.cc index 4313534008e..f78453686d4 100644 --- a/compiler-rt/lib/asan/asan_mac.cc +++ b/compiler-rt/lib/asan/asan_mac.cc @@ -68,6 +68,7 @@ int GetMacosVersion() { case '0': return MACOS_VERSION_SNOW_LEOPARD; case '1': return MACOS_VERSION_LION; case '2': return MACOS_VERSION_MOUNTAIN_LION; + case '3': return MACOS_VERSION_MAVERICKS; default: return MACOS_VERSION_UNKNOWN; } } |