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

Pavel Labath labath at google.com
Thu Jun 25 03:01:02 PDT 2015


Hi ovyalov, Eugene.Zelenko,

Some old linux versions do not have process_vm_readv function defined. Even older versions do not
have even the __NR_process_vm_readv syscall number. We use cmake to detect these situations and
fallback appropriately: in the first case, we can issue the syscall manually, while it the latter
case, we need to drop fast memory read support completely.

http://reviews.llvm.org/D10727

Files:
  cmake/modules/LLDBConfig.cmake
  include/lldb/Host/linux/Uio.h
  source/Host/CMakeLists.txt
  source/Host/android/LibcGlue.cpp
  source/Host/linux/LibcGlue.cpp

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10727.28442.patch
Type: text/x-patch
Size: 4231 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150625/6e681e1a/attachment.bin>


More information about the lldb-commits mailing list