LLDB  mainline
Public Member Functions | Private Member Functions | Private Attributes | List of all members
lldb_private::TargetProperties Class Reference

#include <Target.h>

Inheritance diagram for lldb_private::TargetProperties:
Inheritance graph
[legend]
Collaboration diagram for lldb_private::TargetProperties:
Collaboration graph
[legend]

Public Member Functions

 TargetProperties (Target *target)
 
 ~TargetProperties () override
 
ArchSpec GetDefaultArchitecture () const
 
void SetDefaultArchitecture (const ArchSpec &arch)
 
bool GetMoveToNearestCode () const
 
lldb::DynamicValueType GetPreferDynamicValue () const
 
bool SetPreferDynamicValue (lldb::DynamicValueType d)
 
bool GetPreloadSymbols () const
 
void SetPreloadSymbols (bool b)
 
bool GetDisableASLR () const
 
void SetDisableASLR (bool b)
 
bool GetInheritTCC () const
 
void SetInheritTCC (bool b)
 
bool GetDetachOnError () const
 
void SetDetachOnError (bool b)
 
bool GetDisableSTDIO () const
 
void SetDisableSTDIO (bool b)
 
const char * GetDisassemblyFlavor () const
 
InlineStrategy GetInlineStrategy () const
 
llvm::StringRef GetArg0 () const
 
void SetArg0 (llvm::StringRef arg)
 
bool GetRunArguments (Args &args) const
 
void SetRunArguments (const Args &args)
 
Environment GetEnvironment () const
 
Environment GetInheritedEnvironment () const
 
Environment GetTargetEnvironment () const
 
void SetEnvironment (Environment env)
 
bool GetSkipPrologue () const
 
PathMappingListGetSourcePathMap () const
 
FileSpecList GetExecutableSearchPaths ()
 
void AppendExecutableSearchPaths (const FileSpec &)
 
FileSpecList GetDebugFileSearchPaths ()
 
FileSpecList GetClangModuleSearchPaths ()
 
bool GetEnableAutoImportClangModules () const
 
ImportStdModule GetImportStdModule () const
 
bool GetEnableAutoApplyFixIts () const
 
uint64_t GetNumberOfRetriesWithFixits () const
 
bool GetEnableNotifyAboutFixIts () const
 
bool GetEnableSaveObjects () const
 
bool GetEnableSyntheticValue () const
 
uint32_t GetMaxZeroPaddingInFloatFormat () const
 
uint32_t GetMaximumNumberOfChildrenToDisplay () const
 
uint32_t GetMaximumSizeOfStringSummary () const
 
uint32_t GetMaximumMemReadSize () const
 
FileSpec GetStandardInputPath () const
 
FileSpec GetStandardErrorPath () const
 
FileSpec GetStandardOutputPath () const
 
void SetStandardInputPath (llvm::StringRef path)
 
void SetStandardOutputPath (llvm::StringRef path)
 
void SetStandardErrorPath (llvm::StringRef path)
 
void SetStandardInputPath (const char *path)=delete
 
void SetStandardOutputPath (const char *path)=delete
 
void SetStandardErrorPath (const char *path)=delete
 
bool GetBreakpointsConsultPlatformAvoidList ()
 
lldb::LanguageType GetLanguage () const
 
llvm::StringRef GetExpressionPrefixContents ()
 
uint64_t GetExprErrorLimit () const
 
bool GetUseHexImmediates () const
 
bool GetUseFastStepping () const
 
bool GetDisplayExpressionsInCrashlogs () const
 
LoadScriptFromSymFile GetLoadScriptFromSymbolFile () const
 
LoadCWDlldbinitFile GetLoadCWDlldbinitFile () const
 
Disassembler::HexImmediateStyle GetHexImmediateStyle () const
 
MemoryModuleLoadLevel GetMemoryModuleLoadLevel () const
 
bool GetUserSpecifiedTrapHandlerNames (Args &args) const
 
void SetUserSpecifiedTrapHandlerNames (const Args &args)
 
bool GetNonStopModeEnabled () const
 
void SetNonStopModeEnabled (bool b)
 
bool GetDisplayRuntimeSupportValues () const
 
void SetDisplayRuntimeSupportValues (bool b)
 
bool GetDisplayRecognizedArguments () const
 
void SetDisplayRecognizedArguments (bool b)
 
const ProcessLaunchInfoGetProcessLaunchInfo () const
 
void SetProcessLaunchInfo (const ProcessLaunchInfo &launch_info)
 
bool GetInjectLocalVariables (ExecutionContext *exe_ctx) const
 
void SetInjectLocalVariables (ExecutionContext *exe_ctx, bool b)
 
void SetRequireHardwareBreakpoints (bool b)
 
bool GetRequireHardwareBreakpoints () const
 
bool GetAutoInstallMainExecutable () const
 
void UpdateLaunchInfoFromProperties ()
 
void SetDebugUtilityExpression (bool debug)
 
bool GetDebugUtilityExpression () const
 
- Public Member Functions inherited from lldb_private::Properties
 Properties ()=default
 
 Properties (const lldb::OptionValuePropertiesSP &collection_sp)
 
virtual ~Properties ()=default
 
virtual lldb::OptionValuePropertiesSP GetValueProperties () const
 
virtual lldb::OptionValueSP GetPropertyValue (const ExecutionContext *exe_ctx, llvm::StringRef property_path, bool will_modify, Status &error) const
 
virtual Status SetPropertyValue (const ExecutionContext *exe_ctx, VarSetOperationType op, llvm::StringRef property_path, llvm::StringRef value)
 
virtual Status DumpPropertyValue (const ExecutionContext *exe_ctx, Stream &strm, llvm::StringRef property_path, uint32_t dump_mask)
 
virtual void DumpAllPropertyValues (const ExecutionContext *exe_ctx, Stream &strm, uint32_t dump_mask)
 
virtual void DumpAllDescriptions (CommandInterpreter &interpreter, Stream &strm) const
 
size_t Apropos (llvm::StringRef keyword, std::vector< const Property * > &matching_properties) const
 
lldb::OptionValuePropertiesSP GetSubProperty (const ExecutionContext *exe_ctx, ConstString name)
 

Private Member Functions

void Arg0ValueChangedCallback ()
 
void RunArgsValueChangedCallback ()
 
void EnvVarsValueChangedCallback ()
 
void InputPathValueChangedCallback ()
 
void OutputPathValueChangedCallback ()
 
void ErrorPathValueChangedCallback ()
 
void DetachOnErrorValueChangedCallback ()
 
void DisableASLRValueChangedCallback ()
 
void InheritTCCValueChangedCallback ()
 
void DisableSTDIOValueChangedCallback ()
 
Environment ComputeEnvironment () const
 

Private Attributes

ProcessLaunchInfo m_launch_info
 
std::unique_ptr< TargetExperimentalPropertiesm_experimental_properties_up
 
Targetm_target
 

Additional Inherited Members

- Static Public Member Functions inherited from lldb_private::Properties
static const char * GetExperimentalSettingsName ()
 
static bool IsSettingExperimental (llvm::StringRef setting)
 
- Protected Attributes inherited from lldb_private::Properties
lldb::OptionValuePropertiesSP m_collection_sp
 

Detailed Description

Definition at line 77 of file Target.h.

Constructor & Destructor Documentation

◆ TargetProperties()

TargetProperties::TargetProperties ( Target target)

◆ ~TargetProperties()

TargetProperties::~TargetProperties ( )
overridedefault

Member Function Documentation

◆ AppendExecutableSearchPaths()

void TargetProperties::AppendExecutableSearchPaths ( const FileSpec dir)

◆ Arg0ValueChangedCallback()

void TargetProperties::Arg0ValueChangedCallback ( )
private

◆ ComputeEnvironment()

Environment TargetProperties::ComputeEnvironment ( ) const
private

◆ DetachOnErrorValueChangedCallback()

void TargetProperties::DetachOnErrorValueChangedCallback ( )
private

◆ DisableASLRValueChangedCallback()

void TargetProperties::DisableASLRValueChangedCallback ( )
private

◆ DisableSTDIOValueChangedCallback()

void TargetProperties::DisableSTDIOValueChangedCallback ( )
private

◆ EnvVarsValueChangedCallback()

void TargetProperties::EnvVarsValueChangedCallback ( )
private

◆ ErrorPathValueChangedCallback()

void TargetProperties::ErrorPathValueChangedCallback ( )
private

◆ GetArg0()

llvm::StringRef TargetProperties::GetArg0 ( ) const

◆ GetAutoInstallMainExecutable()

bool TargetProperties::GetAutoInstallMainExecutable ( ) const

Definition at line 4344 of file Target.cpp.

References lldb_private::Properties::m_collection_sp.

Referenced by lldb_private::Target::Install().

◆ GetBreakpointsConsultPlatformAvoidList()

bool TargetProperties::GetBreakpointsConsultPlatformAvoidList ( )

◆ GetClangModuleSearchPaths()

FileSpecList TargetProperties::GetClangModuleSearchPaths ( )

◆ GetDebugFileSearchPaths()

FileSpecList TargetProperties::GetDebugFileSearchPaths ( )

◆ GetDebugUtilityExpression()

bool TargetProperties::GetDebugUtilityExpression ( ) const

◆ GetDefaultArchitecture()

ArchSpec TargetProperties::GetDefaultArchitecture ( ) const

◆ GetDetachOnError()

bool TargetProperties::GetDetachOnError ( ) const

◆ GetDisableASLR()

bool TargetProperties::GetDisableASLR ( ) const

◆ GetDisableSTDIO()

bool TargetProperties::GetDisableSTDIO ( ) const

◆ GetDisassemblyFlavor()

const char * TargetProperties::GetDisassemblyFlavor ( ) const

◆ GetDisplayExpressionsInCrashlogs()

bool TargetProperties::GetDisplayExpressionsInCrashlogs ( ) const

Definition at line 4228 of file Target.cpp.

References lldb_private::Properties::m_collection_sp.

Referenced by lldb::SBFrame::EvaluateExpression().

◆ GetDisplayRecognizedArguments()

bool TargetProperties::GetDisplayRecognizedArguments ( ) const

Definition at line 4281 of file Target.cpp.

References lldb_private::Properties::m_collection_sp.

◆ GetDisplayRuntimeSupportValues()

bool TargetProperties::GetDisplayRuntimeSupportValues ( ) const

Definition at line 4271 of file Target.cpp.

References lldb_private::Properties::m_collection_sp.

Referenced by lldb::SBFrame::GetVariables().

◆ GetEnableAutoApplyFixIts()

bool TargetProperties::GetEnableAutoApplyFixIts ( ) const

Definition at line 4096 of file Target.cpp.

References lldb_private::Properties::m_collection_sp.

◆ GetEnableAutoImportClangModules()

bool TargetProperties::GetEnableAutoImportClangModules ( ) const

◆ GetEnableNotifyAboutFixIts()

bool TargetProperties::GetEnableNotifyAboutFixIts ( ) const

◆ GetEnableSaveObjects()

bool TargetProperties::GetEnableSaveObjects ( ) const

Definition at line 4114 of file Target.cpp.

References lldb_private::Properties::m_collection_sp.

◆ GetEnableSyntheticValue()

bool TargetProperties::GetEnableSyntheticValue ( ) const

Definition at line 4120 of file Target.cpp.

References lldb_private::Properties::m_collection_sp.

◆ GetEnvironment()

Environment TargetProperties::GetEnvironment ( ) const

◆ GetExecutableSearchPaths()

FileSpecList TargetProperties::GetExecutableSearchPaths ( )

◆ GetExprErrorLimit()

uint64_t TargetProperties::GetExprErrorLimit ( ) const

Definition at line 4204 of file Target.cpp.

References lldb_private::Properties::m_collection_sp.

◆ GetExpressionPrefixContents()

llvm::StringRef TargetProperties::GetExpressionPrefixContents ( )

◆ GetHexImmediateStyle()

Disassembler::HexImmediateStyle TargetProperties::GetHexImmediateStyle ( ) const

◆ GetImportStdModule()

ImportStdModule TargetProperties::GetImportStdModule ( ) const

◆ GetInheritedEnvironment()

Environment TargetProperties::GetInheritedEnvironment ( ) const

◆ GetInheritTCC()

bool TargetProperties::GetInheritTCC ( ) const

◆ GetInjectLocalVariables()

bool TargetProperties::GetInjectLocalVariables ( ExecutionContext exe_ctx) const

◆ GetInlineStrategy()

InlineStrategy TargetProperties::GetInlineStrategy ( ) const

◆ GetLanguage()

LanguageType TargetProperties::GetLanguage ( ) const

◆ GetLoadCWDlldbinitFile()

LoadCWDlldbinitFile TargetProperties::GetLoadCWDlldbinitFile ( ) const

Definition at line 4241 of file Target.cpp.

References lldb_private::Properties::m_collection_sp.

◆ GetLoadScriptFromSymbolFile()

LoadScriptFromSymFile TargetProperties::GetLoadScriptFromSymbolFile ( ) const

Definition at line 4234 of file Target.cpp.

References lldb_private::Properties::m_collection_sp.

◆ GetMaximumMemReadSize()

uint32_t TargetProperties::GetMaximumMemReadSize ( ) const

◆ GetMaximumNumberOfChildrenToDisplay()

uint32_t TargetProperties::GetMaximumNumberOfChildrenToDisplay ( ) const

Definition at line 4132 of file Target.cpp.

References lldb_private::Properties::m_collection_sp.

◆ GetMaximumSizeOfStringSummary()

uint32_t TargetProperties::GetMaximumSizeOfStringSummary ( ) const

◆ GetMaxZeroPaddingInFloatFormat()

uint32_t TargetProperties::GetMaxZeroPaddingInFloatFormat ( ) const

Definition at line 4126 of file Target.cpp.

References lldb_private::Properties::m_collection_sp.

◆ GetMemoryModuleLoadLevel()

MemoryModuleLoadLevel TargetProperties::GetMemoryModuleLoadLevel ( ) const

Definition at line 4254 of file Target.cpp.

References lldb_private::Properties::m_collection_sp.

Referenced by ObjectFileMachO::ParseSymtab().

◆ GetMoveToNearestCode()

bool TargetProperties::GetMoveToNearestCode ( ) const

◆ GetNonStopModeEnabled()

bool TargetProperties::GetNonStopModeEnabled ( ) const

◆ GetNumberOfRetriesWithFixits()

uint64_t TargetProperties::GetNumberOfRetriesWithFixits ( ) const

Definition at line 4102 of file Target.cpp.

References lldb_private::Properties::m_collection_sp.

◆ GetPreferDynamicValue()

lldb::DynamicValueType TargetProperties::GetPreferDynamicValue ( ) const

◆ GetPreloadSymbols()

bool TargetProperties::GetPreloadSymbols ( ) const

◆ GetProcessLaunchInfo()

const ProcessLaunchInfo & TargetProperties::GetProcessLaunchInfo ( ) const

◆ GetRequireHardwareBreakpoints()

bool TargetProperties::GetRequireHardwareBreakpoints ( ) const

Definition at line 4333 of file Target.cpp.

References lldb_private::Properties::m_collection_sp.

◆ GetRunArguments()

bool TargetProperties::GetRunArguments ( Args args) const

◆ GetSkipPrologue()

bool TargetProperties::GetSkipPrologue ( ) const

◆ GetSourcePathMap()

PathMappingList & TargetProperties::GetSourcePathMap ( ) const

◆ GetStandardErrorPath()

FileSpec TargetProperties::GetStandardErrorPath ( ) const

◆ GetStandardInputPath()

FileSpec TargetProperties::GetStandardInputPath ( ) const

◆ GetStandardOutputPath()

FileSpec TargetProperties::GetStandardOutputPath ( ) const

◆ GetTargetEnvironment()

Environment TargetProperties::GetTargetEnvironment ( ) const

Definition at line 4016 of file Target.cpp.

References lldb_private::Properties::m_collection_sp.

◆ GetUseFastStepping()

bool TargetProperties::GetUseFastStepping ( ) const

◆ GetUseHexImmediates()

bool TargetProperties::GetUseHexImmediates ( ) const

◆ GetUserSpecifiedTrapHandlerNames()

bool TargetProperties::GetUserSpecifiedTrapHandlerNames ( Args args) const

◆ InheritTCCValueChangedCallback()

void TargetProperties::InheritTCCValueChangedCallback ( )
private

◆ InputPathValueChangedCallback()

void TargetProperties::InputPathValueChangedCallback ( )
private

◆ OutputPathValueChangedCallback()

void TargetProperties::OutputPathValueChangedCallback ( )
private

◆ RunArgsValueChangedCallback()

void TargetProperties::RunArgsValueChangedCallback ( )
private

◆ SetArg0()

void TargetProperties::SetArg0 ( llvm::StringRef  arg)

◆ SetDebugUtilityExpression()

void TargetProperties::SetDebugUtilityExpression ( bool  debug)

Definition at line 4413 of file Target.cpp.

References lldb_private::Properties::m_collection_sp.

◆ SetDefaultArchitecture()

void TargetProperties::SetDefaultArchitecture ( const ArchSpec arch)

◆ SetDetachOnError()

void TargetProperties::SetDetachOnError ( bool  b)

Definition at line 3899 of file Target.cpp.

References lldb_private::Properties::m_collection_sp.

Referenced by SetProcessLaunchInfo().

◆ SetDisableASLR()

void TargetProperties::SetDisableASLR ( bool  b)

Definition at line 3877 of file Target.cpp.

References lldb_private::Properties::m_collection_sp.

Referenced by SetProcessLaunchInfo().

◆ SetDisableSTDIO()

void TargetProperties::SetDisableSTDIO ( bool  b)

Definition at line 3910 of file Target.cpp.

References lldb_private::Properties::m_collection_sp.

Referenced by SetProcessLaunchInfo().

◆ SetDisplayRecognizedArguments()

void TargetProperties::SetDisplayRecognizedArguments ( bool  b)

Definition at line 4286 of file Target.cpp.

References lldb_private::Properties::m_collection_sp.

◆ SetDisplayRuntimeSupportValues()

void TargetProperties::SetDisplayRuntimeSupportValues ( bool  b)

Definition at line 4276 of file Target.cpp.

References lldb_private::Properties::m_collection_sp.

◆ SetEnvironment()

void TargetProperties::SetEnvironment ( Environment  env)

Definition at line 4027 of file Target.cpp.

References lldb_private::Properties::m_collection_sp.

Referenced by SetProcessLaunchInfo().

◆ SetInheritTCC()

void TargetProperties::SetInheritTCC ( bool  b)

Definition at line 3888 of file Target.cpp.

References lldb_private::Properties::m_collection_sp.

Referenced by SetProcessLaunchInfo().

◆ SetInjectLocalVariables()

void TargetProperties::SetInjectLocalVariables ( ExecutionContext exe_ctx,
bool  b 
)

◆ SetNonStopModeEnabled()

void TargetProperties::SetNonStopModeEnabled ( bool  b)

◆ SetPreferDynamicValue()

bool TargetProperties::SetPreferDynamicValue ( lldb::DynamicValueType  d)

◆ SetPreloadSymbols()

void TargetProperties::SetPreloadSymbols ( bool  b)

Definition at line 3866 of file Target.cpp.

References lldb_private::Properties::m_collection_sp.

◆ SetProcessLaunchInfo()

void TargetProperties::SetProcessLaunchInfo ( const ProcessLaunchInfo launch_info)

◆ SetRequireHardwareBreakpoints()

void TargetProperties::SetRequireHardwareBreakpoints ( bool  b)

Definition at line 4339 of file Target.cpp.

References lldb_private::Properties::m_collection_sp.

◆ SetRunArguments()

void TargetProperties::SetRunArguments ( const Args args)

◆ SetStandardErrorPath() [1/2]

void lldb_private::TargetProperties::SetStandardErrorPath ( const char *  path)
delete

◆ SetStandardErrorPath() [2/2]

void TargetProperties::SetStandardErrorPath ( llvm::StringRef  path)

Definition at line 4175 of file Target.cpp.

References lldb_private::Properties::m_collection_sp.

Referenced by SetProcessLaunchInfo().

◆ SetStandardInputPath() [1/2]

void lldb_private::TargetProperties::SetStandardInputPath ( const char *  path)
delete

◆ SetStandardInputPath() [2/2]

void TargetProperties::SetStandardInputPath ( llvm::StringRef  path)

Definition at line 4155 of file Target.cpp.

References lldb_private::Properties::m_collection_sp.

Referenced by SetProcessLaunchInfo().

◆ SetStandardOutputPath() [1/2]

void lldb_private::TargetProperties::SetStandardOutputPath ( const char *  path)
delete

◆ SetStandardOutputPath() [2/2]

void TargetProperties::SetStandardOutputPath ( llvm::StringRef  path)

Definition at line 4165 of file Target.cpp.

References lldb_private::Properties::m_collection_sp.

Referenced by SetProcessLaunchInfo().

◆ SetUserSpecifiedTrapHandlerNames()

void TargetProperties::SetUserSpecifiedTrapHandlerNames ( const Args args)

Definition at line 4266 of file Target.cpp.

References lldb_private::Properties::m_collection_sp.

◆ UpdateLaunchInfoFromProperties()

void TargetProperties::UpdateLaunchInfoFromProperties ( )

Member Data Documentation

◆ m_experimental_properties_up

std::unique_ptr<TargetExperimentalProperties> lldb_private::TargetProperties::m_experimental_properties_up
private

Definition at line 258 of file Target.h.

Referenced by TargetProperties().

◆ m_launch_info

ProcessLaunchInfo lldb_private::TargetProperties::m_launch_info
private

◆ m_target

Target* lldb_private::TargetProperties::m_target
private

Definition at line 259 of file Target.h.

Referenced by ComputeEnvironment(), and GetInheritedEnvironment().


The documentation for this class was generated from the following files: