aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorWei Mi <wmi@google.com>2021-01-05 23:24:43 -0800
committerWei Mi <wmi@google.com>2021-01-19 15:16:19 -0800
commit21b1ad0340a7ba69c605ea1c218adb567b5190ae (patch)
tree054a9bd7c8a95007c30813d82df2f73aa03b4c97 /clang/lib/Frontend/CompilerInvocation.cpp
parent1bf2b1665b43e1a5090177486c8fa6374a4596a2 (diff)
downloadllvm-21b1ad0340a7ba69c605ea1c218adb567b5190ae.zip
llvm-21b1ad0340a7ba69c605ea1c218adb567b5190ae.tar.gz
llvm-21b1ad0340a7ba69c605ea1c218adb567b5190ae.tar.bz2
[SampleFDO] Add the support to split the function profiles with context into
separate sections. For ThinLTO, all the function profiles without context has been annotated to outline functions if possible in prelink phase. In postlink phase, profile annotation in postlink phase is only meaningful for function profile with context. If the profile is large, it is better to split the profile into two parts, one with context and one without, so the profile reading in postlink phase only has to read the part with context. To have the profile splitting, we extend the ExtBinary format to support different section arrangement. It will be flexible to add other section layout in the future without the need to create new class inheriting from ExtBinary class. Differential Revision: https://reviews.llvm.org/D94435
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions