Make linker errors verbose on Windows

llvm-svn: 300809
This commit is contained in:
Eric Fiselier 2017-04-20 01:50:39 +00:00
parent 77ad0d7089
commit 536339e18e
1 changed files with 2 additions and 0 deletions

View File

@ -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]