From 3dd95981398777f3c958e733209f3583e783b98c Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 14 Apr 2021 10:47:53 +0530 Subject: [PATCH] Remove ASAN patch for bug in arch Qt. Thanks @eli-schwartz --- setup/test.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/setup/test.py b/setup/test.py index 976ba541ef..de70546161 100644 --- a/setup/test.py +++ b/setup/test.py @@ -184,9 +184,7 @@ class Test(Command): def run(self, opts): if opts.under_sanitize and 'libasan' not in os.environ.get('LD_PRELOAD', ''): os.environ['LD_PRELOAD'] = os.path.abspath(subprocess.check_output('gcc -print-file-name=libasan.so'.split()).decode('utf-8').strip()) - # we ignore new_delete type mismatch as the patched version of Qt - # used in Arch does that. - os.environ['ASAN_OPTIONS'] = 'detect_leaks=0:new_delete_type_mismatch=0' + os.environ['ASAN_OPTIONS'] = 'detect_leaks=0' self.info(f'Re-execing with LD_PRELOAD={os.environ["LD_PRELOAD"]}') sys.stdout.flush() os.execl('setup.py', *sys.argv)