[llvm-dwp] Deduplicate strings in the debug_str.dwo section
authorDavid Blaikie <dblaikie@gmail.com>
Tue, 1 Dec 2015 19:17:58 +0000 (19:17 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Tue, 1 Dec 2015 19:17:58 +0000 (19:17 +0000)
commit8e31526513c32e9e432bcd98abee665aca8c0dcf
treeeb3ca1441c122df52a6350c3dbe4e4448371ddab
parent6a07b977968eafc8ead24c5b973fd44091c8aa73
[llvm-dwp] Deduplicate strings in the debug_str.dwo section

Also, ensure that references to those strings in debug_str_offsets.dwo
correctly refer to the deduplicated strings.

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