[dsymutil] Correctly clone address attributes.
authorFrederic Riss <friss@apple.com>
Wed, 11 Mar 2015 18:45:52 +0000 (18:45 +0000)
committerFrederic Riss <friss@apple.com>
Wed, 11 Mar 2015 18:45:52 +0000 (18:45 +0000)
commit89393bbba69e0cb600c4fe67ffccd45b5de4e862
treed0449a9fcccb7ea8f8d8335e6f2bfc9163395cda
parentca75f1df99a5ff315c0cd2bc5352f48c0d682f22
[dsymutil] Correctly clone address attributes.

DW_AT_low_pc on functions is taken care of by the relocation processing, but
DW_AT_high_pc and DW_AT_low_pc on other lexical scopes need special handling.

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