diff options
| author | Kuba Brecka <kuba.brecka@gmail.com> | 2015-12-18 13:08:15 +0000 |
|---|---|---|
| committer | Kuba Brecka <kuba.brecka@gmail.com> | 2015-12-18 13:08:15 +0000 |
| commit | 15dd456236c31b7d45dfbdc37594ccb7a3005aa6 (patch) | |
| tree | fedb46f6b2f21038b64b0ff6ae19273604232d55 /llvm/unittests/Bitcode/BitReaderTest.cpp | |
| parent | f9cc9d7392adeffc52a4cdf3f93d42f2a18b68f9 (diff) | |
| download | llvm-15dd456236c31b7d45dfbdc37594ccb7a3005aa6.zip llvm-15dd456236c31b7d45dfbdc37594ccb7a3005aa6.tar.gz llvm-15dd456236c31b7d45dfbdc37594ccb7a3005aa6.tar.bz2 | |
[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/unittests/Bitcode/BitReaderTest.cpp')
0 files changed, 0 insertions, 0 deletions
