diff options
author | Arseniy Zaostrovnykh <necto.ne@gmail.com> | 2025-10-03 16:29:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-10-03 16:29:41 +0200 |
commit | cf86ef925d75ef08526fc399a2888673338298b3 (patch) | |
tree | 98092e1419314e4288fdee99ffe635e69187a02a /libcxx/include/__algorithm/comp.h | |
parent | ef4471edfa6d72e13c8f8e90bef521caee6f4b1f (diff) | |
download | llvm-cf86ef925d75ef08526fc399a2888673338298b3.zip llvm-cf86ef925d75ef08526fc399a2888673338298b3.tar.gz llvm-cf86ef925d75ef08526fc399a2888673338298b3.tar.bz2 |
[clang][analyzer] Make per-entry-point metric rows uniquely identifiable
Also remove the gratuitous spaces after "," that break strict CSV
compliance.
As the debug function name does not uniquely identify an entry point,
add the main-TU name and the USR values for each entry point snapshot to
reduce the likelihood of collisions between declarations across large
projects.
While adding a filename to each row increases the file size
substantially, the difference in size for the compressed is acceptable.
I evaluated it on our set of 200+ open source C and C++ projects with 3M
entry points, and got the following results when adding these two
columns:
- Raw CSV file increased from 530MB to 1.1GB
- Compressed file (XZ) increased from 54 MB to 78 MB
--
CPP-7098
---------
Co-authored-by: Balazs Benics <balazs.benics@sonarsource.com>
Diffstat (limited to 'libcxx/include/__algorithm/comp.h')
0 files changed, 0 insertions, 0 deletions