[clang] Fix --print-libgcc-file-name on Darwin platforms (PR #98325)

Louis Dionne via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 10 09:15:56 PDT 2024


================
@@ -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).
----------------
ldionne wrote:

```suggestion
  // Those are under <resourcedir>/lib/darwin/<...>.a.
```

https://github.com/llvm/llvm-project/pull/98325


More information about the cfe-commits mailing list