summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/lsan
Commit message (Collapse)AuthorAgeFilesLines
...
* Use --driver-mode=g++ instead of -ccc-cxx; required after Clang r186605Hans Wennborg2013-07-181-1/+1
| | | | llvm-svn: 186607
* [lsan] Add __lsan_do_leak_check() to the public interface.Sergey Matveev2013-07-182-2/+45
| | | | | | | Let users override the normal behavior to run leak checking earlier in the process. Also fix a couple nits here and there. llvm-svn: 186581
* [lsan] Increase the hardcoded limit on number of leaks.Sergey Matveev2013-07-121-1/+1
| | | | | | We never expected to see so many leaks in the real world. Until we did. llvm-svn: 186157
* [lsan] Fix test.Sergey Matveev2013-07-081-2/+1
| | | | llvm-svn: 185817
* [lsan] Handle fork() correctly.Sergey Matveev2013-07-087-1/+83
| | | | | | | | Update the main thread's os_id on every pthread_create, and before initiating leak checking. This ensures that we have the correct os_id even if we have forked after Init(). llvm-svn: 185815
* [LSan] Use overridable hook to report error summaryAlexey Samsonov2013-07-081-3/+6
| | | | llvm-svn: 185805
* Define the path to llvm-symbolizer tool in a common config to reduce copy-pasteAlexey Samsonov2013-06-301-4/+0
| | | | llvm-svn: 185286
* [lsan] Fix build again.Sergey Matveev2013-06-281-1/+1
| | | | llvm-svn: 185157
* [lsan] Fix build.Sergey Matveev2013-06-281-1/+1
| | | | llvm-svn: 185156
* [lsan] When verbosity > 1, always print suppressions and summary (even if no ↵Sergey Matveev2013-06-281-10/+12
| | | | | | | | leaks found). Also fix an output bug. llvm-svn: 185153
* [lsan] Add suppression support.Sergey Matveev2013-06-288-10/+175
| | | | llvm-svn: 185152
* [lsan] Fix flaky test.Sergey Matveev2013-06-271-2/+3
| | | | llvm-svn: 185079
* [LSan] Add the way to disable LSan at link timeAlexey Samsonov2013-06-273-0/+37
| | | | llvm-svn: 185066
* [lsan] Define interceptors more correctly. Also, always clear allocated memory.Sergey Matveev2013-06-251-24/+52
| | | | llvm-svn: 184849
* Revert to C-style callbacks for iteration over allocator chunks.Sergey Matveev2013-06-245-136/+82
| | | | | | | Also clean up LSan code, fix some comments and replace void* with uptr to bring down the number of reinterpret_casts. llvm-svn: 184700
* Add cmake rules for building LSan common on Mac OSAlexey Samsonov2013-06-221-1/+6
| | | | llvm-svn: 184639
* [lsan] Try REALLY hard to fix Win build.Sergey Matveev2013-06-211-9/+3
| | | | llvm-svn: 184557
* [lsan] This time really fix Win build.Sergey Matveev2013-06-211-1/+1
| | | | llvm-svn: 184556
* [lsan] Fix win build.Sergey Matveev2013-06-211-3/+8
| | | | llvm-svn: 184555
* [lsan] Increase allocator space; minor fixes.Sergey Matveev2013-06-212-19/+15
| | | | llvm-svn: 184554
* [asan] Move lsan_disabled out of thread context.Sergey Matveev2013-06-214-36/+76
| | | | | | Fix for the case where disabler is used in pthread key destructor. llvm-svn: 184553
* [asan] Define LSan annotations as no-ops if leak detection is not supported.Sergey Matveev2013-06-201-1/+3
| | | | llvm-svn: 184422
* [lsan] Move symbolization and reporting out of StopTheWorld callback.Sergey Matveev2013-06-1913-40/+38
| | | | llvm-svn: 184303
* [lsan] Set current_thread_tid correctly for main thread.Sergey Matveev2013-06-181-0/+1
| | | | llvm-svn: 184189
* Properly install LSan interface header, rely on sanitizer header presence in ↵Alexey Samsonov2013-06-143-3/+3
| | | | | | lit tests llvm-svn: 183977
* [LSan] Use a typedef for frontier vectorAlexey Samsonov2013-06-143-15/+17
| | | | llvm-svn: 183973
* [Sanitizer] Rename InternalVector to InternalMmapVectorAlexey Samsonov2013-06-143-17/+20
| | | | llvm-svn: 183972
* [LSan] fix link flags for building unit testsAlexey Samsonov2013-06-131-1/+1
| | | | llvm-svn: 183891
* [lsan] Harmonized some naming inconsistencies.Sergey Matveev2013-06-1117-48/+48
| | | | llvm-svn: 183748
* [lsan] Fix the unittest makefiles.Sergey Matveev2013-06-113-16/+28
| | | | llvm-svn: 183735
* tsan: fix lint warningsDmitry Vyukov2013-06-101-1/+1
| | | | llvm-svn: 183642
* Drop support for 32-bit PowerPC in sanitizer tools.Alexey Samsonov2013-06-071-1/+1
| | | | llvm-svn: 183499
* [lsan] Put SANITIZER_INTERFACE_ATTRIBUTE on LSan interface functions.Sergey Matveev2013-06-062-0/+3
| | | | llvm-svn: 183429
* [sanitizer] Do not fall back to SlowUnwindStack() in GetStackTrace()Sergey Matveev2013-06-061-2/+3
| | | | llvm-svn: 183414
* [lsan] Implement __lsan_ignore_object().Sergey Matveev2013-06-065-2/+104
| | | | | | Leak annotation similar to HeapChecker's IgnoreObject(). llvm-svn: 183412
* Simplify lit configs for asan/lsan/msan unit testsAlexey Samsonov2013-06-062-25/+6
| | | | llvm-svn: 183410
* Remove a bunch of copy-paste: use common config for sanitizer lit/unit testsAlexey Samsonov2013-06-065-61/+15
| | | | llvm-svn: 183407
* [lsan] Add __lsan_disable() and __lsan_enable().Sergey Matveev2013-06-034-39/+92
| | | | | | | Objects allocated after a call to __lsan_disable() will be treated as live memory. Also add a ScopedDisabler. llvm-svn: 183099
* [lsan] Added a dummy unittest to suppress LIT warnings.Sergey Matveev2013-05-311-0/+17
| | | | llvm-svn: 183004
* [lsan] Run the leak detection tests under both ASan and LSan.Sergey Matveev2013-05-3120-26/+98
| | | | | | | Change the LSan lit test logic. Now "check-lsan" tests the leak checking functionality in both standalone LSan and ASan. llvm-svn: 183000
* [lsan] Use the fast version of GetBlockBegin for leak checking in LSan and ASan.Sergey Matveev2013-05-312-5/+2
| | | | llvm-svn: 182994
* [lsan] Convert the remaining LSan tests to output tests.Sergey Matveev2013-05-2912-0/+345
| | | | llvm-svn: 182839
* Exclude sanitizer_nolibc_test from TSan test run. Fix lint warningsAlexey Samsonov2013-05-291-1/+1
| | | | llvm-svn: 182837
* [lsan] Begin converting LSan tests to output tests.Sergey Matveev2013-05-2711-414/+65
| | | | | | In this CL all old tests are removed and one LIT test is added. llvm-svn: 182730
* [sanitizer] Move FindThreadByOSIdLocked from lsan to sanitizer_common.Sergey Matveev2013-05-271-15/+3
| | | | llvm-svn: 182728
* Improve support for compiler-rt tests in CMake build.Alexey Samsonov2013-05-274-8/+8
| | | | | | | | Now compiler-rt tests run correctly if compiler-rt is checked out into arbitrary directory (not necessarily projects/compiler-rt). Patch by Greg Fitzgerald! llvm-svn: 182726
* [lsan] Allow the ignored TLS range to be empty.Sergey Matveev2013-05-241-9/+13
| | | | llvm-svn: 182657
* [lsan] Minor adjustments to LSan messages.Sergey Matveev2013-05-242-13/+13
| | | | llvm-svn: 182648
* [lsan] Prettify LSan reports and add a summary.Sergey Matveev2013-05-242-4/+22
| | | | llvm-svn: 182646
* [lsan] Add exitcode flag. Kill the process if leaks are found.Sergey Matveev2013-05-242-10/+28
| | | | llvm-svn: 182641
OpenPOWER on IntegriCloud