aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorIlya Biryukov <ibiryukov@google.com>2024-06-24 11:57:36 +0200
committerGitHub <noreply@github.com>2024-06-24 11:57:36 +0200
commitdfbfb6c5c6dba8a25c7a9769e969d56ba19fc14d (patch)
treea50b2ddf31a222b73d98cbdd4e13485a577455ab /clang/lib/CodeGen/CodeGenModule.cpp
parentf8ff9094711b74d3f695f7571f6390f8a481fc52 (diff)
downloadllvm-dfbfb6c5c6dba8a25c7a9769e969d56ba19fc14d.zip
llvm-dfbfb6c5c6dba8a25c7a9769e969d56ba19fc14d.tar.gz
llvm-dfbfb6c5c6dba8a25c7a9769e969d56ba19fc14d.tar.bz2
[SourceManager] Expose max usage of source location space as a Statistic (#96292)
We have been running into source location exhaustion recently and want to use the statistics to monitor the usage in various files to be able to anticipate where the next problem will happen. I picked `Statistic` because it can be written into a structured JSON file and is easier to consume by further automation. This commit does not change any existing per-source-manager metrics exposed via `SourceManager::PrintStats()`. This does create some redundancy, but I also expect to be non-controversial because it aligns with the intended use of `Statistic`.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions