[llvm] Introduction of Composite Profile section in ExtBinary format (PR #166553)

Sergey Shcherbinin via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 26 07:50:54 PDT 2026


================
@@ -753,8 +772,31 @@ std::error_code SampleProfileWriterExtBinary::writeCtxSplitLayout(
   return sampleprof_error::success;
 }
 
+void SampleProfileWriterExtBinary::configureCompositeProfile(
+    const SampleProfileMap &ProfileMap) {
+  WriteCompositeProf = ExtBinaryCompositeProf || ProfileMap.hasNonLBRProfile();
----------------
SergeyShch01 wrote:

Done

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


More information about the llvm-commits mailing list