2
0

Signals.cpp 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. //===- Signals.cpp - Signal Handling support --------------------*- C++ -*-===//
  2. //
  3. // The LLVM Compiler Infrastructure
  4. //
  5. // This file is distributed under the University of Illinois Open Source
  6. // License. See LICENSE.TXT for details.
  7. //
  8. //===----------------------------------------------------------------------===//
  9. //
  10. // This file defines some helpful functions for dealing with the possibility of
  11. // Unix signals occurring while your program is running.
  12. //
  13. //===----------------------------------------------------------------------===//
  14. #include "llvm/Support/Signals.h"
  15. #include "llvm/Config/config.h"
  16. namespace llvm {
  17. using namespace sys;
  18. //===----------------------------------------------------------------------===//
  19. //=== WARNING: Implementation here must contain only TRULY operating system
  20. //=== independent code.
  21. //===----------------------------------------------------------------------===//
  22. }
  23. // Include the platform-specific parts of this class.
  24. #ifdef LLVM_ON_UNIX
  25. #include "Unix/Signals.inc"
  26. #endif
  27. #ifdef LLVM_ON_WIN32
  28. #include "Windows/Signals.inc"
  29. #endif