[PATCH] D83625: [TSan] Optimize handling of racy address

Joachim Protze via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 14 05:52:50 PDT 2020


protze.joachim updated this revision to Diff 277791.
protze.joachim added a comment.

I moved the loops into functions.
I think for the previous controlflow, AddRacyStacks was necessary because of the early `return false` in line 475. I removed it, as the functions now add the entry directly to the vector.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D83625/new/

https://reviews.llvm.org/D83625

Files:
  compiler-rt/lib/tsan/rtl/tsan_rtl_report.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83625.277791.patch
Type: text/x-patch
Size: 4718 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200714/dd37ff72/attachment.bin>


More information about the llvm-commits mailing list