summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Reader/BitReader.cpp
diff options
context:
space:
mode:
authorKuba Brecka <kuba.brecka@gmail.com>2015-12-18 13:08:15 +0000
committerKuba Brecka <kuba.brecka@gmail.com>2015-12-18 13:08:15 +0000
commit15dd456236c31b7d45dfbdc37594ccb7a3005aa6 (patch)
treefedb46f6b2f21038b64b0ff6ae19273604232d55 /llvm/lib/Bitcode/Reader/BitReader.cpp
parentf9cc9d7392adeffc52a4cdf3f93d42f2a18b68f9 (diff)
downloadbcm5719-llvm-15dd456236c31b7d45dfbdc37594ccb7a3005aa6.tar.gz
bcm5719-llvm-15dd456236c31b7d45dfbdc37594ccb7a3005aa6.zip
[tsan] Add a DCHECK to verify __tsan_read* and __tsan_write function aren't called from ScopedInterceptor
Interceptors using ScopedInteceptor should never call into user's code before the ScopedInterceptor is out of scope (and its destructor is called). Let's add a DCHECK to enforce that. Differential Revision: http://reviews.llvm.org/D15381 llvm-svn: 255996
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitReader.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud