This is an archive of the discontinued LLVM Phabricator instance.

asan: don't use thread user_id
ClosedPublic

Authored by dvyukov on Nov 15 2021, 10:49 AM.

Details

Summary

asan does not use user_id for anything,
so don't pass it to ThreadCreate.
Passing a random uninitialized field of AsanThread
as user_id does not make much sense anyway.

Depends on D113921.

Diff Detail

Event Timeline

dvyukov created this revision.Nov 15 2021, 10:49 AM
dvyukov requested review of this revision.Nov 15 2021, 10:49 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 15 2021, 10:49 AM
Herald added a subscriber: Restricted Project. · View Herald Transcript
vitalybuka accepted this revision.Nov 16 2021, 6:12 PM
This revision is now accepted and ready to land.Nov 16 2021, 6:12 PM
This revision was automatically updated to reflect the committed changes.