summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.h
diff options
context:
space:
mode:
authorKuba Mracek <mracek@apple.com>2017-02-02 13:17:05 +0000
committerKuba Mracek <mracek@apple.com>2017-02-02 13:17:05 +0000
commitaa78ad5fea0d38f51756031ef991b78d2ae0bfaa (patch)
tree917aa4990f215729cc26bc2d6d3f2fb9114c0a29 /lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.h
parent5c882715280599d5da41644610c67eddc7023275 (diff)
downloadbcm5719-llvm-aa78ad5fea0d38f51756031ef991b78d2ae0bfaa.tar.gz
bcm5719-llvm-aa78ad5fea0d38f51756031ef991b78d2ae0bfaa.zip
[tsan] Provide API for libraries for race detection on custom objects
This patch allows a non-instrumented library to call into TSan runtime, and tell us about "readonly" and "modifying" accesses to an arbitrary "object" and provide the caller and tag (type of object). This allows TSan to detect violations of API threading contracts where "read-only" methods can be called simulatenously from multiple threads, while modifying methods must be exclusive. Differential Revision: https://reviews.llvm.org/D28836 llvm-svn: 293885
Diffstat (limited to 'lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud