[lld] [lld][InstrProf] Profile guided function order (PR #96268)

Vincent Lee via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 24 19:06:33 PDT 2024


================
@@ -211,6 +211,9 @@ struct Configuration {
   bool csProfileGenerate = false;
   llvm::StringRef csProfilePath;
   bool pgoWarnMismatch;
+  llvm::StringRef profileGuidedFunctionOrderPath;
+  bool functionOrderForCompression;
+  bool dataOrderForCompression;
----------------
thevinster wrote:

Convention seems to be initializing the `bool` (though in practice it doesn't make a huge difference)

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


More information about the llvm-commits mailing list