From 80f2c111bdf96636c5fa38cded64b1ff6c368356 Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Tue, 22 Apr 2008 06:09:33 +0000 Subject: [PATCH] Added panic function "dtrace_assfail". llvm-svn: 50091 --- clang/lib/Analysis/GRExprEngine.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/clang/lib/Analysis/GRExprEngine.cpp b/clang/lib/Analysis/GRExprEngine.cpp index 8a00d604dedc..4c77b6460a7a 100644 --- a/clang/lib/Analysis/GRExprEngine.cpp +++ b/clang/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; } + } }