[llvm-bugs] [Bug 46177] webkit NoUncountedMemberChecker crashes on very simple C code
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Jun 3 07:32:46 PDT 2020
https://bugs.llvm.org/show_bug.cgi?id=46177
Chris Hamilton <chris.hamilton at ericsson.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|DUPLICATE |---
Status|RESOLVED |REOPENED
--- Comment #2 from Chris Hamilton <chris.hamilton at ericsson.com> ---
This issue remains after d61ad660503d landed. Seems this is *not* a duplicate:
ch[09:25][repo/ch/llvm]$ ghist | grep NoUncount
* d61ad660503d 2020-06-02 | [Analyzer][WebKit] Check record definition is
available in NoUncountedMembers checker [jkorous at apple.com]
* 660cda572d6e 2020-03-31 | [Analyzer][WebKit] NoUncountedMembersChecker
[jkorous at apple.com]
ch[09:25][repo/ch/llvm]$ cat reduced.c
struct {};
ch[09:25][repo/ch/llvm]$ ./build-debug/bin/clang-tidy
-checks=-*,clang-analyzer-webkit.WebKitNoUncountedMemberChecker reduced.c
Error while trying to load a compilation database:
Could not auto-detect compilation database for file "reduced.c"
No compilation database found in /repo/ch/llvm or any parent directory
fixed-compilation-database: Error while opening fixed database: No such file or
directory
json-compilation-database: Error while opening JSON database: No such file or
directory
Running without flags.
clang-tidy:
/repo/ch/llvm/clang/lib/StaticAnalyzer/Checkers/WebKit/PtrTypesSemantics.cpp:147:
bool clang::isRefCounted(const clang::CXXRecordDecl*): Assertion `R' failed.
PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash
backtrace.
Stack dump:
0. Program arguments: ./build-debug/bin/clang-tidy
-checks=-*,clang-analyzer-webkit.WebKitNoUncountedMemberChecker reduced.c
1. <eof> parser at end of file
Aborted
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200603/458d4e0b/attachment-0001.html>
More information about the llvm-bugs
mailing list