[dsymutil] Gather function ranges during DIE selection.
authorFrederic Riss <friss@apple.com>
Wed, 11 Mar 2015 18:45:59 +0000 (18:45 +0000)
committerFrederic Riss <friss@apple.com>
Wed, 11 Mar 2015 18:45:59 +0000 (18:45 +0000)
commitc45c6d4403c06eaf15de8226c42ba67b03e291db
treef236ad92329c6c3cb4b3e4f4342a2424701dc76b
parent7944cd1ed2252e2f9bf6881f10f6c7fdb9b97012
[dsymutil] Gather function ranges during DIE selection.

Gather the function ranges [low_pc, high_pc) during DIE selection and
store them along with the offset to apply to them to get the linked
addresses.

This is just the data collection part, it comes with no tests. That
information will be used in multiple followup commits to perform the
relocation of line tables and range sections among other things, and
these commits will add tests.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231957 91177308-0d34-0410-b5e6-96231b3b80d8
tools/dsymutil/DwarfLinker.cpp