DebugInfo: Use hash-based unit lookup when available in dwp files
authorDavid Blaikie <dblaikie@gmail.com>
Wed, 27 Apr 2022 21:17:01 +0000 (21:17 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Wed, 27 Apr 2022 21:18:14 +0000 (21:18 +0000)
commit727c590fe955409fa59d89657b5f7e42d38326e2
treed66139fb81c16af6dc5959af8e6eb2bda66b046d
parentfd0e60d7874363a641e35a862b05d8dfabab77ef
DebugInfo: Use hash-based unit lookup when available in dwp files

Fix a test case that had a bogus (probably I hand crafted it at some
point) index that didn't point to the right data in the process.
llvm/lib/DebugInfo/DWARF/DWARFUnit.cpp
llvm/test/DebugInfo/X86/dwarfdump-str-offsets-dwp.s