[clang] [llvm] [DebugInfo] Emit DW_AT_bit_size for _BitInt types and others (PR #164372)
Michael Buch via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 29 04:16:44 PDT 2025
================
@@ -1795,6 +1795,11 @@ void DwarfCompileUnit::createBaseTypeDIEs() {
// Round up to smallest number of bytes that contains this number of bits.
addUInt(Die, dwarf::DW_AT_byte_size, std::nullopt,
divideCeil(Btr.BitSize, 8));
+ // If the value of an object of the given type does not fully occupy the
----------------
Michael137 wrote:
Remind me, why did we remove the test you added in one of the previous revisions? I think we're still missing this coverage?
https://github.com/llvm/llvm-project/pull/164372
More information about the cfe-commits
mailing list