diff options
author | Ted Kremenek <kremenek@apple.com> | 2011-03-22 04:33:13 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2011-03-22 04:33:13 +0000 |
commit | 3311d951e22b133207ed6f8e384d80f0970a7fb3 (patch) | |
tree | 91b9843d74605f15574d1da7cc117c6fda1aec42 /include | |
parent | c943a9aa4f48bdbeae93a8263869e7db96cc2275 (diff) | |
download | llvm-3311d951e22b133207ed6f8e384d80f0970a7fb3.tar.gz llvm-3311d951e22b133207ed6f8e384d80f0970a7fb3.tar.bz2 llvm-3311d951e22b133207ed6f8e384d80f0970a7fb3.tar.xz |
Properly initialize all fields in CrashReporterCleanupContext. This caused the buildbot failure earlier.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128071 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Support/CrashRecoveryContext.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/llvm/Support/CrashRecoveryContext.h b/include/llvm/Support/CrashRecoveryContext.h index 759d2f8c71..db835e8c20 100644 --- a/include/llvm/Support/CrashRecoveryContext.h +++ b/include/llvm/Support/CrashRecoveryContext.h @@ -101,11 +101,10 @@ class CrashRecoveryContextCleanup { protected: CrashRecoveryContext *context; CrashRecoveryContextCleanup(CrashRecoveryContext *context) - : context(context) {} + : context(context), cleanupFired(false) {} public: bool cleanupFired; - CrashRecoveryContextCleanup() : cleanupFired(false) {} virtual ~CrashRecoveryContextCleanup(); virtual void recoverResources() = 0; |