* cgraph.c (cgraph_node::get_untransformed_body): Pass compressed
[official-gcc.git] / libsanitizer / sanitizer_common / sanitizer_mac.h
blob2aac83e3657ccc4b2be183aa8ead5bc193d2437a
1 //===-- sanitizer_mac.h -----------------------------------------*- C++ -*-===//
2 //
3 // This file is distributed under the University of Illinois Open Source
4 // License. See LICENSE.TXT for details.
5 //
6 //===----------------------------------------------------------------------===//
7 //
8 // This file is shared between various sanitizers' runtime libraries and
9 // provides definitions for OSX-specific functions.
10 //===----------------------------------------------------------------------===//
11 #ifndef SANITIZER_MAC_H
12 #define SANITIZER_MAC_H
14 #include "sanitizer_platform.h"
15 #if SANITIZER_MAC
16 #include "sanitizer_posix.h"
18 namespace __sanitizer {
20 enum MacosVersion {
21 MACOS_VERSION_UNINITIALIZED = 0,
22 MACOS_VERSION_UNKNOWN,
23 MACOS_VERSION_LEOPARD,
24 MACOS_VERSION_SNOW_LEOPARD,
25 MACOS_VERSION_LION,
26 MACOS_VERSION_MOUNTAIN_LION,
27 MACOS_VERSION_MAVERICKS,
28 MACOS_VERSION_YOSEMITE,
29 MACOS_VERSION_UNKNOWN_NEWER
32 MacosVersion GetMacosVersion();
34 char **GetEnviron();
36 } // namespace __sanitizer
38 #endif // SANITIZER_MAC
39 #endif // SANITIZER_MAC_H