blob: 28f70289b512d157fa75843c91e98d2ab579f3d9 [file] [log] [blame]
Reid Spencer496c2772004-08-29 19:22:48 +00001//===- Signals.cpp - Signal Handling support --------------------*- C++ -*-===//
Misha Brukmanf976c852005-04-21 22:55:34 +00002//
Reid Spencer496c2772004-08-29 19:22:48 +00003// The LLVM Compiler Infrastructure
4//
5// This file was developed by the LLVM research group and is distributed under
6// the University of Illinois Open Source License. See LICENSE.TXT for details.
Misha Brukmanf976c852005-04-21 22:55:34 +00007//
Reid Spencer496c2772004-08-29 19:22:48 +00008//===----------------------------------------------------------------------===//
9//
10// This file defines some helpful functions for dealing with the possibility of
11// Unix signals occuring while your program is running.
12//
13//===----------------------------------------------------------------------===//
14
15#include "llvm/System/Signals.h"
Reid Spencerc87d7cc2004-12-27 06:16:11 +000016#include "llvm/Config/config.h"
Reid Spencer496c2772004-08-29 19:22:48 +000017
18namespace llvm {
19using namespace sys;
20
21//===----------------------------------------------------------------------===//
22//=== WARNING: Implementation here must contain only TRULY operating system
Misha Brukmanf976c852005-04-21 22:55:34 +000023//=== independent code.
Reid Spencer496c2772004-08-29 19:22:48 +000024//===----------------------------------------------------------------------===//
25
26}
27
28// Include the platform-specific parts of this class.
Reid Spencerc87d7cc2004-12-27 06:16:11 +000029#ifdef LLVM_ON_UNIX
Reid Spencerbccc8ab2005-01-09 23:29:00 +000030#include "Unix/Signals.inc"
Reid Spencerc87d7cc2004-12-27 06:16:11 +000031#endif
32#ifdef LLVM_ON_WIN32
Reid Spencerbccc8ab2005-01-09 23:29:00 +000033#include "Win32/Signals.inc"
Reid Spencerc87d7cc2004-12-27 06:16:11 +000034#endif
Reid Spencer496c2772004-08-29 19:22:48 +000035
36// vim: sw=2 smartindent smarttab tw=80 autoindent expandtab