[all-commits] [llvm/llvm-project] 8d3343: [LLDB/API] Expose args and env from SBProcessInfo.

Bruce Mitchener via All-commits all-commits at lists.llvm.org
Fri Jun 4 23:43:26 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8d33437d030af27fff21dd3fd0e66893b0148217
      https://github.com/llvm/llvm-project/commit/8d33437d030af27fff21dd3fd0e66893b0148217
  Author: Bruce Mitchener <bruce.mitchener at gmail.com>
  Date:   2021-06-05 (Sat, 05 Jun 2021)

  Changed paths:
    M lldb/bindings/interface/SBProcessInfo.i
    M lldb/include/lldb/API/SBEnvironment.h
    M lldb/include/lldb/API/SBProcessInfo.h
    M lldb/source/API/SBProcessInfo.cpp
    M lldb/test/API/python_api/process/TestProcessAPI.py

  Log Message:
  -----------
  [LLDB/API] Expose args and env from SBProcessInfo.

This is another step towards implementing the equivalent of
`platform process list` and related functionality.

`uint32_t` is used for the argument count and index despite the
underlying value being `size_t` to be consistent with other
index-based access to arguments.

Differential Revision: https://reviews.llvm.org/D103675




More information about the All-commits mailing list