diff options
author | pavook <pavook@yandex-team.com> | 2024-07-09 21:51:58 +0300 |
---|---|---|
committer | pavook <pavook@yandex-team.com> | 2024-07-09 22:04:51 +0300 |
commit | 61749bcd2a4418b6332c7a4b4568a1ea7c68bf66 (patch) | |
tree | 6ca5945e20af302e76657dc5f8ea2e073ff3836f /contrib/libs/llvm14/lib/DebugInfo/DWARF/DWARFDie.cpp | |
parent | 4e76d760c9740b2785c03ee4717e1c48e61ae049 (diff) | |
download | ydb-61749bcd2a4418b6332c7a4b4568a1ea7c68bf66.tar.gz |
YT-22068: Always check prefix invariant on adding new statistics
Prefix invariant: "no statistic path is a (path) prefix of another statistic path".
- Check that the statistic is compatible **before** inserting it.
- Set an operation alert if an incompatible statistic appears at some point.
- Make sure that incompatible statistics do not crash anyone.
- Add a test checking that all characters with code points less than `/` are banned in statistic paths to ensure correctness of the check.
- Add a test checking AppendStatistic behavior.
fc5782fd97cdd191a94f1efa2d9c3ef11ac114f5
Diffstat (limited to 'contrib/libs/llvm14/lib/DebugInfo/DWARF/DWARFDie.cpp')
0 files changed, 0 insertions, 0 deletions