[llvm] Add bit stride to DICompositeType (PR #131680)
Tom Tromey via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 21 06:09:00 PDT 2025
================
@@ -1702,10 +1703,13 @@ Error MetadataLoader::MetadataLoaderImpl::parseOneMetadata(
if (Record.size() > 23) {
Specification = getMDOrNull(Record[23]);
}
+ // FIXME
+ if (Record.size() > 25)
+ BitStride = getMDOrNull(Record[25]);
}
- if (Record.size() > 25 && Record[25] != dwarf::DW_APPLE_ENUM_KIND_invalid)
- EnumKind = Record[25];
+ if (Record.size() > 24 && Record[24] != dwarf::DW_APPLE_ENUM_KIND_invalid)
+ EnumKind = Record[24];
----------------
tromey wrote:
If that lands first I will rebase onto it.
https://github.com/llvm/llvm-project/pull/131680
More information about the llvm-commits
mailing list