Nick Lewycky | 4e06def | 2013-03-26 01:27:52 +0000 | [diff] [blame] | 1 | //===---- Watchdog.cpp - Implement Watchdog ---------------------*- C++ -*-===// |
| 2 | // |
Chandler Carruth | 2946cd7 | 2019-01-19 08:50:56 +0000 | [diff] [blame] | 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 |
Nick Lewycky | 4e06def | 2013-03-26 01:27:52 +0000 | [diff] [blame] | 6 | // |
| 7 | //===----------------------------------------------------------------------===// |
| 8 | // |
| 9 | // This file implements the Watchdog class. |
| 10 | // |
| 11 | //===----------------------------------------------------------------------===// |
| 12 | |
| 13 | #include "llvm/Support/Watchdog.h" |
Nico Weber | 432a388 | 2018-04-30 14:59:11 +0000 | [diff] [blame] | 14 | #include "llvm/Config/llvm-config.h" |
Nick Lewycky | 4e06def | 2013-03-26 01:27:52 +0000 | [diff] [blame] | 15 | |
| 16 | // Include the platform-specific parts of this class. |
| 17 | #ifdef LLVM_ON_UNIX |
| 18 | #include "Unix/Watchdog.inc" |
| 19 | #endif |
Nico Weber | 712e8d2 | 2018-04-29 00:45:03 +0000 | [diff] [blame] | 20 | #ifdef _WIN32 |
Nick Lewycky | 4e06def | 2013-03-26 01:27:52 +0000 | [diff] [blame] | 21 | #include "Windows/Watchdog.inc" |
| 22 | #endif |