mirror of
https://github.com/intel/llvm.git
synced 2026-01-16 05:32:28 +08:00
Refactor many file functions to use FileSpec over strings.
Summary: This should solve the issue of sending denormalized paths over gdb-remote if we stick to GetPath(false) in GDBRemoteCommunicationClient, and let the server handle any denormalization. Reviewers: ovyalov, zturner, vharron, clayborg Reviewed By: clayborg Subscribers: tberghammer, emaste, lldb-commits Differential Revision: http://reviews.llvm.org/D9728 llvm-svn: 238604
This commit is contained in:
@@ -343,7 +343,11 @@ SBTarget::Launch
|
||||
if (getenv("LLDB_LAUNCH_FLAG_DISABLE_STDIO"))
|
||||
launch_flags |= eLaunchFlagDisableSTDIO;
|
||||
|
||||
ProcessLaunchInfo launch_info (stdin_path, stdout_path, stderr_path, working_directory, launch_flags);
|
||||
ProcessLaunchInfo launch_info(FileSpec{stdin_path, false},
|
||||
FileSpec{stdout_path, false},
|
||||
FileSpec{stderr_path, false},
|
||||
FileSpec{working_directory, false},
|
||||
launch_flags);
|
||||
|
||||
Module *exe_module = target_sp->GetExecutableModulePointer();
|
||||
if (exe_module)
|
||||
|
||||
Reference in New Issue
Block a user