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

Hans Wennborg via lldb-commits lldb-commits at lists.llvm.org
Mon Feb 18 02:24:56 PST 2019


Merged to release_80 in r354253.

On Sun, Feb 10, 2019 at 4:23 PM Raphael Isemann via lldb-commits
<lldb-commits at lists.llvm.org> wrote:
>
> 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(
>
>
> _______________________________________________
> lldb-commits mailing list
> lldb-commits at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits


More information about the lldb-commits mailing list