Reid Spencer | 496c277 | 2004-08-29 19:22:48 +0000 | [diff] [blame] | 1 | //===- Signals.cpp - Signal Handling support --------------------*- C++ -*-===// |
Misha Brukman | f976c85 | 2005-04-21 22:55:34 +0000 | [diff] [blame^] | 2 | // |
Reid Spencer | 496c277 | 2004-08-29 19:22:48 +0000 | [diff] [blame] | 3 | // 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 Brukman | f976c85 | 2005-04-21 22:55:34 +0000 | [diff] [blame^] | 7 | // |
Reid Spencer | 496c277 | 2004-08-29 19:22:48 +0000 | [diff] [blame] | 8 | //===----------------------------------------------------------------------===// |
| 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 Spencer | c87d7cc | 2004-12-27 06:16:11 +0000 | [diff] [blame] | 16 | #include "llvm/Config/config.h" |
Reid Spencer | 496c277 | 2004-08-29 19:22:48 +0000 | [diff] [blame] | 17 | |
| 18 | namespace llvm { |
| 19 | using namespace sys; |
| 20 | |
| 21 | //===----------------------------------------------------------------------===// |
| 22 | //=== WARNING: Implementation here must contain only TRULY operating system |
Misha Brukman | f976c85 | 2005-04-21 22:55:34 +0000 | [diff] [blame^] | 23 | //=== independent code. |
Reid Spencer | 496c277 | 2004-08-29 19:22:48 +0000 | [diff] [blame] | 24 | //===----------------------------------------------------------------------===// |
| 25 | |
| 26 | } |
| 27 | |
| 28 | // Include the platform-specific parts of this class. |
Reid Spencer | c87d7cc | 2004-12-27 06:16:11 +0000 | [diff] [blame] | 29 | #ifdef LLVM_ON_UNIX |
Reid Spencer | bccc8ab | 2005-01-09 23:29:00 +0000 | [diff] [blame] | 30 | #include "Unix/Signals.inc" |
Reid Spencer | c87d7cc | 2004-12-27 06:16:11 +0000 | [diff] [blame] | 31 | #endif |
| 32 | #ifdef LLVM_ON_WIN32 |
Reid Spencer | bccc8ab | 2005-01-09 23:29:00 +0000 | [diff] [blame] | 33 | #include "Win32/Signals.inc" |
Reid Spencer | c87d7cc | 2004-12-27 06:16:11 +0000 | [diff] [blame] | 34 | #endif |
Reid Spencer | 496c277 | 2004-08-29 19:22:48 +0000 | [diff] [blame] | 35 | |
| 36 | // vim: sw=2 smartindent smarttab tw=80 autoindent expandtab |