Marcos Pividori | ee22156 | 2017-02-02 23:01:51 +0000 | [diff] [blame] | 1 | //===-- sanitizer_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 | // Windows-specific declarations. |
| 11 | // |
| 12 | //===----------------------------------------------------------------------===// |
| 13 | #ifndef SANITIZER_WIN_H |
| 14 | #define SANITIZER_WIN_H |
| 15 | |
| 16 | #include "sanitizer_platform.h" |
| 17 | #if SANITIZER_WINDOWS |
| 18 | #include "sanitizer_internal_defs.h" |
| 19 | |
| 20 | namespace __sanitizer { |
| 21 | // Check based on flags if we should handle the exception. |
| 22 | bool IsHandledDeadlyException(DWORD exceptionCode); |
| 23 | } // namespace __sanitizer |
| 24 | |
| 25 | #endif // SANITIZER_WINDOWS |
| 26 | #endif // SANITIZER_WIN_H |