Merge remote-tracking branch 'origin/main' into rebranch

This commit is contained in:
swift-ci
2021-12-14 04:53:37 -08:00
35 changed files with 317 additions and 175 deletions

View File

@@ -183,8 +183,9 @@ int swift_symbolgraph_extract_main(ArrayRef<const char *> Args,
.Default(AccessLevel::Public);
}
if (CI.setup(Invocation)) {
llvm::outs() << "Failed to setup compiler instance\n";
std::string InstanceSetupError;
if (CI.setup(Invocation, InstanceSetupError)) {
llvm::outs() << InstanceSetupError << '\n';
return EXIT_FAILURE;
}