[Lldb-commits] [PATCH] D79607: [lldb/test][Darwin] Ask dyld where the real python is

Jonas Devlieghere via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu May 7 16:51:54 PDT 2020


JDevlieghere added a comment.

Thanks Vedant for coming up with a structural solution to this problem!



================
Comment at: lldb/test/API/lldbtest.py:36
+# a Homebrew python3 binary, which also appears to be some kind of shim.
+def getDarwinRealPythonExecutable():
+    import ctypes
----------------
This would have to run under the Python in `executable`, not the one lit is running with.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D79607/new/

https://reviews.llvm.org/D79607





More information about the lldb-commits mailing list