Skip to content

Commit 6dc18c0

Browse files
authored
Merge pull request #79334 from compnerd/configuration
FrontendTool: print the compiler configuration
2 parents bbcc4e8 + 2ba2d1b commit 6dc18c0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/FrontendTool/FrontendTool.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1095,6 +1095,8 @@ static bool printSwiftVersion(const CompilerInvocation &Invocation) {
10951095
<< '\n';
10961096
llvm::outs() << "Target: " << Invocation.getLangOptions().Target.str()
10971097
<< '\n';
1098+
if (!llvm::cl::getCompilerBuildConfig().empty())
1099+
llvm::cl::printBuildConfig(llvm::outs());
10981100
return false;
10991101
}
11001102

0 commit comments

Comments
 (0)