[llvm] [llvm-debuginfo-analyzer] Add support for DWARF `DW_AT_byte_size` (PR #139110)
Carlos Alberto Enciso via llvm-commits
llvm-commits at lists.llvm.org
Mon May 12 04:08:05 PDT 2025
================
@@ -1987,6 +1987,7 @@ Error LVLogicalVisitor::visitKnownRecord(CVType &Record, ClassRecord &Class,
Scope->setName(Class.getName());
if (Class.hasUniqueName())
Scope->setLinkageName(Class.getUniqueName());
+ Scope->setBitSize(Class.getSize() * DWARF_CHAR_BIT);
----------------
CarlosAlbertoEnciso wrote:
What is the difference with `Scope->setBitSize` for `LF_BITFIELD (TPI): BitFieldRecord &BF`?
https://github.com/llvm/llvm-project/pull/139110
More information about the llvm-commits
mailing list