[Lldb-commits] [PATCH] [linux] Use cmake to detect support process_vm_readv (bug #23918)

Eugene Zelenko eugene.zelenko at gmail.com
Fri Jun 26 10:43:36 PDT 2015


source/Host/linux/LibcGlue.cpp also need to include #include <unistd.h> (for syscall() prototype). Sorry, I didn't catch it yesterday because I incorrectly applied ifndef.

Man page tells to define #define _GNU_SOURCE before #include <unistd.h>.

I'm not sure, but probably macro should start from HAS, not HAVE, since they are about operation system.


http://reviews.llvm.org/D10727

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the lldb-commits mailing list