sanitizer_win.h 851 B

12345678910111213141516171819202122232425
  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. #include "sanitizer_platform.h"
  15. #if SANITIZER_WINDOWS
  16. #include "sanitizer_internal_defs.h"
  17. namespace __sanitizer {
  18. // Check based on flags if we should handle the exception.
  19. bool IsHandledDeadlyException(DWORD exceptionCode);
  20. } // namespace __sanitizer
  21. #endif // SANITIZER_WINDOWS
  22. #endif // SANITIZER_WIN_H