summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Nikiforov <d.nikiforov@partner.samsung.com>2017-05-11 17:21:34 +0300
committerDmitriy Nikiforov <d.nikiforov@partner.samsung.com>2017-05-23 12:25:18 +0300
commit0d14c8cdb9eab66ab5dd0ceb22010e7ccf5a275a (patch)
tree32ab16cf5d495999b16f96dac8b69a9d307ae1a6
parent438ee891ccb52c97f797598c08b92922fc1cce40 (diff)
downloadlinaro-gcc-0d14c8cdb9eab66ab5dd0ceb22010e7ccf5a275a.tar.gz
linaro-gcc-0d14c8cdb9eab66ab5dd0ceb22010e7ccf5a275a.tar.bz2
linaro-gcc-0d14c8cdb9eab66ab5dd0ceb22010e7ccf5a275a.zip
[sanitizer-coverage] Add stub for trace-pc instrumentation
libsanitizer/ * sanitizer_common/sanitizer_coverage_libcdep.cc (__sanitizer_cov_trace_pc): New function. Change-Id: I1ead302ccb56c8f20d1a6e29a7cdef8963fa4090 Signed-off-by: Dmitriy Nikiforov <d.nikiforov@partner.samsung.com>
-rw-r--r--libsanitizer/sanitizer_common/sanitizer_coverage_libcdep.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/libsanitizer/sanitizer_common/sanitizer_coverage_libcdep.cc b/libsanitizer/sanitizer_common/sanitizer_coverage_libcdep.cc
index c67880468b8..1afcc61b136 100644
--- a/libsanitizer/sanitizer_common/sanitizer_coverage_libcdep.cc
+++ b/libsanitizer/sanitizer_common/sanitizer_coverage_libcdep.cc
@@ -953,4 +953,6 @@ SANITIZER_INTERFACE_ATTRIBUTE SANITIZER_WEAK_ATTRIBUTE
void __sanitizer_cov_trace_cmp() {}
SANITIZER_INTERFACE_ATTRIBUTE SANITIZER_WEAK_ATTRIBUTE
void __sanitizer_cov_trace_switch() {}
+SANITIZER_INTERFACE_ATTRIBUTE SANITIZER_WEAK_ATTRIBUTE
+void __sanitizer_cov_trace_pc() {}
} // extern "C"