Enable -threads by default.
authorRui Ueyama <ruiu@google.com>
Thu, 17 Nov 2016 17:06:51 +0000 (17:06 +0000)
committerRui Ueyama <ruiu@google.com>
Thu, 17 Nov 2016 17:06:51 +0000 (17:06 +0000)
commit7ee38e00a56d9cb8320353a259bb5d66b8107ca8
tree84001dec8512190f48bcd0b9642bc6fd8fb256a2
parent4cb4c7f4b1fb4c1b67afba4de1e933539ceb7b61
Enable -threads by default.

LLD supports multi-threading, and it seems to be working well as
you can see in r287140. In short, LLD runs a few percent to 30%
faster with -threads and more than 50% faster if you are using
-build-id (your mileage may vary depending on your computer).

However, I don't think most users even don't know about that because
-threads is not a default option.

This patch enables it by default.

Discussion thread:
http://lists.llvm.org/pipermail/llvm-dev/2016-November/107160.html

llvm-svn: 287237
lld/ELF/Driver.cpp