Patch: comment update for TSAN Flag

Orr Bernstein via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 25 10:33:54 PDT 2017


Hi all,

Very small patch below to fix a comment on a tsan flag, history_size, whose
default changed from 2 to 3, though the comment wasn't updated to reflect
that change.

Thanks,
- Orr

===================================================================
--- compiler-rt/lib/tsan/rtl/tsan_flags.inc (revision 316594)
+++ compiler-rt/lib/tsan/rtl/tsan_flags.inc (working copy)
@@ -68,7 +68,7 @@
     "are remembered per thread.  Possible values are [0..7]. "
     "history_size=0 amounts to 32K memory accesses.  Each next value
doubles "
     "the amount of memory accesses, up to history_size=7 that amounts to "
-    "4M memory accesses.  The default value is 2 (128K memory accesses).")
+    "4M memory accesses.  The default value is 3 (256K memory accesses).")
 TSAN_FLAG(int, io_sync, 1,
           "Controls level of synchronization implied by IO operations. "
           "0 - no synchronization "
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171025/0c0e2f2f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tsan_flags_comment_fix.patch
Type: text/x-patch
Size: 765 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171025/0c0e2f2f/attachment.bin>


More information about the llvm-commits mailing list