[Lldb-commits] [PATCH] D68442: [lldb] Remove unused variables.
Haibo Huang via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Thu Oct 3 21:50:32 PDT 2019
hhb created this revision.
Herald added subscribers: lldb-commits, mgorny.
Herald added a project: LLDB.
Fixes the comment in https://reviews.llvm.org/D67993
[lldb] Unifying lldb python path
There are 3 places where python site-package path is calculated
independently:
1. finishSwigPythonLLDB.py where files are written to site-packages.
2. lldb/scripts/CMakeLists.txt where site-packages are installed.
3. ScriptInterpreterPython.cpp where site-packages are added to
PYTHONPATH.
This change creates the path once and use it everywhere. So that they
will not go out of sync.
Also it provides a chance for cross compile users to specify the right
path for site-packages.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D68442
Files:
lldb/CMakeLists.txt
lldb/scripts/CMakeLists.txt
lldb/scripts/Python/finishSwigPythonLLDB.py
lldb/scripts/finishSwigWrapperClasses.py
lldb/scripts/get_relative_lib_dir.py
lldb/source/Plugins/ScriptInterpreter/Python/CMakeLists.txt
lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68442.223134.patch
Type: text/x-patch
Size: 16295 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20191004/e8c3c298/attachment.bin>
More information about the lldb-commits
mailing list