[compiler-rt] 4cd0927 - [memprof] Don't protect destructor in final
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 3 11:33:43 PST 2020
Author: Vitaly Buka
Date: 2020-11-03T11:33:33-08:00
New Revision: 4cd09273061321c63cc18d4bd6817ba2569b38b8
URL: https://github.com/llvm/llvm-project/commit/4cd09273061321c63cc18d4bd6817ba2569b38b8
DIFF: https://github.com/llvm/llvm-project/commit/4cd09273061321c63cc18d4bd6817ba2569b38b8.diff
LOG: [memprof] Don't protect destructor in final
Added:
Modified:
compiler-rt/lib/memprof/memprof_thread.h
Removed:
################################################################################
diff --git a/compiler-rt/lib/memprof/memprof_thread.h b/compiler-rt/lib/memprof/memprof_thread.h
index 8f2685784c5e..2e1a8bb43b82 100644
--- a/compiler-rt/lib/memprof/memprof_thread.h
+++ b/compiler-rt/lib/memprof/memprof_thread.h
@@ -51,9 +51,6 @@ struct MemprofThreadContext final : public ThreadContextBase {
MemprofThread *thread;
StackTrace *stack;
};
-
-protected:
- ~MemprofThreadContext() {}
};
// MemprofThreadContext objects are never freed, so we need many of them.
More information about the llvm-commits
mailing list