This is an archive of the discontinued LLVM Phabricator instance.

[HWASAN] Modified __hwasan::Thread::unique_id_ to be u32 instead of u64.
ClosedPublic

Authored by kstoimenov on Nov 30 2022, 4:27 PM.

Details

Summary

This is needed for LSAN integration work. LSAN uses context to store thread_id << 32 + stack_id. In order to fit both we would need thread_id to be 32 bit.

Diff Detail

Event Timeline

kstoimenov created this revision.Nov 30 2022, 4:27 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 30 2022, 4:27 PM
Herald added a subscriber: Enna1. · View Herald Transcript
kstoimenov requested review of this revision.Nov 30 2022, 4:27 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 30 2022, 4:27 PM
Herald added a subscriber: Restricted Project. · View Herald Transcript
kstoimenov edited the summary of this revision. (Show Details)Nov 30 2022, 4:28 PM
kstoimenov added reviewers: vitalybuka, eugenis.
vitalybuka accepted this revision.Nov 30 2022, 4:31 PM
This revision is now accepted and ready to land.Nov 30 2022, 4:31 PM
This revision was landed with ongoing or failed builds.Nov 30 2022, 4:44 PM
This revision was automatically updated to reflect the committed changes.