1 //===-- sanitizer_win.h -----------------------------------------*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 //
9 // Windows-specific declarations.
10 //
11 //===----------------------------------------------------------------------===//
12 #ifndef SANITIZER_WIN_H
13 #define SANITIZER_WIN_H
14 
15 #include "sanitizer_platform.h"
16 #if SANITIZER_WINDOWS
17 #include "sanitizer_internal_defs.h"
18 
19 namespace __sanitizer {
20 // Check based on flags if we should handle the exception.
21 bool IsHandledDeadlyException(DWORD exceptionCode);
22 }  // namespace __sanitizer
23 
24 #endif  // SANITIZER_WINDOWS
25 #endif  // SANITIZER_WIN_H
26