[PATCH] D12119: Analyzer: Fix a crasher in UbigraphViz

Anna Zaks via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 14 12:57:19 PDT 2015


zaks.anna added inline comments.

================
Comment at: test/Analysis/free.c:1
@@ -1,2 +1,2 @@
-// RUN: %clang_cc1 -analyze -analyzer-store=region -analyzer-checker=core,unix.Malloc -fblocks -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-store=region -analyzer-checker=core,unix.Malloc -fblocks -analyzer-viz-egraph-ubigraph -verify %s
 // RUN: %clang_cc1 -analyze -analyzer-store=region -analyzer-checker=core,unix.Malloc -fblocks -verify -analyzer-config unix.Malloc:Optimistic=true %s
----------------
I am not sure how to best test ubigraph, but adding it to an existing test is not  great. Some builedbot machines might not have ubigraph installed.

I suggest to commit the fix without any changes to the tests and investigate how it can be tested later on.


http://reviews.llvm.org/D12119





More information about the cfe-commits mailing list