This is an archive of the discontinued LLVM Phabricator instance.

[NFC][compiler-rt][hwasan] Move hwasanThreadList().CreateCurrentThread() into InitThreads
ClosedPublic

Authored by leonardchan on Jun 18 2021, 11:27 AM.

Details

Summary

Once D104553 lands, CreateCurrentThread will be able to accept optional parameters for initializing the hwasan thread object. On fuchsia, we can get stack info in the platform-specific InitThreads and pass it through CreateCurrentThread. On linux, this is a no-op.

Diff Detail

Event Timeline

leonardchan created this revision.Jun 18 2021, 11:27 AM
leonardchan requested review of this revision.Jun 18 2021, 11:27 AM
Herald added a subscriber: Restricted Project. · View Herald TranscriptJun 18 2021, 11:27 AM
vitalybuka accepted this revision.Jun 18 2021, 12:34 PM
This revision is now accepted and ready to land.Jun 18 2021, 12:34 PM
This revision was landed with ongoing or failed builds.Jun 18 2021, 1:41 PM
This revision was automatically updated to reflect the committed changes.