Support: Add CrashRecoveryContext helper object.
authorDaniel Dunbar <daniel@zuster.org>
Wed, 28 Jul 2010 15:40:20 +0000 (15:40 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Wed, 28 Jul 2010 15:40:20 +0000 (15:40 +0000)
commita309dac868e591d7254f570b950a50f640c009f8
tree047f97004bb6e2c94dbdc7cbdd934bce30f670a2
parent5d4b32ef96ef91026517ea1769faa7066467d0a9
Support: Add CrashRecoveryContext helper object.
 - Designed as a simple wrapper to allow clients to attempt to catch crashes
   (memory errors, assertion violations, etc.) and do some kind of recovery.

 - Currently doesn't actually attempt to catch crashes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109586 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/CrashRecoveryContext.h [new file with mode: 0644]
lib/Support/CrashRecoveryContext.cpp [new file with mode: 0644]