diff options
| author | Greg Clayton <gclayton@apple.com> | 2014-07-30 17:38:47 +0000 |
|---|---|---|
| committer | Greg Clayton <gclayton@apple.com> | 2014-07-30 17:38:47 +0000 |
| commit | 06357c930cc13f084e20fe1950a2c849aad22e39 (patch) | |
| tree | 8abf5867fdcbc3795ec772495161d49d769726bd /lldb/source/API/SBHostOS.cpp | |
| parent | a12e023c8af35d5f9029d7484e180521e50f4a1f (diff) | |
(no commit message)
llvm-svn: 214319
Diffstat (limited to 'lldb/source/API/SBHostOS.cpp')
| -rw-r--r-- | lldb/source/API/SBHostOS.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lldb/source/API/SBHostOS.cpp b/lldb/source/API/SBHostOS.cpp index 88ca95248fd1..b3c7bc5ee249 100644 --- a/lldb/source/API/SBHostOS.cpp +++ b/lldb/source/API/SBHostOS.cpp @@ -38,6 +38,17 @@ SBHostOS::GetLLDBPythonPath () return sb_lldb_python_filespec; } + +SBFileSpec +SBHostOS::GetLLDBPath (lldb::PathType path_type) +{ + SBFileSpec sb_fspec; + FileSpec fspec; + if (Host::GetLLDBPath (path_type, fspec)) + sb_fspec.SetFileSpec (fspec); + return sb_fspec; +} + lldb::thread_t SBHostOS::ThreadCreate ( |
