Mostly revert 252842 due to failures on some buildbots.
authorDavid Blaikie <dblaikie@gmail.com>
Thu, 12 Nov 2015 06:33:14 +0000 (06:33 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Thu, 12 Nov 2015 06:33:14 +0000 (06:33 +0000)
commitc65ca6797f951b6c8b113aa234ab42e0a6d5a3d3
treeb071f8e3ea2745ffe1f5fe831e929beee5c0c725
parent41e2c9884254233141ecf07344729734ba060832
Mostly revert 252842 due to failures on some buildbots.

I imagine there's some UB in here somewhere, though Valgrind doesn't
seem to have picked it up (not sure if I have a working asan build right
now to test there).

GDB bot seems to be crashing:
http://lab.llvm.org:8011/builders/clang-x86_64-ubuntu-gdb-75/builds/26267/steps/check-all/logs/FAIL%3A%20LLVM%3A%3Adwarfdump-dwp.test

Hexagon ELF bot is, presumably, just getting different output:
http://lab.llvm.org:8011/builders/clang-hexagon-elf/builds/32927/steps/check-all/logs/FAIL%3A%20LLVM%3A%3Adwarfdump-dwp.test

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