This is an archive of the discontinued LLVM Phabricator instance.

[mac/lld] fill in current and compatibility version for LC_LOAD_(WEAK_)DYLIB
ClosedPublic

Authored by thakis on Dec 15 2020, 12:26 PM.

Details

Summary

Not sure if anything actually depends on this, but it makes otool -L
output look nicer.

Diff Detail

Event Timeline

thakis requested review of this revision.Dec 15 2020, 12:26 PM
thakis created this revision.
int3 accepted this revision.Dec 15 2020, 1:38 PM
int3 added a subscriber: int3.

lgtm

lld/test/MachO/implicit-dylibs.s
45 ↗(On Diff #311995)

I think stub-link.s might be a better place to test this, since it contains a variety of generic TBD-related tests, whereas this file is more specifically for implicit dylib behavior.

This revision is now accepted and ready to land.Dec 15 2020, 1:38 PM
This revision was automatically updated to reflect the committed changes.
thakis marked an inline comment as done.
Herald added a project: Restricted Project. · View Herald TranscriptDec 15 2020, 4:39 PM

Thanks! Moved the test.