[all-commits] [llvm/llvm-project] 18fb20: [lldb] Find Python relative to LLDB.framework on D...
Jonas Devlieghere via All-commits
all-commits at lists.llvm.org
Tue Sep 29 17:37:21 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 18fb20143f103367052d1a3929d67d206d735d25
https://github.com/llvm/llvm-project/commit/18fb20143f103367052d1a3929d67d206d735d25
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2026-09-29 (Tue, 29 Sep 2026)
Changed paths:
M lldb/source/Host/macosx/PythonRuntimeLoaderDarwin.cpp
Log Message:
-----------
[lldb] Find Python relative to LLDB.framework on Darwin (again) (#227521)
The PythonRuntimeLoaderDarwin is responsible for finding the Python
library at runtime. Previously, this was using `DEVELOPER_DIR` and
`xcrun` to avoid having to hard-code the same list of relative paths
that we have as RPATHs for the non-dynamic interpreter build.
However, that leads to some tricky behavior when launching `lldb` with
our without `xcrun`. Combined with some odd path combinations, I changed
my mind and went back to mimicking the RPATH approach.
While I was at it, I also dropped the fallback for looking for Python in
/Applications/Xcode.app. That was always a hack, and now that we support
falling back to a Homebrew or Pyhthon.org installed Python.framework, I
think we should just rely on that.
rdar://188746227
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list