[dsymutil] Add the DwarfStreamer class.
authorFrederic Riss <friss@apple.com>
Sat, 28 Feb 2015 00:29:11 +0000 (00:29 +0000)
committerFrederic Riss <friss@apple.com>
Sat, 28 Feb 2015 00:29:11 +0000 (00:29 +0000)
commit2929a7accf6eca3c3a8f17701d603e5c27698fcc
treea8fa708d95e731ef7c75023a016228463744df1f
parentd9a80bd641b6cb77488da8a9a908ef73cfd1468b
[dsymutil] Add the DwarfStreamer class.

This class is responsible for getting the linked data to the
disk in the appropriate form. Today it it an empty shell that
just instantiates an MC layer.

As we do not put anything in the resulting file yet, we just
check it has the right architecture (and check that -o does
the right thing).

To be able to create all the components, this commit adds a
few dependencies to llvm-dsymutil, namely all-targets, MC and
AsmPrinter.

Also add a -no-output option, so that tests that do not need
the binary result can continue to run even if they do not have
the required target linked in.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230824 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/dsymutil/X86/basic-linking-x86.test [new file with mode: 0644]
test/tools/dsymutil/X86/lit.local.cfg [new file with mode: 0644]
test/tools/dsymutil/basic-linking.test
tools/dsymutil/CMakeLists.txt
tools/dsymutil/DwarfLinker.cpp
tools/dsymutil/LLVMBuild.txt
tools/dsymutil/Makefile
tools/dsymutil/dsymutil.cpp
tools/dsymutil/dsymutil.h