LLVM API Documentation

Signals.h File Reference

#include "llvm/System/Path.h"
#include "llvm/System/IncludeFile.h"

Include dependency graph for Signals.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  llvm
namespace  llvm::sys

Functions

void llvm::sys::RemoveFileOnSignal (const Path &Filename)
 Remove a file if a fatal signal occurs.
void llvm::sys::RemoveDirectoryOnSignal (const Path &path)
 Remove a directory if a fatal signal occurs.
void llvm::sys::PrintStackTraceOnErrorSignal ()
 Print a stack trace if a fatal signal occurs.
void llvm::sys::SetInterruptFunction (void(*IF)())
 Register a function to be called when ctrl-c is pressed.