This is an archive of the discontinued LLVM Phabricator instance.

[NFC][lsan] Change LeakSuppressionContext interface
ClosedPublic

Authored by vitalybuka on Dec 7 2021, 10:48 PM.

Diff Detail

Event Timeline

vitalybuka requested review of this revision.Dec 7 2021, 10:48 PM
vitalybuka created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptDec 7 2021, 10:48 PM
Herald added a subscriber: Restricted Project. · View Herald Transcript
This revision is now accepted and ready to land.Dec 9 2021, 7:29 AM
morehouse added inline comments.Dec 9 2021, 7:47 AM
compiler-rt/lib/lsan/lsan_common.cpp
151–152

stack_trace_id is unused.

morehouse added inline comments.Dec 9 2021, 7:50 AM
compiler-rt/lib/lsan/lsan_common.cpp
923

We could move this StackDepotGet call into Suppress, so that we only have to pass stack_trace_id, not stack.

vitalybuka marked 2 inline comments as done.

move StackDepotGet call

This revision was automatically updated to reflect the committed changes.