[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 07:53:49 PDT 2024


================
@@ -893,6 +893,8 @@ static TypeIndex getStringIdTypeIdx(GlobalTypeTableBuilder &TypeTable,
   return TypeTable.writeLeafType(SIR);
 }
 
+// This just exists for backwards compatability for the deprecated MCTargetOptions::CommandLineArgs
+// It assumed a clang compiler frontend
 static std::string flattenCommandLine(ArrayRef<std::string> Args,
----------------
aganea wrote:

Remove this function. We'll let clients flatten their arguments as they wish. Please ensure that would work with rustc.

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


More information about the cfe-commits mailing list