summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/value/TestValueAPI.py
diff options
context:
space:
mode:
authorDan Liew <dan@su-root.co.uk>2018-12-17 21:42:55 +0000
committerDan Liew <dan@su-root.co.uk>2018-12-17 21:42:55 +0000
commitb85b15d64acb303a56a79ad514d24d46fbe12612 (patch)
tree418b637929cee62bc3c9f26a4bbf2a63d126aa49 /lldb/packages/Python/lldbsuite/test/python_api/value/TestValueAPI.py
parentcba1b00c422991ca4d1642f0af6385275dc69f2e (diff)
downloadbcm5719-llvm-b85b15d64acb303a56a79ad514d24d46fbe12612.tar.gz
bcm5719-llvm-b85b15d64acb303a56a79ad514d24d46fbe12612.zip
Don't trigger sanitizer initialization from `sysctlbyname` and `sysctl` interceptor.
Summary: This fixes the `ThreadSanitizer-x86_64-iossim` testsuite which broke when r348770 (https://reviews.llvm.org/D55473) landed. The root cause of the problem is that early-on during the iOS simulator init process a call to `sysctlbyname` is issued. If the TSan initializer is triggered at this point it will eventually trigger a call to `__cxa_at_exit(...)`. This call then aborts because the library implementing this function is not yet had its initialization function called. rdar://problem/46696934 Reviewers: kubamracek, george.karpenkov, devnexen, vitalybuka, krytarowski Subscribers: #sanitizers, llvm-commits Differential Revision: https://reviews.llvm.org/D55711 llvm-svn: 349402
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/value/TestValueAPI.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud