LLVM API Documentation

Signals.cpp
Go to the documentation of this file.
00001 //===- Signals.cpp - Signal Handling support --------------------*- C++ -*-===//
00002 //
00003 //                     The LLVM Compiler Infrastructure
00004 //
00005 // This file is distributed under the University of Illinois Open Source
00006 // License. See LICENSE.TXT for details.
00007 //
00008 //===----------------------------------------------------------------------===//
00009 //
00010 // This file defines some helpful functions for dealing with the possibility of
00011 // Unix signals occurring while your program is running.
00012 //
00013 //===----------------------------------------------------------------------===//
00014 
00015 #include "llvm/Support/Signals.h"
00016 #include "llvm/Config/config.h"
00017 
00018 namespace llvm {
00019 using namespace sys;
00020 
00021 //===----------------------------------------------------------------------===//
00022 //=== WARNING: Implementation here must contain only TRULY operating system
00023 //===          independent code.
00024 //===----------------------------------------------------------------------===//
00025 
00026 }
00027 
00028 // Include the platform-specific parts of this class.
00029 #ifdef LLVM_ON_UNIX
00030 #include "Unix/Signals.inc"
00031 #endif
00032 #ifdef LLVM_ON_WIN32
00033 #include "Windows/Signals.inc"
00034 #endif