================
@@ -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:
>
> @smithp35 Would it be feasible to migrate your toolchain to use either of
> these solutions?
It would definitely be feasible. I'm hoping that we can make a solution drop
out of the existing runtimes build perhaps with an additional CMake flag. For
example if we provide an extra option to the runtimes build then it either
spits out a libc++ linker script fragment (my preference) or merge libc++ and
libc++abi libraries (this should work as long as libc++abi's objects are
inserted after libc++).
https://github.com/llvm/llvm-project/pull/101259
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits