llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_win.cc

38 lines
1.0 KiB
C++

//===-- sanitizer_symbolizer_win.cc ---------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// 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.
//===----------------------------------------------------------------------===//
#ifdef _WIN32
#include <windows.h>
#include "sanitizer_internal_defs.h"
#include "sanitizer_symbolizer.h"
namespace __sanitizer {
bool StartSymbolizerSubprocess(const char *path_to_symbolizer,
int *input_fd, int *output_fd) {
UNIMPLEMENTED();
}
uptr GetListOfModules(LoadedModule *modules, uptr max_modules) {
UNIMPLEMENTED();
};
const char *Demangle(const char *MangledName) {
return MangledName;
}
} // namespace __sanitizer
#endif // _WIN32