diff options
| author | Greg Clayton <gclayton@apple.com> | 2014-08-25 18:21:06 +0000 |
|---|---|---|
| committer | Greg Clayton <gclayton@apple.com> | 2014-08-25 18:21:06 +0000 |
| commit | 0d8400c89c1a9f0c1ca76c83f2e59deb4708e8ea (patch) | |
| tree | 9e107d0af0a0a1fef3c1e2ed254ba7fd11a69400 /lldb/source/Host/windows/HostInfoWindows.cpp | |
| parent | dae941a6c8c6dc885d3e5be9d5b8d81076dd4d4e (diff) | |
| download | bcm5719-llvm-0d8400c89c1a9f0c1ca76c83f2e59deb4708e8ea.tar.gz bcm5719-llvm-0d8400c89c1a9f0c1ca76c83f2e59deb4708e8ea.zip | |
Change back all paths returns for lldb::PathType enumerations from HostInfo::GetLLDBPath() to return the directories in the FileSpec.m_directory field to match previous implementations. This change previously broke some path stuff in upstream branches.
llvm-svn: 216398
Diffstat (limited to 'lldb/source/Host/windows/HostInfoWindows.cpp')
| -rw-r--r-- | lldb/source/Host/windows/HostInfoWindows.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Host/windows/HostInfoWindows.cpp b/lldb/source/Host/windows/HostInfoWindows.cpp index f7d7411c08d..8b2a6600e41 100644 --- a/lldb/source/Host/windows/HostInfoWindows.cpp +++ b/lldb/source/Host/windows/HostInfoWindows.cpp @@ -107,6 +107,6 @@ HostInfoWindows::ComputePythonDirectory(FileSpec &file_spec) lldb_file_spec.AppendPathComponent("../lib/site-packages"); lldb_file_spec.GetPath(raw_path, sizeof(raw_path)); - file_spec.SetFile(raw_path, true); + file_spec.GetDirectory().SetCString(raw_path); return true; } |

