[llvm-bugs] [Bug 52247] New: ld64 does not load object files in frameworks

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Oct 20 20:23:55 PDT 2021


            Bug ID: 52247
           Summary: ld64 does not load object files in frameworks
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: MachO
          Assignee: unassignedbugs at nondot.org
          Reporter: jezreel at gmail.com
                CC: gkm at fb.com, jezreel at gmail.com,
                    llvm-bugs at lists.llvm.org, smeenai at fb.com

When loading some framework Foo, `Foo.framework/Foo` can be either (a symlink
to) an archive or a dylib. ld64 will handle both those cases. However, if Foo
is an object file, ld64 will not link it in. LLD on the other hand will do so.

Not sure this is particularly important to fix, since we handle all valid
frameworks just fine, but it's worth making a note of.

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20211021/d65ce49d/attachment.html>

More information about the llvm-bugs mailing list