aboutsummaryrefslogtreecommitdiff
path: root/libcxx/include/__algorithm/includes.h
diff options
context:
space:
mode:
authorFabian Parzefall <parzefall@fb.com>2022-08-18 21:48:19 -0700
committerFabian Parzefall <parzefall@fb.com>2022-08-18 21:55:06 -0700
commit0f74d191d12e1807d291c8db937f1bb89cfe7caa (patch)
treeeca1aa3564fe3ef97f4d0df70584f53e3c21a623 /libcxx/include/__algorithm/includes.h
parenta191ea7d59508b19a0e73d9a23adc768bcc98246 (diff)
downloadllvm-0f74d191d12e1807d291c8db937f1bb89cfe7caa.zip
llvm-0f74d191d12e1807d291c8db937f1bb89cfe7caa.tar.gz
llvm-0f74d191d12e1807d291c8db937f1bb89cfe7caa.tar.bz2
[BOLT] Generate sections for multiple fragments
This patch adds support to generate any number of sections that are assigned to fragments of functions that are split more than two-way. With this, a function's *nth* split fragment goes into section `.text.cold.n`. This also changes `FunctionLayout::erase` to make sure, that there are no empty fragments at the end of the function. This sometimes happens when blocks are erased from the function. To avoid creating symbols pointing to these fragments, they need to be removed. Reviewed By: rafauler Differential Revision: https://reviews.llvm.org/D130521
Diffstat (limited to 'libcxx/include/__algorithm/includes.h')
0 files changed, 0 insertions, 0 deletions