llvm-project/compiler-rt/lib/tsan/go
Kuba Mracek 5a195f4fc5 [tsan] Track external tags in thread traces
To make the TSan external API work with Swift and other use cases, we need to track "tags" for individual memory accesses. Since there is no space to store this information in shadow cells, let's use the thread traces for that. This patch stores the tag as an extra frame in the stack traces (by calling FuncEntry and FuncExit with the address of a registered tag), this extra frame is then stripped before printing the backtrace to stderr.

Differential Revision: https://reviews.llvm.org/D32382

llvm-svn: 301777
2017-04-30 20:35:18 +00:00
..
build.bat tsan: always define SANITIZER_GO 2016-10-28 20:14:18 +00:00
buildgo.sh [tsan] Track external tags in thread traces 2017-04-30 20:35:18 +00:00
test.c tsan: fix build 2016-04-27 12:59:35 +00:00
tsan_go.cc tsan: add new mutex annotations 2017-03-26 15:27:04 +00:00