diff options
author | Alexander Smirnov <alex@ydb.tech> | 2024-11-20 11:14:58 +0000 |
---|---|---|
committer | Alexander Smirnov <alex@ydb.tech> | 2024-11-20 11:14:58 +0000 |
commit | 31773f157bf8164364649b5f470f52dece0a4317 (patch) | |
tree | 33d0f7eef45303ab68cf08ab381ce5e5e36c5240 /build/plugins/suppressions.py | |
parent | 2c7938962d8689e175574fc1e817c05049f27905 (diff) | |
parent | eff600952d5dfe17942f38f510a8ac2b203bb3a5 (diff) | |
download | ydb-31773f157bf8164364649b5f470f52dece0a4317.tar.gz |
Merge branch 'rightlib' into mergelibs-241120-1113
Diffstat (limited to 'build/plugins/suppressions.py')
-rw-r--r-- | build/plugins/suppressions.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/build/plugins/suppressions.py b/build/plugins/suppressions.py index db5037646d..a661e8a621 100644 --- a/build/plugins/suppressions.py +++ b/build/plugins/suppressions.py @@ -2,16 +2,17 @@ def onsuppressions(unit, *args): """ SUPPRESSIONS() - allows to specify files with suppression notation which will be used by address, leak or thread sanitizer runtime by default. - Use asan.supp filename for address sanitizer, lsan.supp for leak sanitizer - and tsan.supp for thread sanitizer suppressions respectively. + Use asan.supp filename for address sanitizer, lsan.supp for leak sanitizer, + ubsan.supp for undefined behavior sanitizer and tsan.supp for thread sanitizer + suppressions respectively. See https://clang.llvm.org/docs/AddressSanitizer.html#suppressing-memory-leaks for details. """ import os - valid = ("asan.supp", "tsan.supp", "lsan.supp") + valid = ("asan.supp", "tsan.supp", "lsan.supp", "ubsan.supp") - if unit.get("SANITIZER_TYPE") in ("leak", "address", "thread"): + if unit.get("SANITIZER_TYPE") in ("leak", "address", "thread", "undefined"): for x in args: if os.path.basename(x) not in valid: unit.message( |