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)
commit696b4a089cde5513973dc8e2cf17684d44e74aa5
treeca99608a0aa71ca2d966bdee8b796fa11a697dc5
parent1c1256830d9e35621401e188c2880fba74a5dca8
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.

llvm-svn: 212590
llvm/cmake/modules/HandleLLVMOptions.cmake