mirror of
https://github.com/intel/llvm.git
synced 2026-01-28 01:04:49 +08:00
[LLDB] FreeBSD fix new SetFile call.
llvm-svn: 371491
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user