[clang] [llvm] [CodeView] Flatten cmd args in frontend for LF_BUILDINFO (PR #106369)

Alexandre Ganea via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 28 12:49:32 PDT 2024


================
@@ -91,8 +91,11 @@ class MCTargetOptions {
   std::string SplitDwarfFile;
   std::string AsSecureLogFile;
 
-  const char *Argv0 = nullptr;
-  ArrayRef<std::string> CommandLineArgs;
+  // This will be set as compiler path in LF_BUILDINFO
----------------
aganea wrote:

You would need to refer to "debug infos" and "Codeview" in the comment here, since MC is very generic. I would add a single comment, and group the two variables together.

https://github.com/llvm/llvm-project/pull/106369


More information about the cfe-commits mailing list