[compiler-rt] r236907 - [asan/fuzzer] define a dummy weak __sanitizer_cov_trace_cmp
Kostya Serebryany
kcc at google.com
Fri May 8 14:32:03 PDT 2015
Author: kcc
Date: Fri May 8 16:32:03 2015
New Revision: 236907
URL: http://llvm.org/viewvc/llvm-project?rev=236907&view=rev
Log:
[asan/fuzzer] define a dummy weak __sanitizer_cov_trace_cmp
Modified:
compiler-rt/trunk/lib/sanitizer_common/sanitizer_coverage_libcdep.cc
Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_coverage_libcdep.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_coverage_libcdep.cc?rev=236907&r1=236906&r2=236907&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_coverage_libcdep.cc (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_coverage_libcdep.cc Fri May 8 16:32:03 2015
@@ -931,4 +931,7 @@ SANITIZER_INTERFACE_ATTRIBUTE
uptr __sanitizer_update_counter_bitset_and_clear_counters(u8 *bitset) {
return coverage_data.Update8bitCounterBitsetAndClearCounters(bitset);
}
+// Default empty implementation (weak). Users should redefine it.
+SANITIZER_INTERFACE_ATTRIBUTE SANITIZER_WEAK_ATTRIBUTE
+void __sanitizer_cov_trace_cmp() {}
} // extern "C"
More information about the llvm-commits
mailing list