projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b00289
)
tsan: fix WTFAnnotateBenignRaceSized annotation
author
Dmitry Vyukov
<dvyukov@google.com>
Tue, 19 Nov 2013 16:03:15 +0000
(16:03 +0000)
committer
Dmitry Vyukov
<dvyukov@google.com>
Tue, 19 Nov 2013 16:03:15 +0000
(16:03 +0000)
actually use the passed size
llvm-svn: 195133
compiler-rt/lib/tsan/rtl/tsan_interface_ann.cc
patch
|
blob
|
history
diff --git
a/compiler-rt/lib/tsan/rtl/tsan_interface_ann.cc
b/compiler-rt/lib/tsan/rtl/tsan_interface_ann.cc
index
cacbc02
..
1179fd5
100644
(file)
--- a/
compiler-rt/lib/tsan/rtl/tsan_interface_ann.cc
+++ b/
compiler-rt/lib/tsan/rtl/tsan_interface_ann.cc
@@
-441,7
+441,7
@@
void INTERFACE_ATTRIBUTE WTFAnnotateHappensAfter(char *f, int l, uptr addr) {
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() {