Skip to content
Snippets Groups Projects
Commit a0a44e9c authored by Kamil Rytarowski's avatar Kamil Rytarowski
Browse files

Fix NetBSD build after "Move path resolution logic out of FileSpec"

D53915

llvm-svn: 346100
parent 3d2de274
No related branches found
No related tags found
No related merge requests found
......@@ -70,7 +70,7 @@ static bool GetNetBSDProcessArgs(const ProcessInstanceInfoMatch *match_info_ptr,
if (!cstr)
return false;
process_info.GetExecutableFile().SetFile(cstr, false,
process_info.GetExecutableFile().SetFile(cstr,
FileSpec::Style::native);
if (!(match_info_ptr == NULL ||
......
......@@ -85,7 +85,7 @@ FileSpec HostInfoNetBSD::GetProgramFileSpec() {
len = sizeof(path);
if (sysctl(name, __arraycount(name), path, &len, NULL, 0) != -1) {
g_program_filespec.SetFile(path, false, FileSpec::Style::native);
g_program_filespec.SetFile(path, FileSpec::Style::native);
}
}
return g_program_filespec;
......
......@@ -542,7 +542,7 @@ Status NativeProcessNetBSD::PopulateMemoryRegionCache() {
info.SetName(vm[i].kve_path);
m_mem_region_cache.emplace_back(
info, FileSpec(info.GetName().GetCString(), true));
info, FileSpec(info.GetName().GetCString()));
}
free(vm);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment