[cfe-dev] accessing command line options
Kihong Heo via cfe-dev
cfe-dev at lists.llvm.org
Thu Apr 11 06:04:48 PDT 2019
Thanks a lot.
I want to keep some additional information and intermediate results during analysis and dump it in the given output directory. What would be the simplest way?
2019. 4. 11. 오전 8:59, Kristóf Umann <dkszelethus at gmail.com> 작성:
> You may use the AnalyzerOptions class to retrieve analyzer specific command line options, and you can get one easily from CheckerContext. For the output directory, FrontendOptions should be used, but I don't think you can get your hands on it from a checker callback. What would you like to achieve?
>> On Thu, 11 Apr 2019 at 07:16, Kihong Heo via cfe-dev <cfe-dev at lists.llvm.org> wrote:
>> Hi list,
>> How can I get command line options, especially “-o” of scan-build (output directory), in a checker function such as “checkEndAnalysis”?
>> cfe-dev mailing list
>> cfe-dev at lists.llvm.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev