|
LLDB mainline
|
Global properties used in the LLDB testsuite. More...
#include <Debugger.h>
Public Member Functions | |
| TestingProperties () | |
| bool | GetInjectVarLocListError () const |
| void | SetSafeAutoLoadPaths (FileSpecList paths) |
| Overwrites the testing.safe-auto-load-paths settings. | |
| void | AppendSafeAutoLoadPaths (FileSpec path) |
| Appends a path to the testing.safe-auto-load-paths setting. | |
| Public Member Functions inherited from lldb_private::Properties | |
| Properties () | |
| Properties (const lldb::OptionValuePropertiesSP &collection_sp) | |
| virtual | ~Properties () |
| lldb::OptionValuePropertiesSP | GetValueProperties () const |
| virtual lldb::OptionValueSP | GetPropertyValue (const ExecutionContext *exe_ctx, llvm::StringRef property_path, 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, bool is_json=false) |
| virtual void | DumpAllPropertyValues (const ExecutionContext *exe_ctx, Stream &strm, uint32_t dump_mask, bool is_json=false) |
| virtual void | DumpAllDescriptions (CommandInterpreter &interpreter, Stream &strm) const |
| size_t | Apropos (llvm::StringRef keyword, std::vector< const Property * > &matching_properties) const |
| template<typename T> | |
| T | GetPropertyAtIndexAs (uint32_t idx, T default_value, const ExecutionContext *exe_ctx=nullptr) const |
| template<typename T, typename U = typename std::remove_pointer<T>::type, std::enable_if_t< std::is_pointer_v< T >, bool > = true> | |
| const U * | GetPropertyAtIndexAs (uint32_t idx, const ExecutionContext *exe_ctx=nullptr) const |
| template<typename T> | |
| bool | SetPropertyAtIndex (uint32_t idx, T t, const ExecutionContext *exe_ctx=nullptr) const |
Static Public Member Functions | |
| static TestingProperties & | GetGlobalTestingProperties () |
| Static Public Member Functions inherited from lldb_private::Properties | |
| static llvm::StringRef | GetExperimentalSettingsName () |
| static bool | IsSettingExperimental (llvm::StringRef setting) |
Private Member Functions | |
| FileSpecList | GetSafeAutoLoadPaths () const |
| Callers should use Debugger::GetSafeAutoLoadPaths since it accounts for default paths configured via CMake. | |
Private Attributes | |
| friend | Debugger |
Additional Inherited Members | |
| Protected Attributes inherited from lldb_private::Properties | |
| lldb::OptionValuePropertiesSP | m_collection_sp |
Global properties used in the LLDB testsuite.
Definition at line 76 of file Debugger.h.
| TestingProperties::TestingProperties | ( | ) |
Definition at line 238 of file Debugger.cpp.
References lldb_private::Properties::m_collection_sp.
Referenced by GetGlobalTestingProperties().
| void TestingProperties::AppendSafeAutoLoadPaths | ( | FileSpec | path | ) |
Appends a path to the testing.safe-auto-load-paths setting.
Definition at line 262 of file Debugger.cpp.
References lldb_private::OptionValueFileSpecList::AppendCurrentValue(), and lldb_private::Properties::m_collection_sp.
|
static |
Definition at line 249 of file Debugger.cpp.
References TestingProperties().
Referenced by lldb_private::Debugger::Debugger(), lldb_private::Debugger::GetSafeAutoLoadPaths(), and lldb_private::Variable::Variable().
| bool TestingProperties::GetInjectVarLocListError | ( | ) | const |
Definition at line 243 of file Debugger.cpp.
References lldb_private::Properties::GetPropertyAtIndexAs().
|
private |
Callers should use Debugger::GetSafeAutoLoadPaths since it accounts for default paths configured via CMake.
Definition at line 270 of file Debugger.cpp.
References lldb_private::Properties::GetPropertyAtIndexAs().
| void TestingProperties::SetSafeAutoLoadPaths | ( | FileSpecList | paths | ) |
Overwrites the testing.safe-auto-load-paths settings.
Definition at line 254 of file Debugger.cpp.
References lldb_private::Properties::m_collection_sp, and lldb_private::OptionValueFileSpecList::SetCurrentValue().
|
private |
Definition at line 88 of file Debugger.h.