[all-commits] [llvm/llvm-project] 020815: [analyzer] On-demand parsing capability for CTU

Endre Fülöp via All-commits all-commits at lists.llvm.org
Tue Jun 9 23:59:52 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 020815fafd15ddac0f2b5539e7766107d7b25ddc
      https://github.com/llvm/llvm-project/commit/020815fafd15ddac0f2b5539e7766107d7b25ddc
  Author: Endre Fülöp <endre.fulop at sigmatechnology.se>
  Date:   2020-06-10 (Wed, 10 Jun 2020)

  Changed paths:
    M clang/docs/analyzer/user-docs/CrossTranslationUnit.rst
    M clang/include/clang/CrossTU/CrossTranslationUnit.h
    M clang/include/clang/StaticAnalyzer/Core/AnalyzerOptions.def
    M clang/lib/CrossTU/CrossTranslationUnit.cpp
    M clang/test/Analysis/Inputs/ctu-other.c
    A clang/test/Analysis/Inputs/ctu-other.c.externalDefMap.ast-dump.txt
    R clang/test/Analysis/Inputs/ctu-other.c.externalDefMap.txt
    A clang/test/Analysis/Inputs/ctu-other.cpp.externalDefMap.ast-dump.txt
    R clang/test/Analysis/Inputs/ctu-other.cpp.externalDefMap.txt
    M clang/test/Analysis/analyzer-config.c
    M clang/test/Analysis/ctu-different-triples.cpp
    M clang/test/Analysis/ctu-main.c
    M clang/test/Analysis/ctu-main.cpp
    A clang/test/Analysis/ctu-on-demand-parsing.c
    A clang/test/Analysis/ctu-on-demand-parsing.cpp
    M clang/test/Analysis/ctu-unknown-parts-in-triples.cpp
    M clang/unittests/CrossTU/CrossTranslationUnitTest.cpp

  Log Message:
  -----------
  [analyzer] On-demand parsing capability for CTU

Summary:
Introduce on-demand parsing of needed ASTs during CTU analysis.
The index-file format is extended, and analyzer-option CTUInvocationList
is added to specify the exact invocations needed to parse the needed
source-files.

Reviewers: martong, balazske, Szelethus, xazax.hun, whisperity

Reviewed By: martong, xazax.hun

Subscribers: gribozavr2, thakis, ASDenysPetrov, ormris, mgorny, whisperity, xazax.hun, baloghadamsoftware, szepet, rnkovacs, a.sidorin, mikhail.ramalho, Szelethus, donat.nagy, dkrupp, Charusso, steakhal, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D75665




More information about the All-commits mailing list