This is an archive of the discontinued LLVM Phabricator instance.

[lld-macho] Add support for .so file discovery
ClosedPublic

Authored by keith on May 22 2023, 1:30 PM.

Details

Reviewers
MaskRay
Group Reviewers
Restricted Project
Commits
rGf38f23bc9ec3: [lld-macho] Add support for .so file discovery
Summary

While not the recommended extension on macOS .so is supported by ld64.
This mirrors that behavior.

Related report: https://github.com/bazelbuild/bazel/issues/18464

Diff Detail

Event Timeline

keith created this revision.May 22 2023, 1:30 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptMay 22 2023, 1:30 PM
Herald added a reviewer: Restricted Project. · View Herald Transcript
keith requested review of this revision.May 22 2023, 1:30 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 22 2023, 1:30 PM
MaskRay accepted this revision as: MaskRay.May 23 2023, 12:45 PM
MaskRay added a subscriber: MaskRay.

Yes, this matches ld64 :)

This revision is now accepted and ready to land.May 23 2023, 12:45 PM

Excellent news, this will make cross-platform building a little easier when using LLD. Thanks!

This revision was automatically updated to reflect the committed changes.