summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cc
diff options
context:
space:
mode:
authorAlexey Samsonov <vonosmas@gmail.com>2015-10-30 18:52:31 +0000
committerAlexey Samsonov <vonosmas@gmail.com>2015-10-30 18:52:31 +0000
commita49cfd8f946160a82d70ebe6e8b3d7658c07c68f (patch)
treec00c004dbb8fcb8b359eebc0b9ec28077bccb0dc /compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cc
parent16fd7511b23a8e7a83d6fb7a2a0f345b7e55b721 (diff)
downloadbcm5719-llvm-a49cfd8f946160a82d70ebe6e8b3d7658c07c68f.tar.gz
bcm5719-llvm-a49cfd8f946160a82d70ebe6e8b3d7658c07c68f.zip
Revert "Apply modernize-use-default to compiler-rt."
This reverts commit r250823. Replacing at least some of empty constructors with "= default" variants is a semantical change which we don't want. E.g. __tsan::ClockBlock contains a union of large arrays, and it's critical for correctness and performance that we don't memset() these arrays in the constructor. llvm-svn: 251717
Diffstat (limited to 'compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cc')
-rw-r--r--compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cc b/compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cc
index a167ce1986d..66c78cfdd7c 100644
--- a/compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cc
+++ b/compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cc
@@ -31,7 +31,8 @@ ThreadContext::ThreadContext(int tid)
}
#ifndef SANITIZER_GO
-ThreadContext::~ThreadContext() = default;
+ThreadContext::~ThreadContext() {
+}
#endif
void ThreadContext::OnDead() {
OpenPOWER on IntegriCloud