[all-commits] [llvm/llvm-project] 882d8e: [lldb] Make SBTarget::LaunchSimple start form the ...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Wed Aug 5 10:08:47 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 882d8e60dd40c01c74b4e16b02cf7ca02e846434
      https://github.com/llvm/llvm-project/commit/882d8e60dd40c01c74b4e16b02cf7ca02e846434
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2020-08-05 (Wed, 05 Aug 2020)

  Changed paths:
    M lldb/source/API/SBTarget.cpp
    M lldb/test/API/python_api/target/TestTargetAPI.py
    M lldb/test/API/python_api/target/main.c

  Log Message:
  -----------
  [lldb] Make SBTarget::LaunchSimple start form the target's LaunchInfo

Currently SBTarget::LaunchSimple creates a new LaunchInfo which means it
ignores any target properties that have been set. Instead, it should
start from the target's LaunchInfo and populated the specified fields.

Differential revision: https://reviews.llvm.org/D85235


  Commit: 249a1d4f1bed2f2be5781a90b5d4bce8791d338b
      https://github.com/llvm/llvm-project/commit/249a1d4f1bed2f2be5781a90b5d4bce8791d338b
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2020-08-05 (Wed, 05 Aug 2020)

  Changed paths:
    M lldb/include/lldb/Target/Target.h
    M lldb/include/lldb/lldb-enumerations.h
    M lldb/packages/Python/lldbsuite/test/lldbtest.py
    M lldb/source/Commands/CommandObjectProcess.cpp
    M lldb/source/Host/macosx/objcxx/Host.mm
    M lldb/source/Target/Target.cpp
    M lldb/source/Target/TargetProperties.td
    M lldb/test/Shell/lit-lldb-init.in

  Log Message:
  -----------
  [lldb] Add an option to inherit TCC permissions from parent.

Add an option that allows the user to decide to not make the inferior is
responsible for its own TCC permissions. If you don't make the inferior
responsible, it inherits the permissions of its parent. The motivation
is the scenario of running the LLDB test suite from an external hard
drive. If the inferior is responsible, every test needs to be granted
access to the external volume. When the permissions are inherited,
approval needs to be granted only once.

Differential revision: https://reviews.llvm.org/D85237


Compare: https://github.com/llvm/llvm-project/compare/3169d920ccd1...249a1d4f1bed


More information about the All-commits mailing list