rnk added inline comments.

================
Comment at: clang/lib/Driver/ToolChains/Clang.cpp:797
       CmdArgs.push_back(Args.MakeArgString(
-          "--dependent-lib=" + TC.getCompilerRTBasename(Args, "profile")));
+          "--dependent-lib=" + llvm::sys::path::filename(ClangRtProfilePath)));
     }
----------------
Is it possible to fix the problem in `getCompilerRTBasename` instead? I see 
6-ish instances of this code pattern that need the same fix. It will require a 
small bit of refactoring to `getCompilerRT`.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D96638/new/

https://reviews.llvm.org/D96638

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to