From: Gabor Marton Date: Mon, 12 Aug 2019 12:46:28 +0000 (+0000) Subject: [CrossTU] User docs: remove temporary limiation with macro expansion X-Git-Tag: llvmorg-11-init~12147 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7b4b3305fff358e54a8ed927fd3711a2e1786608;p=platform%2Fupstream%2Fllvm.git [CrossTU] User docs: remove temporary limiation with macro expansion D65064, D64635, D64638 pathces solve the issue with macor expansion. llvm-svn: 368562 --- diff --git a/clang/docs/analyzer/user-docs/CrossTranslationUnit.rst b/clang/docs/analyzer/user-docs/CrossTranslationUnit.rst index 0bbb9ac..86f972b 100644 --- a/clang/docs/analyzer/user-docs/CrossTranslationUnit.rst +++ b/clang/docs/analyzer/user-docs/CrossTranslationUnit.rst @@ -173,15 +173,6 @@ Or we can use `CodeChecker parse -e html` to export the results into HTML format $ CodeChecker parse -e html -o html_out reports $ firefox html_out/index.html -If you experience that Clang crashes during the visitation of the BugPath then please disable macro expansion when CTU is used: - -.. code-block:: bash - - $ echo "-Xclang -analyzer-stats -Xclang -analyzer-config -Xclang expand-macros=false" >./saargs_file - $ CodeChecker analyze --ctu --saargs ./saargs_file compile_commands.json -o reports - -We have a patch which will solve this issue soon. - Automated CTU Analysis with scan-build-py (don't do it) ------------------------------------------------------- We actively develop CTU with CodeChecker as a "runner" script, `scan-build-py` is not actively developed for CTU.