summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/sanitizer_common/sanitizer_common_libcdep.cc
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2017-03-15 23:27:14 +0000
committerKostya Serebryany <kcc@google.com>2017-03-15 23:27:14 +0000
commit82a41dd6c4e5d9347c2d4e957be8fa0811984f3c (patch)
tree159382e0f35949fa876cd105598c82345813d56d /compiler-rt/lib/sanitizer_common/sanitizer_common_libcdep.cc
parent7dc01c96ae5cf5b6ba4561ca76367302459f9a2d (diff)
downloadbcm5719-llvm-82a41dd6c4e5d9347c2d4e957be8fa0811984f3c.tar.gz
bcm5719-llvm-82a41dd6c4e5d9347c2d4e957be8fa0811984f3c.zip
[asan] add one more argument to __sanitizer_print_memory_profile, remove a redundant weak definition.
llvm-svn: 297914
Diffstat (limited to 'compiler-rt/lib/sanitizer_common/sanitizer_common_libcdep.cc')
-rw-r--r--compiler-rt/lib/sanitizer_common/sanitizer_common_libcdep.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_common_libcdep.cc b/compiler-rt/lib/sanitizer_common/sanitizer_common_libcdep.cc
index e96db6dd61b..430318863f6 100644
--- a/compiler-rt/lib/sanitizer_common/sanitizer_common_libcdep.cc
+++ b/compiler-rt/lib/sanitizer_common/sanitizer_common_libcdep.cc
@@ -123,7 +123,7 @@ void BackgroundThread(void *arg) {
if (heap_profile &&
current_rss_mb > rss_during_last_reported_profile * 1.1) {
Printf("\n\nHEAP PROFILE at RSS %zdMb\n", current_rss_mb);
- __sanitizer_print_memory_profile(90);
+ __sanitizer_print_memory_profile(90, 20);
rss_during_last_reported_profile = current_rss_mb;
}
}
OpenPOWER on IntegriCloud