This is an archive of the discontinued LLVM Phabricator instance.

[lld/mac] Give __DATA,__thread_ptrs type S_THREAD_LOCAL_VARIABLE_POINTERS
ClosedPublic

Authored by thakis on Jun 19 2021, 7:15 AM.

Details

Summary

...instead of S_NON_LAZY_SYMBOL_POINTERS. This matches ld64.

Part of PR50769.

While here, also remove an old TODO that was done in D87178.

Diff Detail

Event Timeline

thakis created this revision.Jun 19 2021, 7:15 AM
Herald added a reviewer: gkm. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
thakis requested review of this revision.Jun 19 2021, 7:15 AM
thakis updated this revision to Diff 353196.Jun 19 2021, 7:40 AM

clang-format

int3 accepted this revision.Jun 19 2021, 9:41 AM
int3 added inline comments.
lld/test/MachO/tlv-dylib.s
29

personally I would have put this check under section-headers.s (esp since the GOT isn't relevant to tlv-dylib.s) but I suppose it doesn't matter too much

This revision is now accepted and ready to land.Jun 19 2021, 9:41 AM
This revision was landed with ongoing or failed builds.Jun 19 2021, 9:57 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptJun 19 2021, 9:57 AM