[compiler-rt] bf47ffa - [LSAN] Remove -fuse-ld=lld from HWASAN config
Kirill Stoimenov via llvm-commits
llvm-commits at lists.llvm.org
Sat Jan 28 08:08:50 PST 2023
Author: Kirill Stoimenov
Date: 2023-01-28T16:08:33Z
New Revision: bf47ffaa76fbda1ba96d41ee2681e45d2445be1e
URL: https://github.com/llvm/llvm-project/commit/bf47ffaa76fbda1ba96d41ee2681e45d2445be1e
DIFF: https://github.com/llvm/llvm-project/commit/bf47ffaa76fbda1ba96d41ee2681e45d2445be1e.diff
LOG: [LSAN] Remove -fuse-ld=lld from HWASAN config
I needed that to make -fsanitize-hwaddress-experimental-aliasing work, but it looks like the test pass without it also. This should fix https://lab.llvm.org/buildbot/#/builders/192 failures.
Reviewed By: kstoimenov
Differential Revision: https://reviews.llvm.org/D142812
Added:
Modified:
compiler-rt/test/lsan/lit.common.cfg.py
Removed:
################################################################################
diff --git a/compiler-rt/test/lsan/lit.common.cfg.py b/compiler-rt/test/lsan/lit.common.cfg.py
index 2d80e216b6f4..92f6f6be5bbd 100644
--- a/compiler-rt/test/lsan/lit.common.cfg.py
+++ b/compiler-rt/test/lsan/lit.common.cfg.py
@@ -36,8 +36,7 @@ def get_required_attr(config, attr_name):
config.name = "LeakSanitizer-HWAddressSanitizer"
lsan_cflags = ["-fsanitize=hwaddress"]
if target_arch == "x86_64":
- lsan_cflags = lsan_cflags + ['-fuse-ld=lld',
- '-fsanitize-hwaddress-experimental-aliasing']
+ lsan_cflags = lsan_cflags + [ '-fsanitize-hwaddress-experimental-aliasing']
config.available_features.add('hwasan')
if config.host_os == 'NetBSD':
config.substitutions.insert(0, ('%run', config.netbsd_noaslr_prefix))
More information about the llvm-commits
mailing list