Skip to content

Commit

Permalink
lldb: Fix compilation on OpenBSD
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Teemperor committed Feb 10, 2019
1 parent 833550f commit ada705a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lldb/source/Host/openbsd/Host.cpp
Expand Up @@ -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(
Expand Down

0 comments on commit ada705a

Please sign in to comment.