[DWARF parser] Fix nasty memory corruption in .dwo files handling.
authorAlexey Samsonov <vonosmas@gmail.com>
Fri, 5 Sep 2014 19:29:45 +0000 (19:29 +0000)
committerAlexey Samsonov <vonosmas@gmail.com>
Fri, 5 Sep 2014 19:29:45 +0000 (19:29 +0000)
commit54543afeba0c7434b74f4f61bb39f12b3779414c
tree2c1827330c568c1dda2c371620506d3bd9d5a8a6
parent1455ac7a3039dfea5072d6f91c6e3ec77ef7eef1
[DWARF parser] Fix nasty memory corruption in .dwo files handling.

Forge a test case where llvm-symbolizer has to use external .dwo
file to produce the inlining information.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217270 91177308-0d34-0410-b5e6-96231b3b80d8
lib/DebugInfo/DWARFUnit.cpp
lib/DebugInfo/DWARFUnit.h
test/DebugInfo/Inputs/split-dwarf-test [new file with mode: 0755]
test/DebugInfo/Inputs/split-dwarf-test.cc [new file with mode: 0644]
test/DebugInfo/Inputs/split-dwarf-test.dwo [new file with mode: 0644]
test/DebugInfo/llvm-symbolizer.test