Prospective -fsanitize=memory build fix following r212586
authorAlp Toker <alp@nuanti.com>
Wed, 9 Jul 2014 06:27:05 +0000 (06:27 +0000)
committerAlp Toker <alp@nuanti.com>
Wed, 9 Jul 2014 06:27:05 +0000 (06:27 +0000)
commit2bd8e0cde3b451e14104e982b5fb4a003c83a9ae
treee0342b7addcd6479a74f92c6d090b046275248dd
parent215b35653a138f4e436fc002da83fab523f0f812
Prospective -fsanitize=memory build fix following r212586

This -f group flag appears to influence linker flags, breaking the usual rules
and causing CMake's link invocation to fail during feature detection due to
missing link dependencies (msan_*).

Let's forcibly add it for now to get things the way they were before feature
detection started working.

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