[llvm] [DirectX][ObjectYAML] Add ILDB program part support (PR #189685)
Justin Bogner via llvm-commits
llvm-commits at lists.llvm.org
Tue May 5 23:21:50 PDT 2026
================
@@ -173,8 +177,10 @@ Error DXContainer::parsePartOffsets() {
StringRef PartData = Data.getBuffer().substr(PartDataStart, PartSize);
LastOffset = PartOffset + PartSize;
switch (PT) {
+ case dxbc::PartType::ILDB:
+ [[fallthrough]];
case dxbc::PartType::DXIL:
----------------
bogner wrote:
There's no need for a fallthrough attribute when we have consecutive cases with no statements like this.
Also, let's list these alphabetically if there's no natural order, just to make it unambiguous if we add more cases in the future.
https://github.com/llvm/llvm-project/pull/189685
More information about the llvm-commits
mailing list