Pirama Arumuga Nainar | 7c91505 | 2015-04-08 08:58:29 -0700 | [diff] [blame] | 1 | //===-- sanitizer_symbolizer_win.h ------------------------------*- C++ -*-===// |
| 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 | // Header file for the Windows symbolizer tool. |
| 11 | // |
| 12 | //===----------------------------------------------------------------------===// |
| 13 | #ifndef SANITIZER_SYMBOLIZER_WIN_H |
| 14 | #define SANITIZER_SYMBOLIZER_WIN_H |
| 15 | |
| 16 | #include "sanitizer_symbolizer_internal.h" |
| 17 | |
| 18 | namespace __sanitizer { |
| 19 | |
| 20 | class WinSymbolizerTool : public SymbolizerTool { |
| 21 | public: |
| 22 | bool SymbolizePC(uptr addr, SymbolizedStack *stack) override; |
| 23 | bool SymbolizeData(uptr addr, DataInfo *info) override { |
| 24 | return false; |
| 25 | } |
| 26 | const char *Demangle(const char *name) override; |
| 27 | }; |
| 28 | |
| 29 | } // namespace __sanitizer |
| 30 | |
| 31 | #endif // SANITIZER_SYMBOLIZER_WIN_H |