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

Endre Fülöp via All-commits all-commits at lists.llvm.org
Thu Jun 11 01:58:25 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5cc18516c4839fccc64b54eaa5aa447a8e1ed8fa
      https://github.com/llvm/llvm-project/commit/5cc18516c4839fccc64b54eaa5aa447a8e1ed8fa
  Author: Endre Fülöp <endre.fulop at sigmatechnology.se>
  Date:   2020-06-11 (Thu, 11 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