[PATCH] D25338: [Driver] Make -print-libgcc-file-name print compiler-rt lib when used

Petr Hosek via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 10 00:30:33 PDT 2016


phosek added a comment.

I have submitted the same change https://reviews.llvm.org/D25256 a few days ago but this one seems to be getting more traction so I'm going to abandon mine in favor of this one.



================
Comment at: lib/Driver/Driver.cpp:1000
+    case ToolChain::RLT_CompilerRT:
+      llvm::outs() << TC.getCompilerRTArgString(C.getArgs(), "builtins") << "\n";
+      break;
----------------
I think you should use `TC.getCompilerRT` rather than `TC.getCompilerRTArgString` here.


https://reviews.llvm.org/D25338





More information about the cfe-commits mailing list