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 Enable AUTOBRIEF in doxygen configuration. 2018-05-02 16:55:16 +00:00
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 Fix a typo in the gtest build target for Debug configuration. 2018-04-10 17:49:56 +00:00
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 *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
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 [CMake] Unify and relayer testing 2018-05-03 16:54:10 +00:00
www Add docs for scripted breakpoint resolvers 2018-09-17 21:55:46 +00:00
.arcconfig
.clang-format Updated .clang-format rules so bring LLDB in line with LLVM standards. 2016-09-06 17:19:00 +00:00
.gitignore [dotest] Remove crashinfo hook 2018-01-10 10:18:47 +00:00
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 Changed builld-llvm.py to use .json files 2017-02-23 02:21:34 +00:00
LICENSE.TXT
use_lldb_suite_root.py *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00