[Lldb-commits] [lldb] [lldb][TypeSystem] Better support for _BitInt types (PR #165689)
Alex Langford via lldb-commits
lldb-commits at lists.llvm.org
Fri Oct 31 10:32:00 PDT 2025
================
@@ -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
More information about the lldb-commits
mailing list