llvm-project
llvm-project copied to clipboard
TestCases/Integer/negate-overflow.cpp fails on Windows
| Bugzilla Link | 28594 |
| Version | 3.8 |
| OS | Windows NT |
| CC | @sanjoy,@vitalybuka |
Extended Description
On Windows, TestCases/Integer/negate-overflow.cpp fails on and make check-all is aborted.
The below is the snip from log.
Running all regression tests -- Testing: 26802 tests, 32 threads -- FAIL: UBSan-Standalone-x86_64 :: TestCases/Integer/negate-overflow.cpp (26713 of 26802) ******************** TEST 'UBSan-Standalone-x86_64 :: TestCases/Integer/negate-overflow.cpp' FAILED ******************** Script:
C:/LLVM-workspace/workspace/CPUPC_Win_Mirror_Build/BUILD_4/Release/bin/clang.exe -fsanitize=signed-integer-overflow C:\LLVM-workspace\workspace\CPUPC_Win_Mirror_Build\llvm\projects\compiler-rt\test\ubsan\TestCases\Integer\negate-overflow.cpp -o C:\LLVM-workspace\workspace\CPUPC_Win_Mirror_Build\BUILD_4\projects\compiler-rt\test\ubsan\Standalone-x86_64\TestCases\Integer\Output\negate-overflow.cpp.tmp1 && C:\LLVM-workspace\workspace\CPUPC_Win_Mirror_Build\BUILD_4\projects\compiler-rt\test\ubsan\Standalone-x86_64\TestCases\Integer\Output\negate-overflow.cpp.tmp1 2>&1 | FileCheck C:\LLVM-workspace\workspace\CPUPC_Win_Mirror_Build\llvm\projects\compiler-rt\test\ubsan\TestCases\Integer\negate-overflow.cpp --check-prefix=CHECKS C:/LLVM-workspace/workspace/CPUPC_Win_Mirror_Build/BUILD_4/Release/bin/clang.exe -fsanitize=unsigned-integer-overflow C:\LLVM-workspace\workspace\CPUPC_Win_Mirror_Build\llvm\projects\compiler-rt\test\ubsan\TestCases\Integer\negate-overflow.cpp -o C:\LLVM-workspace\workspace\CPUPC_Win_Mirror_Build\BUILD_4\projects\compiler-rt\test\ubsan\Standalone-x86_64\TestCases\Integer\Output\negate-overflow.cpp.tmp2 && C:\LLVM-workspace\workspace\CPUPC_Win_Mirror_Build\BUILD_4\projects\compiler-rt\test\ubsan\Standalone-x86_64\TestCases\Integer\Output\negate-overflow.cpp.tmp2 2>&1 | FileCheck C:\LLVM-workspace\workspace\CPUPC_Win_Mirror_Build\llvm\projects\compiler-rt\test\ubsan\TestCases\Integer\negate-overflow.cpp --check-prefix=CHECKU
Exit Code: 2147483648
========================================
Exit code on Linux is 0 and it's passing.