mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-02 00:16:25 +00:00
[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:
parent
90f7b06f3e
commit
5ed8173380
@ -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']
|
||||
|
2
test/tools/dsymutil/X86/suppressions.txt
Normal file
2
test/tools/dsymutil/X86/suppressions.txt
Normal file
@ -0,0 +1,2 @@
|
||||
# Ignore leaks in CoreFoundation.
|
||||
leak:CF
|
Loading…
Reference in New Issue
Block a user