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

2015-09-14 Thread Ed Maste via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL247568: The pipe2(2) call is supported on NetBSD (authored by emaste). Changed prior to commit: http://reviews.llvm.org/D12746?vs=34512&id=34674#toc Repository: rL LLVM http://reviews.llvm.org/D1274

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

2015-09-14 Thread Kamil Rytarowski via lldb-commits
krytarowski added a comment. Please commit it if it's OK. Repository: rL LLVM http://reviews.llvm.org/D12746 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

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

2015-09-10 Thread Kamil Rytarowski via lldb-commits
krytarowski updated this revision to Diff 34512. krytarowski added a comment. rediff the comment Repository: rL LLVM http://reviews.llvm.org/D12746 Files: source/Host/posix/PipePosix.cpp Index: source/Host/posix/PipePosix.cpp ===

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

2015-09-10 Thread Kamil Rytarowski via lldb-commits
krytarowski added inline comments. Comment at: source/Host/posix/PipePosix.cpp:39 @@ -38,3 +38,3 @@ -// pipe2 is supported by Linux, FreeBSD v10 and higher. +// pipe2 is supported by Linux, FreeBSD v10 and higher, NetBSD 6.0 and newer // TODO: Add more platforms that support pi

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

2015-09-10 Thread Ed Maste via lldb-commits
emaste added a subscriber: emaste. Comment at: source/Host/posix/PipePosix.cpp:39 @@ -38,3 +38,3 @@ -// pipe2 is supported by Linux, FreeBSD v10 and higher. +// pipe2 is supported by Linux, FreeBSD v10 and higher, NetBSD 6.0 and newer // TODO: Add more platforms that support pi

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

2015-09-10 Thread Pavel Labath via lldb-commits
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 1

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

2015-09-09 Thread Joerg Sonnenberger via lldb-commits
On Thu, Sep 10, 2015 at 01:15:43AM +, 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 sho

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

2015-09-09 Thread Kamil Rytarowski via lldb-commits
krytarowski created this revision. krytarowski added a reviewer: joerg. krytarowski added a subscriber: lldb-commits. krytarowski set the repository for this revision to rL LLVM. Linux and NetBSD versions are compatible, modulo flag values: - O_CLOEXEC and O_NONBLOCK are the same, - O_NOSIGPIPE on