================ @@ -223,6 +223,11 @@ class LLVM_LIBRARY_VISIBILITY MachO : public ToolChain { // There aren't any profiling libs for embedded targets currently. } + // Return the full path of the compiler-rt library on a Darwin MachO system. + // Those are under <resourcedir>/lib/darwin/<...>(.dylib|.a). + std::string getCompilerRT(const llvm::opt::ArgList &Args, StringRef Component, ---------------- Xazax-hun wrote:
Whoops, this was a copy and paste error inadvertently repeating the same comment twice. Now it should have the correct path in the comment. Do you think we should explain other differences here (apart from the path where the libraries can be found)? If that is the case, could you point me to some resources about non-Darwin MachO targets? https://github.com/llvm/llvm-project/pull/98325 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits