[all-commits] [llvm/llvm-project] cf5c53: [memprof] Fix RAII usage of SpinMutexLock, remove ...
Snehasish Kumar via All-commits
all-commits at lists.llvm.org
Wed Nov 23 11:16:28 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: cf5c53727bd47b4f66ea5e37039cb9a25d28b7c2
https://github.com/llvm/llvm-project/commit/cf5c53727bd47b4f66ea5e37039cb9a25d28b7c2
Author: Snehasish Kumar <snehasishk at google.com>
Date: 2022-11-23 (Wed, 23 Nov 2022)
Changed paths:
M compiler-rt/lib/memprof/memprof_allocator.cpp
Log Message:
-----------
[memprof] Fix RAII usage of SpinMutexLock, remove unused headers.
For the RAII lock usage we need to create a local var. There were some headers which clang-tidy identified as unused.
Reviewed By: tejohnson
Differential Revision: https://reviews.llvm.org/D138593
More information about the All-commits
mailing list