diff options
author | Dan Gohman <gohman@apple.com> | 2010-09-01 14:17:34 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-09-01 14:17:34 +0000 |
commit | 41154114f64c1531764236e9268d2a5ac52e3e91 (patch) | |
tree | 319ab11fef0bef74dea022b59eb2ad0731112888 /include/llvm | |
parent | 2ad12a0e2afa3cdffa35a4223bea775ad06ad468 (diff) | |
download | external_llvm-41154114f64c1531764236e9268d2a5ac52e3e91.zip external_llvm-41154114f64c1531764236e9268d2a5ac52e3e91.tar.gz external_llvm-41154114f64c1531764236e9268d2a5ac52e3e91.tar.bz2 |
Add an interface for unregistering a file from the FilesToRemove list.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112705 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r-- | include/llvm/System/Signals.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/System/Signals.h b/include/llvm/System/Signals.h index 504420c..7f1c87c 100644 --- a/include/llvm/System/Signals.h +++ b/include/llvm/System/Signals.h @@ -29,6 +29,10 @@ namespace sys { /// @brief Remove a file if a fatal signal occurs. bool RemoveFileOnSignal(const Path &Filename, std::string* ErrMsg = 0); + /// This function removes a file from the list of files to be removed on + /// signal delivery. + void DontRemoveFileOnSignal(const Path &Filename); + /// When an error signal (such as SIBABRT or SIGSEGV) is delivered to the /// process, print a stack trace and then exit. /// @brief Print a stack trace if a fatal signal occurs. |