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

Snehasish Kumar via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 20 20:14:59 PDT 2026


================
@@ -187,7 +207,7 @@ SampleProfileWriterExtBinaryBase::markSectionStart(SecType Type,
   assert(LayoutIdx < SectionHdrLayout.size() && "LayoutIdx out of range");
   const auto &Entry = SectionHdrLayout[LayoutIdx];
   assert(Entry.Type == Type && "Unexpected section type");
-  // Use LocalBuf as a temporary output for writting data.
+  // Use LocalBuf as a temporary output for writing data.
----------------
snehasish wrote:

While it's nice to fix these, it's making a large diff even larger. Can we commit typo fixes and improvements such as the .empty() usage below as a separate PR?

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


More information about the llvm-commits mailing list