[all-commits] [llvm/llvm-project] ed6de5: [ObjectYAML] Fold layoutCOFF into writeCOFF (#221683)

Haohai Wen via All-commits all-commits at lists.llvm.org
Wed Sep 9 18:36:16 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ed6de5998d473b30f502979b87531f21c4cd27b4
      https://github.com/llvm/llvm-project/commit/ed6de5998d473b30f502979b87531f21c4cd27b4
  Author: Haohai Wen <haohai.wen at intel.com>
  Date:   2026-09-10 (Thu, 10 Sep 2026)

  Changed paths:
    M llvm/lib/ObjectYAML/COFFEmitter.cpp

  Log Message:
  -----------
  [ObjectYAML] Fold layoutCOFF into writeCOFF (#221683)

Fold the COFF layout pass into writeCOFF so the
ContiguousBlobAccumulator tracks section offsets and sizes as data is
written. Reserve and fill in the optional header and section table once
the section layout is final.

This is almost NFC, except when the output size exceeds the limit.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list