mirror of
https://github.com/intel/llvm.git
synced 2026-01-20 01:58:44 +08:00
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:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user