Merging r360674:
authorTom Stellard <tstellar@redhat.com>
Thu, 16 May 2019 00:07:53 +0000 (00:07 +0000)
committerTom Stellard <tstellar@redhat.com>
Thu, 16 May 2019 00:07:53 +0000 (00:07 +0000)
commitccfe04576c13497b9c422ceef0b6efe99077a392
treeb8acca7b69ea85c5305e34df47d16c5dd486a1e4
parent0a125120dc2ee0fe914542b605996bebaf0b8e9a
Merging r360674:

------------------------------------------------------------------------
r360674 | russell_gallop | 2019-05-14 07:01:40 -0700 (Tue, 14 May 2019) | 7 lines

[Driver][Windows] Add dependent lib argument for profile instr generate

This is needed so lld-link can find clang_rt.profile when self hosting
on Windows with PGO. Using clang-cl as a linker knows to add the library
but self hosting, using -DCMAKE_LINKER=<...>/lld-link.exe doesn't.

Differential Revision: https://reviews.llvm.org/D61742
------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_80@360828 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/ToolChains/Clang.cpp
test/Driver/cl-options.c
test/Driver/instrprof-ld.c