[cfe-dev] how can I enable alpha/debug checker or my own checker
Jordan Rose
jordan_rose at apple.com
Thu May 30 10:04:41 PDT 2013
Good catch. I'll fix this soon...sorry!
Jordan
On May 30, 2013, at 0:33 , 龙行天下 <hunterguo at vip.qq.com> wrote:
> i write a new checker named test.NewChecker.it works in cmd:clang -cc1 -analyze -analyzer-checker=test.NewChecker test.c
> but cmd:./scan-build --use-analyzer=/Users/tester/workspace/WeixinTest/clang/release3.2/build/Release+Asserts/bin/clang -o ~/Documents -enable-checker test.NewChecker xcodebuild -workspace /Users/tester/workspace/WeixinTest/workspace/PropMemFun/PropMemFun.xcodeproj/project.xcworkspace -scheme PropMemFun -sdk iphoneos6.1 build
> not work
> it seems that -enable-checker does not work because $Options->{"CCC_ANALYZER_ANALYSIS"} is not used .the code:
> my $OutputDir = $Options->{"OUTPUT_DIR"};
> my $CLANG = $Options->{"CLANG"};
> push @$Args,
> "RUN_CLANG_STATIC_ANALYZER=YES",
> "CLANG_ANALYZER_OUTPUT=plist-html",
> "CLANG_ANALYZER_EXEC=$CLANG",
> "CLANG_ANALYZER_OUTPUT_DIR=$OutputDir";
> return (system(@$Args) >> 8);
>
>
> my question is :how can I enable alpha/debug checker or my own checker
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130530/132cd316/attachment.html>
More information about the cfe-dev
mailing list