aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/libclang/LibclangTest.cpp
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2018-04-16 21:05:56 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2018-04-16 21:05:56 +0000
commit040888b6239358fa4abb495796e308d1d75c0e1d (patch)
treeb95bee15c1f09dac61fa13ac14ee9693f81354bc /clang/unittests/libclang/LibclangTest.cpp
parentd8d97de51401e8953305613fdfcf8fd3f323f015 (diff)
downloadllvm-040888b6239358fa4abb495796e308d1d75c0e1d.zip
llvm-040888b6239358fa4abb495796e308d1d75c0e1d.tar.gz
llvm-040888b6239358fa4abb495796e308d1d75c0e1d.tar.bz2
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/unittests/libclang/LibclangTest.cpp')
0 files changed, 0 insertions, 0 deletions