summaryrefslogtreecommitdiffstats
path: root/compiler-rt
Commit message (Collapse)AuthorAgeFilesLines
...
* [CMake] Don't build sanitizer runtimes if LLVM_USE_SANITIZER is specifiedAlexey Samsonov2013-09-021-17/+21
| | | | llvm-svn: 189745
* Improve collecting malloc stats in ASanAlexey Samsonov2013-09-024-70/+113
| | | | | | | | | | | | | | | | Summary: This change makes races between updates of thread-local stats and merging all the thread-local stats together less harmful. Reviewers: kcc Reviewed By: kcc CC: dvyukov, llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1572 llvm-svn: 189744
* Conditionalise inclusion of link.h on !SANITIZER_ANDROID.Peter Collingbourne2013-08-301-0/+2
| | | | | | | | Hopefully fixes the Android build. Differential Revision: http://llvm-reviews.chandlerc.com/D1551 llvm-svn: 189696
* Avoid compiler-generated memset by using internal_memset.Will Dietz2013-08-301-2/+1
| | | | | | Fixes PR17025. llvm-svn: 189693
* [dfsan] Add a syms file.Peter Collingbourne2013-08-292-1/+6
| | | | llvm-svn: 189620
* Minor updates to gen_dynamic_list script suggested by gliderAlexey Samsonov2013-08-291-42/+49
| | | | llvm-svn: 189588
* [TSan] Add a couple of compiler warnings to TSan runtime compile flagsAlexey Samsonov2013-08-292-5/+11
| | | | llvm-svn: 189581
* [TSan] Move build rules a bit to ensure correct dependencies of check-tsan ↵Alexey Samsonov2013-08-292-53/+51
| | | | | | command llvm-svn: 189579
* [sanitizer] Parallelize lint checker scriptAlexey Samsonov2013-08-291-28/+36
| | | | llvm-svn: 189578
* [sanitizer] Refine CMake rules for generating exported symbols and lint checkingAlexey Samsonov2013-08-294-19/+24
| | | | llvm-svn: 189577
* [dfsan] Add custom function for dl_iterate_phdr.Peter Collingbourne2013-08-283-0/+46
| | | | | | Differential Revision: http://llvm-reviews.chandlerc.com/D1505 llvm-svn: 189503
* [dfsan] Add custom function for pthread_create.Peter Collingbourne2013-08-283-0/+48
| | | | | | Differential Revision: http://llvm-reviews.chandlerc.com/D1504 llvm-svn: 189502
* cmake: Add /Oy- (don't omit frame pointer) to compile flagsHans Wennborg2013-08-281-0/+1
| | | | llvm-svn: 189488
* sanitizer_common: Use PYTHON_EXECUTABLE to choose appropriate python.Will Dietz2013-08-283-2/+6
| | | | | | Fixes build on systems where 'python' is not python2. llvm-svn: 189486
* Make lint checker script more robustAlexey Samsonov2013-08-282-4/+6
| | | | llvm-svn: 189479
* Check code style in check-sanitizer commandAlexey Samsonov2013-08-284-9/+4050
| | | | llvm-svn: 189475
* [sanitizer] fix code styleAlexey Samsonov2013-08-285-17/+19
| | | | llvm-svn: 189474
* [msan] Remove extra backup/restore calls.Evgeniy Stepanov2013-08-281-4/+0
| | | | llvm-svn: 189461
* [asan]: fix a CHECK failure in use-after-return mode; enable and fix ↵Kostya Serebryany2013-08-283-11/+26
| | | | | | stack-use-after-return.cc; add a test for UAR mode in asan_noinst_test llvm-svn: 189457
* Generate list of symbols exported from sanitizer runtimes only on 64-bit UnixAlexey Samsonov2013-08-283-13/+20
| | | | llvm-svn: 189454
* Properly generate lists of exported symbols for sanitizer runtimesAlexey Samsonov2013-08-2718-100/+137
| | | | | | | | | This change adds a Python script that is invoked for the just-built sanitizer runtime to generate the list of exported symbols passed to the linker. By default, it contains interceptors and sanitizer interface functions, but can be extended with tool-specific lists. llvm-svn: 189356
* [msan] Save/restore va_arg_overflow_tls in signal handlers.Evgeniy Stepanov2013-08-274-29/+58
| | | | llvm-svn: 189351
* Revert r189347: it breaks on machines w/o installed debug versions of system ↵Alexey Samsonov2013-08-271-1/+0
| | | | | | libraries llvm-svn: 189350
* LSan: Check that dynamic linker library is properly symbolizedAlexey Samsonov2013-08-271-0/+1
| | | | llvm-svn: 189347
* [msan] Unpoison all TLS shadow when leaving a signal handler.Evgeniy Stepanov2013-08-274-0/+85
| | | | llvm-svn: 189343
* [msan] Fix a data race in signal/sigaction interceptors.Evgeniy Stepanov2013-08-271-6/+17
| | | | llvm-svn: 189342
* [msan] A test for ppoll() interceptor.Evgeniy Stepanov2013-08-271-0/+25
| | | | llvm-svn: 189339
* [sanitizer] Simplify sigaction and sigset_t handling.Evgeniy Stepanov2013-08-274-37/+54
| | | | llvm-svn: 189338
* cmake: fix the compiler-rt build with MSVCHans Wennborg2013-08-274-42/+91
| | | | | | | | | This sets flags and excludes things that aren't working with MSVC yet, allowing us to build the ASan runtime as part of the cmake build. Differential Revision: http://llvm-reviews.chandlerc.com/D1525 llvm-svn: 189304
* [sanitizer] Add a fast version of StackDepotGet() for use in LSan.Sergey Matveev2013-08-266-5/+129
| | | | | | | Add a class that holds a snapshot of the StackDepot optimized for querying by ID. This allows us to speed up LSan dramatically. llvm-svn: 189217
* [sanitizer] Handle Die() in StopTheWorld.Sergey Matveev2013-08-263-42/+82
| | | | | | | | | Handle calls to Die() from the tracer thread. Fixes a bug where a CHECK could fail in the tracer thread, resulting in a call to AsanDie. The tracer thread then exited and the parent process continued execution despite its address space being in an unusable state. llvm-svn: 189216
* [dfsan] Integration test for the equal-labels casePeter Collingbourne2013-08-231-0/+5
| | | | llvm-svn: 189134
* [msan] Extend VAArgTLSOverwrite test.Evgeniy Stepanov2013-08-231-4/+15
| | | | | | This test now covers LLVM r189104. llvm-svn: 189105
* Slightly improve lint checker script and fix a few style issuesAlexey Samsonov2013-08-233-33/+40
| | | | llvm-svn: 189092
* [lsan] Add a regression test for building C code.Sergey Matveev2013-08-224-0/+29
| | | | llvm-svn: 189016
* [sanitizer] Fix build when scanf interceptors are enabled, and ↵Evgeniy Stepanov2013-08-221-13/+21
| | | | | | | | __isoc99_*scanf are not. Fixes PR16916. llvm-svn: 189015
* [lsan] Add a stress test.Sergey Matveev2013-08-221-0/+46
| | | | llvm-svn: 189012
* [lsan] Follow-up to r189010 - do the same in Makefile build.Sergey Matveev2013-08-221-1/+1
| | | | llvm-svn: 189011
* [lsan] Build standalone LSan with -fno-rtti.Sergey Matveev2013-08-222-2/+3
| | | | | | Fix issue where C code could not be built with -fsanitize=leak. llvm-svn: 189010
* Add missing ']'.Bill Wendling2013-08-211-1/+1
| | | | llvm-svn: 188927
* For Darwin builds, locate tools using xcrun when available.Bob Wilson2013-08-211-1/+12
| | | | | | | The make/platform/darwin_bni.mk file already has similar code but we apparently neglected to add it to the clang_darwin.mk file. llvm-svn: 188864
* [LSan] Add support for building standalone LSan runtime to Make build ↵Alexey Samsonov2013-08-202-5/+14
| | | | | | (compiler-rt part) llvm-svn: 188804
* It appears that glibc 2.13 has the same thread descriptor size as 2.11,Chandler Carruth2013-08-181-3/+3
| | | | | | | | | | bump up the inflection point to 2.14. If someone can tell me how to actually figure out value for this, that would be awesome. Anyways, this takes me to one ASan failure, one LSan failure, and three TSan failures for 'check-all' on Linux. llvm-svn: 188635
* Revert r188369 (and r188455) which breaks the build on at least someChandler Carruth2013-08-185-534/+505
| | | | | | | Linux systems. I've replied on the original commit thread with details of the problem. llvm-svn: 188628
* Fix endian conditions on Solaris. From Alexander Esilevich.Joerg Sonnenberger2013-08-171-3/+5
| | | | llvm-svn: 188613
* [ASan/RTL] Disable colored reporting on WindowsTimur Iskhodzhanov2013-08-162-0/+7
| | | | llvm-svn: 188545
* tsan: better report formatting for GoDmitry Vyukov2013-08-163-14/+32
| | | | | | | Say that gorotuine 1 is main goroutine. Remove excessive new line. llvm-svn: 188542
* [ASan/RTL] Disable alloc_dealloc_mismatch by default on WindowsTimur Iskhodzhanov2013-08-161-3/+3
| | | | llvm-svn: 188541
* [dfsan] Initial set of custom functions and interceptors for libc.Peter Collingbourne2013-08-159-3/+4310
| | | | | | Differential Revision: http://llvm-reviews.chandlerc.com/D1397 llvm-svn: 188490
* [dfsan] Runtime support for -dfsan-debug-nonzero-labels feature.Peter Collingbourne2013-08-151-0/+5
| | | | | | | | | | Reviewers: eugenis CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1406 llvm-svn: 188471
OpenPOWER on IntegriCloud