[dsymutil] Add support for the -arch option.
authorFrederic Riss <friss@apple.com>
Wed, 5 Aug 2015 22:33:28 +0000 (22:33 +0000)
committerFrederic Riss <friss@apple.com>
Wed, 5 Aug 2015 22:33:28 +0000 (22:33 +0000)
commit1b709aa2a37739ffb4b8f9bf72e9db271b0430d7
treea9690783cf0a405657e7bd17095f51875d8eef5e
parent0f57ff737c28556d801a90b0fd1dbfe888283b95
[dsymutil] Add support for the -arch option.

This option allows to select a subset of the architectures when
performing a universal binary link. The filter is done completely
in the mach-o specific part of the code.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@244160 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/dsymutil/Inputs/fat-test.arm.dylib [new file with mode: 0755]
test/tools/dsymutil/Inputs/fat-test.arm.o [new file with mode: 0644]
test/tools/dsymutil/arch-option.test [new file with mode: 0644]
tools/dsymutil/MachODebugMapParser.cpp
tools/dsymutil/dsymutil.cpp
tools/dsymutil/dsymutil.h