[llvm] [DirectX][ObjectYAML] Add ILDB program part support (PR #189685)
Vladislav Dzhidzhoev via llvm-commits
llvm-commits at lists.llvm.org
Wed May 6 05:08:39 PDT 2026
================
@@ -210,13 +216,19 @@ Error DXContainer::parsePartOffsets() {
}
}
+ if (DXIL && DebugDXIL &&
+ DXIL->first.ShaderKind != DebugDXIL->first.ShaderKind)
+ return parseFailed(
+ "ILDB part shader kind does not match DXIL part shader kind");
+
// Fully parsing the PSVInfo requires knowing the shader kind which we read
// out of the program header in the DXIL part.
if (PSVInfo) {
- if (!DXIL)
+ auto ShaderKind = getShaderKind();
----------------
dzhidzhoev wrote:
Done.
https://github.com/llvm/llvm-project/pull/189685
More information about the llvm-commits
mailing list