summaryrefslogtreecommitdiffstats
path: root/lldb/source
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2018-11-01 21:26:58 +0000
committerJonas Devlieghere <jonas@devlieghere.com>2018-11-01 21:26:58 +0000
commit2ac403e25a7aa23906721ec2130658dbc4d42aa1 (patch)
tree669358e336b0ae533e0313cf49f25715f4bc8580 /lldb/source
parent09b6b3bd15d3530eedc84b3caf04571e5d1d849d (diff)
downloadbcm5719-llvm-2ac403e25a7aa23906721ec2130658dbc4d42aa1.tar.gz
bcm5719-llvm-2ac403e25a7aa23906721ec2130658dbc4d42aa1.zip
[FileSystem] Change FileSpec constructor signature (2/2)
Fix breakage due to the recent FileSpec change that extracts the path resultion logic into FileSystem for the FreeBSD host. llvm-svn: 345895
Diffstat (limited to 'lldb/source')
-rw-r--r--lldb/source/Host/freebsd/Host.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/lldb/source/Host/freebsd/Host.cpp b/lldb/source/Host/freebsd/Host.cpp
index 87552bc2a27..dffe219806e 100644
--- a/lldb/source/Host/freebsd/Host.cpp
+++ b/lldb/source/Host/freebsd/Host.cpp
@@ -75,11 +75,9 @@ GetFreeBSDProcessArgs(const ProcessInstanceInfoMatch *match_info_ptr,
size_t pathname_len = sizeof(pathname);
mib[2] = KERN_PROC_PATHNAME;
if (::sysctl(mib, 4, pathname, &pathname_len, NULL, 0) == 0)
- process_info.GetExecutableFile().SetFile(pathname, false,
- FileSpec::Style::native);
+ process_info.GetExecutableFile().SetFile(pathname, FileSpec::Style::native);
else
- process_info.GetExecutableFile().SetFile(cstr, false,
- FileSpec::Style::native);
+ process_info.GetExecutableFile().SetFile(cstr, FileSpec::Style::native);
if (!(match_info_ptr == NULL ||
NameMatches(process_info.GetExecutableFile().GetFilename().GetCString(),
OpenPOWER on IntegriCloud