This is an archive of the discontinued LLVM Phabricator instance.

[lld-macho] Make it possible to re-export .tbd files
ClosedPublic

Authored by int3 on Aug 18 2020, 5:29 PM.

Details

Reviewers
smeenai
Group Reviewers
Restricted Project
Commits
rG6336c042f66b: [lld-macho] Make it possible to re-export .tbd files
Summary

Two things needed fixing for that to work:

  1. getName() no longer returns null for DylibFiles constructed from TAPIs
  2. markSubLibrary() now accepts .tbd as a possible extension

Diff Detail

Event Timeline

int3 created this revision.Aug 18 2020, 5:29 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 18 2020, 5:29 PM
int3 requested review of this revision.Aug 18 2020, 5:29 PM
smeenai accepted this revision.Aug 26 2020, 1:46 PM
smeenai added a subscriber: smeenai.

LGTM

This revision is now accepted and ready to land.Aug 26 2020, 1:46 PM
int3 updated this revision to Diff 288123.Aug 26 2020, 3:40 PM

fix ASAN

This revision was automatically updated to reflect the committed changes.
thakis added a subscriber: thakis.Aug 27 2020, 3:28 AM

One of the N patches that landed 9:45 pm eastern yesterday seems to break check-lld on mac: http://45.33.8.238/mac/19510/step_10.txt

Please take a look and revert for now if it takes a while to fix.

int3 added a comment.Aug 27 2020, 8:35 AM

Hmm, the buildbot seems to be okay with it though: http://lab.llvm.org:8011/builders/lld-x86_64-darwin

int3 added a comment.Aug 27 2020, 8:57 AM

I'm not able to reproduce that failure locally either :/