[sanitizer-coverage] Add stub for trace-pc instrumentation 41/128841/8
authorDmitriy Nikiforov <d.nikiforov@partner.samsung.com>
Thu, 11 May 2017 14:21:34 +0000 (17:21 +0300)
committerDmitriy Nikiforov <d.nikiforov@partner.samsung.com>
Tue, 23 May 2017 09:25:18 +0000 (12:25 +0300)
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>
libsanitizer/sanitizer_common/sanitizer_coverage_libcdep.cc

index c678804..1afcc61 100644 (file)
@@ -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"