From: Ted Kremenek Date: Tue, 22 Apr 2008 06:09:33 +0000 (+0000) Subject: Added panic function "dtrace_assfail". X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9a108ae69eff9bae82d4dd9f11756d0ae466041f;p=clang Added panic function "dtrace_assfail". git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50091 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Analysis/GRExprEngine.cpp b/lib/Analysis/GRExprEngine.cpp index 8a00d604de..4c77b6460a 100644 --- a/lib/Analysis/GRExprEngine.cpp +++ b/lib/Analysis/GRExprEngine.cpp @@ -886,7 +886,12 @@ void GRExprEngine::VisitCall(CallExpr* CE, NodeTy* Pred, case 6: if (!memcmp(s, "Assert", 6)) Builder->BuildSinks = true; break; + + case 14: + if (!memcmp(s, "dtrace_assfail", 14)) Builder->BuildSinks = true; + break; } + } }