summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test/ubsan/TestCases/Integer/negate-overflow.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [UBSan] Followup for silence_unsigned_overflow flag to handle negate overflows.Max Moroz2018-07-131-1/+3
| | | | | | | | | | | | | | | | | | | | Summary: That flag has been introduced in https://reviews.llvm.org/D48660 for suppressing UIO error messages in an efficient way. The main motivation is to be able to use UIO checks in builds used for fuzzing as it might provide an interesting signal to a fuzzing engine such as libFuzzer. See https://github.com/google/oss-fuzz/issues/910 for more information. Reviewers: morehouse, kcc Reviewed By: morehouse Subscribers: kubamracek, delcypher, #sanitizers, llvm-commits Differential Revision: https://reviews.llvm.org/D49324 llvm-svn: 337068
* Fix negate-overflow.cpp test on Windows after r303440Hans Wennborg2017-05-241-2/+4
| | | | | | lit would interpret the exit code as failuire. llvm-svn: 303809
* UBSan: Enable runtime library tests on Windows, and get most tests passing.Peter Collingbourne2015-07-021-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Specifically: - Disable int128 tests on Windows, as MSVC cl.exe does not support int128, so we might not have been able to build the runtime with int128 support. - XFAIL the vptr tests as we lack Microsoft ABI support. - XFAIL enum.cpp as UBSan fails to add the correct instrumentation code for some reason. - Modify certain tests that build executables multiple times to use unique names for each executable. This works around a race condition observed on Windows. - Implement IsAccessibleMemoryRange for Windows to fix the last misaligned.cpp test. - Introduce a substitution for testing crashes on Windows using KillTheDoctor. Differential Revision: http://reviews.llvm.org/D10864 llvm-svn: 241303
* Add %run to all lit testsGreg Fitzgerald2014-04-301-2/+2
| | | | llvm-svn: 207709
* Move UBSan test suite under test/Alexey Samsonov2014-02-141-0/+12
llvm-svn: 201401
OpenPOWER on IntegriCloud