OSDN Git Service

[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)
commit9bdae65513e97fc0c6cae000a20e4fd2cda259e4
treecc97546c75e459a9f85caadbadc535d357b0ce2c
parent8c93523c81429dff36d790e5ceecd7de4ba03afb
[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

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