forked from OSchip/llvm-project
5a195f4fc5
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 |
||
---|---|---|
.. | ||
build.bat | ||
buildgo.sh | ||
test.c | ||
tsan_go.cc |