[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)
commitdfb9790a3d9564819c9b529c19675300e20d461f
tree71c753bbedbaa7ada698a013ae2c7a36062f0d8d
parent09db991e3797f56424ccd205083df79e4965b93a
[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.

llvm-svn: 232267
llvm/test/tools/dsymutil/X86/basic-linking-x86.test
llvm/test/tools/dsymutil/X86/basic-lto-dw4-linking-x86.test
llvm/test/tools/dsymutil/X86/basic-lto-linking-x86.test
llvm/tools/dsymutil/DwarfLinker.cpp