[Lldb-commits] [lldb] r346100 - Fix NetBSD build after "Move path resolution logic out of FileSpec"

Kamil Rytarowski via lldb-commits lldb-commits at lists.llvm.org
Sun Nov 4 08:53:16 PST 2018


Author: kamil
Date: Sun Nov  4 08:53:16 2018
New Revision: 346100

URL: http://llvm.org/viewvc/llvm-project?rev=346100&view=rev
Log:
Fix NetBSD build after "Move path resolution logic out of FileSpec"

D53915

Modified:
    lldb/trunk/source/Host/netbsd/Host.cpp
    lldb/trunk/source/Host/netbsd/HostInfoNetBSD.cpp
    lldb/trunk/source/Plugins/Process/NetBSD/NativeProcessNetBSD.cpp

Modified: lldb/trunk/source/Host/netbsd/Host.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Host/netbsd/Host.cpp?rev=346100&r1=346099&r2=346100&view=diff
==============================================================================
--- lldb/trunk/source/Host/netbsd/Host.cpp (original)
+++ lldb/trunk/source/Host/netbsd/Host.cpp Sun Nov  4 08:53:16 2018
@@ -70,7 +70,7 @@ static bool GetNetBSDProcessArgs(const P
   if (!cstr)
     return false;
 
-  process_info.GetExecutableFile().SetFile(cstr, false,
+  process_info.GetExecutableFile().SetFile(cstr,
                                            FileSpec::Style::native);
 
   if (!(match_info_ptr == NULL ||

Modified: lldb/trunk/source/Host/netbsd/HostInfoNetBSD.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Host/netbsd/HostInfoNetBSD.cpp?rev=346100&r1=346099&r2=346100&view=diff
==============================================================================
--- lldb/trunk/source/Host/netbsd/HostInfoNetBSD.cpp (original)
+++ lldb/trunk/source/Host/netbsd/HostInfoNetBSD.cpp Sun Nov  4 08:53:16 2018
@@ -85,7 +85,7 @@ FileSpec HostInfoNetBSD::GetProgramFileS
 
     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;

Modified: lldb/trunk/source/Plugins/Process/NetBSD/NativeProcessNetBSD.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/NetBSD/NativeProcessNetBSD.cpp?rev=346100&r1=346099&r2=346100&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/NetBSD/NativeProcessNetBSD.cpp (original)
+++ lldb/trunk/source/Plugins/Process/NetBSD/NativeProcessNetBSD.cpp Sun Nov  4 08:53:16 2018
@@ -542,7 +542,7 @@ Status NativeProcessNetBSD::PopulateMemo
       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);
 




More information about the lldb-commits mailing list