[Sanitizer] Kill the remainders of platform defines in favor of SANITIZER_ defines
[blocksruntime.git] / lib / sanitizer_common / sanitizer_symbolizer_mac.cc
blobd3cd15a0a79222388c26a1a902e3a62e30b33e05
1 //===-- sanitizer_symbolizer_mac.cc ---------------------------------------===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This file is shared between AddressSanitizer and ThreadSanitizer
11 // run-time libraries.
12 // Mac-specific implementation of symbolizer parts.
13 //===----------------------------------------------------------------------===//
15 #include "sanitizer_platform.h"
16 #if SANITIZER_MAC
17 #include "sanitizer_internal_defs.h"
18 #include "sanitizer_symbolizer.h"
20 namespace __sanitizer {
22 bool StartSymbolizerSubprocess(const char *path_to_symbolizer,
23 int *input_fd, int *output_fd) {
24 UNIMPLEMENTED();
27 uptr GetListOfModules(LoadedModule *modules, uptr max_modules) {
28 // FIXME: Actually implement this on Mac. Just using MemoryMappingLayout
29 // may be enough for this on Mac.
30 return 0;
33 } // namespace __sanitizer
35 #endif // SANITIZER_MAC