================
@@ -2002,6 +2002,44 @@ void Driver::PrintVersion(const Compilation &C, 
raw_ostream &OS) const {
   // Print out the install directory.
   OS << "InstalledDir: " << Dir << '\n';
 
+  // Print out build configuration options that impact the compiler's runtime
+  // behavior. Intended for identifying the source of issues when reproducing
+  // changes.
+  std::vector<std::string> BuildOptions = {
----------------
porglezomp wrote:

I moved this to a global variable to support the API, so I think 
`ArrayRef<StringRef>` ends up being the appropriate type in the end.

https://github.com/llvm/llvm-project/pull/87585
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to