[Lldb-commits] [PATCH] D32787: Fix build error: no viable conversion from returned value of type 'int' to function return type 'sigset_t' (aka '__sigset_t')

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed May 3 02:26:29 PDT 2017


labath requested changes to this revision.
labath added a subscriber: probinson.
labath added a comment.
This revision now requires changes to proceed.

This will not compile on windows, which really is the only branch we expected to have `SIGNAL_POLLING_UNSUPPORTED` set. In this sense Pauls (cc'ed) fix is better, but it does not actually get lldb going on the affected systems. Could one of you guys check whether you really don't have the ppoll syscall (for example, are able to compile a simple program using ppoll (*)). If you really don't have ppoll, then I can hook up cmake so it falls back to pselect. If you do, then I may need a bit more help to debug the cmake detection logic.

thank a lot.

(*) this will do the trick:

  #define _GNU_SOURCE
  #include <poll.h>
  int main() { return ppoll(0, 0, 0, 0); }


Repository:
  rL LLVM

https://reviews.llvm.org/D32787





More information about the lldb-commits mailing list