[cmake] Start adding support for LLVM_USE_SANITIZER=Address on Windows
authorReid Kleckner <rnk@google.com>
Fri, 14 Aug 2015 16:48:34 +0000 (16:48 +0000)
committerReid Kleckner <rnk@google.com>
Fri, 14 Aug 2015 16:48:34 +0000 (16:48 +0000)
commit185d96c36bfe588b6de6f59e11c537bf9f6cc895
treeb88d46c1b38ccf9da0287a8aa6b9bc654575bed5
parent458a50de93bbf31866c13460a2da6f2c4d3a83f9
[cmake] Start adding support for LLVM_USE_SANITIZER=Address on Windows

Pass "-fsanitize=address" to the compiler and "-debug" to the linker.

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