bolt/deps/llvm-18.1.8/compiler-rt/test/cfi/cross-dso/lit.local.cfg.py
2025-02-14 19:21:04 +01:00

14 lines
384 B
Python

def getRoot(config):
if not config.parent:
return config
return getRoot(config.parent)
root = getRoot(config)
if root.host_os not in ["Linux", "FreeBSD", "NetBSD"]:
config.unsupported = True
# Android O (API level 26) has support for cross-dso cfi in libdl.so.
if config.android and "android-26" not in config.available_features:
config.unsupported = True