[PATCH] D45662: Fuzzer, add libcxx for OpenBSD

David CARLIER via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 17 00:49:15 PDT 2018


devnexen added inline comments.


================
Comment at: lib/Driver/ToolChains/OpenBSD.cpp:189
       if (getToolChain().ShouldLinkCXXStdlib(Args))
-        getToolChain().AddCXXStdlibLibArgs(Args, CmdArgs);
+        ToolChain.AddCXXStdlibLibArgs(Args, CmdArgs);
       if (Args.hasArg(options::OPT_pg))
----------------
dberris wrote:
> Do you actually need this change? Why isn't `getToolChain().AddCXXStdlibLibArgs(...)` not sufficient here?
That s the thing, I wish it was simple as FreeBSD, but seemingly in OpenBSD needs both c++98 gcc runtime and libc++ for fuzzer (I tried libc++ alone already)


https://reviews.llvm.org/D45662





More information about the cfe-commits mailing list