Page MenuHomePhabricator

[clang][clang-scan-deps] Add a mode that can compute overhead in duplicated module builds
Changes PlannedPublic

Authored by dang on May 15 2020, 6:25 AM.

Details

Reviewers
Bigcheese
Summary

Adds a command line option "--metrics" that computes and outputs this
information at the end of a run.
This identifies modules duplicated due to strict context hashing and computes
how many of them of identical ASTs.

Diff Detail

Unit TestsFailed

TimeTest
560 msClang.Modules::ASTSignature.c
Script: -- : 'RUN: at line 1'; rm -rf C:\ws\prod\llvm-project\build\tools\clang\test\Modules\Output\ASTSignature.c.tmp

Event Timeline

dang created this revision.May 15 2020, 6:25 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 15 2020, 6:25 AM
dang retitled this revision from [clang][clang-scan-deps] Add a mode that can compute overhead in duplicated module builds to [clang][clang-scan-deps] Add a mode that can compute overhead in duplicated module builds (Patch series 3/3).May 15 2020, 6:30 AM
dang edited the summary of this revision. (Show Details)
dang updated this revision to Diff 264243.May 15 2020, 7:40 AM

Updating D80003: [clang][clang-scan-deps] Add a mode that can compute overhead in duplicated module builds (Patch series 3/3)

dang retitled this revision from [clang][clang-scan-deps] Add a mode that can compute overhead in duplicated module builds (Patch series 3/3) to [clang][clang-scan-deps] Add a mode that can compute overhead in duplicated module builds.May 22 2020, 1:24 AM
dang edited the summary of this revision. (Show Details)
dang updated this revision to Diff 265676.EditedMay 22 2020, 1:37 AM

Rebase this on top of the new AST Signature patch

dang planned changes to this revision.Mon, Jun 15, 11:16 AM