summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnna Zaks <ganna@apple.com>2013-06-06 22:02:58 +0000
committerAnna Zaks <ganna@apple.com>2013-06-06 22:02:58 +0000
commit6838710779a23ea5dfdb5764ad7b7a7451b00bf8 (patch)
treee47be39bfec521e736e3b3cf34491712b4c87be4 /test
parent5955c37230046e8c297f5afb9f91b7c8c1e18446 (diff)
downloadclang-6838710779a23ea5dfdb5764ad7b7a7451b00bf8.tar.gz
[analyzer] Ensure that pieces with invalid locations always get removed from the BugReport
The function in which we were doing it used to be conditionalized. Add a new unconditional cleanup step. This fixes PR16227 (radar://14073870) - a crash when generating html output for one of the test files. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@183451 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/Analysis/unix-fns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Analysis/unix-fns.c b/test/Analysis/unix-fns.c
index 2258a8e5f0..ecd2421d5d 100644
--- a/test/Analysis/unix-fns.c
+++ b/test/Analysis/unix-fns.c
@@ -1,6 +1,6 @@
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -analyze -analyzer-checker=core,unix.API,osx.API %s -analyzer-store=region -analyzer-output=plist -analyzer-eagerly-assume -analyzer-config faux-bodies=true -analyzer-config path-diagnostics-alternate=false -fblocks -verify -o %t.plist
// RUN: FileCheck --input-file=%t.plist %s
-
+// RUN: %clang_cc1 -analyze -analyzer-checker=core,unix.API,osx.API -analyzer-output=html -analyzer-config faux-bodies=true -fblocks -o %T/dir %s
struct _opaque_pthread_once_t {
long __sig;
char __opaque[8];