xref: /llvm-project/llvm/lib/Support/Watchdog.cpp (revision 2946cd701067404b99c39fb29dc9c74bd7193eb3)
14e06def8SNick Lewycky //===---- Watchdog.cpp - Implement Watchdog ---------------------*- C++ -*-===//
24e06def8SNick Lewycky //
3*2946cd70SChandler Carruth // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4*2946cd70SChandler Carruth // See https://llvm.org/LICENSE.txt for license information.
5*2946cd70SChandler Carruth // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
64e06def8SNick Lewycky //
74e06def8SNick Lewycky //===----------------------------------------------------------------------===//
84e06def8SNick Lewycky //
94e06def8SNick Lewycky //  This file implements the Watchdog class.
104e06def8SNick Lewycky //
114e06def8SNick Lewycky //===----------------------------------------------------------------------===//
124e06def8SNick Lewycky 
134e06def8SNick Lewycky #include "llvm/Support/Watchdog.h"
14432a3883SNico Weber #include "llvm/Config/llvm-config.h"
154e06def8SNick Lewycky 
164e06def8SNick Lewycky // Include the platform-specific parts of this class.
174e06def8SNick Lewycky #ifdef LLVM_ON_UNIX
184e06def8SNick Lewycky #include "Unix/Watchdog.inc"
194e06def8SNick Lewycky #endif
20712e8d29SNico Weber #ifdef _WIN32
214e06def8SNick Lewycky #include "Windows/Watchdog.inc"
224e06def8SNick Lewycky #endif
23