llvm-project/lldb/source/Host
Pavel Labath 33b51e87e1 [linux] Use cmake to detect support process_vm_readv (bug #23918)
Summary:
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.

Test Plan: linux test suite passes

Reviewers: ovyalov, Eugene.Zelenko

Subscribers: tberghammer, lldb-commits

Differential Revision: http://reviews.llvm.org/D10727

llvm-svn: 240927
2015-06-29 09:18:17 +00:00
..
android [linux] Use cmake to detect support process_vm_readv (bug #23918) 2015-06-29 09:18:17 +00:00
common [LLDB][MIPS] MIPS32 branch emulation and single-stepping 2015-06-23 03:37:08 +00:00
freebsd Add NameMatches.h header to fix FreeBSD build after r232673 2015-03-19 02:47:36 +00:00
linux [linux] Use cmake to detect support process_vm_readv (bug #23918) 2015-06-29 09:18:17 +00:00
macosx Fix a variety of typos. 2015-06-18 05:27:05 +00:00
posix Replace `rm -rf` with more portable implementation. 2015-06-27 23:11:34 +00:00
windows Don't close handle returned by _get_osfhandle. 2015-06-01 18:52:16 +00:00
CMakeLists.txt [linux] Use cmake to detect support process_vm_readv (bug #23918) 2015-06-29 09:18:17 +00:00
Makefile Fix configure+make build broken by r228943 2015-02-13 10:39:23 +00:00