[PATCH] D31630: [tsan] Detect races on modifying accesses in Swift code
Dmitry Vyukov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 21 06:48:35 PDT 2017
dvyukov added a comment.
> We have 3 potential users for the external API (Go, Java, races on fd, potentially more in future).
Also add races on vptr to the list.
================
Comment at: lib/tsan/rtl/tsan_rtl.h:651
+ kExternalTagSwiftModifyingAccess = 1,
+ kExternalTagFirstUserAvailable = 128,
+ kExternalTagMax = 1024,
----------------
Why is it 128? It seems it should be 2.
https://reviews.llvm.org/D31630
More information about the llvm-commits
mailing list