[cfe-commits] r128010 - /cfe/trunk/lib/Basic/Diagnostic.cpp
Ted Kremenek
kremenek at apple.com
Mon Mar 21 11:40:10 PDT 2011
Author: kremenek
Date: Mon Mar 21 13:40:10 2011
New Revision: 128010
URL: http://llvm.org/viewvc/llvm-project?rev=128010&view=rev
Log:
Relax assertion to fail during crash recovery cleanup.
Modified:
cfe/trunk/lib/Basic/Diagnostic.cpp
Modified: cfe/trunk/lib/Basic/Diagnostic.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/Diagnostic.cpp?rev=128010&r1=128009&r2=128010&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/Diagnostic.cpp (original)
+++ cfe/trunk/lib/Basic/Diagnostic.cpp Mon Mar 21 13:40:10 2011
@@ -687,7 +687,5 @@
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");
}
More information about the cfe-commits
mailing list