aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorWilliam Huang <williamjhuang@google.com>2022-12-29 00:35:06 +0000
committerWilliam Huang <williamjhuang@google.com>2023-01-09 22:01:10 +0000
commit5b72d0e4f5eeb8f90c744cac8e0728cffeca61a9 (patch)
treebfdfc4d7a09b20ed7b1963d9bdcceb0ffd220da5 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent13b909ef27e7cb7a4c55d1778254be1ac5c0884d (diff)
downloadllvm-5b72d0e4f5eeb8f90c744cac8e0728cffeca61a9.zip
llvm-5b72d0e4f5eeb8f90c744cac8e0728cffeca61a9.tar.gz
llvm-5b72d0e4f5eeb8f90c744cac8e0728cffeca61a9.tar.bz2
[llvm-profdata] Add option to cap profile output size
Allow user to specify `--output-size-limit=n` to cap the size of generated profile to be strictly under n. Functions with the lowest total sample count are dropped first if necessary. Due to using a heuristic, excessive functions may be dropped to satisfy the size requirement Reviewed By: snehasish Differential Revision: https://reviews.llvm.org/D139603
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions