dwarfdump: Correctly indentify the indicies for DWP records
authorDavid Blaikie <dblaikie@gmail.com>
Thu, 3 Dec 2015 18:41:59 +0000 (18:41 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Thu, 3 Dec 2015 18:41:59 +0000 (18:41 +0000)
commitd61481245dc307bd0c15b7a681fc0b196884589c
tree8a4c9ffe4bf9559c4768cc0fd0bb9b2d162df658
parent1c14f2864d7e7b87609c9d4c9b8295d0140ec978
dwarfdump: Correctly indentify the indicies for DWP records

The indicies are one-based, not zero-based, per the spec.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254626 91177308-0d34-0410-b5e6-96231b3b80d8
lib/DebugInfo/DWARF/DWARFUnitIndex.cpp
test/DebugInfo/dwarfdump-dwp.test