[FileSystem] Move path resolution logic out of FileSpec
This patch removes the logic for resolving paths out of FileSpec and updates call sites to rely on the FileSystem class instead. Differential revision: https://reviews.llvm.org/D53915 llvm-svn: 345890
This commit is contained in:
@@ -2749,7 +2749,8 @@ bool ScriptInterpreterPython::LoadScriptingModule(
|
||||
lldb::DebuggerSP debugger_sp = m_interpreter.GetDebugger().shared_from_this();
|
||||
|
||||
{
|
||||
FileSpec target_file(pathname, true);
|
||||
FileSpec target_file(pathname);
|
||||
FileSystem::Instance().Resolve(target_file);
|
||||
std::string basename(target_file.GetFilename().GetCString());
|
||||
|
||||
StreamString command_stream;
|
||||
|
||||
Reference in New Issue
Block a user