This is an archive of the discontinued LLVM Phabricator instance.

[DFSan] Add custom wrapper for _dl_get_tls_static_info.
ClosedPublic

Authored by morehouse on Dec 10 2020, 10:04 AM.

Details

Summary

Implementation is here:
https://code.woboq.org/userspace/glibc/elf/dl-tls.c.html#307

We use weak symbols to avoid linking issues with glibcs older than 2.27.

Diff Detail

Event Timeline

morehouse requested review of this revision.Dec 10 2020, 10:04 AM
morehouse created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptDec 10 2020, 10:04 AM
Herald added a subscriber: Restricted Project. · View Herald Transcript
This revision is now accepted and ready to land.Dec 10 2020, 10:43 AM
This revision was landed with ongoing or failed builds.Dec 10 2020, 11:03 AM
This revision was automatically updated to reflect the committed changes.