[lsan] Allow suppression of "unknown module"
authorVitaly Buka <vitalybuka@google.com>
Tue, 15 Mar 2022 07:30:14 +0000 (00:30 -0700)
committerVitaly Buka <vitalybuka@google.com>
Tue, 15 Mar 2022 20:35:21 +0000 (13:35 -0700)
commita63932a8152d23acf2905a1956b95b290d6703ad
treed1270133c14ff514262b1a41d1e7969f2cf15700
parentd4d8f03619d6843bbacdb9918bdbeb033e1f7969
[lsan] Allow suppression of "unknown module"

If sanitizer cannot determine name of the module it
will use "<unknown module>". Then it can be suppressed
if needed.

Reviewed By: kda

Differential Revision: https://reviews.llvm.org/D121674
compiler-rt/lib/lsan/lsan_common.cpp
compiler-rt/test/lsan/TestCases/Linux/dso-unknown.cpp [new file with mode: 0644]