diff options
author | Ted Kremenek <kremenek@apple.com> | 2011-03-21 18:40:10 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2011-03-21 18:40:10 +0000 |
commit | cd1eecfe4f43a542c8f9a6e7d12fa69b28c23a67 (patch) | |
tree | 8951b2383d8e8de0721decf8223cdec1c6c1a455 | |
parent | 03201fbbdeb3eb7f465610b09c281ee6aa84e3ca (diff) |
Relax assertion to fail during crash recovery cleanup.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@128010 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Basic/Diagnostic.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/Basic/Diagnostic.cpp b/lib/Basic/Diagnostic.cpp index f654ede49d..dc81f88c5c 100644 --- a/lib/Basic/Diagnostic.cpp +++ b/lib/Basic/Diagnostic.cpp @@ -687,7 +687,5 @@ PartialDiagnostic::StorageAllocator::StorageAllocator() { PartialDiagnostic::StorageAllocator::~StorageAllocator() { // Don't assert if we are in a CrashRecovery context, as this // invariant may be invalidated during a crash. - assert((NumFreeListEntries == NumCached || - llvm::CrashRecoveryContext::isRecoveringFromCrash()) - && "A partial is on the lamb"); + assert((NumFreeListEntries == NumCached || llvm::CrashRecoveryContext::isRecoveringFromCrash()) && "A partial is on the lamb"); } |