diff options
author | Vitaly Buka <vitalybuka@google.com> | 2023-05-02 12:25:06 -0700 |
---|---|---|
committer | Vitaly Buka <vitalybuka@google.com> | 2023-05-02 12:27:28 -0700 |
commit | e37fce3d340b4d54505345e5a96bd06255be2be4 (patch) | |
tree | 7f070713bfccd71dbcbbe9bec69c25c83a16eb66 /compiler-rt/test | |
parent | 2528f1c84588f4a549c12dd1435cbba4a502a077 (diff) | |
download | llvm-e37fce3d340b4d54505345e5a96bd06255be2be4.tar.gz |
[test][HWASAN] Don't run common tests without lld
Follow up to D149234 for bots without lld.
Diffstat (limited to 'compiler-rt/test')
-rw-r--r-- | compiler-rt/test/sanitizer_common/lit.common.cfg.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler-rt/test/sanitizer_common/lit.common.cfg.py b/compiler-rt/test/sanitizer_common/lit.common.cfg.py index f6f74d8ab7f9..a35884cab91d 100644 --- a/compiler-rt/test/sanitizer_common/lit.common.cfg.py +++ b/compiler-rt/test/sanitizer_common/lit.common.cfg.py @@ -16,6 +16,8 @@ elif config.tool_name == "hwasan": tool_cflags += ["-fsanitize-hwaddress-experimental-aliasing"] config.available_features.add("hwasan-aliasing") tool_options = "HWASAN_OPTIONS" + if not config.has_lld: + config.unsupported = True elif config.tool_name == "tsan": tool_cflags = ["-fsanitize=thread"] tool_options = "TSAN_OPTIONS" |