[clang] [Driver] Normalize the baremetal handling of libc++ and runtimes (PR #101259)

Peter Smith via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 29 10:55:58 PDT 2024


================
@@ -382,38 +382,6 @@ void BareMetal::AddClangCXXStdlibIncludeArgs(const ArgList &DriverArgs,
   }
 }
 
-void BareMetal::AddCXXStdlibLibArgs(const ArgList &Args,
-                                    ArgStringList &CmdArgs) const {
-  switch (GetCXXStdlibType(Args)) {
-  case ToolChain::CST_Libcxx:
-    CmdArgs.push_back("-lc++");
-    if (Args.hasArg(options::OPT_fexperimental_library))
-      CmdArgs.push_back("-lc++experimental");
-    CmdArgs.push_back("-lc++abi");
----------------
smithp35 wrote:

Thanks for pointing those out, I was under the impression that they had to be developed first. Although I'm not the Driver owner either I can try those out and get back to you tomorrow (apologies its a bit late in the day) with a second approval.

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


More information about the cfe-commits mailing list