diff options
author | Vedant Kumar <vsk@apple.com> | 2020-05-07 16:07:32 -0700 |
---|---|---|
committer | Vedant Kumar <vsk@apple.com> | 2020-05-08 10:22:58 -0700 |
commit | 8cb86ead77417f889bf32a8f83da299215f78545 (patch) | |
tree | 4174d07aeb3004c2983087b8a7eaf3fb6bf12667 /lldb/unittests/ScriptInterpreter/Python | |
parent | 78a43f10c701a9cb353e927e9551f32223fbb37d (diff) | |
download | llvm-8cb86ead77417f889bf32a8f83da299215f78545.zip llvm-8cb86ead77417f889bf32a8f83da299215f78545.tar.gz llvm-8cb86ead77417f889bf32a8f83da299215f78545.tar.bz2 |
[lldb/test][Darwin] Ask dyld where the real python is
Summary:
On macOS, we can't do the DYLD_INSERT_LIBRARIES trick with a shim
python binary as the ASan interceptors get loaded too late. Find the
"real" python binary, copy it, and invoke it.
Hopefully this makes the GreenDragon and swift-ci sanitizer bots
happy...
I tested this out by running `../llvm-macosx-x86_64/bin/llvm-lit test
--filter TestNSDictionarySynthetic.py` in an ASanified swift-lldb build
directory and it worked (i.e. no more "interceptors loaded too late"
messages).
Reviewers: JDevlieghere
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D79607
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions