llvm/test/tools/dsymutil
Frederic Riss 3f0363c113 [dsymutil] Emit real dSYM companion binaries.
The binaries containing the linked DWARF generated by dsymutil are not
standard relocatable object files like emitted did previsously. They should be
dSYM companion files, which means they have a different file type in the
header, but also a couple other peculiarities:
 - they contain the segments and sections from the original binary in their
load commands, but not the actual contents. This means they get an address
and a size, but their offset is always 0 (but these are not virtual sections)
 - they also conatin all the defined symbols from the original binary

This makes MC a really bad fit to emit these kind of binaries. The approach
that was used in this patch is to leverage MC's section layout for the
debug sections, but to use a replacement for MachObjectWriter that lives
in MachOUtils.cpp. Some of the low-level helpers from MachObjectWriter
were reused too.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@246012 91177308-0d34-0410-b5e6-96231b3b80d8
2015-08-26 05:10:04 +00:00
..
ARM [dsymutil] actually fix test. 2015-08-25 23:29:43 +00:00
Inputs [dsymutil] Emit real dSYM companion binaries. 2015-08-26 05:10:04 +00:00
X86 [dsymutil] Emit real dSYM companion binaries. 2015-08-26 05:10:04 +00:00
arch-option.test Tweak llvm/test/tools/dsymutil/arch-option.test to avoid globbing on mingw-w64. 2015-08-07 08:38:22 +00:00
archive-timestamp.test [dsymutil] Rename -v option to -verbose 2015-07-29 22:29:34 +00:00
basic-linking.test [dsymutil] Support multiple input files on the command line 2015-07-31 20:22:20 +00:00
debug-map-parsing.test [dsymutil] Store an optional BinaryPath in the debug map. 2015-08-26 05:09:59 +00:00
fat-binary-output.test [dsymutil] Add (unimplemented) --flat option 2015-08-06 21:05:01 +00:00
yaml-object-address-rewrite.test [dsymutil] Store an optional BinaryPath in the debug map. 2015-08-26 05:09:59 +00:00