Watchdog.cpp 738 B

12345678910111213141516171819202122
  1. //===---- Watchdog.cpp - Implement Watchdog ---------------------*- 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. // This file implements the Watchdog class.
  10. //
  11. //===----------------------------------------------------------------------===//
  12. #include "llvm/Support/Watchdog.h"
  13. #include "llvm/Config/llvm-config.h"
  14. // Include the platform-specific parts of this class.
  15. #ifdef LLVM_ON_UNIX
  16. #include "Unix/Watchdog.inc"
  17. #endif
  18. #ifdef _WIN32
  19. #include "Windows/Watchdog.inc"
  20. #endif