if not "ld_plugin" in config.available_features:
config.unsupported = True
# gold can't load instrumented plugin.
for san in ["asan", "msan", "ubsan"]:
if san in config.available_features:
config.unsupported = True
if not "ld_plugin" in config.available_features:
config.unsupported = True
# gold can't load instrumented plugin.
for san in ["asan", "msan", "ubsan"]:
if san in config.available_features:
config.unsupported = True