Only one of the two callers used the lastBinding parameter, so
do that work at that one call site. Extract a ordinalForDylibSymbol()
helper to make this tidy.
No behavior change.
Differential D97597
[lld/mac] Simplify encodeDylibOrdinal() a bit ClosedPublic Authored by thakis on Feb 26 2021, 4:16 PM.
Details
Summary Only one of the two callers used the lastBinding parameter, so No behavior change.
Diff Detail
Unit TestsFailed Event TimelineThis revision is now accepted and ready to land.Feb 26 2021, 4:57 PM This revision was landed with ongoing or failed builds.Feb 28 2021, 6:17 AM Closed by commit rG860e862f34ce: [lld/mac] Simplify encodeDylibOrdinal() a bit (authored by thakis). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 326833 lld/MachO/SyntheticSections.cpp
|