Change TargetList::CreateTarget to realpath the c-string filename of the

executable -- if I do "(lldb) file ~/bin/exe" that tilde expansion needs
to take place here.

llvm-svn: 179831
This commit is contained in:
Jason Molenda
2013-04-19 02:36:24 +00:00
parent 9d10c4ce86
commit 17f9e8b3ce

View File

@@ -157,7 +157,7 @@ TargetList::CreateTarget (Debugger &debugger,
if (!arch.IsValid())
arch = specified_arch;
FileSpec file (user_exe_path, false);
FileSpec file (user_exe_path, true);
bool user_exe_path_is_bundle = false;
char resolved_bundle_exe_path[PATH_MAX];
resolved_bundle_exe_path[0] = '\0';