summaryrefslogtreecommitdiffstats
path: root/lldb
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2013-04-19 02:36:24 +0000
committerJason Molenda <jmolenda@apple.com>2013-04-19 02:36:24 +0000
commit17f9e8b3ce3019c5b42f002335fbde4922b3dfbc (patch)
tree6a899f7a3da0e3e7ba3c798f224d64739af35d3c /lldb
parent9d10c4ce86d3b9f64f96c34c4f96202cc4497ed9 (diff)
downloadbcm5719-llvm-17f9e8b3ce3019c5b42f002335fbde4922b3dfbc.tar.gz
bcm5719-llvm-17f9e8b3ce3019c5b42f002335fbde4922b3dfbc.zip
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
Diffstat (limited to 'lldb')
-rw-r--r--lldb/source/Target/TargetList.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Target/TargetList.cpp b/lldb/source/Target/TargetList.cpp
index be53e9253fc..93a0b82aed6 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';
OpenPOWER on IntegriCloud