[UBSan] Also use blacklist for 'Address; Undefined' setting
authorFlorian Hahn <florian.hahn@arm.com>
Fri, 20 Jul 2018 10:12:31 +0000 (10:12 +0000)
committerFlorian Hahn <florian.hahn@arm.com>
Fri, 20 Jul 2018 10:12:31 +0000 (10:12 +0000)
commit5c608154a7e42c482065036d9f137fb52bb3ad86
tree362cea2ba5d0641735001a5cfacdb91c7f439c10
parentc88d3f6a992a69c88aaccf06f5f8dc0fec0943f9
[UBSan] Also use blacklist for 'Address; Undefined' setting

It looks like currently the UBSan blacklist is only applied when "Undefined" is selected.
This patch updates the cmake file to apply it whenever Undefined is selected
 (e.g. 'Address; Undefined' ). This  allows us to use the workaround added in
rL335525 when using AddressSan and UBSan together.

Reviewers: eugenis, vitalybuka

Reviewed By: eugenis

Differential Revision: https://reviews.llvm.org/D49558

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