summaryrefslogtreecommitdiff
path: root/lib/sanitizer_common/sanitizer_thread_registry.cc
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.cc
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.cc')
-rw-r--r--lib/sanitizer_common/sanitizer_thread_registry.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/sanitizer_common/sanitizer_thread_registry.cc b/lib/sanitizer_common/sanitizer_thread_registry.cc
index 3454c51f..87c36b09 100644
--- a/lib/sanitizer_common/sanitizer_thread_registry.cc
+++ b/lib/sanitizer_common/sanitizer_thread_registry.cc
@@ -22,6 +22,8 @@ ThreadContextBase::ThreadContextBase(u32 tid)
name[0] = '\0';
}
+ThreadContextBase::~ThreadContextBase() {}
+
void ThreadContextBase::SetName(const char *new_name) {
name[0] = '\0';
if (new_name) {