diff options
author | Aiden Grossman <agrossman154@yahoo.com> | 2024-01-19 11:34:00 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-19 11:34:00 -0800 |
commit | c067524852816c9f6a99ddbb888cd33b9c5a2042 (patch) | |
tree | 20abb861f91c6226d7cd059f92659bd6dd5b2d34 /clang/lib/Sema/SemaInit.cpp | |
parent | 76ffa8f63a817758d49c45297591e05760155044 (diff) | |
download | llvm-c067524852816c9f6a99ddbb888cd33b9c5a2042.zip llvm-c067524852816c9f6a99ddbb888cd33b9c5a2042.tar.gz llvm-c067524852816c9f6a99ddbb888cd33b9c5a2042.tar.bz2 |
[SHT_LLVM_BB_ADDR_MAP] Add assertion and clarify docstring (#77374)
This patch adds an assertion to readBBAddrMapImpl to confirm that
PGOAnalyses and BBAddrMaps are of the same size when PGO information is
requested (part of the API contract). This patch also updates the
docstring for readBBAddrMap to better clarify what is guaranteed.
Diffstat (limited to 'clang/lib/Sema/SemaInit.cpp')
0 files changed, 0 insertions, 0 deletions