diff options
author | Kuba Brecka <kuba.brecka@gmail.com> | 2015-11-03 16:19:37 +0000 |
---|---|---|
committer | Kuba Brecka <kuba.brecka@gmail.com> | 2015-11-03 16:19:37 +0000 |
commit | 77f16f369b527f5ccd2c114885694435e161eb30 (patch) | |
tree | 01916265d94f6ae1d599e35bb1cbfaa667442708 /lldb/packages/Python/lldbsuite/test/python_api/symbol-context/TestSymbolContext.py | |
parent | a4a227f7e881de24ab150d6277d59b256b55d99a (diff) | |
download | bcm5719-llvm-77f16f369b527f5ccd2c114885694435e161eb30.tar.gz bcm5719-llvm-77f16f369b527f5ccd2c114885694435e161eb30.zip |
[tsan] Allow memchr interceptor to be used before initialization on OS X
On OS X, `memchr` is called on a newly created thread even before `__tsan_thread_start_func` is invoked, which means that the ThreadState object for that thread will not yet be initialized. Let's add `COMMON_INTERCEPTOR_NOTHING_IS_INITIALIZED` into the interceptor to simply call `internal_memchr` in these cases.
Differential Revision: http://reviews.llvm.org/D14283
llvm-svn: 251935
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/symbol-context/TestSymbolContext.py')
0 files changed, 0 insertions, 0 deletions