[FileSystem] Change FileSpec constructor signature (2/2)
authorJonas Devlieghere <jonas@devlieghere.com>
Thu, 1 Nov 2018 21:26:58 +0000 (21:26 +0000)
committerJonas Devlieghere <jonas@devlieghere.com>
Thu, 1 Nov 2018 21:26:58 +0000 (21:26 +0000)
Fix breakage due to the recent FileSpec change that extracts the path
resultion logic into FileSystem for the FreeBSD host.

llvm-svn: 345895

lldb/source/Host/freebsd/Host.cpp

index 87552bc2a27ed5d4841947b7729b7e07365809a3..dffe219806e0c2cbf9d43fce59c5c521b2867550 100644 (file)
@@ -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(),