aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-cov/SourceCoverageViewText.cpp
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2024-10-19 09:38:25 -0700
committerGitHub <noreply@github.com>2024-10-19 09:38:25 -0700
commit697a455e6fecf364c1ac4ff9874aefddf2952454 (patch)
treefb2afa41c2e8f77407a609a875225be9217b7fab /llvm/tools/llvm-cov/SourceCoverageViewText.cpp
parent02bf3b54c02643069ad1a952c19f97cab00a3241 (diff)
downloadllvm-697a455e6fecf364c1ac4ff9874aefddf2952454.zip
llvm-697a455e6fecf364c1ac4ff9874aefddf2952454.tar.gz
llvm-697a455e6fecf364c1ac4ff9874aefddf2952454.tar.bz2
More aggressively deduplicate global warnings based on contents. (#112801)
I've been getting complaints from users being spammed by -gmodules missing file warnings going out of control because each object file depends on an entire DAG of PCM files that usually are all missing at once. To reduce this problem, this patch does two things: 1. Module now maintains a DenseMap<hash, once> that is used to display each warning only once, based on its actual text. 2. The PCM warning itself is reworded to include less details, such as the DIE offset, which is only useful to LLDB developers, who can get this from the dwarf log if they need it. Because the detail is omitted the hashing from (1) deduplicates the warnings. rdar://138144624
Diffstat (limited to 'llvm/tools/llvm-cov/SourceCoverageViewText.cpp')
0 files changed, 0 insertions, 0 deletions