[Lldb-commits] [lldb] r353642 - lldb: Fix compilation on OpenBSD

Raphael Isemann via lldb-commits lldb-commits at lists.llvm.org
Sun Feb 10 07:23:59 PST 2019


Author: teemperor
Date: Sun Feb 10 07:23:58 2019
New Revision: 353642

URL: http://llvm.org/viewvc/llvm-project?rev=353642&view=rev
Log:
lldb: Fix compilation on OpenBSD

Summary: Update the OpenBSD Host.cpp for the new SetFile() function signature. Fixes compiling lldb on OpenBSD.

Reviewers: krytarowski

Reviewed By: krytarowski

Subscribers: lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D57907

Modified:
    lldb/trunk/source/Host/openbsd/Host.cpp

Modified: lldb/trunk/source/Host/openbsd/Host.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Host/openbsd/Host.cpp?rev=353642&r1=353641&r2=353642&view=diff
==============================================================================
--- lldb/trunk/source/Host/openbsd/Host.cpp (original)
+++ lldb/trunk/source/Host/openbsd/Host.cpp Sun Feb 10 07:23:58 2019
@@ -67,8 +67,7 @@ GetOpenBSDProcessArgs(const ProcessInsta
 
       cstr = data.GetCStr(&offset);
       if (cstr) {
-        process_info.GetExecutableFile().SetFile(cstr, false,
-                                                 FileSpec::Style::native);
+        process_info.GetExecutableFile().SetFile(cstr, FileSpec::Style::native);
 
         if (!(match_info_ptr == NULL ||
               NameMatches(




More information about the lldb-commits mailing list