diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2018-09-20 09:09:13 +0000 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2018-09-20 09:09:13 +0000 |
commit | 26ba928214273cba2d1fb951bd395e6fa74896bb (patch) | |
tree | 88afdd595361559a6de9bdf21298f6310c6adf95 /lldb/packages/Python/lldbsuite/support/seven.py | |
parent | f9a07e9f8debaf28d289d1fc0403f9f06043d977 (diff) | |
download | bcm5719-llvm-26ba928214273cba2d1fb951bd395e6fa74896bb.tar.gz bcm5719-llvm-26ba928214273cba2d1fb951bd395e6fa74896bb.zip |
[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
Diffstat (limited to 'lldb/packages/Python/lldbsuite/support/seven.py')
0 files changed, 0 insertions, 0 deletions