[compiler-rt] r365591 - [ubsan][test] Restore float-divide-by-zero test
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 9 18:53:11 PDT 2019
Author: maskray
Date: Tue Jul 9 18:53:11 2019
New Revision: 365591
URL: http://llvm.org/viewvc/llvm-project?rev=365591&view=rev
Log:
[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
Modified:
compiler-rt/trunk/test/ubsan/TestCases/Integer/div-zero.cpp
Modified: compiler-rt/trunk/test/ubsan/TestCases/Integer/div-zero.cpp
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/ubsan/TestCases/Integer/div-zero.cpp?rev=365591&r1=365590&r2=365591&view=diff
==============================================================================
--- compiler-rt/trunk/test/ubsan/TestCases/Integer/div-zero.cpp (original)
+++ compiler-rt/trunk/test/ubsan/TestCases/Integer/div-zero.cpp Tue Jul 9 18:53:11 2019
@@ -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;
More information about the llvm-commits
mailing list