[PATCH] D140457: [BOLT] Process fragment siblings in lite mode, keep lite mode on

Amir Ayupov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 20 22:49:13 PST 2022


Amir created this revision.
Amir added a reviewer: bolt.
Herald added a reviewer: rafauler.
Herald added subscribers: treapster, ayermolo.
Herald added a reviewer: maksfb.
Herald added a project: All.
Amir requested review of this revision.
Herald added subscribers: llvm-commits, yota9.
Herald added a project: LLVM.

In lite mode, include split function fragments to the list of functions to
process even if a fragment has no samples. This is required to properly
detect and update split jump tables (jump tables that contain pointers to code
in the main and cold fragments).


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D140457

Files:
  bolt/include/bolt/Core/BinaryContext.h
  bolt/lib/Rewrite/RewriteInstance.cpp
  bolt/test/X86/fragment-lite-reverse.s
  bolt/test/X86/fragment-lite.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D140457.484470.patch
Type: text/x-patch
Size: 6805 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221221/5b9a3edd/attachment.bin>


More information about the llvm-commits mailing list