2013-04-08 14:41:23 -04:00
|
|
|
//===---- Watchdog.cpp - Implement Watchdog ---------------------*- C++ -*-===//
|
|
|
|
|
//
|
2019-08-20 16:50:12 -04:00
|
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
|
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
|
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
2013-04-08 14:41:23 -04:00
|
|
|
//
|
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
//
|
|
|
|
|
// This file implements the Watchdog class.
|
|
|
|
|
//
|
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
|
|
#include "llvm/Support/Watchdog.h"
|
2018-07-28 06:51:19 -04:00
|
|
|
#include "llvm/Config/llvm-config.h"
|
2013-04-08 14:41:23 -04:00
|
|
|
|
|
|
|
|
// Include the platform-specific parts of this class.
|
|
|
|
|
#ifdef LLVM_ON_UNIX
|
|
|
|
|
#include "Unix/Watchdog.inc"
|
|
|
|
|
#endif
|
2018-07-28 06:51:19 -04:00
|
|
|
#ifdef _WIN32
|
2013-04-08 14:41:23 -04:00
|
|
|
#include "Windows/Watchdog.inc"
|
|
|
|
|
#endif
|