Debug Info: Fix a bug in the DW_AT_bit_offset calculation that would
authorAdrian Prantl <aprantl@apple.com>
Fri, 26 Jun 2015 23:31:27 +0000 (23:31 +0000)
committerAdrian Prantl <aprantl@apple.com>
Fri, 26 Jun 2015 23:31:27 +0000 (23:31 +0000)
commit60bd365f592121e293f26349e4114248f69461db
tree65d4f6ebbeb7c6c7cfcf9f93b9ee91d5f93eea30
parent340d78d52d970673a0a5efb8ebeaaecdb893fc23
Debug Info: Fix a bug in the DW_AT_bit_offset calculation that would
result in negative offsets and attempt a better job at documenting
the algorithm.

rdar://21082998

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240853 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfUnit.cpp
test/DebugInfo/ARM/bitfield.ll [new file with mode: 0644]