History log of /external/compiler-rt/lib/lsan/lsan.cc
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
2d1fdb26e458c4ddc04155c1d421bced3ba90cd0 29-May-2014 Stephen Hines <srhines@google.com> Update compiler-rt aosp/master for 3.5 (r209699) rebase.

Change-Id: I158a30186f0faea2e2400e9dfdd878db2eb40e90
/external/compiler-rt/lib/lsan/lsan.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
/external/compiler-rt/lib/lsan/lsan.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
/external/compiler-rt/lib/lsan/lsan.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
/external/compiler-rt/lib/lsan/lsan.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
/external/compiler-rt/lib/lsan/lsan.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
/external/compiler-rt/lib/lsan/lsan.cc
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
/external/compiler-rt/lib/lsan/lsan.cc
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
/external/compiler-rt/lib/lsan/lsan.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
/external/compiler-rt/lib/lsan/lsan.cc
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
/external/compiler-rt/lib/lsan/lsan.cc
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
/external/compiler-rt/lib/lsan/lsan.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
/external/compiler-rt/lib/lsan/lsan.cc