[Lldb-commits] [PATCH] D31031: Move GetAuxvData from Host to relevant process plugins
Pavel Labath via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Thu Mar 16 07:29:22 PDT 2017
labath created this revision.
Herald added subscribers: mgorny, srhines.
GetAuxvData was causing dependencies from host to target and linux
process modules. It also does not fit netbsd use case, as there we can
only read the auxiliary vector with ptrace, which is better done in the
process plugin, with the other ptrace calls.
I resolve these issues by moving the freebsd and linux versions into the
relevant process plugins. In case of linux, this required adding an
interface in NativeProcessProtocol. The empty definitions on other
platforms can simply be removed.
To get the code compiling I had to add ProcessGdbRemote -> ProcessLinux
dependency, which was not caught before because we depended on it
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 12675 bytes
Desc: not available
More information about the lldb-commits