lldb: Fix compilation on OpenBSD
authorRaphael Isemann <teemperor@gmail.com>
Sun, 10 Feb 2019 15:23:58 +0000 (15:23 +0000)
committerRaphael Isemann <teemperor@gmail.com>
Sun, 10 Feb 2019 15:23:58 +0000 (15:23 +0000)
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

llvm-svn: 353642

lldb/source/Host/openbsd/Host.cpp

index 0700c4b..d91a01b 100644 (file)
@@ -67,8 +67,7 @@ GetOpenBSDProcessArgs(const ProcessInstanceInfoMatch *match_info_ptr,
 
       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(