This is an archive of the discontinued LLVM Phabricator instance.

tsan: tidy up SCOPED_INTERCEPTOR_RAW
ClosedPublic

Authored by dvyukov on Oct 26 2021, 7:57 AM.

Details

Summary

Don't leak caller_pc var from the macro
(it's not supposed to be used by interceptors).
Use UNUSED instead of (void) cast.

Depends on D112540.

Diff Detail

Event Timeline

dvyukov requested review of this revision.Oct 26 2021, 7:57 AM
dvyukov created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptOct 26 2021, 7:57 AM
Herald added a subscriber: Restricted Project. · View Herald Transcript
melver accepted this revision.Oct 26 2021, 8:03 AM
This revision is now accepted and ready to land.Oct 26 2021, 8:03 AM
This revision was landed with ongoing or failed builds.Oct 26 2021, 11:47 PM
This revision was automatically updated to reflect the committed changes.