[PATCH] [LSan] Make parent tool responsible for initializing LSan flags.
Alexey Samsonov
vonosmas at gmail.com
Wed Feb 11 18:39:10 PST 2015
Hi earthdok, eugenis,
LSan can be combined with a parent tool (for now it's only ASan).
Also, we allow LSAN_OPTIONS to override certain common flags. It means
we have to parse LSAN_OPTIONS early enough, before the rest of the
parent tool (including chunks of sanitizer_common) is initialized.
In future, we can use the same approach for UBSan, after we embed it
into ASan runtime in a similar way.
http://reviews.llvm.org/D7577
Files:
lib/asan/asan_flags.cc
lib/asan/asan_rtl.cc
lib/lsan/lsan.cc
lib/lsan/lsan_common.cc
lib/lsan/lsan_common.h
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7577.19801.patch
Type: text/x-patch
Size: 7414 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150212/c7246d3c/attachment.bin>
More information about the llvm-commits
mailing list