Reid Spencer | 496c277 | 2004-08-29 19:22:48 +0000 | [diff] [blame] | 1 | //===- Win32/Signals.cpp - Win32 Signals Implementation ---------*- C++ -*-===// |
| 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
| 5 | // This file was developed by Reid Spencer and is distributed under the |
| 6 | // University of Illinois Open Source License. See LICENSE.TXT for details. |
| 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | // |
| 10 | // This file provides the Win32 specific implementation of the Signals class. |
| 11 | // |
| 12 | //===----------------------------------------------------------------------===// |
| 13 | |
| 14 | namespace llvm { |
| 15 | using namespace sys; |
| 16 | |
| 17 | //===----------------------------------------------------------------------===// |
| 18 | //=== WARNING: Implementation here must contain only Win32 specific code |
| 19 | //=== and must not be generic UNIX code (see ../Unix/Signals.cpp) |
| 20 | //===----------------------------------------------------------------------===// |
| 21 | |
| 22 | // RemoveFileOnSignal - The public API |
| 23 | void llvm::RemoveFileOnSignal(const std::string &Filename) { |
| 24 | } |
| 25 | |
| 26 | // RemoveDirectoryOnSignal - The public API |
| 27 | void llvm::RemoveDirectoryOnSignal(const llvm::sys::Path& path) { |
| 28 | } |
| 29 | |
| 30 | /// PrintStackTraceOnErrorSignal - When an error signal (such as SIBABRT or |
| 31 | /// SIGSEGV) is delivered to the process, print a stack trace and then exit. |
| 32 | void llvm::PrintStackTraceOnErrorSignal() { |
| 33 | } |
| 34 | |
| 35 | } |
| 36 | |
| 37 | // vim: sw=2 smartindent smarttab tw=80 autoindent expandtab |