1def getRoot(config): 2 if not config.parent: 3 return config 4 return getRoot(config.parent) 5 6root = getRoot(config) 7 8# Only run if we have an instrumented libcxx. On Darwin, run always (we have 9# interceptors to support the system-provided libcxx). 10if not root.has_libcxx and root.host_os != 'Darwin': 11 config.unsupported = True 12 13