[PATCH] D31313: [XRay] Do not depend on C++ stdlib for XRay builds

Dean Michael Berris via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 23 17:32:31 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL298670: [XRay] Do not depend on C++ stdlib for XRay builds (authored by dberris).

Changed prior to commit:
  https://reviews.llvm.org/D31313?vs=92884&id=92886#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D31313

Files:
  cfe/trunk/lib/Driver/ToolChains/Gnu.cpp


Index: cfe/trunk/lib/Driver/ToolChains/Gnu.cpp
===================================================================
--- cfe/trunk/lib/Driver/ToolChains/Gnu.cpp
+++ cfe/trunk/lib/Driver/ToolChains/Gnu.cpp
@@ -348,8 +348,6 @@
   CmdArgs.push_back("-lm");
   CmdArgs.push_back("-latomic");
 
-  TC.AddCXXStdlibLibArgs(Args, CmdArgs);
-
   if (TC.getTriple().getOS() != llvm::Triple::FreeBSD)
     CmdArgs.push_back("-ldl");
 }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31313.92886.patch
Type: text/x-patch
Size: 423 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170324/2c83ad92/attachment.bin>


More information about the cfe-commits mailing list