diff options
author | Kuba Brecka <kuba.brecka@gmail.com> | 2015-12-03 10:39:43 +0000 |
---|---|---|
committer | Kuba Brecka <kuba.brecka@gmail.com> | 2015-12-03 10:39:43 +0000 |
commit | 65aa45e87268473d9e2a9bc0323f7ec24fe9766c (patch) | |
tree | 666aed059b8d2ed1c56d5c9bafba65305f3a75e4 /lldb/packages/Python/lldbsuite | |
parent | 6003384ea9f6a9a9e847137fb54696d659ec9832 (diff) | |
download | bcm5719-llvm-65aa45e87268473d9e2a9bc0323f7ec24fe9766c.tar.gz bcm5719-llvm-65aa45e87268473d9e2a9bc0323f7ec24fe9766c.zip |
[tsan] Use re-exec method to enable interceptors on older versions of OS X
In AddressSanitizer, we have the MaybeReexec method to detect when we're running without DYLD_INSERT_LIBRARIES (in which case interceptors don't work) and re-execute with the environment variable set. On OS X 10.11+, this is no longer necessary, but to have ThreadSanitizer supported on older versions of OS X, let's use the same method as well. This patch moves the implementation from `asan/` into `sanitizer_common/`.
Differential Revision: http://reviews.llvm.org/D15123
llvm-svn: 254600
Diffstat (limited to 'lldb/packages/Python/lldbsuite')
0 files changed, 0 insertions, 0 deletions