This is an archive of the discontinued LLVM Phabricator instance.

[memprof] Fix RAII usage of SpinMutexLock, remove unused headers.
ClosedPublic

Authored by snehasish on Nov 23 2022, 11:00 AM.

Details

Summary

For the RAII lock usage we need to create a local var. There were some headers which clang-tidy identified as unused.

Diff Detail

Event Timeline

snehasish created this revision.Nov 23 2022, 11:00 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 23 2022, 11:00 AM
Herald added a subscriber: Enna1. · View Herald Transcript
snehasish requested review of this revision.Nov 23 2022, 11:00 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 23 2022, 11:00 AM
Herald added a subscriber: Restricted Project. · View Herald Transcript
This revision is now accepted and ready to land.Nov 23 2022, 11:05 AM
This revision was landed with ongoing or failed builds.Nov 23 2022, 11:16 AM
This revision was automatically updated to reflect the committed changes.