summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/ubsan
Commit message (Collapse)AuthorAgeFilesLines
* ubsan: fix broken test case by using brand new [[@LINE]] FileCheck featureAlexey Samsonov2012-11-161-3/+3
| | | | llvm-svn: 168170
* UBSan: enable CMake build on Darwin. Fix two failing tests and disable the ↵Alexey Samsonov2012-11-165-21/+39
| | | | | | test which produces linker errors on Darwin. llvm-svn: 168169
* Fix typo from code review (thanks to Alexey Samsonov). This is also caught ↵Richard Smith2012-11-131-1/+1
| | | | | | by the existing tests when building for i386. llvm-svn: 167890
* Support for building the ubsan runtime when using the autoconf build system onRichard Smith2012-11-132-3/+26
| | | | | | | Darwin. Patch by Jean-Daniel Dupas, tweaked by Jonathan Sauer, simplified somewhat by me. llvm-svn: 167889
* -fsanitize=undefined: Switch to using sanitizer_common for output. This gets ↵Richard Smith2012-11-133-38/+41
| | | | | | us much closer to not depending on any system headers. llvm-svn: 167888
* Update compiler-rt tests to match flag renaming/deprecation in Clang.Richard Smith2012-11-0615-34/+34
| | | | llvm-svn: 167434
* Consistently declare 'extern "C"' variable in namespace __ubsan. No ↵Richard Smith2012-10-291-1/+2
| | | | | | functionality change. llvm-svn: 166966
* Don't define an extern "C" variable in its first declaration, to appease aRichard Smith2012-10-292-8/+15
| | | | | | | bogus gcc warning. Take this opportunity to move the declaration to the header, since it's part of the API of this file. llvm-svn: 166965
* -fcatch-undefined-behavior checking for appropriate vptr value: library side.Richard Smith2012-10-257-4/+397
| | | | llvm-svn: 166660
* Provide a slightly more helpful diagnostic if -fcatch-undefined-behavior findsRichard Smith2012-10-141-0/+6
| | | | | | | a problem with __int128 arithmetic but the runtime was not built with __int128 support. llvm-svn: 165913
* Use a better test for __int128 support, which works on old GCC versions.Richard Smith2012-10-141-1/+1
| | | | llvm-svn: 165912
* Fix the bootstrap of CompilerRT with host compilers that don't supportChandler Carruth2012-10-133-4/+8
| | | | | | | | | emulating 128-bit arithmetic on 32-bit x86 targets. This should get the bootstrap back for GCC 4.6 at least. Suggestions on better ways to do the detection here are welcome... llvm-svn: 165863
* -fcatch-undefined-behavior: Runtime library support for trapping conversions ↵Richard Smith2012-10-127-2/+122
| | | | | | | | | to or from a floating-point type where the source value is not in the range of representable values of the destination type. llvm-svn: 165844
* -fcatch-undefined-behavior: handler for VLA bound which evaluates to a ↵Richard Smith2012-10-103-0/+28
| | | | | | non-positive value. llvm-svn: 165582
* -fcatch-undefined-behavior: store the type name directly at the end of a ↵Richard Smith2012-10-091-3/+4
| | | | | | type descriptor. 5% binary size reduction due to fewer relocations. llvm-svn: 165571
* Add a runtime diagnostics library for Clang's -fcatch-undefined-behavior.Richard Smith2012-10-0922-0/+1021
llvm-svn: 165533
OpenPOWER on IntegriCloud