diff options
author | Anna Zaks <ganna@apple.com> | 2013-06-06 22:02:58 +0000 |
---|---|---|
committer | Anna Zaks <ganna@apple.com> | 2013-06-06 22:02:58 +0000 |
commit | b1b95d9409548cf8082519a1f793759e99cc3801 (patch) | |
tree | aeb0d22fc0638cc6ebdbf0ee49101276acf9e3eb /clang/test/Analysis/unix-fns.c | |
parent | 496312a364ea0109520b245130be628c38aca0ff (diff) | |
download | bcm5719-llvm-b1b95d9409548cf8082519a1f793759e99cc3801.tar.gz bcm5719-llvm-b1b95d9409548cf8082519a1f793759e99cc3801.zip |
[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.
llvm-svn: 183451
Diffstat (limited to 'clang/test/Analysis/unix-fns.c')
-rw-r--r-- | clang/test/Analysis/unix-fns.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Analysis/unix-fns.c b/clang/test/Analysis/unix-fns.c index 2258a8e5f04..ecd2421d5da 100644 --- a/clang/test/Analysis/unix-fns.c +++ b/clang/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]; |