diff options
| author | Kuba Mracek <mracek@apple.com> | 2018-07-24 16:19:06 +0000 |
|---|---|---|
| committer | Kuba Mracek <mracek@apple.com> | 2018-07-24 16:19:06 +0000 |
| commit | dc36389ea8adbcc60db3055ed9999937a0b5b601 (patch) | |
| tree | 13110a86c2a8115826fcae4da5024bcc40d87e1b /lldb/source/Plugins/ScriptInterpreter/Python/PythonExceptionState.cpp | |
| parent | 634f851766eeead719dbf971b8d449921f3a0bdb (diff) | |
[tsan] Fix crash in objc_sync_enter/objc_sync_exit when using an Obj-C tagged pointer
Objective-C tagged pointers (either bottom-most or top-most bit is 1) are valid Obj-C objects but are not valid pointers. Make sure we don't crash on them when used in objc_sync_enter/objc_sync_exit. Instead, let's synchronize on a global object.
Differential Revision: https://reviews.llvm.org/D49707
llvm-svn: 337837
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonExceptionState.cpp')
0 files changed, 0 insertions, 0 deletions
