[dsymutil] Implement DW_AT_ranges linking.
authorFrederic Riss <friss@apple.com>
Fri, 13 Mar 2015 23:30:31 +0000 (23:30 +0000)
committerFrederic Riss <friss@apple.com>
Fri, 13 Mar 2015 23:30:31 +0000 (23:30 +0000)
commite031501c91d7fa780ee679e0f693642999f19841
tree4c3f569a18ef443fe68b8a1dea15129bee474036
parentf13be986fb038a92ee4ce1efe83d39b426a69949
[dsymutil] Implement DW_AT_ranges linking.

Nothing fancy, just a straightforward offset to apply to the original
debug_ranges entries to get them in line with the linked addresses.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232232 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/dsymutil/X86/basic-lto-dw4-linking-x86.test
test/tools/dsymutil/X86/basic-lto-linking-x86.test
tools/dsymutil/DwarfLinker.cpp