This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug rust/22936] some tests fail with rustc 1.24
- From: "tromey at sourceware dot org" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 08 Mar 2018 17:04:44 +0000
- Subject: [Bug rust/22936] some tests fail with rustc 1.24
- Auto-submitted: auto-generated
- References: <bug-22936-4717@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=22936
--- Comment #4 from Tom Tromey <tromey at sourceware dot org> ---
I was misreading the base type text of course; I think there's just
no support for having both attributes.
LLVM is doing this:
bool IsBitfield = FieldSize && Size != FieldSize;
if (IsBitfield) {
// Handle bitfield, assume bytes are 8 bits.
if (DD->useDWARF2Bitfields())
addUInt(MemberDie, dwarf::DW_AT_byte_size, None, FieldSize/8);
addUInt(MemberDie, dwarf::DW_AT_bit_size, None, Size);
See
https://github.com/llvm-mirror/llvm/blob/master/lib/CodeGen/AsmPrinter/DwarfUnit.cpp#L1505-L1510
--
You are receiving this mail because:
You are on the CC list for the bug.