This is an archive of the discontinued LLVM Phabricator instance.

LSAN_OPTIONS=log_path=xxx is ignored
AbandonedPublic

Authored by llunak on Dec 17 2017, 4:12 AM.

Details

Reviewers
None
Summary

Using LSAN_OPTIONS=log_path=xxx is ignored when code is compiled with -fsanitize=leak. This is because the code for liblsan lacks the call to __sanitizer_set_report_path().

Diff Detail

Event Timeline

llunak created this revision.Dec 17 2017, 4:12 AM
Herald added subscribers: Restricted Project, llvm-commits. · View Herald TranscriptDec 17 2017, 4:12 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptOct 29 2019, 2:03 PM