[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:19:45 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:

getRelativeFrameworkPath suggests you have an absolute path and want to relativize it
locateFrameworkComponent is unclear, what is a framework component, and does it return an index?
extractFrameworkPath is ok, but not clear that its going to be a subpath of the input path

@drodriguez thoughts? 

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


More information about the llvm-commits mailing list