[all-commits] [llvm/llvm-project] 70a796: [DirectX][ObjectYAML] Fix SRCI round-trip tests th...

Vladislav Dzhidzhoev via All-commits all-commits at lists.llvm.org
Mon Jun 15 16:29:21 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 70a796cb30aca7ceed507c3f83baace5067bfbf9
      https://github.com/llvm/llvm-project/commit/70a796cb30aca7ceed507c3f83baace5067bfbf9
  Author: Vladislav Dzhidzhoev <vdzhidzhoev at accesssoftek.com>
  Date:   2026-06-16 (Tue, 16 Jun 2026)

  Changed paths:
    M llvm/lib/Object/DXContainer.cpp
    M llvm/test/tools/obj2yaml/DXContainer/SRCIPart-multi-source-zlib-compute.yaml
    M llvm/test/tools/obj2yaml/DXContainer/SRCIPart-multi-source-zlib.yaml
    M llvm/test/tools/obj2yaml/DXContainer/SRCIPart-zlib-compute.yaml
    M llvm/test/tools/obj2yaml/DXContainer/SRCIPart-zlib.yaml
    M llvm/unittests/ObjectYAML/DXContainerYAMLTest.cpp

  Log Message:
  -----------
  [DirectX][ObjectYAML] Fix SRCI round-trip tests that use zlib compression (#202479)

Size of zlib-compressed SRCI part content may vary depending on Zlib
version. Therefore, round-trip yaml2obj/obj2yaml tests for SRCI part of
DXContainer should not rely on Contents section size.

Since part size field is not optional, SRCI part sizes in tests were
slightly increased to adopt to possible Contents section size change.
`Size field in SRCI header does not match SRCI part size` check is
relaxed to allow parsing such DXContainers (where actual SRCI part size
is smaller than allocated part size).



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