[llvm] [NFC] [test] Add ubsan feature for tests
Reviewers: boomanaiden154 Pull Request: https://github.com/llvm/llvm-project/pull/186918
This commit is contained in:
parent
0fba3c0a9e
commit
7ddf9c85fc
@ -827,6 +827,8 @@ if config.have_ondisk_cas:
|
||||
if "MemoryWithOrigins" in config.llvm_use_sanitizer:
|
||||
config.available_features.add("use_msan_with_origins")
|
||||
|
||||
if "Undefined" in config.llvm_use_sanitizer:
|
||||
config.available_features.add("ubsan")
|
||||
|
||||
# Restrict the size of the on-disk CAS for tests. This allows testing in
|
||||
# constrained environments (e.g. small TMPDIR). It also prevents leaving
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user