llvm/llvm/test/tools/lto/lit.local.cfg

if not ("ld64_plugin" in config.available_features and "X86" in config.root.targets):
    config.unsupported = True

# These tests invoke ld64 from the system, which is not leak-free
if "Address" in config.llvm_use_sanitizer:
    config.environment["ASAN_OPTIONS"] = "detect_leaks=0"