]> granicus.if.org Git - llvm/commit
[dsymutil] Implement the --threads option
authorJonas Devlieghere <jonas@devlieghere.com>
Tue, 31 Oct 2017 13:54:15 +0000 (13:54 +0000)
committerJonas Devlieghere <jonas@devlieghere.com>
Tue, 31 Oct 2017 13:54:15 +0000 (13:54 +0000)
commitac330efcdf3a70ca18b65d3dbfa398b9fff68149
tree42e5879a458e8789448e605c7af070971ece20eb
parent066071f53f9feedbaaa81fc47129e727135a42d1
[dsymutil] Implement the --threads option

This patch adds the --threads option to dsymutil to process
architectures in parallel. The feature is already present in the version
distributed with Xcode, but was not yet upstreamed.

This is NFC as far as the linking behavior is concerned. As threads are
used automatically, the current tests cover the change in
implementation.

Differential revision: https://reviews.llvm.org/D39355

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@316999 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/dsymutil/cmdline.test [new file with mode: 0644]
tools/dsymutil/DwarfLinker.cpp
tools/dsymutil/dsymutil.cpp