aboutsummaryrefslogtreecommitdiff
path: root/libcxx/include/__algorithm
diff options
context:
space:
mode:
authorHongtao Yu <hoy@fb.com>2021-06-16 11:51:39 -0700
committerHongtao Yu <hoy@fb.com>2021-06-18 11:54:23 -0700
commitc60f1d5d98ebf1cec20b80f5a94d733290dd6556 (patch)
tree0a61fe0baa6b4c52fe2e5603948a56d1ea27ff84 /libcxx/include/__algorithm
parent14407332de6185462ceda785c620bb1206e7ca40 (diff)
downloadllvm-c60f1d5d98ebf1cec20b80f5a94d733290dd6556.zip
llvm-c60f1d5d98ebf1cec20b80f5a94d733290dd6556.tar.gz
llvm-c60f1d5d98ebf1cec20b80f5a94d733290dd6556.tar.bz2
[CSSPGO] Fix an invalid hash table reference issue in the CS preinliner.
We were using a `StringMap` object to store all profiles to be emitted. The object is basically an unordered hash table, therefore updating it in the process of trasvering it may cause issue since the underlying bucket array could change. I'm also moving the `csspgo-preinliner` switch around so that no context tri will be constructed (by the constructor of `CSPreInliner`) when the switch is off. Reviewed By: wenlei Differential Revision: https://reviews.llvm.org/D104267
Diffstat (limited to 'libcxx/include/__algorithm')
0 files changed, 0 insertions, 0 deletions