[lldb] Add a setting to not install the main executable
authorDaniel Kiss <Daniel.Kiss@arm.com>
Tue, 21 Jan 2020 19:24:57 +0000 (19:24 +0000)
committerFrancesco Petrogalli <francesco.petrogalli@arm.com>
Tue, 21 Jan 2020 19:26:18 +0000 (19:26 +0000)
commit95116c591fab993df76bd20cfa74d2d44a1a9cc6
treea7f2aa55174e4c58814e7881fbbaa33739dd5582
parent9bb11785dca6b8ee1edb69b52c936edc95a794f0
[lldb] Add a setting to not install the main executable

Summary:
Add setting target.auto-install-main-executable that controls whether
the main executable should be automatically installed when connected to
a remote platform even if it does not have an explicit install path
specified. The default is true as the current behaviour.

Reviewers: omjavaid, JDevlieghere, srhines, labath, clayborg

Reviewed By: clayborg

Subscribers: kevin.brodsky, lldb-commits, llvm-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D71761
lldb/include/lldb/Target/Target.h
lldb/packages/Python/lldbsuite/test/commands/target/auto-install-main-executable/Makefile [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/commands/target/auto-install-main-executable/TestAutoInstallMainExecutable.py [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/commands/target/auto-install-main-executable/main.cpp [new file with mode: 0644]
lldb/source/Target/Target.cpp
lldb/source/Target/TargetProperties.td