forked from OSchip/llvm-project
[lsan] Add logs for debugging
This commit is contained in:
parent
2f8ac18048
commit
ca3c58f0d1
|
@ -741,8 +741,11 @@ static bool PrintResults(LeakReport &report) {
|
|||
}
|
||||
|
||||
static bool CheckForLeaks() {
|
||||
if (&__lsan_is_turned_off && __lsan_is_turned_off())
|
||||
if (&__lsan_is_turned_off && __lsan_is_turned_off()) {
|
||||
VReport(1, "LeakSanitizer is disabled");
|
||||
return false;
|
||||
}
|
||||
VReport(1, "LeakSanitizer: checking for leaks");
|
||||
// Inside LockStuffAndStopTheWorld we can't run symbolizer, so we can't match
|
||||
// suppressions. However if a stack id was previously suppressed, it should be
|
||||
// suppressed in future checks as well.
|
||||
|
|
Loading…
Reference in New Issue