This is an archive of the discontinued LLVM Phabricator instance.

[scudo][standalone] Remove the pthread key from the shared TSD
ClosedPublic

Authored by cryptoad on Sep 21 2020, 2:11 PM.

Details

Summary

https://reviews.llvm.org/D87420 removed the uses of the pthread key,
but the key itself was left in the shared TSD registry. It is created
on registry initialization, and destroyed on registry teardown.

There is really no use for it now, so we can just remove it.

Diff Detail

Event Timeline

cryptoad created this revision.Sep 21 2020, 2:11 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 21 2020, 2:11 PM
Herald added a subscriber: Restricted Project. · View Herald Transcript
cryptoad requested review of this revision.Sep 21 2020, 2:11 PM
pcc accepted this revision.Sep 21 2020, 3:03 PM

LGTM

This revision is now accepted and ready to land.Sep 21 2020, 3:03 PM
cferris accepted this revision.Sep 21 2020, 6:14 PM

Good with Android and LGTM.

russell.gallop accepted this revision.Sep 22 2020, 1:56 AM