Home | History | Annotate | Download | only in sanitizer_common
      1 //===-- sanitizer_symbolizer_win.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 // Windows-specific implementation of symbolizer parts.
     13 //===----------------------------------------------------------------------===//
     14 
     15 #include "sanitizer_platform.h"
     16 #if SANITIZER_WINDOWS
     17 #include <windows.h>
     18 
     19 #include "sanitizer_internal_defs.h"
     20 #include "sanitizer_symbolizer.h"
     21 
     22 namespace __sanitizer {
     23 
     24 bool StartSymbolizerSubprocess(const char *path_to_symbolizer,
     25                                int *input_fd, int *output_fd) {
     26   UNIMPLEMENTED();
     27 }
     28 
     29 uptr GetListOfModules(LoadedModule *modules, uptr max_modules,
     30                       string_predicate_t filter) {
     31   UNIMPLEMENTED();
     32 };
     33 
     34 void SymbolizerPrepareForSandboxing() {
     35   // Do nothing on Windows.
     36 }
     37 
     38 const char *DemangleCXXABI(const char *name) {
     39   return name;
     40 }
     41 
     42 }  // namespace __sanitizer
     43 
     44 #endif  // _WIN32
     45