llvm-project/lldb
Jonas Devlieghere 26ba928214 [target] Change target create's behavior wrt loading dependent files.
When creating a target, lldb loads all dependent files (i.e. libs in
LC_LOAD_DYLIB for Mach-O). This can be confusing, especially when two
versions of the same library end up in the shared cache. It's possible
to change this behavior, by specifying  target create -d <target> these
dependents are not loaded.

This patch changes the default behavior to only load dependent files
only when the target is an executable. When creating a target for a
library, it is now no longer necessary to pass -d. The user can still
override this behavior by specifying the -d option to change this
behavior.

rdar://problem/43721382

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

llvm-svn: 342634
2018-09-20 09:09:13 +00:00
..
cmake [cmake] Add option to skip building lldb-server 2018-08-23 18:05:45 +00:00
docs
examples Update cmdtemplate.py to use best pratices. 2018-06-22 23:34:24 +00:00
include/lldb [NFC] Turn "load dependent files" boolean into an enum 2018-09-20 09:09:05 +00:00
lit [lldb-mi] Correct regex in the symbol-list-lines test 2018-09-15 17:05:20 +00:00
lldb.xcodeproj [DataFormatters] Add formatter for C++17 std::variant 2018-09-19 18:07:05 +00:00
lldb.xcworkspace
packages/Python/lldbsuite [target] Change target create's behavior wrt loading dependent files. 2018-09-20 09:09:13 +00:00
resources Fix up Info.plist when building LLDB.framework with CMake 2018-06-19 02:59:30 +00:00
scripts Add a "scripted" breakpoint type to lldb. 2018-09-13 21:35:32 +00:00
source [target] Change target create's behavior wrt loading dependent files. 2018-09-20 09:09:13 +00:00
test Allow use of self.filecheck in LLDB tests (c.f self.expect) 2018-09-18 19:31:47 +00:00
third_party/Python/module
tools [NFC] Turn "load dependent files" boolean into an enum 2018-09-20 09:09:05 +00:00
unittests Add support for descriptions with command completions. 2018-09-13 21:26:00 +00:00
utils
www Add docs for scripted breakpoint resolvers 2018-09-17 21:55:46 +00:00
.arcconfig
.clang-format
.gitignore
CMakeLists.txt Allow use of self.filecheck in LLDB tests (c.f self.expect) 2018-09-18 19:31:47 +00:00
CODE_OWNERS.txt Fix/unify the spelling of Objective-C. 2018-06-13 16:21:24 +00:00
INSTALL.txt
LICENSE.TXT
use_lldb_suite_root.py