[Lldb-commits] [PATCH] D12746: The pipe2(2) call is supported on NetBSD

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Thu Sep 10 01:19:05 PDT 2015


I think the main reason behind it is that we have about three build
systems. Any check you write will need to be implemented in all of
them. Maybe when autoconf goes away, we can do a build check in cmake
and xcode can just hardcode -DPIPE2_SUPPORTED=0, since it is only used
on darwin anyway.

On 10 September 2015 at 06:51, Joerg Sonnenberger via lldb-commits
<lldb-commits at lists.llvm.org> wrote:
> On Thu, Sep 10, 2015 at 01:15:43AM +0000, Kamil Rytarowski wrote:
>> Linux and NetBSD versions are compatible, modulo flag values:
>> - O_CLOEXEC and O_NONBLOCK are the same,
>> - O_NOSIGPIPE on NetBSD,
>> - O_DIRECT on Linux.
>
> I wonder why we don't just detect this via appropiate build test.
> There should be no need to hard-code supported platforms here.
>
> Joerg
> _______________________________________________
> lldb-commits mailing list
> lldb-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits


More information about the lldb-commits mailing list