5d71de26cedae3dafc17449fe0182045c0bd20e8 |
21-Jul-2014 |
Stephen Hines <srhines@google.com> |
Update compiler-rt for rebase to r212749. Includes a cherry-pick of: r213309 - fixes umodsi3 Change-Id: Ic7367e3586b6af7ef74bee6a8cf437d5f28d975a
MakeLists.txt
san_common.cc
san_interceptors.cc
|
2d1fdb26e458c4ddc04155c1d421bced3ba90cd0 |
29-May-2014 |
Stephen Hines <srhines@google.com> |
Update compiler-rt aosp/master for 3.5 (r209699) rebase. Change-Id: I158a30186f0faea2e2400e9dfdd878db2eb40e90
MakeLists.txt
it_tests/AsanConfig/lit.cfg
it_tests/AsanConfig/lit.site.cfg.in
it_tests/CMakeLists.txt
it_tests/LsanConfig/lit.cfg
it_tests/LsanConfig/lit.site.cfg.in
it_tests/TestCases/SharedLibs/huge_tls_lib_so.cc
it_tests/TestCases/SharedLibs/lit.local.cfg
it_tests/TestCases/cleanup_in_tsd_destructor.cc
it_tests/TestCases/disabler.cc
it_tests/TestCases/disabler_in_tsd_destructor.cc
it_tests/TestCases/do_leak_check_override.cc
it_tests/TestCases/fork.cc
it_tests/TestCases/fork_threaded.cc
it_tests/TestCases/high_allocator_contention.cc
it_tests/TestCases/ignore_object.cc
it_tests/TestCases/ignore_object_errors.cc
it_tests/TestCases/large_allocation_leak.cc
it_tests/TestCases/leak_check_at_exit.cc
it_tests/TestCases/link_turned_off.cc
it_tests/TestCases/pointer_to_self.cc
it_tests/TestCases/sanity_check_pure_c.c
it_tests/TestCases/stale_stack_leak.cc
it_tests/TestCases/suppressions_default.cc
it_tests/TestCases/suppressions_file.cc
it_tests/TestCases/suppressions_file.cc.supp
it_tests/TestCases/swapcontext.cc
it_tests/TestCases/use_after_return.cc
it_tests/TestCases/use_globals_initialized.cc
it_tests/TestCases/use_globals_uninitialized.cc
it_tests/TestCases/use_registers.cc
it_tests/TestCases/use_stacks.cc
it_tests/TestCases/use_stacks_threaded.cc
it_tests/TestCases/use_tls_dynamic.cc
it_tests/TestCases/use_tls_pthread_specific_dynamic.cc
it_tests/TestCases/use_tls_pthread_specific_static.cc
it_tests/TestCases/use_tls_static.cc
it_tests/TestCases/use_unaligned.cc
it_tests/Unit/lit.site.cfg.in
it_tests/lit.common.cfg
san.cc
san_allocator.cc
san_common.cc
san_common.h
san_common_linux.cc
san_interceptors.cc
ests/CMakeLists.txt
ests/lsan_dummy_unittest.cc
ests/lsan_testlib.cc
|
28e41fed078ce7a457a1ab8de1b07407266695fb |
25-Nov-2013 |
Sergey Matveev <earthdok@google.com> |
Merging r195652: ------------------------------------------------------------------------ r195652 | smatveev | 2013-11-25 19:54:31 +0400 (Mon, 25 Nov 2013) | 3 lines [lsan] Unbreak lsan_testlib.cc. Also, add missing logging output. ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/branches/release_34@195668 91177308-0d34-0410-b5e6-96231b3b80d8
san_common.cc
san_preinit.cc
ests/lsan_testlib.cc
|
cf2469dc14ad84374d59f286a41cc1c9b190c0e4 |
25-Nov-2013 |
Sergey Matveev <earthdok@google.com> |
Merging r195643: ------------------------------------------------------------------------ r195643 | smatveev | 2013-11-25 18:30:37 +0400 (Mon, 25 Nov 2013) | 1 line [lsan] Add a missing file. ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/branches/release_34@195667 91177308-0d34-0410-b5e6-96231b3b80d8
san_preinit.cc
|
74c88796a4024922144660ed1ade519af5008fe2 |
25-Nov-2013 |
Sergey Matveev <earthdok@google.com> |
Merging r195642: ------------------------------------------------------------------------ r195642 | smatveev | 2013-11-25 18:25:36 +0400 (Mon, 25 Nov 2013) | 5 lines [lsan] Unbreak standalone LSan's initialization by making it more like ASan's. No longer allow interceptors to be called during initialization, use the preinit array (instead of initializing at the first call to an intercepted function) and adopt the calloc() hack from ASan. ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/branches/release_34@195666 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
san.cc
san.h
san_interceptors.cc
|
12f610efe6f48efb2d03b985b3b2a36d4556fca7 |
25-Nov-2013 |
Sergey Matveev <earthdok@google.com> |
Merging r195570: ------------------------------------------------------------------------ r195570 | smatveev | 2013-11-24 18:28:18 +0400 (Sun, 24 Nov 2013) | 4 lines [lsan] Use real memset to clear memory in standalone LSan. Performance improvement. Also, the allocator was using CompactSizeClassMap for no good reason, so I switched it to DefaultSizeClassMap. ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/branches/release_34@195665 91177308-0d34-0410-b5e6-96231b3b80d8
san_allocator.cc
|
55c7947a742aa72530eef52d902e60e5571ac3cf |
12-Nov-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Specify a default value for each common runtime flag git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194479 91177308-0d34-0410-b5e6-96231b3b80d8
san.cc
|
49496747758bf44163768ce3e07e40c8f95ccba9 |
07-Nov-2013 |
Alexander Potapenko <glider@google.com> |
[ASan] Add CMake configs for libclang_rt.asan_iossim_dynamic.dylib CMake changes to build the ASan runtime for the iOS simulator. This is a universal library targeting the same architectures as the OSX ASan runtime does, thus the iossim version can't live in the same universal libclang_rt.asan_osx_dynamic.dylib The difference between the OSX and iossim builds is in the -mios-simulator-version-min and -ios_simulator_version_min flags that tell Clang to compile and link iossim code. The iossim runtime can only be built on a machine with both Xcode and the iOS Simulator SDK installed. If xcodebuild -version -sdk iphonesimulator Path returns a nonempty path, it is used when compiling and linking the iossim runtime. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194199 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
|
2fb08720b11b4c339e191b90d85477c6a2dd74db |
01-Nov-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Unify summary reporting across all sanitizers. This change unifies the summary printing across sanitizers: now each tool uses specific version of ReportErrorSummary() method, which deals with symbolization of the top frame and formatting a summary message. This change modifies the summary line for ASan+LSan mode: now the summary mentions "AddressSanitizer" instead of "LeakSanitizer". git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193864 91177308-0d34-0410-b5e6-96231b3b80d8
it_tests/TestCases/disabler.cc
it_tests/TestCases/do_leak_check_override.cc
it_tests/TestCases/ignore_object.cc
it_tests/TestCases/large_allocation_leak.cc
it_tests/TestCases/leak_check_at_exit.cc
it_tests/TestCases/link_turned_off.cc
it_tests/TestCases/pointer_to_self.cc
it_tests/TestCases/stale_stack_leak.cc
it_tests/TestCases/suppressions_default.cc
it_tests/TestCases/suppressions_file.cc
it_tests/TestCases/swapcontext.cc
it_tests/TestCases/use_after_return.cc
it_tests/TestCases/use_globals_initialized.cc
it_tests/TestCases/use_globals_uninitialized.cc
it_tests/TestCases/use_registers.cc
it_tests/TestCases/use_stacks.cc
it_tests/TestCases/use_stacks_threaded.cc
it_tests/TestCases/use_tls_dynamic.cc
it_tests/TestCases/use_tls_pthread_specific_dynamic.cc
it_tests/TestCases/use_tls_pthread_specific_static.cc
it_tests/TestCases/use_tls_static.cc
it_tests/TestCases/use_unaligned.cc
san_common.cc
|
a96c4dc70efa6e45b27640cdd9812e0817c9a75d |
01-Nov-2013 |
Alexey Samsonov <samsonov@google.com> |
Consistently use StackTrace::PrintStack in ASan, LSan and MSan git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193834 91177308-0d34-0410-b5e6-96231b3b80d8
san_common.cc
|
7996a2e2a1c461743c9216f13429c04d75050230 |
29-Oct-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Simplify StackTrace::PrintStack interface: prefer common flags to turn on/off the symbolization git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193587 91177308-0d34-0410-b5e6-96231b3b80d8
san_common.cc
|
c1a1ed62228288155459d39194995a36aca4a8a6 |
26-Oct-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
Overhaul the symbolizer interface. This moves away from creating the symbolizer object and initializing the external symbolizer as separate steps. Those steps now always take place together. Sanitizers with a legacy requirement to specify their own symbolizer path should use InitSymbolizer to initialize the symbolizer with the desired path, and GetSymbolizer to access the symbolizer. Sanitizers with no such requirement (e.g. UBSan) can use GetOrInitSymbolizer with no need for initialization. The symbolizer interface has been made thread-safe (as far as I can tell) by protecting its member functions with mutexes. Finally, the symbolizer interface no longer relies on weak externals, the introduction of which was probably a mistake on my part. Differential Revision: http://llvm-reviews.chandlerc.com/D1985 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193448 91177308-0d34-0410-b5e6-96231b3b80d8
san.cc
san_common.cc
|
b1907c71402e01deb6fa3909a75dbc674bfd907b |
23-Oct-2013 |
Nick Lewycky <nicholas@mxc.ca> |
Continue to keep 'SUMMARY: ' prefix in lsan. Whoops! git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193232 91177308-0d34-0410-b5e6-96231b3b80d8
san_common.cc
|
137a9b84c25f1ad7d68a14f138cf270a03a738cb |
21-Oct-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] When detect_leaks=false, be completely silent. In particular, don't make a fuss if we're passed a malformed suppressions file, or if we have trouble identifying ld.so. Also, make LSan interface functions no-ops in this case. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193108 91177308-0d34-0410-b5e6-96231b3b80d8
san_common.cc
|
e852e41d345c4be4ca28962cbc6c6d59717759c7 |
15-Oct-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Fix bug when discovering indirectly leaked objects. If an object contains pointers to itself, that doesn't make it indirectly leaked. D'oh! git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192716 91177308-0d34-0410-b5e6-96231b3b80d8
it_tests/TestCases/pointer_to_self.cc
san_common.cc
|
06cbed8b8ae64b7ace50c1b4e4eed97a2a8b9965 |
15-Oct-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: use verbosity flag in sanitizer_common code directly now it's available from common_flags() git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192705 91177308-0d34-0410-b5e6-96231b3b80d8
san_interceptors.cc
|
c519335c2d6d32acaac32c0595f08a05081567e7 |
14-Oct-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Support ASan's stack-use-after-return mode in LSan. Treat the fake stack as live memory. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192593 91177308-0d34-0410-b5e6-96231b3b80d8
it_tests/TestCases/use_after_return.cc
san_common.cc
san_common.h
san_thread.cc
|
e86e35fbe861e73c5991200510a028877427b3e7 |
14-Oct-2013 |
Sergey Matveev <earthdok@google.com> |
[asan] Improve thread lifetime tracking on POSIX systems. Call AsanThread::Destroy() from a late-running TSD destructor. Previously we called it before any user-registered TSD destructors, which caused false positives in LeakSanitizer. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192585 91177308-0d34-0410-b5e6-96231b3b80d8
it_tests/TestCases/cleanup_in_tsd_destructor.cc
|
80175018541984bdcfe6a304bb189bd30592fa8a |
12-Oct-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Turn GetStackTrace() into StackTrace::Unwind() git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192533 91177308-0d34-0410-b5e6-96231b3b80d8
san_interceptors.cc
|
6eb836f9bd2b96a321ddc7fb5ea08aa65131e61f |
11-Oct-2013 |
Sergey Matveev <earthdok@google.com> |
[sanitizer] Move the PTHREAD_DESTRUCTOR_ITERATIONS constant to sanitizer_linux.h. Add a test. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192442 91177308-0d34-0410-b5e6-96231b3b80d8
san_interceptors.cc
|
90b0f1e3ba126bb2e92ab51ef379c98782c23d90 |
04-Oct-2013 |
Alexey Samsonov <samsonov@google.com> |
Refactor the usage of strip_path_prefix option and make it more consistent across sanitizers git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191943 91177308-0d34-0410-b5e6-96231b3b80d8
san_common.cc
|
2946f13d6ca0cfc46d74c12e97dc40a17a7d232f |
30-Sep-2013 |
Alexey Samsonov <samsonov@google.com> |
[LSan] Rework r191522 - treat allocations with short stack traces as live git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191662 91177308-0d34-0410-b5e6-96231b3b80d8
san_common.cc
san_common_linux.cc
|
4430fdb4b04ae28d22cc6b24eab762afdb2fa0b7 |
27-Sep-2013 |
Alexey Samsonov <samsonov@google.com> |
[LSan] Don't report leaks with single-frame stack traces git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191522 91177308-0d34-0410-b5e6-96231b3b80d8
it_tests/TestCases/swapcontext.cc
san_common.cc
|
96a575f05b2a45774170a118ea69ddae3659b645 |
12-Sep-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] Fix deadlock in stack unwinder on android/x86. Fixes PR17116. Patch by 林作健 (manjian2006 at gmail.com). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190590 91177308-0d34-0410-b5e6-96231b3b80d8
san_common_linux.cc
|
7847d77b246635211c3bf465421d49d7af5226c1 |
10-Sep-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Refactor symbolization interface: use class instead of several functions. Move some code around to get rid of extra source files git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190410 91177308-0d34-0410-b5e6-96231b3b80d8
san.cc
san_common.cc
|
650c7d44b659ddfb4af471dc2ad79a727b7de939 |
03-Sep-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Colorize LSan reports. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189804 91177308-0d34-0410-b5e6-96231b3b80d8
san_common.cc
|
68c016aea0b61f649b9d9ba65c7d7217e0c0f6cb |
03-Sep-2013 |
Alexey Samsonov <samsonov@google.com> |
ASan, LSan, MSan: try to find llvm-symbolizer binary in PATH if it is not provided. Now we don't need to explicitly set the location of llvm-symbolizer in lit test configs. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189801 91177308-0d34-0410-b5e6-96231b3b80d8
it_tests/AsanConfig/lit.cfg
it_tests/LsanConfig/lit.cfg
san.cc
|
3354fa60c20cc5c99ecfb36d813b598dc1b96b80 |
27-Aug-2013 |
Alexey Samsonov <samsonov@google.com> |
Revert r189347: it breaks on machines w/o installed debug versions of system libraries git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189350 91177308-0d34-0410-b5e6-96231b3b80d8
it_tests/TestCases/use_tls_dynamic.cc
|
a6b03c051f9f62771978f8621e7d82ebd1aadd2d |
27-Aug-2013 |
Alexey Samsonov <samsonov@google.com> |
LSan: Check that dynamic linker library is properly symbolized git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189347 91177308-0d34-0410-b5e6-96231b3b80d8
it_tests/TestCases/use_tls_dynamic.cc
|
384a448fbe081352f7b3bb927093412ad1725cff |
26-Aug-2013 |
Sergey Matveev <earthdok@google.com> |
[sanitizer] Add a fast version of StackDepotGet() for use in LSan. Add a class that holds a snapshot of the StackDepot optimized for querying by ID. This allows us to speed up LSan dramatically. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189217 91177308-0d34-0410-b5e6-96231b3b80d8
san_common_linux.cc
|
5bd2174c1385ec10b172cc9a32bc33b1967d60b5 |
23-Aug-2013 |
Alexey Samsonov <samsonov@google.com> |
Slightly improve lint checker script and fix a few style issues git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189092 91177308-0d34-0410-b5e6-96231b3b80d8
it_tests/TestCases/high_allocator_contention.cc
|
25aa2553555f416a261625da7f2bd48c36d487bd |
22-Aug-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Add a regression test for building C code. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189016 91177308-0d34-0410-b5e6-96231b3b80d8
it_tests/AsanConfig/lit.cfg
it_tests/LsanConfig/lit.cfg
it_tests/TestCases/sanity_check_pure_c.c
it_tests/lit.common.cfg
|
8d0c5ba5a63e2934136336db1884804c00932be9 |
22-Aug-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Add a stress test. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189012 91177308-0d34-0410-b5e6-96231b3b80d8
it_tests/TestCases/high_allocator_contention.cc
|
34fe7e14ee64a3f2768c8a0e789cba607fd69867 |
22-Aug-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Build standalone LSan with -fno-rtti. Fix issue where C code could not be built with -fsanitize=leak. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189010 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
ests/CMakeLists.txt
|
ebc0484ebbd1b7ed142b2851e3308559dabe79f7 |
20-Aug-2013 |
Alexey Samsonov <samsonov@google.com> |
[LSan] Add support for building standalone LSan runtime to Make build (compiler-rt part) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@188804 91177308-0d34-0410-b5e6-96231b3b80d8
akefile.mk
|
3c80c6c574850106481f82b9e23d1c728458d4a9 |
13-Aug-2013 |
Timur Iskhodzhanov <timurrrr@google.com> |
Define SANITIZER_INTERFACE_ATTRIBUTE on Windows and fix all the places where SANITIZER_INTERFACE_ATTRIBUTE or SANITIZER_ATTRIBUTE_WEAK are used git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@188261 91177308-0d34-0410-b5e6-96231b3b80d8
san_common.cc
san_common.h
|
a1b15b4af39b843ebb8545d295aa872829eb8187 |
10-Aug-2013 |
Daniel Dunbar <daniel@zuster.org> |
[tests] Update to use lit_config and lit package, as appropriate. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@188116 91177308-0d34-0410-b5e6-96231b3b80d8
it_tests/AsanConfig/lit.cfg
it_tests/AsanConfig/lit.site.cfg.in
it_tests/LsanConfig/lit.cfg
it_tests/LsanConfig/lit.site.cfg.in
it_tests/Unit/lit.site.cfg.in
it_tests/lit.common.cfg
|
cc5a4acd26ea0e8975c7af3cba906440153cf072 |
07-Aug-2013 |
Alexey Samsonov <samsonov@google.com> |
Enable pipefail for LSan tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187873 91177308-0d34-0410-b5e6-96231b3b80d8
it_tests/TestCases/disabler.cc
it_tests/TestCases/do_leak_check_override.cc
it_tests/TestCases/ignore_object.cc
it_tests/TestCases/large_allocation_leak.cc
it_tests/TestCases/link_turned_off.cc
it_tests/TestCases/stale_stack_leak.cc
it_tests/TestCases/suppressions_default.cc
it_tests/TestCases/suppressions_file.cc
it_tests/TestCases/use_globals_initialized.cc
it_tests/TestCases/use_globals_uninitialized.cc
it_tests/TestCases/use_registers.cc
it_tests/TestCases/use_stacks.cc
it_tests/TestCases/use_stacks_threaded.cc
it_tests/TestCases/use_tls_dynamic.cc
it_tests/TestCases/use_tls_pthread_specific_dynamic.cc
it_tests/TestCases/use_tls_pthread_specific_static.cc
it_tests/TestCases/use_tls_static.cc
it_tests/TestCases/use_unaligned.cc
it_tests/lit.common.cfg
|
41f15402521b7af66c2aa8e0ad4a056fc8166dd9 |
01-Aug-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Add leak_check_at_exit flag. We needed a way to tell LSan to invoke leak checking only if __do_leak_check() is called explicitly. This can now be achieved by setting leak_check_at_exit=false. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187578 91177308-0d34-0410-b5e6-96231b3b80d8
it_tests/TestCases/leak_check_at_exit.cc
san.cc
|
bdeb86ce38d8971fa9a5706643e9331b48981dfa |
27-Jul-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Disable pipefail for lsan. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187274 91177308-0d34-0410-b5e6-96231b3b80d8
it_tests/lit.common.cfg
|
62519eb72ec1005d794685c1ec09df7c37631b27 |
22-Jul-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Make __lsan_do_leak_check() honor the detect_leaks flag. Also move detect_leaks to common flags. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@186821 91177308-0d34-0410-b5e6-96231b3b80d8
san.cc
san_common.cc
|
841b6f29df24642cfbaa6e6fba5632d1712569ae |
22-Jul-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Print direct leaks first. Direct leaks are higher priority, so it makes sense to have them on top. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@186819 91177308-0d34-0410-b5e6-96231b3b80d8
san_common.cc
|
f021f4fb9e41d7ff3368556962c89119391fe025 |
18-Jul-2013 |
Hans Wennborg <hans@hanshq.net> |
Use --driver-mode=g++ instead of -ccc-cxx; required after Clang r186605 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@186607 91177308-0d34-0410-b5e6-96231b3b80d8
it_tests/lit.common.cfg
|
f93fa97b9fb49c6aaeeadf94fc54c76374b580bd |
18-Jul-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Add __lsan_do_leak_check() to the public interface. Let users override the normal behavior to run leak checking earlier in the process. Also fix a couple nits here and there. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@186581 91177308-0d34-0410-b5e6-96231b3b80d8
it_tests/TestCases/do_leak_check_override.cc
san_common.cc
|
bac1f7b034d9b3bb15d98db755a2bc091c8ce005 |
12-Jul-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Increase the hardcoded limit on number of leaks. We never expected to see so many leaks in the real world. Until we did. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@186157 91177308-0d34-0410-b5e6-96231b3b80d8
san_common.cc
|
577a4b5ed22815b16a3af5fcb0b0a01481b004f3 |
08-Jul-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Fix test. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185817 91177308-0d34-0410-b5e6-96231b3b80d8
it_tests/TestCases/fork_threaded.cc
|
c6ac98d7fcc81768b2ef7ddc785c27e3fc1bdef6 |
08-Jul-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Handle fork() correctly. 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(). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185815 91177308-0d34-0410-b5e6-96231b3b80d8
it_tests/TestCases/fork.cc
it_tests/TestCases/fork_threaded.cc
san_common.cc
san_common.h
san_interceptors.cc
san_thread.cc
san_thread.h
|
99560bf109ca14b1a48e1ae1206bcc11cdb7eae4 |
08-Jul-2013 |
Alexey Samsonov <samsonov@google.com> |
[LSan] Use overridable hook to report error summary git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185805 91177308-0d34-0410-b5e6-96231b3b80d8
san_common.cc
|
fe18723033b4e06adcd339f67e9a63054380a63f |
30-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
Define the path to llvm-symbolizer tool in a common config to reduce copy-paste git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185286 91177308-0d34-0410-b5e6-96231b3b80d8
it_tests/lit.common.cfg
|
ad75ce5309adaad82104d77e5ceeee2882a0746d |
28-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Fix build again. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185157 91177308-0d34-0410-b5e6-96231b3b80d8
it_tests/TestCases/ignore_object_errors.cc
|
0b5a1b79121f96d36d0d75ae2b8931a39aac93a2 |
28-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Fix build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185156 91177308-0d34-0410-b5e6-96231b3b80d8
it_tests/TestCases/ignore_object.cc
|
9b4ba948f1c19adafde8e78c520ce30ac7bb1033 |
28-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] When verbosity > 1, always print suppressions and summary (even if no leaks found). Also fix an output bug. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185153 91177308-0d34-0410-b5e6-96231b3b80d8
san_common.cc
|
b33cfeb6004d3a93e6d35749c14db0190c6c2b4c |
28-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Add suppression support. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185152 91177308-0d34-0410-b5e6-96231b3b80d8
it_tests/AsanConfig/lit.cfg
it_tests/LsanConfig/lit.cfg
it_tests/TestCases/suppressions_default.cc
it_tests/TestCases/suppressions_file.cc
it_tests/TestCases/suppressions_file.cc.supp
it_tests/lit.common.cfg
san_common.cc
san_common.h
|
7ddf3c9899c39485d6a70fe294a1e4893897f424 |
27-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Fix flaky test. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185079 91177308-0d34-0410-b5e6-96231b3b80d8
it_tests/TestCases/link_turned_off.cc
|
9fbfd96608070eb71e11fbfe42ec9e84016429ae |
27-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
[LSan] Add the way to disable LSan at link time git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185066 91177308-0d34-0410-b5e6-96231b3b80d8
it_tests/TestCases/link_turned_off.cc
san_common.cc
san_common.h
|
d16d7233510f4ebb3b5bcafdee2db373c53c5c56 |
25-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Define interceptors more correctly. Also, always clear allocated memory. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184849 91177308-0d34-0410-b5e6-96231b3b80d8
san_interceptors.cc
|
ac78d0087281e9b40bb043f827fbde8c05c6505a |
24-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
Revert to C-style callbacks for iteration over allocator chunks. Also clean up LSan code, fix some comments and replace void* with uptr to bring down the number of reinterpret_casts. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184700 91177308-0d34-0410-b5e6-96231b3b80d8
it_tests/TestCases/disabler_in_tsd_destructor.cc
san_allocator.cc
san_common.cc
san_common.h
san_common_linux.cc
|
c3b30b378741f3ec0f4d615ef172b68e1cf97e39 |
22-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
Add cmake rules for building LSan common on Mac OS git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184639 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
|
21e024eb4f1aa3c42bb9dbd1d93a4299807f9555 |
21-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Try REALLY hard to fix Win build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184557 91177308-0d34-0410-b5e6-96231b3b80d8
san_common.cc
|
2439cd96e9af5004f82f0a954c55b0e4d9600b52 |
21-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] This time really fix Win build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184556 91177308-0d34-0410-b5e6-96231b3b80d8
san_common.cc
|
ca74cff8d0f3c003a3c379bc88cc1771d8bbe1be |
21-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Fix win build. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184555 91177308-0d34-0410-b5e6-96231b3b80d8
san_common.cc
|
ef89d6b576bd8f5084b70e2d908cd53c37fab9f9 |
21-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Increase allocator space; minor fixes. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184554 91177308-0d34-0410-b5e6-96231b3b80d8
san_allocator.cc
san_common.cc
|
200afbd8ba4904241c1ebcef4fa79d739ca01f73 |
21-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[asan] Move lsan_disabled out of thread context. Fix for the case where disabler is used in pthread key destructor. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184553 91177308-0d34-0410-b5e6-96231b3b80d8
it_tests/TestCases/disabler_in_tsd_destructor.cc
san_allocator.cc
san_common.cc
san_common.h
|
9b618a7ec2ec78e602d8897008c6f02cba673794 |
20-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[asan] Define LSan annotations as no-ops if leak detection is not supported. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184422 91177308-0d34-0410-b5e6-96231b3b80d8
san_common.cc
|
c085fe807836b566b4fce7ccdfb307bb025693c5 |
19-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Move symbolization and reporting out of StopTheWorld callback. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184303 91177308-0d34-0410-b5e6-96231b3b80d8
it_tests/TestCases/large_allocation_leak.cc
it_tests/TestCases/stale_stack_leak.cc
it_tests/TestCases/use_globals_initialized.cc
it_tests/TestCases/use_globals_uninitialized.cc
it_tests/TestCases/use_registers.cc
it_tests/TestCases/use_stacks.cc
it_tests/TestCases/use_stacks_threaded.cc
it_tests/TestCases/use_tls_dynamic.cc
it_tests/TestCases/use_tls_pthread_specific_dynamic.cc
it_tests/TestCases/use_tls_pthread_specific_static.cc
it_tests/TestCases/use_tls_static.cc
it_tests/TestCases/use_unaligned.cc
san_common.cc
|
02d7f32f66ef13cedd66a69aad864b6d5a4b81ae |
18-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Set current_thread_tid correctly for main thread. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184189 91177308-0d34-0410-b5e6-96231b3b80d8
san.cc
|
441a21644ad802b278c45b4e87153113639b2fcc |
14-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
Properly install LSan interface header, rely on sanitizer header presence in lit tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183977 91177308-0d34-0410-b5e6-96231b3b80d8
it_tests/TestCases/disabler.cc
it_tests/TestCases/ignore_object.cc
it_tests/TestCases/ignore_object_errors.cc
|
dbeb48d34bb6447c33a0ef99aaf9ba36f7f4b852 |
14-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
[LSan] Use a typedef for frontier vector git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183973 91177308-0d34-0410-b5e6-96231b3b80d8
san_common.cc
san_common.h
san_common_linux.cc
|
a64d4359902f1f64992aedfe10d8882ae7c66f40 |
14-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Rename InternalVector to InternalMmapVector git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183972 91177308-0d34-0410-b5e6-96231b3b80d8
san_common.cc
san_common.h
san_common_linux.cc
|
5c127cddd01872cd49d7267c128981eb2df8ddc7 |
13-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
[LSan] fix link flags for building unit tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183891 91177308-0d34-0410-b5e6-96231b3b80d8
ests/CMakeLists.txt
|
b3b46dad13a2111a51fb1a67f36c8b633410e9b7 |
11-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Harmonized some naming inconsistencies. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183748 91177308-0d34-0410-b5e6-96231b3b80d8
it_tests/TestCases/disabler.cc
it_tests/TestCases/ignore_object.cc
it_tests/TestCases/large_allocation_leak.cc
it_tests/TestCases/stale_stack_leak.cc
it_tests/TestCases/use_globals_initialized.cc
it_tests/TestCases/use_globals_uninitialized.cc
it_tests/TestCases/use_registers.cc
it_tests/TestCases/use_stacks.cc
it_tests/TestCases/use_stacks_threaded.cc
it_tests/TestCases/use_tls_dynamic.cc
it_tests/TestCases/use_tls_pthread_specific_dynamic.cc
it_tests/TestCases/use_tls_pthread_specific_static.cc
it_tests/TestCases/use_tls_static.cc
it_tests/TestCases/use_unaligned.cc
san_allocator.cc
san_common.cc
san_common.h
|
a4d043eba05abdc62970076104cba71a4fc5bcef |
11-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Fix the unittest makefiles. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183735 91177308-0d34-0410-b5e6-96231b3b80d8
it_tests/CMakeLists.txt
ests/CMakeLists.txt
ests/lsan_dummy_unittest.cc
|
4f0fd8e131b6c2f13244a0fd808abe0da7a50983 |
10-Jun-2013 |
Dmitry Vyukov <dvyukov@google.com> |
tsan: fix lint warnings git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183642 91177308-0d34-0410-b5e6-96231b3b80d8
it_tests/TestCases/ignore_object.cc
|
b957d9f20c934ac1af70353db6bc994490d7ea0e |
07-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
Drop support for 32-bit PowerPC in sanitizer tools. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183499 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
|
46ed75f54f1c3b7863ae74aec8c2c015d572f027 |
06-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Put SANITIZER_INTERFACE_ATTRIBUTE on LSan interface functions. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183429 91177308-0d34-0410-b5e6-96231b3b80d8
san_allocator.cc
san_common.cc
|
0550a3f9982ee7af5e16fa333f988d42b4cbf765 |
06-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[sanitizer] Do not fall back to SlowUnwindStack() in GetStackTrace() git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183414 91177308-0d34-0410-b5e6-96231b3b80d8
san_common_linux.cc
|
cd571e07fd1179383188c70338fa0dc1c452cb19 |
06-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Implement __lsan_ignore_object(). Leak annotation similar to HeapChecker's IgnoreObject(). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183412 91177308-0d34-0410-b5e6-96231b3b80d8
it_tests/TestCases/ignore_object.cc
it_tests/TestCases/ignore_object_errors.cc
san_allocator.cc
san_common.cc
san_common.h
|
06f069aa9b3dc692457366a6882e7b5d5da84ec3 |
06-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
Simplify lit configs for asan/lsan/msan unit tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183410 91177308-0d34-0410-b5e6-96231b3b80d8
it_tests/Unit/lit.cfg
it_tests/Unit/lit.site.cfg.in
|
ad785cb2d7f2ab80d2f6bfd7f05d4898807592ad |
06-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
Remove a bunch of copy-paste: use common config for sanitizer lit/unit tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183407 91177308-0d34-0410-b5e6-96231b3b80d8
it_tests/AsanConfig/lit.site.cfg.in
it_tests/LsanConfig/lit.site.cfg.in
it_tests/Unit/lit.cfg
it_tests/Unit/lit.site.cfg.in
it_tests/lit.common.cfg
|
5e719a705666988781b9735d62cafc808ade60e2 |
03-Jun-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Add __lsan_disable() and __lsan_enable(). Objects allocated after a call to __lsan_disable() will be treated as live memory. Also add a ScopedDisabler. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183099 91177308-0d34-0410-b5e6-96231b3b80d8
it_tests/TestCases/disabler.cc
san_allocator.cc
san_common.cc
san_common.h
|
21b40a53735f9f3282d4f1805e3392b421e0f0f8 |
31-May-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Added a dummy unittest to suppress LIT warnings. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183004 91177308-0d34-0410-b5e6-96231b3b80d8
ests/lsan_dummy_unittest.cc
|
895659dab7ac73ba79e48bf5d361fbfe2464058b |
31-May-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Run the leak detection tests under both ASan and LSan. Change the LSan lit test logic. Now "check-lsan" tests the leak checking functionality in both standalone LSan and ASan. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183000 91177308-0d34-0410-b5e6-96231b3b80d8
it_tests/AsanConfig/lit.cfg
it_tests/AsanConfig/lit.site.cfg.in
it_tests/CMakeLists.txt
it_tests/LsanConfig/lit.cfg
it_tests/LsanConfig/lit.site.cfg.in
it_tests/SharedLibs/huge_tls_lib_so.cc
it_tests/SharedLibs/lit.local.cfg
it_tests/TestCases/SharedLibs/huge_tls_lib_so.cc
it_tests/TestCases/SharedLibs/lit.local.cfg
it_tests/TestCases/large_allocation_leak.cc
it_tests/TestCases/stale_stack_leak.cc
it_tests/TestCases/use_globals_initialized.cc
it_tests/TestCases/use_globals_uninitialized.cc
it_tests/TestCases/use_registers.cc
it_tests/TestCases/use_stacks.cc
it_tests/TestCases/use_stacks_threaded.cc
it_tests/TestCases/use_tls_dynamic.cc
it_tests/TestCases/use_tls_pthread_specific_dynamic.cc
it_tests/TestCases/use_tls_pthread_specific_static.cc
it_tests/TestCases/use_tls_static.cc
it_tests/TestCases/use_unaligned.cc
it_tests/large_allocation_leak.cc
it_tests/lit.cfg
it_tests/lit.common.cfg
it_tests/lit.site.cfg.in
it_tests/stale_stack_leak.cc
it_tests/use_globals_initialized.cc
it_tests/use_globals_uninitialized.cc
it_tests/use_registers.cc
it_tests/use_stacks.cc
it_tests/use_stacks_threaded.cc
it_tests/use_tls_dynamic.cc
it_tests/use_tls_pthread_specific_dynamic.cc
it_tests/use_tls_pthread_specific_static.cc
it_tests/use_tls_static.cc
it_tests/use_unaligned.cc
|
ba2169a467abf86c15d4b19a5ed4d978c584a98e |
31-May-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Use the fast version of GetBlockBegin for leak checking in LSan and ASan. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182994 91177308-0d34-0410-b5e6-96231b3b80d8
san_allocator.cc
san_common.cc
|
c91a93897a14fcd68bdd835ad6c6a4d12d2f78e6 |
29-May-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Convert the remaining LSan tests to output tests. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182839 91177308-0d34-0410-b5e6-96231b3b80d8
it_tests/SharedLibs/huge_tls_lib_so.cc
it_tests/large_allocation_leak.cc
it_tests/stale_stack_leak.cc
it_tests/use_globals_uninitialized.cc
it_tests/use_registers.cc
it_tests/use_stacks.cc
it_tests/use_stacks_threaded.cc
it_tests/use_tls_dynamic.cc
it_tests/use_tls_pthread_specific_dynamic.cc
it_tests/use_tls_pthread_specific_static.cc
it_tests/use_tls_static.cc
it_tests/use_unaligned.cc
|
616659a1608efe3791e749d406824032afe694e9 |
29-May-2013 |
Alexey Samsonov <samsonov@google.com> |
Exclude sanitizer_nolibc_test from TSan test run. Fix lint warnings git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182837 91177308-0d34-0410-b5e6-96231b3b80d8
it_tests/use_globals_initialized.cc
|
ebe3a3608be122e799e264931f9cecf4cbc84edd |
27-May-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Begin converting LSan tests to output tests. In this CL all old tests are removed and one LIT test is added. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182730 91177308-0d34-0410-b5e6-96231b3b80d8
it_tests/SharedLibs/lit.local.cfg
it_tests/lit.cfg
it_tests/use_globals_initialized.cc
san_allocator.cc
san_common.cc
san_common.h
san_common_linux.cc
ests/CMakeLists.txt
ests/lsan_dummy_unittest.cc
ests/lsan_test.cc
ests/lsan_tls_loadable.cc
|
98d3b40ec5cf06e46397492c21acc9d18e8c54ab |
27-May-2013 |
Sergey Matveev <earthdok@google.com> |
[sanitizer] Move FindThreadByOSIdLocked from lsan to sanitizer_common. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182728 91177308-0d34-0410-b5e6-96231b3b80d8
san_thread.cc
|
57434a3174cfd9c4c5f304ea412492e4935cc18d |
27-May-2013 |
Alexey Samsonov <samsonov@google.com> |
Improve support for compiler-rt tests in CMake build. Now compiler-rt tests run correctly if compiler-rt is checked out into arbitrary directory (not necessarily projects/compiler-rt). Patch by Greg Fitzgerald! git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182726 91177308-0d34-0410-b5e6-96231b3b80d8
it_tests/Unit/lit.cfg
it_tests/Unit/lit.site.cfg.in
it_tests/lit.cfg
it_tests/lit.site.cfg.in
|
f5a9ace4904e9daf3d962274cbbcb702ebc5450e |
24-May-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Allow the ignored TLS range to be empty. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182657 91177308-0d34-0410-b5e6-96231b3b80d8
san_common.cc
|
8e66cf5e2b56214996185fce37cd704898d8bc9b |
24-May-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Minor adjustments to LSan messages. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182648 91177308-0d34-0410-b5e6-96231b3b80d8
san_common.cc
san_common_linux.cc
|
6c3634b1d5eeb0bffea01df10caa7168c48c8c5d |
24-May-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Prettify LSan reports and add a summary. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182646 91177308-0d34-0410-b5e6-96231b3b80d8
san_common.cc
san_common.h
|
969b529914f5bc17e4810076dccbaadf563d584c |
24-May-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Add exitcode flag. Kill the process if leaks are found. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182641 91177308-0d34-0410-b5e6-96231b3b80d8
san_common.cc
san_common.h
|
e850b87a9b18774385a337159c5ce1811bfc4a02 |
23-May-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Add lit test support. "check-lsan" now runs both the tests from lib/lsan/tests and any lit tests found under lib/lsan/lit_tests. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182583 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
it_tests/CMakeLists.txt
it_tests/Unit/lit.cfg
it_tests/Unit/lit.site.cfg.in
it_tests/lit.cfg
it_tests/lit.site.cfg.in
ests/CMakeLists.txt
ests/lit.cfg
ests/lit.site.cfg.in
|
fc1a61203fec6797060744c5c6754b0ae924f5b2 |
23-May-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Ensure lsan is initialized when interceptors are called. Also remove unnecessary ifdefs. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182571 91177308-0d34-0410-b5e6-96231b3b80d8
san.cc
san_allocator.cc
san_interceptors.cc
|
975a3294d9baf6bbbcfdb3c3a0e0a24714cde7cb |
22-May-2013 |
Alexey Samsonov <samsonov@google.com> |
Revert r182465 and add lsan-common library to makefile-based build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182470 91177308-0d34-0410-b5e6-96231b3b80d8
akefile.mk
|
4cacb4f6fb6127099fa5a816b12b2565e5bed4fe |
21-May-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Invoke leak detection with atexit(). Keeps it consistent between ASan and LSan. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182399 91177308-0d34-0410-b5e6-96231b3b80d8
san.cc
san_allocator.cc
ests/lsan_testlib.cc
|
0bc81775b75f2c8c6c8c0e1af4008771d5b882ab |
21-May-2013 |
Sergey Matveev <earthdok@google.com> |
[asan] Do not invoke LSan hooks unless CAN_SANITIZE_LEAKS. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182389 91177308-0d34-0410-b5e6-96231b3b80d8
san_common.cc
|
9bdf7802d403b53baee3433ddddc220f457e039c |
21-May-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Change CMakeLists to build the common LSan module for ASan. Also, define CAN_SANITIZE_LEAKS. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182383 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
san_common.cc
san_common.h
san_common_linux.cc
|
3bc65b1dfb62a5e4f230f1853f10555956b7e4e7 |
21-May-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] LSan in LD_PRELOAD library form. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182376 91177308-0d34-0410-b5e6-96231b3b80d8
ests/lsan_testlib.cc
|
74799cad0c370391a087567507a59c5dba1348ab |
20-May-2013 |
Alexey Samsonov <samsonov@google.com> |
Build LSan on x86_64 only if this target is supported git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182272 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
|
b9c9ce7dfdc0564ddc64f409a995265a3ee89634 |
20-May-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Fix r182256. Add missing call to GetUserBegin(). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182267 91177308-0d34-0410-b5e6-96231b3b80d8
san_common_linux.cc
|
29b756851c04df07f1584dfd77021dd2f37a7391 |
20-May-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] GetUserBegin() in LSan. Separate the notions of user-visible chunk and allocator chunk, to facilitate ASan integration. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182256 91177308-0d34-0410-b5e6-96231b3b80d8
san_allocator.cc
san_common.cc
san_common.h
|
f484ff329597a307b51bd4af308d87f18fd3c2cb |
20-May-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] CMakeLists and lit test configs for LSan. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182251 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
ests/CMakeLists.txt
ests/lit.cfg
ests/lit.site.cfg.in
|
fc98a1acf56088cfb2226718f8d1d8f0034457d4 |
20-May-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Tests for LeakSanitizer. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182250 91177308-0d34-0410-b5e6-96231b3b80d8
ests/lsan_test.cc
ests/lsan_tls_loadable.cc
|
ab0f74438abd73342a9d09e1d8b687461cf18da1 |
20-May-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Common leak checking module. Leak checking functionality which will be shared between LSan/ASan/MSan. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182249 91177308-0d34-0410-b5e6-96231b3b80d8
san_common.cc
san_common.h
san_common_linux.cc
|
e96c62a9f60c615fae16b1d645cd4afb29a4e87a |
20-May-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Standalone LSan initialization. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182248 91177308-0d34-0410-b5e6-96231b3b80d8
san.cc
san.h
|
7ea7d20ea31f2146817967512356652cc1f72004 |
20-May-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Interceptors for standalone LSan. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182247 91177308-0d34-0410-b5e6-96231b3b80d8
san_interceptors.cc
|
56f77a7570d96aa4c6afb7ab26e58925b2506f86 |
20-May-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Thread registry for standalone LSan. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182246 91177308-0d34-0410-b5e6-96231b3b80d8
san_thread.cc
san_thread.h
|
c99de512472c5635e554d983c225aa3a92a20202 |
20-May-2013 |
Sergey Matveev <earthdok@google.com> |
[lsan] Allocator for standalone LSan. This is the first in a series of CLs implementing LeakSanitizer. http://clang.llvm.org/docs/LeakSanitizer.html git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182245 91177308-0d34-0410-b5e6-96231b3b80d8
san_allocator.cc
san_allocator.h
|