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)
commit57c7a62b973e909c29a7da46bae11051b16a5de8
tree192653cde79baf5e387cb4a6de43a133abf3f64a
parent43899d44c2f47e2fbd29e8d3745f1f68e29ba306
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.

llvm-svn: 240890
llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
llvm/test/DebugInfo/ARM/bitfield.ll