[dsymutil] Add support for debug_loc section.
authorFrederic Riss <friss@apple.com>
Sat, 14 Mar 2015 15:49:07 +0000 (15:49 +0000)
committerFrederic Riss <friss@apple.com>
Sat, 14 Mar 2015 15:49:07 +0000 (15:49 +0000)
commit5712ee147f935497902d4bdaba54dac51ce063be
treefa768ccdf309d8eb58a63866c01e5b15f8d3a65e
parentc0cc039a579d1691030af9cb536c779c717f5800
[dsymutil] Add support for debug_loc section.

There is no need to look into the location expressions to transfer them,
the only modification to apply is to patch their base address to reflect
the linked function address.

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