[lld] [lld][ELF] Extend profile guided function ordering to ELF binaries (PR #117514)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 29 22:53:21 PST 2024


================
@@ -141,6 +141,20 @@ def call_graph_profile_sort: JJ<"call-graph-profile-sort=">,
 def : FF<"no-call-graph-profile-sort">, Alias<call_graph_profile_sort>, AliasArgs<["none"]>,
   Flags<[HelpHidden]>;
 
+defm irpgo_profile_sort: Eq<"irpgo-profile-sort",
----------------
MaskRay wrote:

Ideally implement the change for Mach-O in a prerequisite patch, then implement it in this PR as a follow-up

guideline: improve the base, then port the base 

https://github.com/llvm/llvm-project/pull/117514


More information about the llvm-commits mailing list