mirror of
https://github.com/intel/llvm.git
synced 2026-01-18 07:57:36 +08:00
Added an SBAPI to get the PythonPath (if the Host knows how to do that). And a -P option to the Driver
to print it out. Changed dotest.py to use that to find the PythonPath it should use given the lldb binary it was told to run. llvm-svn: 170932
This commit is contained in:
@@ -26,6 +26,18 @@ SBHostOS::GetProgramFileSpec ()
|
||||
return sb_filespec;
|
||||
}
|
||||
|
||||
SBFileSpec
|
||||
SBHostOS::GetLLDBPythonPath ()
|
||||
{
|
||||
SBFileSpec sb_lldb_python_filespec;
|
||||
FileSpec lldb_python_spec;
|
||||
if (Host::GetLLDBPath (ePathTypePythonDir, lldb_python_spec))
|
||||
{
|
||||
sb_lldb_python_filespec.SetFileSpec (lldb_python_spec);
|
||||
}
|
||||
return sb_lldb_python_filespec;
|
||||
}
|
||||
|
||||
lldb::thread_t
|
||||
SBHostOS::ThreadCreate
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user