[LLDB] FreeBSD fix new SetFile call.

llvm-svn: 371491
This commit is contained in:
David Carlier 2019-09-10 07:33:39 +00:00
parent 88d6783f70
commit c190890c29
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ FileSpec HostInfoFreeBSD::GetProgramFileSpec() {
char exe_path[PATH_MAX];
size_t exe_path_size = sizeof(exe_path);
if (sysctl(exe_path_mib, 4, exe_path, &exe_path_size, NULL, 0) == 0)
g_program_filespec.SetFile(exe_path, false);
g_program_filespec.SetFile(exe_path, FileSpec::Style::native);
}
return g_program_filespec;
}