summaryrefslogtreecommitdiffstats
path: root/compiler-rt
Commit message (Collapse)AuthorAgeFilesLines
* tsan: fix macro messDmitry Vyukov2012-11-271-6/+2
| | | | llvm-svn: 168697
* tsan: fix compilation for dead old compilers (why we are supporting them at ↵Dmitry Vyukov2012-11-272-0/+36
| | | | | | all?..) llvm-svn: 168693
* tsan: add memory range access functions to public ifaceDmitry Vyukov2012-11-272-0/+11
| | | | llvm-svn: 168692
* tsan: add 128-bit atomic operationsDmitry Vyukov2012-11-274-5/+88
| | | | llvm-svn: 168683
* tsan: refactor atomic operations implementationDmitry Vyukov2012-11-271-64/+103
| | | | | | | | do the atomic operation under the sync object mutex make acquire/release sync atomic with the operation itself combine acquire and release into a single acq_rel operation llvm-svn: 168682
* Automatically create .dSYM for libcompiler_rt.dylib when using Apple's ↵Nick Kledzik2012-11-265-3/+5
| | | | | | internal build system llvm-svn: 168625
* tsan: explicitly mark symbols referenced from assembly as hiddenDmitry Vyukov2012-11-262-0/+3
| | | | | | this allows to build tsan runtime as dynamic library llvm-svn: 168589
* [asan] fix Android build by not calling GetPageSizeCached in a test (no need ↵Kostya Serebryany2012-11-261-4/+3
| | | | | | for the page size anyway) llvm-svn: 168585
* tsan: add atomic nand operationDmitry Vyukov2012-11-264-0/+49
| | | | llvm-svn: 168584
* tsan: faster memory reset for GoDmitry Vyukov2012-11-251-2/+1
| | | | llvm-svn: 168567
* [asan/tsan] get rid of kPageSize completely in favor of GetPageSizeCached(). ↵Kostya Serebryany2012-11-2411-41/+39
| | | | | | This makes the code friendly to more platforms llvm-svn: 168537
* tsan: add failure memory order to atomic compare exchange functionsDmitry Vyukov2012-11-232-39/+48
| | | | llvm-svn: 168518
* [asan] get rid of some of the uses of kPageSize. The intent is to get rid of ↵Kostya Serebryany2012-11-2311-29/+61
| | | | | | it completely to support platforms with multiple possible page sizes. llvm-svn: 168517
* [ASan] move swapcontext_test to Linux-specific testsAlexey Samsonov2012-11-231-0/+0
| | | | llvm-svn: 168513
* [ASan] intercept swapcontext on Linux onlyAlexey Samsonov2012-11-234-20/+27
| | | | llvm-svn: 168509
* [ASan] Add interceptor for swapcontext to fight with false positives in some ↵Alexey Samsonov2012-11-237-1/+117
| | | | | | of its use cases. llvm-svn: 168508
* tsan: ensure than func entry/exit are inlinedDmitry Vyukov2012-11-231-0/+2
| | | | llvm-svn: 168506
* tsan: fix more bugs in signal handlingDmitry Vyukov2012-11-221-3/+1
| | | | llvm-svn: 168497
* tsan: add missing \n in reportDmitry Vyukov2012-11-221-1/+1
| | | | llvm-svn: 168496
* tsan: better error message for OOMDmitry Vyukov2012-11-222-2/+7
| | | | llvm-svn: 168491
* [asan] get rid of kPageSizeBitsKostya Serebryany2012-11-211-6/+3
| | | | llvm-svn: 168426
* Allow PopStackFrames leave the stack empty.Evgeniy Stepanov2012-11-211-1/+1
| | | | llvm-svn: 168425
* [asan/tsan] do not use __WORDSIZE macro, as it is glibc-private thing. ↵Kostya Serebryany2012-11-2116-50/+45
| | | | | | Instead, define our own SANITIZER_WORDSIZE llvm-svn: 168424
* tsan: explictly say when we fail to restore a stack traceDmitry Vyukov2012-11-211-0/+4
| | | | llvm-svn: 168423
* [Sanitizer] replace while with internal_memset to make sure compiler won't ↵Alexey Samsonov2012-11-211-1/+6
| | | | | | replace it with library memset llvm-svn: 168422
* tsan: fix handling of signals Dmitry Vyukov2012-11-211-2/+4
| | | | | | (do not execute synchronous signals in recursive interceptors) llvm-svn: 168421
* [asan] pop the two internal functions from the stack trace produced by ↵Kostya Serebryany2012-11-201-0/+2
| | | | | | _Unwind_Backtrace (Peter Bergner) llvm-svn: 168369
* [asan] better support for powerpc and sparc targets (thanks to H.J. Liu and ↵Kostya Serebryany2012-11-201-4/+3
| | | | | | David Miller) llvm-svn: 168358
* [asan] more support for powerpc, patch by Peter BergnerKostya Serebryany2012-11-205-3/+46
| | | | llvm-svn: 168356
* [ASan] use raw Exit() to kill the program in case ASan finds an error while ↵Alexey Samsonov2012-11-191-1/+3
| | | | | | reporting the error in the same thread llvm-svn: 168308
* [asan] support x32 mode in the fast stack unwinder. Patch by H.J. Lu Kostya Serebryany2012-11-192-7/+14
| | | | llvm-svn: 168306
* [ASan] change interface of GetAccumulatedStats() function to prevent Clang ↵Alexey Samsonov2012-11-193-5/+6
| | | | | | from inserting memcpy() call into runtime. llvm-svn: 168305
* [asan] support PowerPC and SPARC in sanitizer_linux.ccKostya Serebryany2012-11-191-3/+13
| | | | llvm-svn: 168301
* 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-166-23/+40
| | | | | | test which produces linker errors on Darwin. llvm-svn: 168169
* UBSan: fix support on Darwin in 'make' build system. Patch by Jean-Daniel Dupas.Alexey Samsonov2012-11-161-2/+2
| | | | llvm-svn: 168167
* asan: sync with gcc r193553Dmitry Vyukov2012-11-161-0/+14
| | | | llvm-svn: 168151
* [TSan] use explicit ctor for BlockingCallAlexey Samsonov2012-11-161-1/+1
| | | | llvm-svn: 168150
* [TSan] use llvm-symbolizer to run tsan testsAlexey Samsonov2012-11-164-3/+27
| | | | llvm-svn: 168146
* tsan: remove unused parameterDmitry Vyukov2012-11-153-6/+6
| | | | llvm-svn: 168060
* tsan: switch to 4 shadow cells by default (since that's what we use ↵Dmitry Vyukov2012-11-151-1/+1
| | | | | | everywhere now) llvm-svn: 168059
* tsan: eevn better handling of signalsDmitry Vyukov2012-11-155-21/+51
| | | | | | | | add interceptor for poll() in addition process signals in every atomic op in addition process signals in blocking libc functions llvm-svn: 168050
* [ASan] Revert r168040 and r168043 and take a cleaner solution suggested by ↵Alexander Potapenko2012-11-154-19/+7
| | | | | | Kostya: return the known frame name for fake stack instead of looking it up. llvm-svn: 168046
* [ASan] Minor fix: return to the last byte of the fake stack if we've raced by.Alexander Potapenko2012-11-151-2/+5
| | | | llvm-svn: 168043
* [ASan] Poison the leftmost shadow byte with a special value so that we can findAlexander Potapenko2012-11-154-2/+10
| | | | | | | the beginning of the fake frame when reporting an use-after-return error. Fixes http://code.google.com/p/address-sanitizer/issues/detail?id=126 llvm-svn: 168040
* [UBSan] Add support for building ubsan runtime library on Linux with 'make'. ↵Alexey Samsonov2012-11-151-3/+9
| | | | | | Compiler-rt part. llvm-svn: 168038
* [ASan] Add the "lea $imm(%rip),%rax" instruction to mach_override.cAlexander Potapenko2012-11-151-0/+2
| | | | | | The need for this has been reported by Jack Howarth (howarth@bromo.med.uc.edu) who's porting ASan-Darwin to GCC llvm-svn: 168032
* 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-135-6/+47
| | | | | | | 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-134-52/+71
| | | | | | us much closer to not depending on any system headers. llvm-svn: 167888
OpenPOWER on IntegriCloud