aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Support/PrettyStackTrace.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-03-04 21:21:36 +0000
committerChris Lattner <sabre@nondot.org>2009-03-04 21:21:36 +0000
commit35033a5876aa27ea5729bc29b41bb4460a303cad (patch)
treed93d7e300969a03a543dd4ae75bdabbc0a7608cf /include/llvm/Support/PrettyStackTrace.h
parentfd0339933b907a5118efdac6d7dc78ac92c0a8c8 (diff)
Add a new 'AddSignalHandler' function to Signals.h that allows
arbitrary functions to be run when a crash happens. Delete RemoveDirectoryOnSignal as it is dead and has never had clients. Change PrintStackTraceOnErrorSignal to be implemented in terms of AddSignalHandler. I updated the Win32 versions of these APIs, but can't test them. If there are any problems, I'd be happy to fix them as well. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66072 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/PrettyStackTrace.h')
0 files changed, 0 insertions, 0 deletions