blob: 246f3dc7a0cad37c90500677af5ccd82a7a3b3db [file] [log] [blame]
Nick Lewycky4e06def2013-03-26 01:27:52 +00001//===---- Watchdog.cpp - Implement Watchdog ---------------------*- C++ -*-===//
2//
Chandler Carruth2946cd72019-01-19 08:50:56 +00003// 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
Nick Lewycky4e06def2013-03-26 01:27:52 +00006//
7//===----------------------------------------------------------------------===//
8//
9// This file implements the Watchdog class.
10//
11//===----------------------------------------------------------------------===//
12
13#include "llvm/Support/Watchdog.h"
Nico Weber432a3882018-04-30 14:59:11 +000014#include "llvm/Config/llvm-config.h"
Nick Lewycky4e06def2013-03-26 01:27:52 +000015
16// Include the platform-specific parts of this class.
17#ifdef LLVM_ON_UNIX
18#include "Unix/Watchdog.inc"
19#endif
Nico Weber712e8d22018-04-29 00:45:03 +000020#ifdef _WIN32
Nick Lewycky4e06def2013-03-26 01:27:52 +000021#include "Windows/Watchdog.inc"
22#endif