summaryrefslogtreecommitdiff
path: root/lib/tsan
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2016-09-14 22:35:56 +0000
committerKostya Serebryany <kcc@google.com>2016-09-14 22:35:56 +0000
commit94ccae94dcfc36ac94cd78dc4808df54f5dbbfce (patch)
tree117387a64c65770bd669313a9f0be652a030afc9 /lib/tsan
parent8d9c779c95d0fb551edec79d67a17107b984f7b6 (diff)
downloadcompiler-rt-94ccae94dcfc36ac94cd78dc4808df54f5dbbfce.tar.gz
[tsan] fix tsan build by adding a dummy __sanitizer_print_memory_profile
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@281553 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/tsan')
-rw-r--r--lib/tsan/rtl/tsan_rtl.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/tsan/rtl/tsan_rtl.cc b/lib/tsan/rtl/tsan_rtl.cc
index 8fe9bf8d1..47b30288e 100644
--- a/lib/tsan/rtl/tsan_rtl.cc
+++ b/lib/tsan/rtl/tsan_rtl.cc
@@ -42,6 +42,8 @@ extern "C" void __tsan_resume() {
__tsan_resumed = 1;
}
+extern "C" void __sanitizer_print_memory_profile(int percent) {} // Stub.
+
namespace __tsan {
#if !defined(SANITIZER_GO) && !SANITIZER_MAC