aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Sema/SemaInit.cpp
diff options
context:
space:
mode:
authorAiden Grossman <agrossman154@yahoo.com>2024-01-19 11:34:00 -0800
committerGitHub <noreply@github.com>2024-01-19 11:34:00 -0800
commitc067524852816c9f6a99ddbb888cd33b9c5a2042 (patch)
tree20abb861f91c6226d7cd059f92659bd6dd5b2d34 /clang/lib/Sema/SemaInit.cpp
parent76ffa8f63a817758d49c45297591e05760155044 (diff)
downloadllvm-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