diff options
author | Chris Lattner <sabre@nondot.org> | 2009-03-04 21:21:36 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-03-04 21:21:36 +0000 |
commit | 4fdd042d9ead3d2143cb9169108314dfb52d151c (patch) | |
tree | 9cff13cfa366f44f95292ee71b3265da50fb6a46 /llvm/lib/Support/PrettyStackTrace.cpp | |
parent | 3588c96c390bfad869980d750c795820c7427178 (diff) | |
download | llvm-4fdd042d9ead3d2143cb9169108314dfb52d151c.zip llvm-4fdd042d9ead3d2143cb9169108314dfb52d151c.tar.gz llvm-4fdd042d9ead3d2143cb9169108314dfb52d151c.tar.bz2 |
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.
llvm-svn: 66072
Diffstat (limited to 'llvm/lib/Support/PrettyStackTrace.cpp')
0 files changed, 0 insertions, 0 deletions