Handle LLVM_USE_SANITIZER=Address;Undefined (and the other way around)
authorFilipe Cabecinhas <me@filcab.net>
Wed, 4 Feb 2015 22:33:31 +0000 (22:33 +0000)
committerFilipe Cabecinhas <me@filcab.net>
Wed, 4 Feb 2015 22:33:31 +0000 (22:33 +0000)
commitcec4461c47a8490d84cd2fb78abf02dcfb1e9790
treebeaaa4cb7a88577b92eb9e87833a48304ef6a228
parent46c638cfc877176752dbf94e016d6ea0fc8afe76
Handle LLVM_USE_SANITIZER=Address;Undefined (and the other way around)

Summary:
Handle LLVM_USE_SANITIZER=Address;Undefined to enable ASan and UBSan
If UBSan is compatible with more of the other sanitizers, maybe we should
deal with this in a better way where we allow combining UBSan with any of
the other sanitizers.

Reviewers: samsonov

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D7024

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