[llvm-dwp] Include the debug_line.dwo section
authorDavid Blaikie <dblaikie@gmail.com>
Fri, 4 Dec 2015 21:16:42 +0000 (21:16 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Fri, 4 Dec 2015 21:16:42 +0000 (21:16 +0000)
commit19d1511e67cb88a242419ad529e01d66739f283d
treed96553147044f19b0c052f4aedc6ffb2913bee3b
parentfb25c75967e3b30f6687737616613a56c9d442ca
[llvm-dwp] Include the debug_line.dwo section

This probably shouldn't be generated in the .dwo file for CUs, only for
TUs, but it's in the sample .dwos (generated by clang) so dwp should
reflect that.

Arguably the DWP tool could be smart enough to know that the CUs
shouldn't need a debug_line.dwo section and skip that even when it's
legitimately generated for TUs, but that's a bit more off-book.

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