ef1b3fda32
This may break gcc-asan on Mac, will follow up separately. From-SVN: r204368
29 lines
848 B
C++
29 lines
848 B
C++
//===-- sanitizer_symbolizer_win.cc ---------------------------------------===//
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// This file is shared between AddressSanitizer and ThreadSanitizer
|
|
// run-time libraries.
|
|
// Windows-specific implementation of symbolizer parts.
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#include "sanitizer_platform.h"
|
|
#if SANITIZER_WINDOWS
|
|
#include "sanitizer_internal_defs.h"
|
|
#include "sanitizer_symbolizer.h"
|
|
|
|
namespace __sanitizer {
|
|
|
|
static SymbolizerInterface win_symbolizer; // Linker initialized.
|
|
|
|
SymbolizerInterface *getSymbolizer() {
|
|
return &win_symbolizer;
|
|
}
|
|
|
|
} // namespace __sanitizer
|
|
|
|
#endif // _WIN32
|