[llvm] [DirectX][ObjectYAML] Add ILDN part support (PR #194508)
James Henderson via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 30 00:50:16 PDT 2026
================
@@ -531,6 +531,13 @@ void MappingTraits<llvm::DXContainerYAML::StaticSamplerYamlDesc>::mapping(
#include "llvm/BinaryFormat/DXContainerConstants.def"
}
+void MappingTraits<DXContainerYAML::DebugName>::mapping(
+ IO &IO, DXContainerYAML::DebugName &DebugName) {
+ IO.mapRequired("Flags", DebugName.Flags);
+ IO.mapRequired("NameLength", DebugName.NameLength);
+ IO.mapRequired("DebugName", DebugName.DebugName);
----------------
jh7370 wrote:
Do you really need to make all these fields required? I can accept that DebugName might need to be (though in some contexts an empty string is not unreasonable), but I'm not convinced about the others. Presumably a flag of 0 would be a reasonable default, while the name length can be derived from "DebugName"?
https://github.com/llvm/llvm-project/pull/194508
More information about the llvm-commits
mailing list