[lld] [lld] handle re-exports for full framework paths (PR #137989)

Richard Howell via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 30 10:11:14 PDT 2025


================
@@ -1566,6 +1566,25 @@ static DylibFile *loadDylib(StringRef path, DylibFile *umbrella) {
   return loadDylib(*mbref, umbrella);
 }
 
+static StringRef findFramework(StringRef path, StringRef frameworkName) {
----------------
rmaz wrote:

Summary is accurate, yes, right to left search for "Blah.framework", return substring from that point. Name is a bit vague I agree, do you have a preferred alternative? `findFrameworkSubpath`?

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


More information about the llvm-commits mailing list