[dsymutil] Support scattered relocs.
authorFrederic Riss <friss@apple.com>
Mon, 1 Feb 2016 03:44:22 +0000 (03:44 +0000)
committerFrederic Riss <friss@apple.com>
Mon, 1 Feb 2016 03:44:22 +0000 (03:44 +0000)
commit0314e1e1ef21112f22a8a7853666680e9a9846cf
tree17b32b227df94b4532b6b15c958b26fdb1385f2f
parent784d4a455b42272c27a28e152d4c9f9e51293aa4
[dsymutil] Support scattered relocs.

Although it seems like clang will never emit scattered relocations in
the debug information (at least I couldn't find a way), we have too
support them for the benefit of other compilers.
As clang doesn't generate them, the included testcase was produced
from hacked up assembly.

llvm-svn: 259339
llvm/test/tools/dsymutil/ARM/dummy-debug-map.map [new file with mode: 0644]
llvm/test/tools/dsymutil/ARM/scattered.c [new file with mode: 0644]
llvm/test/tools/dsymutil/Inputs/scattered-reloc/1.o [new file with mode: 0644]
llvm/test/tools/dsymutil/Inputs/scattered-reloc/1.s [new file with mode: 0644]
llvm/tools/dsymutil/DwarfLinker.cpp