mirror of
https://github.com/intel/llvm.git
synced 2026-01-16 05:32:28 +08:00
[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
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user