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 13 #include "llvm/Support/Watchdog.h" 14 #include "llvm/Config/llvm-config.h" 15 16 // Include the platform-specific parts of this class. 17 #ifdef LLVM_ON_UNIX 18 #include "Unix/Watchdog.inc" 19 #endif 20 #ifdef _WIN32 21 #include "Windows/Watchdog.inc" 22 #endif 23