[dsymutil] Suppress CoreFoundation leaks in tests.

This suppresses CoreFoundation originated leaks in the dsymutil tests.
I'm not sure if this is a false positive or not, but either way we don't
have control over it and shouldn't keep the bot red.

http://lab.llvm.org:8080/green/job/clang-stage2-cmake-RgSan/

llvm-svn: 342724
This commit is contained in:
Jonas Devlieghere 2018-09-21 11:55:17 +00:00
parent 90f7b06f3e
commit 5ed8173380
2 changed files with 8 additions and 0 deletions

View File

@ -1,4 +1,10 @@
import os
if not 'X86' in config.root.targets:
config.unsupported = True
if "Leaks" in config.llvm_use_sanitizer:
suppr = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'suppressions.txt')
config.environment['LSAN_OPTIONS'] = 'suppressions={}'.format(suppr)
config.suffixes = ['.test', '.cpp', '.m', '.s']

View File

@ -0,0 +1,2 @@
# Ignore leaks in CoreFoundation.
leak:CF