]> granicus.if.org Git - llvm/commit
[cmake] Changes to get Windows self-host working with PGO
authorRussell Gallop <russell.gallop@gmail.com>
Wed, 18 Sep 2019 09:43:13 +0000 (09:43 +0000)
committerRussell Gallop <russell.gallop@gmail.com>
Wed, 18 Sep 2019 09:43:13 +0000 (09:43 +0000)
commit527096752d4ee1286860cc3f1815b117aa0dbd3a
tree053572d5be43aa1f8b113ca386cadc6912c56573
parent7e270c6c89a871a0665b1232a3866cab2a83a76f
[cmake] Changes to get Windows self-host working with PGO

Fixes quoting of profile arguments to work on Windows
Suppresses adding profile arguments to linker flags when using lld-link
Avoids -fprofile-instr-use being added to rc.exe flags
Removes duplicated adding of -fprofile-instr-use to linker flags (since
r355541)
Move handling LLVM_PROFDATA_FILE to HandleLLVMOptions.cmake

Differential Revision: https://reviews.llvm.org/D62063

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@372209 91177308-0d34-0410-b5e6-96231b3b80d8
CMakeLists.txt
cmake/modules/HandleLLVMOptions.cmake