https://llvm.org/bugs/show_bug.cgi?id=25399
Bug ID: 25399
Summary: Can not find my own write checker
Product: clang
Version: unspecified
Hardware: PC
OS: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: Static Analyzer
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
Created attachment 15217
--> https://llvm.org/bugs/attachment.cgi?id=15217&action=edit
Documents of my checker
I wrote a checker myself, and registered it to the analyzer according to the
developer manual in 4 steps, and when run 'clang -cc1 -analyzer-checker-help',
I could see my checker in the checker list, however, when use the checker
with:
'scan-build -enable-checker alpha.unix.MisLock -v gcc testlock.c -c',
it said :
'error: no analyzer checkers are associated with 'alpha.unix.MisLock'
note: use -analyzer-disable-all-checks to disable all static analyzer checkers'
Furthermore, when I use 'scan-build --help' to view my checker, I could not
find it either.
Why there is difference between 'scan-build --help' and 'clang -cc1
-analyzer-checker-help', did I missed something when installing or configuring
the clang???
By the way, my clang version is 3.8, OSX is 10.11
Looking forward to your reply, thank you.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs