[PATCH] D96334: Correctly recognize bitfields when emitting dwarf
Julian Orth via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 9 05:56:32 PST 2021
mahkoh created this revision.
mahkoh added a reviewer: echristo.
Herald added a subscriber: hiraditya.
mahkoh requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
The code incorrectly assumed that full-sized bitfields are located at a
byte boundary.
This fixes https://bugs.llvm.org/show_bug.cgi?id=44601
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D96334
Files:
llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
llvm/test/DebugInfo/AArch64/bitfields.ll
llvm/test/DebugInfo/ARM/big-endian-bitfield.ll
llvm/test/DebugInfo/ARM/bitfield.ll
llvm/test/DebugInfo/X86/bitfields-dwarf4.ll
llvm/test/DebugInfo/X86/bitfields.ll
llvm/test/DebugInfo/X86/debug-info-packed-struct.ll
llvm/test/DebugInfo/X86/packed_bitfields2.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96334.322359.patch
Type: text/x-patch
Size: 15777 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210209/1496de92/attachment.bin>
More information about the llvm-commits
mailing list