[llvm-commits] [compiler-rt] r156981 - /compiler-rt/trunk/lib/tsan/rtl/tsan_interface_ann.cc
Dmitry Vyukov
dvyukov at google.com
Thu May 17 01:04:41 PDT 2012
Author: dvyukov
Date: Thu May 17 03:04:41 2012
New Revision: 156981
URL: http://llvm.org/viewvc/llvm-project?rev=156981&view=rev
Log:
tsan: add ValgrindSlowdown() "dynamic annotation"
Modified:
compiler-rt/trunk/lib/tsan/rtl/tsan_interface_ann.cc
Modified: compiler-rt/trunk/lib/tsan/rtl/tsan_interface_ann.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/tsan/rtl/tsan_interface_ann.cc?rev=156981&r1=156980&r2=156981&view=diff
==============================================================================
--- compiler-rt/trunk/lib/tsan/rtl/tsan_interface_ann.cc (original)
+++ compiler-rt/trunk/lib/tsan/rtl/tsan_interface_ann.cc Thu May 17 03:04:41 2012
@@ -335,6 +335,10 @@
return 0;
}
+double ValgrindSlowdown(void) {
+ return 10.0;
+}
+
const char *ThreadSanitizerQuery(const char *query) {
if (internal_strcmp(query, "pure_happens_before") == 0)
return "1";
More information about the llvm-commits
mailing list