commit | 152533c32362916e8fb384edb7e24dee4bd7ed4f | [log] [tgz] |
---|---|---|
author | Saleem Abdulrasool <compnerd@compnerd.org> | Mon Apr 16 21:05:56 2018 +0000 |
committer | Saleem Abdulrasool <compnerd@compnerd.org> | Mon Apr 16 21:05:56 2018 +0000 |
tree | d5427a6e0128a60b47366e5bf7f5723c5a4c623a | |
parent | e9f782a21be31123357649938c03750c09293278 [diff] |
build: reserve `--color-diagnostics` for lld When building out-of-tree compilers (e.g. swift), the linker check here may yield incorrect values. Ensure that we are using lld before we attempt to use `--color-diagnostics` for the linker. Other linkers (i.e bfd, gold) do not support this flag and the test can pass in some cases and then fail subsequently when building. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@330158 91177308-0d34-0410-b5e6-96231b3b80d8