summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/source-manager/TestSourceManager.py
diff options
context:
space:
mode:
authorHaibo Huang <hhb@google.com>2019-10-07 23:49:01 +0000
committerHaibo Huang <hhb@google.com>2019-10-07 23:49:01 +0000
commit61f471a705a5df3d581ba4905337f433bac3ba1f (patch)
treee9b2f65b0e30300541d8fcefa733d2f6009b6729 /lldb/packages/Python/lldbsuite/test/source-manager/TestSourceManager.py
parentf4c7345b88f8ca56ee350a4a0dbfee7e2db79839 (diff)
downloadbcm5719-llvm-61f471a705a5df3d581ba4905337f433bac3ba1f.tar.gz
bcm5719-llvm-61f471a705a5df3d581ba4905337f433bac3ba1f.zip
[lldb] Unifying lldb python path
Based on mgorny@'s D67890 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 compiling users to specify the right path for site-packages. Subscribers: lldb-commits Tags: #lldb Differential Revision: https://reviews.llvm.org/D68442 llvm-svn: 373991
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/source-manager/TestSourceManager.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud