summaryrefslogtreecommitdiffstats
path: root/compiler-rt
Commit message (Collapse)AuthorAgeFilesLines
* [ASan] increase sleep time if ASan finds two bugs simultaneously to make ↵Alexey Samsonov2012-09-171-7/+13
| | | | | | sure full error report is printed llvm-svn: 164018
* tsan: increase internal memory block limit 1GB->4GBDmitry Vyukov2012-09-171-1/+1
| | | | llvm-svn: 164011
* tsan: reserve msb in stack depot id's (required for msan)Dmitry Vyukov2012-09-172-3/+7
| | | | llvm-svn: 164010
* Remove unused variable.Bill Wendling2012-09-141-1/+0
| | | | llvm-svn: 163930
* Add support for reading the GCDA file and merging the arc information.Bill Wendling2012-09-142-16/+93
| | | | | | | | | With the advent of the __llvm_gcov_flush function, we need to be able to merge counts into the .gcda files in an intelligent manner. This involves reading the file if it exists, adding the counts together, and then writing the results. <rdar://problem/12185886> llvm-svn: 163923
* Remove some debugging code.Evgeniy Stepanov2012-09-141-5/+0
| | | | llvm-svn: 163881
* [asan] fix the va_arg usage Kostya Serebryany2012-09-141-1/+1
| | | | llvm-svn: 163879
* [asan] add asan option log_path=PATH to let users redirect asan reports to a ↵Kostya Serebryany2012-09-146-3/+84
| | | | | | file PATH.PID instead of stderr llvm-svn: 163872
* [TSan] support building TSan unittests in CMakeAlexey Samsonov2012-09-133-0/+59
| | | | llvm-svn: 163797
* [TSan] fix a typo in CMakeListsAlexey Samsonov2012-09-131-1/+1
| | | | llvm-svn: 163796
* [TSan] Use interface attribute for weak functions that may be overriden by userAlexey Samsonov2012-09-132-0/+2
| | | | llvm-svn: 163795
* [TSan] Add initial support for buidling ThreadSanitizer runtime library with ↵Alexey Samsonov2012-09-133-6/+72
| | | | | | CMake (currently the only supported platfrom is 64-bit Linux). This patch makes 'clang++ -fthread-sanitizer' work for both clang in the build tree and installed clang llvm-svn: 163789
* [TSan] fix a bunch of warnings reported by pedantic gccAlexey Samsonov2012-09-1312-17/+21
| | | | llvm-svn: 163788
* [Sanitizer] don't use -Werror as default compile flag for sanitizer runtimes ↵Alexey Samsonov2012-09-131-1/+0
| | | | | | - people may use too many distinct/old host compilers llvm-svn: 163784
* Pass -std=c99 when compiling mach_override.cAlexander Potapenko2012-09-121-1/+6
| | | | llvm-svn: 163717
* Give more accurate malloc statistics to malloc_zone_statistics().Alexander Potapenko2012-09-125-6/+50
| | | | | | Fix a warning in macros instantiation. llvm-svn: 163716
* Fix compiler warnings: remove __attribute__((visibility)) for static ↵Alexander Potapenko2012-09-121-10/+10
| | | | | | functions, use unsigned char instead of char. llvm-svn: 163707
* [ASan] more macro/casting magic to suppress warningsAlexey Samsonov2012-09-123-4/+4
| | | | llvm-svn: 163706
* [ASan] fix compiler warnings for unit test on AndroidAlexey Samsonov2012-09-122-13/+17
| | | | llvm-svn: 163704
* [Sanitizer] Fix compiler warnings (including void* arithmetic) in mach_overrideAlexey Samsonov2012-09-121-3/+3
| | | | llvm-svn: 163698
* [ASan] fix interception macro for Android buildAlexey Samsonov2012-09-122-6/+6
| | | | llvm-svn: 163692
* Initial support for malloc_zone_statistics. All counters are set to zero now.Alexander Potapenko2012-09-121-5/+2
| | | | | | This is required to overcome a crash in mstats() (http://code.google.com/p/address-sanitizer/issues/detail?id=109) llvm-svn: 163690
* [Sanitizer] Please Android build. Re-check the availability of ↵Alexey Samsonov2012-09-122-2/+3
| | | | | | -Wno-variadic-macros flag. llvm-svn: 163688
* [Sanitizer] first effort to start building ASan runtime with -Werror in ↵Alexey Samsonov2012-09-125-5/+8
| | | | | | CMake build llvm-svn: 163686
* [Sanitizer] get rid of empty DEFAULT_CONVENTION in interception lib to ↵Alexey Samsonov2012-09-111-27/+23
| | | | | | remove empty macro arguments llvm-svn: 163622
* [Sanitizer] test 64-bit allocator only on suitable targetsAlexey Samsonov2012-09-112-2/+8
| | | | llvm-svn: 163615
* Revert the lockf() support. Alexander Potapenko2012-09-113-38/+0
| | | | llvm-svn: 163614
* CMake build rules for ASan Android runtime and tests.Evgeniy Stepanov2012-09-115-42/+83
| | | | llvm-svn: 163613
* Fox a typo.Evgeniy Stepanov2012-09-111-1/+1
| | | | llvm-svn: 163611
* [Sanitizer] Add new lit testsuite: check-sanitizer that runs unit tests for ↵Alexey Samsonov2012-09-115-5/+104
| | | | | | sanitizer_common runtime (shared between ASan and TSan) llvm-svn: 163610
* [Sanitizer] fix warnings reported by gcc. Update the list of targets to ↵Alexey Samsonov2012-09-113-5/+4
| | | | | | check lint for llvm-svn: 163608
* [compiler-rt] Install support for CMake build of compiler-rtAlexey Samsonov2012-09-113-28/+38
| | | | llvm-svn: 163607
* [Sanitizer] remove custom Die/CheckFailed from allocator testlibAlexey Samsonov2012-09-111-12/+0
| | | | llvm-svn: 163604
* [Sanitizer] Get rid of dependency between sanitizer_common and asan/tsan ↵Alexey Samsonov2012-09-118-34/+56
| | | | | | runtimes: implement tool-specific Die and CheckFailed functions via callbacks llvm-svn: 163603
* Interceptors for lockf and lockf64, minor calloc() fix.Alexander Potapenko2012-09-113-1/+45
| | | | llvm-svn: 163602
* Revert r163411 based on review discussion.Chandler Carruth2012-09-111-10/+0
| | | | | | | | | | | | In code review, it looked like these warnings do not actually fire with modern Clang or GCC. However, the pragma is flat out rejected by GCC in many configurations (-Werror) so it ended up causing more problems than it fixed. Daniel agreed with reverting this, but I think didn't have time to get to it. llvm-svn: 163583
* build/clang_darwin: Add the ASAN dynamic library.Daniel Dunbar2012-09-101-0/+13
| | | | | | - Now with spelling fix for -lstdc++. llvm-svn: 163527
* Revert r163415 in an attempt to bring back the buildbots.Chad Rosier2012-09-101-13/+0
| | | | llvm-svn: 163522
* [asan] There is no __libc_malloc on Android.Evgeniy Stepanov2012-09-101-3/+3
| | | | llvm-svn: 163498
* Allow to call strchr() from __asan_init().Alexander Potapenko2012-09-101-0/+5
| | | | | | Fixes PR13794. llvm-svn: 163493
* build/clang_darwin: Add the ASAN dynamic library.Daniel Dunbar2012-09-071-0/+13
| | | | llvm-svn: 163415
* [asan] Use a relative include path instead of requiring build system ↵Daniel Dunbar2012-09-071-2/+2
| | | | | | involvement. llvm-svn: 163414
* build: Teach Makefile build system about asan/dynamic subdir.Daniel Dunbar2012-09-072-1/+26
| | | | llvm-svn: 163413
* build: Add support for building dylibs.Daniel Dunbar2012-09-073-9/+39
| | | | llvm-svn: 163412
* [asan] Suppress some bogus -Winvalid-noreturn diagnostics.Daniel Dunbar2012-09-071-0/+10
| | | | llvm-svn: 163411
* tsan: ignore destruction of global mutexes (causes a lot of non-interesting ↵Dmitry Vyukov2012-09-073-1/+37
| | | | | | reports) llvm-svn: 163400
* Remove the infinite recursion check for now, as we don't have __thread on ↵Alexander Potapenko2012-09-071-3/+1
| | | | | | Mac, and TSD is an overkill. llvm-svn: 163393
* Two minor changes:Alexander Potapenko2012-09-071-1/+8
| | | | | | | -- exit from infinite recursion in CHECK() -- print a verbose message if mapping of the shadow memory has failed. llvm-svn: 163391
* [asan] Raise quarantine size a bit with ASAN_LOW_MEMORY.Evgeniy Stepanov2012-09-071-1/+1
| | | | | | Our tests expect that a 16M block will fit in the quarantine. llvm-svn: 163384
* [ASan] hack initialization-bug test so that it stably passes on both Linux ↵Alexey Samsonov2012-09-072-8/+27
| | | | | | and Mac: make the bug appear independent of the translation unit order llvm-svn: 163381
OpenPOWER on IntegriCloud