================
@@ -814,13 +814,17 @@ DWARFASTParserClang::ParseTypeModifier(const
SymbolContext &sc,
// there...
[[fallthrough]];
- case DW_TAG_base_type:
+ case DW_TAG_base_type: {
resolve_state = Type::ResolveState::Full;
+ // If a builtin type's size isn't a multiple of a byte, DWARF producers may
+ // add a precise bit-size to the type. Use the most precise bit-size
+ // possible.
+ uint64_t bit_size = attrs.data_bit_size ? *attrs.data_bit_size
----------------
bulbazord wrote:
That's incredibly strange... I've never encountered that feedback myself. I'll
suggest `const` anywhere and everywhere something does not need to change.
https://github.com/llvm/llvm-project/pull/165689
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits