]> granicus.if.org Git - clang/commit
test: Set lit features appropriately when using asan and ubsan together
authorJustin Bogner <mail@justinbogner.com>
Mon, 22 Jun 2015 18:47:10 +0000 (18:47 +0000)
committerJustin Bogner <mail@justinbogner.com>
Mon, 22 Jun 2015 18:47:10 +0000 (18:47 +0000)
commit2d4161d161b50d5e6043faf05a4c251e43edd2e7
tree420a0ec4fe304ebc64763a95ffec45f288bbf0cb
parent804572cf4c966269ca379ddb9e78f754562104af
test: Set lit features appropriately when using asan and ubsan together

The asan/not_asan and ubsan/not_ubsan features weren't being set
correctly when LLVM_USE_SANITIZER is set to 'Address;Undefined'. Fix
this by doing substring instead of exact matching. Also simplify the
msan check for consistency.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@240314 91177308-0d34-0410-b5e6-96231b3b80d8
test/lit.cfg