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)
commitd3da8caf6748e353455f1911decd066e24717132
tree3d62eedf76e0b50fd8eb2b9c8ba0cfe2ef7a8adc
parentc03745260e07707684ea8af21845883c3bbd0c20
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

llvm-svn: 240853
llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
llvm/test/DebugInfo/ARM/bitfield.ll [new file with mode: 0644]