diff options
| author | Kamil Rytarowski <n54@gmx.com> | 2018-11-04 16:53:16 +0000 |
|---|---|---|
| committer | Kamil Rytarowski <n54@gmx.com> | 2018-11-04 16:53:16 +0000 |
| commit | a0a44e9c786790e24b88e931df5633e959159b9e (patch) | |
| tree | e19ebd9479ed00aa4c84d41e68a24823c9fedd3e | |
| parent | 3d2de274c7b0511e34ee035d263a30f143e121f3 (diff) | |
| download | bcm5719-llvm-a0a44e9c786790e24b88e931df5633e959159b9e.tar.gz bcm5719-llvm-a0a44e9c786790e24b88e931df5633e959159b9e.zip | |
Fix NetBSD build after "Move path resolution logic out of FileSpec"
D53915
llvm-svn: 346100
| -rw-r--r-- | lldb/source/Host/netbsd/Host.cpp | 2 | ||||
| -rw-r--r-- | lldb/source/Host/netbsd/HostInfoNetBSD.cpp | 2 | ||||
| -rw-r--r-- | lldb/source/Plugins/Process/NetBSD/NativeProcessNetBSD.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/Host/netbsd/Host.cpp b/lldb/source/Host/netbsd/Host.cpp index bfd5a74ffcc..1a900ad02ce 100644 --- a/lldb/source/Host/netbsd/Host.cpp +++ b/lldb/source/Host/netbsd/Host.cpp @@ -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 || diff --git a/lldb/source/Host/netbsd/HostInfoNetBSD.cpp b/lldb/source/Host/netbsd/HostInfoNetBSD.cpp index dfbce310509..a54483fcc55 100644 --- a/lldb/source/Host/netbsd/HostInfoNetBSD.cpp +++ b/lldb/source/Host/netbsd/HostInfoNetBSD.cpp @@ -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; diff --git a/lldb/source/Plugins/Process/NetBSD/NativeProcessNetBSD.cpp b/lldb/source/Plugins/Process/NetBSD/NativeProcessNetBSD.cpp index 457ceeb30b8..d6fc34605ad 100644 --- a/lldb/source/Plugins/Process/NetBSD/NativeProcessNetBSD.cpp +++ b/lldb/source/Plugins/Process/NetBSD/NativeProcessNetBSD.cpp @@ -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); |

