[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


================
@@ -223,6 +223,13 @@ 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 non-Darwin MachO
+  // system. Those are under
+  // <resourcedir>/lib/darwin/macho_embedded/<...>(.dylib|.a).
----------------
ldionne wrote:

```suggestion
  // <resourcedir>/lib/darwin/macho_embedded/<...>.a.
```

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


More information about the cfe-commits mailing list