From 17f9e8b3ce3019c5b42f002335fbde4922b3dfbc Mon Sep 17 00:00:00 2001 From: Jason Molenda Date: Fri, 19 Apr 2013 02:36:24 +0000 Subject: [PATCH] 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 --- lldb/source/Target/TargetList.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/source/Target/TargetList.cpp b/lldb/source/Target/TargetList.cpp index be53e9253fca..93a0b82aed67 100644 --- a/lldb/source/Target/TargetList.cpp +++ b/lldb/source/Target/TargetList.cpp @@ -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';