apple / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies. This fork is used to manage Apple’s stable releases of Clang as well as support the Swift project.
https://llvm.org
Other
1.1k stars 320 forks source link

[6.0][clang][cas] Ingest the plist output of the clang analyzer action when caching is enabled #8867

Closed akyrtzi closed 4 weeks ago

akyrtzi commented 4 weeks ago

The ingestion happens directly from the file-system when the analyzer action is used. This is a simpler approach that having the analyzer infrastructure adopt VirtualOutputBackend, which would be intrusive and require constant maintenance of such code out-of-tree.

Once VirtualOutputBackend gets upstreamed we should also change the analyzer to adopt it on the upstream repo, then the direct ingestion code can be removed.

rdar://129021951 (cherry picked from commit 768f97e2a278fd5e52543864b0f3d0eaa5b38af3)

akyrtzi commented 4 weeks ago

@swift-ci Please test