This is an archive of the discontinued LLVM Phabricator instance.

[ASAN] Use ThreadArgRetval in ASAN
ClosedPublic

Authored by vitalybuka on May 8 2023, 12:58 AM.

Diff Detail

Event Timeline

vitalybuka created this revision.May 8 2023, 12:58 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 8 2023, 12:58 AM
Herald added a subscriber: Enna1. · View Herald Transcript
vitalybuka requested review of this revision.May 8 2023, 12:58 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 8 2023, 12:58 AM
Herald added a subscriber: Restricted Project. · View Herald Transcript
vitalybuka updated this revision to Diff 520295.May 8 2023, 1:09 AM

fix variable name

thurston added inline comments.May 10 2023, 4:44 PM
compiler-rt/lib/asan/asan_thread.cpp
496–500

'LockThreadRegistry' is now a misleading name because it locks both ThreadRegistry and ThreadArgRetval.

Ditto for 'UnlockThreadRegistry'.

vitalybuka marked an inline comment as done.May 11 2023, 1:22 PM
vitalybuka added inline comments.
compiler-rt/lib/asan/asan_thread.cpp
496–500

I will rename in follow up patch

thurston accepted this revision.May 11 2023, 1:27 PM
This revision is now accepted and ready to land.May 11 2023, 1:27 PM
This revision was landed with ongoing or failed builds.May 11 2023, 3:52 PM
This revision was automatically updated to reflect the committed changes.
vitalybuka marked an inline comment as done.
vitalybuka reopened this revision.May 16 2023, 10:52 AM
This revision is now accepted and ready to land.May 16 2023, 10:52 AM
This revision was automatically updated to reflect the committed changes.