This revision was automatically updated to reflect the committed changes. Closed by commit rG66041187c902: Let clang print registered targets for --version (authored by yaxunl). Herald added a project: clang.
Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D79210/new/ https://reviews.llvm.org/D79210 Files: clang/lib/Driver/Driver.cpp Index: clang/lib/Driver/Driver.cpp =================================================================== --- clang/lib/Driver/Driver.cpp +++ clang/lib/Driver/Driver.cpp @@ -1569,6 +1569,9 @@ // If configuration file was used, print its path. if (!ConfigFile.empty()) OS << "Configuration file: " << ConfigFile << '\n'; + + // Print the registered targets. + llvm::TargetRegistry::printRegisteredTargetsForVersion(OS); } /// PrintDiagnosticCategories - Implement the --print-diagnostic-categories
Index: clang/lib/Driver/Driver.cpp =================================================================== --- clang/lib/Driver/Driver.cpp +++ clang/lib/Driver/Driver.cpp @@ -1569,6 +1569,9 @@ // If configuration file was used, print its path. if (!ConfigFile.empty()) OS << "Configuration file: " << ConfigFile << '\n'; + + // Print the registered targets. + llvm::TargetRegistry::printRegisteredTargetsForVersion(OS); } /// PrintDiagnosticCategories - Implement the --print-diagnostic-categories
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits