[Lldb-commits] [PATCH] D35881: Expose process instance info via SB API

Vadim Macagon via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Jul 26 02:10:25 PDT 2017


enlight created this revision.
Herald added a subscriber: mgorny.

Implement `SBProcessInfo` to wrap `lldb_private::ProcessInstanceInfo`, and add `SBProcess::GetProcessInfo()` to retrieve info like parent ID, group ID, user ID etc. from a live process.


Repository:
  rL LLVM

https://reviews.llvm.org/D35881

Files:
  include/lldb/API/LLDB.h
  include/lldb/API/SBDefines.h
  include/lldb/API/SBFileSpec.h
  include/lldb/API/SBProcess.h
  include/lldb/API/SBProcessInfo.h
  packages/Python/lldbsuite/test/python_api/default-constructor/TestDefaultConstructorForAPIObjects.py
  packages/Python/lldbsuite/test/python_api/default-constructor/sb_process_info.py
  packages/Python/lldbsuite/test/python_api/process/TestProcessAPI.py
  scripts/interface/SBProcess.i
  scripts/interface/SBProcessInfo.i
  scripts/lldb.swig
  source/API/CMakeLists.txt
  source/API/SBProcess.cpp
  source/API/SBProcessInfo.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35881.108228.patch
Type: text/x-patch
Size: 16035 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20170726/50ab44ff/attachment-0001.bin>


More information about the lldb-commits mailing list