diff options
| author | Fangrui Song <maskray@google.com> | 2019-07-10 01:53:11 +0000 |
|---|---|---|
| committer | Fangrui Song <maskray@google.com> | 2019-07-10 01:53:11 +0000 |
| commit | 7f9a94e1f88e27143f52a05da2ef3467081f2508 (patch) | |
| tree | 134c6f3400267ec99a29d802246553dcc4f1dd64 | |
| parent | e856c0465d11bd38cc7a905e9f5016ca03c4114a (diff) | |
| download | bcm5719-llvm-7f9a94e1f88e27143f52a05da2ef3467081f2508.tar.gz bcm5719-llvm-7f9a94e1f88e27143f52a05da2ef3467081f2508.zip | |
[ubsan][test] Restore float-divide-by-zero test
Removed by rCTE365307 to fix buildbots. It can be restored now because D64317/rC365587 brought back -fsanitize=float-divide-by-zero
llvm-svn: 365591
| -rw-r--r-- | compiler-rt/test/ubsan/TestCases/Integer/div-zero.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler-rt/test/ubsan/TestCases/Integer/div-zero.cpp b/compiler-rt/test/ubsan/TestCases/Integer/div-zero.cpp index 02c4d3b79d4..0c18db5aa18 100644 --- a/compiler-rt/test/ubsan/TestCases/Integer/div-zero.cpp +++ b/compiler-rt/test/ubsan/TestCases/Integer/div-zero.cpp @@ -1,6 +1,7 @@ // RUN: %clangxx -fsanitize=integer-divide-by-zero -DDIVIDEND=0 %s -o %t && %run %t 2>&1 | FileCheck %s // RUN: %clangxx -fsanitize=integer-divide-by-zero -DDIVIDEND=1U %s -o %t && %run %t 2>&1 | FileCheck %s // RUN: %clangxx -fsanitize=integer-divide-by-zero -DDIVIDEND='intmax(123)' %s -o %t && %run %t 2>&1 | FileCheck %s +// RUN: %clangxx -fsanitize=float-divide-by-zero -DDIVIDEND=1.5 %s -o %t && %run %t 2>&1 | FileCheck %s #if defined(__SIZEOF_INT128__) && !defined(_WIN32) typedef __int128 intmax; |

