[Bugpoint] Use clang by default.
authorDavide Italiano <davide@freebsd.org>
Wed, 14 Oct 2015 19:48:01 +0000 (19:48 +0000)
committerDavide Italiano <davide@freebsd.org>
Wed, 14 Oct 2015 19:48:01 +0000 (19:48 +0000)
commite99d2083cf5c8425f01d2e67438155ba98b2ba0e
tree32fab41936fdbfce6a4b37427b0fabc4f47196fd
parent2e718249dc58c1d97e3b8d901106e91c9daa72a8
[Bugpoint] Use clang by default.

We now rely on gcc only if either of the following is true:
1) -gcc option is passed by the user
2) clang is not found in the default path.

Differential Revision:  http://reviews.llvm.org/D13642

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@250318 91177308-0d34-0410-b5e6-96231b3b80d8
tools/bugpoint/ExecutionDriver.cpp