From 9b3a1fabc5555739ff6c5046c7bf1ee2266cd53c Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Wed, 31 Jul 2019 15:07:47 -0700 Subject: unittests: add b_lundef=false to address sanitizer test Clang doesn't really like having no-undefined plus the address sanitizer, but gcc doesn't mind. This all happens to work with clang + gnu ld, but with clang + apple ld this turns into a dumpster fire. Just add b_lundef=false to make everyone happy. --- run_unittests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_unittests.py b/run_unittests.py index 6bb6728..b7bcb88 100755 --- a/run_unittests.py +++ b/run_unittests.py @@ -5032,7 +5032,7 @@ class LinuxlikeTests(BasePlatformTests): raise unittest.SkipTest('-fsanitize=address is not supported on OpenBSD') testdir = os.path.join(self.common_test_dir, '13 pch') - self.init(testdir, extra_args=['-Db_sanitize=address']) + self.init(testdir, extra_args=['-Db_sanitize=address', '-Db_lundef=false']) self.build() compdb = self.get_compdb() for i in compdb: -- cgit v1.1