[PATCH] D21604: [tsan] Add HB edges for GCD barrier blocks

Kuba Brecka via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 26 05:40:19 PDT 2016


kubabrecka updated this revision to Diff 61908.
kubabrecka added a comment.

Updating patch using Dmitry’s suggestion for simplifying serial and concurrent sync objects.  I’m also simplifying some other stuff:  Removing `sync_object` and `object_to_release`, because they were only used for dispatch groups, but they can now use `is_barrier_block` instead.  Renaming `release_sync_object_in_callback` to `submitted_synchronously`.


http://reviews.llvm.org/D21604

Files:
  lib/tsan/rtl/tsan_libdispatch_mac.cc
  test/tsan/Darwin/gcd-barrier-race.mm
  test/tsan/Darwin/gcd-barrier.mm

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21604.61908.patch
Type: text/x-patch
Size: 12095 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160626/3bd47483/attachment.bin>


More information about the llvm-commits mailing list