diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2018-04-16 21:05:56 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2018-04-16 21:05:56 +0000 |
commit | 040888b6239358fa4abb495796e308d1d75c0e1d (patch) | |
tree | b95bee15c1f09dac61fa13ac14ee9693f81354bc /clang/lib/Basic/IdentifierTable.cpp | |
parent | d8d97de51401e8953305613fdfcf8fd3f323f015 (diff) | |
download | bcm5719-llvm-040888b6239358fa4abb495796e308d1d75c0e1d.tar.gz bcm5719-llvm-040888b6239358fa4abb495796e308d1d75c0e1d.zip |
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.
llvm-svn: 330158
Diffstat (limited to 'clang/lib/Basic/IdentifierTable.cpp')
0 files changed, 0 insertions, 0 deletions