aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectProcess.cpp
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2018-09-20 09:09:05 +0000
committerJonas Devlieghere <jonas@devlieghere.com>2018-09-20 09:09:05 +0000
commitf9a07e9f8debaf28d289d1fc0403f9f06043d977 (patch)
tree182808c60c3c6380befb1842e660306a75575eed /lldb/source/Commands/CommandObjectProcess.cpp
parentcd53b7f54efb22c6bf52cab1fbf95805033ca018 (diff)
downloadllvm-f9a07e9f8debaf28d289d1fc0403f9f06043d977.zip
llvm-f9a07e9f8debaf28d289d1fc0403f9f06043d977.tar.gz
llvm-f9a07e9f8debaf28d289d1fc0403f9f06043d977.tar.bz2
[NFC] Turn "load dependent files" boolean into an enum
This is an NFC commit to refactor the "load dependent files" parameter from a boolean to an enum value. We want to be able to specify a default, in which case we decide whether or not to load the dependent files based on whether the target is an executable or not (i.e. a dylib). This is a dependency for D51934. Differential revision: https://reviews.llvm.org/D51859 llvm-svn: 342633
Diffstat (limited to 'lldb/source/Commands/CommandObjectProcess.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectProcess.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectProcess.cpp b/lldb/source/Commands/CommandObjectProcess.cpp
index 68d1928..68d0664 100644
--- a/lldb/source/Commands/CommandObjectProcess.cpp
+++ b/lldb/source/Commands/CommandObjectProcess.cpp
@@ -459,7 +459,7 @@ protected:
Status error;
error = m_interpreter.GetDebugger().GetTargetList().CreateTarget(
- m_interpreter.GetDebugger(), "", "", false,
+ m_interpreter.GetDebugger(), "", "", eLoadDependentsNo,
nullptr, // No platform options
new_target_sp);
target = new_target_sp.get();