[PATCH] D128111: [BOLT] Allow function entry to be a cold fragment

Amir Ayupov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 17 17:54:54 PDT 2022


Amir accepted this revision.
Amir added a comment.
This revision is now accepted and ready to land.

Looking good with one minor nit.



================
Comment at: bolt/test/X86/shared_object_entry.s:3
+# RUN: ld.lld %t.o -o %t.so --shared --entry=func1.cold.1 --emit-relocs 
+# RUN: llvm-bolt -relocs %t.so -o %t -reorder-functions=hfsort+ -split-functions=3 -reorder-blocks=ext-tsp -split-all-cold -dyno-stats -icf=1 -use-gnu-stack
+
----------------
Please split it up into multiple lines to fit into 80 characters


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D128111/new/

https://reviews.llvm.org/D128111



More information about the llvm-commits mailing list