================ @@ -356,6 +363,12 @@ class LLVM_LIBRARY_VISIBILITY Darwin : public MachO { void addProfileRTLibs(const llvm::opt::ArgList &Args, llvm::opt::ArgStringList &CmdArgs) const override; + // Return the full path of the compiler-rt library on a Darwin MachO system. + // Those are under <resourcedir>/lib/darwin/<...>(.dylib|.a). ---------------- Xazax-hun wrote:
While `-print-libgcc-file-name` can only output the `.a` version, there are other callers of this API that query the dylib. 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