[compiler-rt] r195133 - tsan: fix WTFAnnotateBenignRaceSized annotation
Dmitry Vyukov
dvyukov at google.com
Tue Nov 19 08:03:16 PST 2013
Author: dvyukov
Date: Tue Nov 19 10:03:15 2013
New Revision: 195133
URL: http://llvm.org/viewvc/llvm-project?rev=195133&view=rev
Log:
tsan: fix WTFAnnotateBenignRaceSized annotation
actually use the passed size
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=195133&r1=195132&r2=195133&view=diff
==============================================================================
--- compiler-rt/trunk/lib/tsan/rtl/tsan_interface_ann.cc (original)
+++ compiler-rt/trunk/lib/tsan/rtl/tsan_interface_ann.cc Tue Nov 19 10:03:15 2013
@@ -441,7 +441,7 @@ void INTERFACE_ATTRIBUTE WTFAnnotateHapp
void INTERFACE_ATTRIBUTE WTFAnnotateBenignRaceSized(
char *f, int l, uptr mem, uptr sz, char *desc) {
SCOPED_ANNOTATION(AnnotateBenignRaceSized);
- BenignRaceImpl(f, l, mem, 1, desc);
+ BenignRaceImpl(f, l, mem, sz, desc);
}
int INTERFACE_ATTRIBUTE RunningOnValgrind() {
More information about the llvm-commits
mailing list