[all-commits] [llvm/llvm-project] fc77e9: [yaml2obj] Apply output size limit to COFF (#209695)

Haohai Wen via All-commits all-commits at lists.llvm.org
Wed Jul 15 19:48:40 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fc77e9da83e7b850edc336d1d6c4e4c50ff8ac43
      https://github.com/llvm/llvm-project/commit/fc77e9da83e7b850edc336d1d6c4e4c50ff8ac43
  Author: Haohai Wen <haohai.wen at intel.com>
  Date:   2026-07-16 (Thu, 16 Jul 2026)

  Changed paths:
    M llvm/include/llvm/ObjectYAML/COFFYAML.h
    M llvm/include/llvm/ObjectYAML/yaml2obj.h
    M llvm/lib/ObjectYAML/COFFEmitter.cpp
    M llvm/lib/ObjectYAML/yaml2obj.cpp
    A llvm/test/tools/yaml2obj/COFF/output-limit.yaml
    M llvm/tools/yaml2obj/yaml2obj.cpp

  Log Message:
  -----------
  [yaml2obj] Apply output size limit to COFF (#209695)

Route the yaml2obj max-size setting through the COFF emitter and
buffer COFF output with ContiguousBlobAccumulator. This rejects
oversized YAML descriptions consistently with ELF.



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