aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/ELF.cpp
diff options
context:
space:
mode:
authorWenlei He <aktoon@gmail.com>2023-06-28 11:54:39 -0700
committerWenlei He <aktoon@gmail.com>2023-06-28 13:43:30 -0700
commitf97eb1dd8f08e6cb37584bb3bb3d54dc320cff19 (patch)
tree0473b5381fea0ead514fd0e416d1cfa46327292e /llvm/lib/Object/ELF.cpp
parent3cf8b982042e91d9aabb880ccc7a556256187ff9 (diff)
downloadllvm-f97eb1dd8f08e6cb37584bb3bb3d54dc320cff19.zip
llvm-f97eb1dd8f08e6cb37584bb3bb3d54dc320cff19.tar.gz
llvm-f97eb1dd8f08e6cb37584bb3bb3d54dc320cff19.tar.bz2
[NFC][Sample PGO] Avoid non-const accessor for CallsiteSamples
Exposing a non-const accessor for clearing CallsiteSamples during flattening is a big of an overkill. Replace the non-const accessor with removeAllCallsiteSamples. Differential Revision: https://reviews.llvm.org/D153995
Diffstat (limited to 'llvm/lib/Object/ELF.cpp')
0 files changed, 0 insertions, 0 deletions