26 lines · c
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-exception6//7//===----------------------------------------------------------------------===//8//9// Windows-specific declarations.10//11//===----------------------------------------------------------------------===//12#ifndef SANITIZER_WIN_H13#define SANITIZER_WIN_H14 15#include "sanitizer_platform.h"16#if SANITIZER_WINDOWS17#include "sanitizer_internal_defs.h"18 19namespace __sanitizer {20// Check based on flags if we should handle the exception.21bool IsHandledDeadlyException(DWORD exceptionCode);22} // namespace __sanitizer23 24#endif // SANITIZER_WINDOWS25#endif // SANITIZER_WIN_H26