summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test/ubsan/TestCases/Integer/shift.cpp
Commit message (Collapse)AuthorAgeFilesLines
* UBSan: Enable runtime library tests on Windows, and get most tests passing.Peter Collingbourne2015-07-021-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Revert "Revert "[UBSan] Add testcases for -fsanitize=shift-base and ↵Alexey Samsonov2015-03-091-13/+21
| | | | | | | | | -fsanitize=shift-exponent."" Re-land r231151 now that -fsanitize=shift-base implementation should not introduce undefined behavior. llvm-svn: 231712
* Revert "[UBSan] Add testcases for -fsanitize=shift-base and ↵Alexey Samsonov2015-03-051-21/+13
| | | | | | | | -fsanitize=shift-exponent." The test case fails on AArch64. llvm-svn: 231410
* [UBSan] Add testcases for -fsanitize=shift-base and -fsanitize=shift-exponent.Alexey Samsonov2015-03-031-13/+21
| | | | llvm-svn: 231151
* Add %run to all lit testsGreg Fitzgerald2014-04-301-10/+10
| | | | llvm-svn: 207709
* Move UBSan test suite under test/Alexey Samsonov2014-02-141-0/+37
llvm-svn: 201401
OpenPOWER on IntegriCloud