aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-profgen/ProfiledBinary.h
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@acm.org>2023-12-02 11:54:59 -0500
committerGitHub <noreply@github.com>2023-12-02 11:54:59 -0500
commit1fa35f0b5dc2f3427fbade0eaaca6e2d8c32caef (patch)
treeef84e1a5b1bf778cbc38639456619436495e872a /llvm/tools/llvm-profgen/ProfiledBinary.h
parentd06e175dbbecaca08c785fe1a6b5fbbfd4da6805 (diff)
downloadllvm-1fa35f0b5dc2f3427fbade0eaaca6e2d8c32caef.zip
llvm-1fa35f0b5dc2f3427fbade0eaaca6e2d8c32caef.tar.gz
llvm-1fa35f0b5dc2f3427fbade0eaaca6e2d8c32caef.tar.bz2
[clang] Avoid recalculating TBAA base type info (#73264)
As nullptr is a legitimate value, change the BaseTypeMetadataCache hash lookup/insertion to use find and insert rather than the subscript operator. Also adjust getBaseTypeInfoHelper to do no insertion, but let getBaseTypeInfo do that.
Diffstat (limited to 'llvm/tools/llvm-profgen/ProfiledBinary.h')
0 files changed, 0 insertions, 0 deletions