[PATCH] D85319: [analyzer][RFC] Get info from the LLVM IR for precision
Gabor Marton via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Aug 7 01:30:09 PDT 2020
martong added inline comments.
================
Comment at: clang/lib/StaticAnalyzer/Frontend/FrontendActions.cpp:30
+ // markers which are used by some LLVM analysis (e.g. AliasAnalysis).
+ CGO.OptimizationLevel = 2; // -O2
+
----------------
TODO overwrite ALL optimization related config.
Artem:
> we should not be taking -O flags into account at all, but pick some default -O2 regardless of flags; and ideally all flags should be ignored by default, to ensure experience as consistent as possible.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D85319/new/
https://reviews.llvm.org/D85319
More information about the cfe-commits
mailing list