diff options
author | Fangrui Song <maskray@google.com> | 2019-07-10 00:30:02 +0000 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2019-07-10 00:30:02 +0000 |
commit | 9c147bd40bc93376df274e8a5d51c69a55199044 (patch) | |
tree | b875763aebbb91b82a8b8148359327b6194310c3 /llvm/unittests/Support/MemoryBufferTest.cpp | |
parent | d0ba79fe7bfe32f8e0ddf42de002716d937431c4 (diff) | |
download | bcm5719-llvm-9c147bd40bc93376df274e8a5d51c69a55199044.tar.gz bcm5719-llvm-9c147bd40bc93376df274e8a5d51c69a55199044.zip |
[Driver] Add float-divide-by-zero back to supported sanitizers after D63793/rC365272
D63793 removed float-divide-by-zero from the "undefined" set but it
failed to add it to getSupportedSanitizers(), thus the sanitizer is
rejected by the driver:
clang-9: error: unsupported option '-fsanitize=float-divide-by-zero' for target 'x86_64-unknown-linux-gnu'
Also, add SanitizerMask::FloatDivideByZero to a few other masks to make -fsanitize-trap, -fsanitize-recover, -fsanitize-minimal-runtime and -fsanitize-coverage work.
Reviewed By: rsmith, vitalybuka
Differential Revision: https://reviews.llvm.org/D64317
llvm-svn: 365587
Diffstat (limited to 'llvm/unittests/Support/MemoryBufferTest.cpp')
0 files changed, 0 insertions, 0 deletions