Home
last modified time | relevance | path

Searched refs:AddItem (Results 1 – 22 of 22) sorted by relevance

/src/contrib/llvm-project/lldb/include/lldb/Utility/
H A DStructuredData.h267 void AddItem(const ObjectSP &item) { m_items.push_back(item); } in AddItem() function
274 AddItem(std::make_shared<SignedInteger>(value)); in AddIntegerItem()
276 AddItem(std::make_shared<UnsignedInteger>(value)); in AddIntegerItem()
279 void AddFloatItem(double value) { AddItem(std::make_shared<Float>(value)); } in AddFloatItem()
282 AddItem(std::make_shared<String>(std::move(value))); in AddStringItem()
286 AddItem(std::make_shared<Boolean>(value)); in AddBooleanItem()
511 void AddItem(llvm::StringRef key, ObjectSP value_sp) { in AddItem() function
520 AddItem(key, std::make_shared<SignedInteger>(value)); in AddIntegerItem()
522 AddItem(key, std::make_shared<UnsignedInteger>(value)); in AddIntegerItem()
526 AddItem(key, std::make_shared<Float>(value)); in AddFloatItem()
[all …]
/src/contrib/llvm-project/lldb/source/Plugins/InstrumentationRuntime/TSan/
H A DInstrumentationRuntimeTSan.cpp245 array_sp->AddItem(dict_sp); in ConvertToStructuredArray()
350 dict->AddItem("sleep_trace", CreateStackTrace( in RetrieveReportData()
360 dict->AddItem("trace", CreateStackTrace(o)); in RetrieveReportData()
364 dict->AddItem("stacks", stacks); in RetrieveReportData()
390 dict->AddItem("trace", CreateStackTrace(o)); in RetrieveReportData()
392 dict->AddItem("mops", mops); in RetrieveReportData()
422 dict->AddItem("trace", CreateStackTrace(o)); in RetrieveReportData()
426 dict->AddItem("locs", locs); in RetrieveReportData()
443 dict->AddItem("trace", CreateStackTrace(o)); in RetrieveReportData()
445 dict->AddItem("mutexes", mutexes); in RetrieveReportData()
[all …]
/src/contrib/llvm-project/lldb/source/Breakpoint/
H A DBreakpointResolverName.cpp196 names_sp->AddItem(StructuredData::StringSP( in SerializeToStructuredData()
198 name_masks_sp->AddItem(StructuredData::UnsignedIntegerSP( in SerializeToStructuredData()
201 options_dict_sp->AddItem(GetKey(OptionNames::SymbolNameArray), names_sp); in SerializeToStructuredData()
202 options_dict_sp->AddItem(GetKey(OptionNames::NameMaskArray), name_masks_sp); in SerializeToStructuredData()
H A DBreakpointResolverFileRegex.cpp86 names_array_sp->AddItem(item); in SerializeToStructuredData()
88 options_dict_sp->AddItem(GetKey(OptionNames::LineNumber), names_array_sp); in SerializeToStructuredData()
H A DBreakpoint.cpp84 names_array_sp->AddItem( in SerializeToStructuredData()
87 breakpoint_contents_sp->AddItem(Breakpoint::GetKey(OptionNames::Names), in SerializeToStructuredData()
99 breakpoint_contents_sp->AddItem(BreakpointResolver::GetSerializationKey(), in SerializeToStructuredData()
107 breakpoint_contents_sp->AddItem(SearchFilter::GetSerializationKey(), in SerializeToStructuredData()
115 breakpoint_contents_sp->AddItem(BreakpointOptions::GetSerializationKey(), in SerializeToStructuredData()
118 breakpoint_dict_sp->AddItem(GetSerializationKey(), breakpoint_contents_sp); in SerializeToStructuredData()
H A DBreakpointOptions.cpp49 user_source_sp->AddItem(item_sp); in SerializeToStructuredData()
50 options_dict_sp->AddItem(GetKey(OptionNames::UserSource), user_source_sp); in SerializeToStructuredData()
369 options_dict_sp->AddItem( in SerializeToStructuredData()
376 options_dict_sp->AddItem(ThreadSpec::GetSerializationKey(), thread_spec_sp); in SerializeToStructuredData()
H A DBreakpointResolverScripted.cpp93 options_dict_sp->AddItem(GetKey(OptionNames::ScriptArgs), in SerializeToStructuredData()
H A DBreakpointResolver.cpp157 type_dict_sp->AddItem(GetSerializationSubclassOptionsKey(), options_dict_sp); in WrapOptionsDict()
/src/contrib/llvm-project/lldb/source/Core/
H A DSearchFilter.cpp179 type_dict_sp->AddItem(GetSerializationSubclassOptionsKey(), options_dict_sp); in WrapOptionsDict()
195 module_array_sp->AddItem(std::make_shared<StructuredData::String>( in SerializeFileSpecList()
198 options_dict_sp->AddItem(GetKey(name), module_array_sp); in SerializeFileSpecList()
488 module_array_sp->AddItem( in SerializeToStructuredData()
490 options_dict_sp->AddItem(GetKey(OptionNames::ModList), module_array_sp); in SerializeToStructuredData()
/src/contrib/llvm-project/lldb/source/Utility/
H A DStructuredData.cpp92 dict_up->AddItem(key, value_sp); in ParseJSONObject()
101 array_up->AddItem(value_sp); in ParseJSONArray()
/src/contrib/llvm-project/lldb/source/Host/common/
H A DXML.cpp462 array_sp->AddItem(CreatePlistValue(node)); in CreatePlistValue()
480 dict_sp->AddItem(key_name, CreatePlistValue(node)); in CreatePlistValue()
/src/contrib/llvm-project/lldb/source/Plugins/InstrumentationRuntime/MainThreadChecker/
H A DInstrumentationRuntimeMainThreadChecker.cpp147 d->AddItem("trace", trace_sp); in RetrieveReportData()
/src/contrib/llvm-project/lldb/source/API/
H A DSBDebugger.cpp757 dict.AddItem(name, std::move(entry_up)); in AddBoolConfigEntry()
763 array_up->AddItem(std::make_unique<StructuredData::String>(#target)); in AddLLVMTargets()
766 entry_up->AddItem("value", std::move(array_up)); in AddLLVMTargets()
768 dict.AddItem("targets", std::move(entry_up)); in AddLLVMTargets()
/src/contrib/llvm-project/lldb/source/Plugins/InstrumentationRuntime/UBSan/
H A DInstrumentationRuntimeUBSan.cpp178 d->AddItem("trace", trace_sp); in RetrieveReportData()
/src/contrib/llvm-project/lldb/source/Plugins/StructuredData/DarwinLog/
H A DStructuredDataDarwinLog.cpp578 config_sp->AddItem("source-flags", source_flags_sp); in BuildConfigurationData()
595 config_sp->AddItem("filter-rules", json_filter_rules_sp); in BuildConfigurationData()
599 json_filter_rules_sp->AddItem(rule_sp->Serialize()); in BuildConfigurationData()
/src/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/
H A DPythonDataObjects.cpp576 result->AddItem(obj.CreateStructuredObject()); in CreateStructuredArray()
647 result->AddItem(obj.CreateStructuredObject()); in CreateStructuredArray()
760 result->AddItem(key.Str().GetString(), structured_value); in CreateStructuredDictionary()
/src/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DSymbolFileDWARFDebugMap.cpp1302 separate_debug_info_files.AddItem(oso_data); in GetSeparateDebugInfo()
1307 d.AddItem("separate-debug-info-files", in GetSeparateDebugInfo()
H A DSymbolFileDWARF.cpp4282 separate_debug_info_files.AddItem(dwo_data); in GetSeparateDebugInfo()
4287 d.AddItem("separate-debug-info-files", in GetSeparateDebugInfo()
/src/contrib/llvm-project/lldb/source/Target/
H A DTarget.cpp1121 break_store_ptr->AddItem(bkpt_save_sp); in SerializeBreakpointsToFile()
1147 break_store_ptr->AddItem(bkpt_save_sp); in SerializeBreakpointsToFile()
/src/contrib/llvm-project/lldb/source/Interpreter/
H A DCommandInterpreter.cpp1885 m_transcript.AddItem(transcript_item); in HandleCommand()
/src/contrib/llvm-project/lldb/source/Commands/
H A DCommandObjectTarget.cpp1417 list.AddItem( in GetSeparateDebugInfoList()
/src/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/
H A DProcessGDBRemote.cpp3943 args_dict->GetAsDictionary()->AddItem("solib_addresses", addresses); in GetLoadedDynamicLibrariesInfos()