[llvm] [DirectX][ObjectYAML] Add ILDB program part support (PR #189685)
Vladislav Dzhidzhoev via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 29 06:19:42 PDT 2026
================
@@ -11,9 +11,9 @@ Header:
Version:
Major: 1
Minor: 0
- FileSize: 3548
- PartCount: 7
- PartOffsets: [ 60, 76, 92, 108, 236, 1932, 1960 ]
+ FileSize: 2040
----------------
dzhidzhoev wrote:
FileSize field of DXContainer header should match DXContainer file size, as far as I understand. On the current mainline, FileSize is 3548, but the actual size of the file produced by this test is 1996 bytes. Therefore I think the FileSize value 3548 was wrong. 1996 + 8 (size of ILDB PartHeader) + 32 (ILDB part content size) + 4 (a new entry for ILDB part in PartOffsets) = 2040.
https://github.com/llvm/llvm-project/pull/189685
More information about the llvm-commits
mailing list