forked from OSchip/llvm-project
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:
parent
9d10c4ce86
commit
17f9e8b3ce
|
@ -157,7 +157,7 @@ TargetList::CreateTarget (Debugger &debugger,
|
||||||
if (!arch.IsValid())
|
if (!arch.IsValid())
|
||||||
arch = specified_arch;
|
arch = specified_arch;
|
||||||
|
|
||||||
FileSpec file (user_exe_path, false);
|
FileSpec file (user_exe_path, true);
|
||||||
bool user_exe_path_is_bundle = false;
|
bool user_exe_path_is_bundle = false;
|
||||||
char resolved_bundle_exe_path[PATH_MAX];
|
char resolved_bundle_exe_path[PATH_MAX];
|
||||||
resolved_bundle_exe_path[0] = '\0';
|
resolved_bundle_exe_path[0] = '\0';
|
||||||
|
|
Loading…
Reference in New Issue