summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2017-04-20 01:50:39 +0000
committerEric Fiselier <eric@efcs.ca>2017-04-20 01:50:39 +0000
commit536339e18eacbf67ae02e86bc3c7a509081e0581 (patch)
tree87d8206218af51b47394f5891162bd28c9ca9e88
parent77ad0d7089447e327bfed6a3b6676c93c2c081d0 (diff)
downloadbcm5719-llvm-536339e18eacbf67ae02e86bc3c7a509081e0581.tar.gz
bcm5719-llvm-536339e18eacbf67ae02e86bc3c7a509081e0581.zip
Make linker errors verbose on Windows
llvm-svn: 300809
-rw-r--r--libcxx/utils/libcxx/test/config.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcxx/utils/libcxx/test/config.py b/libcxx/utils/libcxx/test/config.py
index 1bd85faa3ad..9aea6e69189 100644
--- a/libcxx/utils/libcxx/test/config.py
+++ b/libcxx/utils/libcxx/test/config.py
@@ -478,6 +478,8 @@ class Configuration(object):
self.cxx.flags += ['-m32']
# Use verbose output for better errors
self.cxx.flags += ['-v']
+ if self.is_windows:
+ self.cxx.link_flags += ['-Wl,-v']
sysroot = self.get_lit_conf('sysroot')
if sysroot:
self.cxx.flags += ['--sysroot', sysroot]
OpenPOWER on IntegriCloud