Fix a bug in host-check
If clang-6.0 was available in the path but clang is not
and clang-6.0 was not configured in the package config,
we failed on the statistics feature check (not finding the binary).
@@ -37,6 +37,8 @@ def is_ctu_capable(context):
def is_statistics_capable(context):
""" Detects if the current clang is Statistics compatible. """
+ # Resolve potentially missing binaries.
+ check_supported_analyzers([ClangSA.ANALYZER_NAME], context)
clangsa_cfg = ClangSA.construct_config_handler([], context)
check_env = analyzer_env.get_check_env(context.path_env_extra,
