[llvm-dwp] Correctly update debug_str_offsets.dwo when linking dwo files
authorDavid Blaikie <dblaikie@gmail.com>
Tue, 1 Dec 2015 18:07:07 +0000 (18:07 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Tue, 1 Dec 2015 18:07:07 +0000 (18:07 +0000)
commit0fb89f7b8241946815f6eb9ae59589e184d9b016
treeca866e804cb08f548f2545b9ef9db6fd532569f2
parent76eb0395686d266a7416d578867fc62ef5e4ee82
[llvm-dwp] Correctly update debug_str_offsets.dwo when linking dwo files

This doesn't deduplicate strings in the debug_str section, nor does it
properly wire up the index so that debug_info can /find/ these strings,
but it does correct the str_offsets specifically.

Follow up patches to address those related/next issues.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254431 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/llvm-dwp/X86/simple.test
tools/llvm-dwp/llvm-dwp.cpp