https://bugs.llvm.org/show_bug.cgi?id=49713

            Bug ID: 49713
           Summary: Figure out how to do library lookup on Big Sur
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: MachO
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]

As per
https://developer.apple.com/documentation/macos-release-notes/macos-big-sur-11_0_1-release-notes:

> New in macOS Big Sur 11.0.1, the system ships with a built-in dynamic linker 
> cache of all system-provided libraries. As part of this change, copies of 
> dynamic libraries are no longer present on the filesystem. Code that attempts 
> to check for dynamic library presence by looking for a file at a path or 
> enumerating a directory will fail. Instead, check for library presence by 
> attempting to dlopen() the path, which will correctly check for the library 
> in the cache. (62986286)

There's some prior work in
https://mjtsai.com/blog/2020/06/26/reverse-engineering-macos-11-0/ which may be
helpful (c.f. dyld_shared_cache_util)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to