summaryrefslogtreecommitdiff
path: root/lib/sanitizer_common/sanitizer_thread_registry.h
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2013-03-15 00:20:17 +0000
committerEric Christopher <echristo@gmail.com>2013-03-15 00:20:17 +0000
commitc7bc60cd4bfe21868aacd8a87b13590b314ed330 (patch)
tree2906085cf342ebeb69f631ba589334f72a19a17f /lib/sanitizer_common/sanitizer_thread_registry.h
parent827d4ef8b76760ef8c58612d916b8f53081bf368 (diff)
downloadcompiler-rt-c7bc60cd4bfe21868aacd8a87b13590b314ed330.tar.gz
compiler-rt-c7bc60cd4bfe21868aacd8a87b13590b314ed330.tar.bz2
compiler-rt-c7bc60cd4bfe21868aacd8a87b13590b314ed330.tar.xz
Fix a virtual destructor warning.
Patch by Manuel Klimek! git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177132 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common/sanitizer_thread_registry.h')
-rw-r--r--lib/sanitizer_common/sanitizer_thread_registry.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/sanitizer_common/sanitizer_thread_registry.h b/lib/sanitizer_common/sanitizer_thread_registry.h
index a9ce771c..38de9824 100644
--- a/lib/sanitizer_common/sanitizer_thread_registry.h
+++ b/lib/sanitizer_common/sanitizer_thread_registry.h
@@ -34,6 +34,7 @@ enum ThreadStatus {
class ThreadContextBase {
public:
explicit ThreadContextBase(u32 tid);
+ virtual ~ThreadContextBase();
const u32 tid; // Thread ID. Main thread should have tid = 0.
u64 unique_id; // Unique thread ID.