Debug Info: One more bitfield bugfix. While yesterday's r240853 fixed
authorAdrian Prantl <aprantl@apple.com>
Sat, 27 Jun 2015 20:12:43 +0000 (20:12 +0000)
committerAdrian Prantl <aprantl@apple.com>
Sat, 27 Jun 2015 20:12:43 +0000 (20:12 +0000)
commit6b2ae13ea345c1b5811f94614a63b07a983886b4
tree01a8a0b163ab7e3a4141d57c43dface8a01cfa43
parent85f44d39177321fb8380cc7117312b762159399a
Debug Info: One more bitfield bugfix. While yesterday's r240853 fixed
the DW_AT_bit_offset computation, the byte offset is in fact also
endian-dependent as it needs to point to the storage unit containing the
most-significant bit of the the bitfield.
I'm so looking forward to emitting the endian-agnostic DWARF 3 version
instead.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240890 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfUnit.cpp
test/DebugInfo/ARM/bitfield.ll