| /llvm-project-15.0.7/lldb/tools/debugserver/source/ |
| H A D | JSONGenerator.h | 128 void AddItem(ObjectSP item) { m_items.push_back(item); } in AddItem() function 260 void AddItem(std::string key, ObjectSP value) { in AddItem() function 265 AddItem(key, ObjectSP(new Integer(value))); in AddIntegerItem() 269 AddItem(key, ObjectSP(new Float(value))); in AddFloatItem() 273 AddItem(key, ObjectSP(new String(std::move(value)))); in AddStringItem() 283 AddItem(key, ObjectSP(new String(std::move(strm.str())))); in AddBytesAsHexASCIIString() 285 AddItem(key, ObjectSP(new String())); in AddBytesAsHexASCIIString() 290 AddItem(key, ObjectSP(new Boolean(value))); in AddBooleanItem()
|
| H A D | RNBRemote.cpp | 5468 medata_array_sp->AddItem( in GetJSONThreadsInfo() 5472 thread_dict_sp->AddItem("medata", medata_array_sp); in GetJSONThreadsInfo() 5553 thread_dict_sp->AddItem("registers", registers_dict_sp); in GetJSONThreadsInfo() 5570 memory_array_sp->AddItem(stack_memory_sp); in GetJSONThreadsInfo() 5572 thread_dict_sp->AddItem("memory", memory_array_sp); in GetJSONThreadsInfo() 5576 threads_array_sp->AddItem(thread_dict_sp); in GetJSONThreadsInfo()
|
| /llvm-project-15.0.7/lldb/source/Plugins/InstrumentationRuntime/TSan/ |
| H A D | InstrumentationRuntimeTSan.cpp | 221 trace->AddItem( in CreateStackTrace() 244 array->AddItem(StructuredData::ObjectSP(dict)); in ConvertToStructuredArray() 348 dict->AddItem("sleep_trace", StructuredData::ObjectSP(CreateStackTrace( in RetrieveReportData() 357 dict->AddItem("trace", StructuredData::ObjectSP(CreateStackTrace(o))); in RetrieveReportData() 361 dict->AddItem("stacks", StructuredData::ObjectSP(stacks)); in RetrieveReportData() 386 dict->AddItem("trace", StructuredData::ObjectSP(CreateStackTrace(o))); in RetrieveReportData() 388 dict->AddItem("mops", StructuredData::ObjectSP(mops)); in RetrieveReportData() 422 dict->AddItem("locs", StructuredData::ObjectSP(locs)); in RetrieveReportData() 441 dict->AddItem("mutexes", StructuredData::ObjectSP(mutexes)); in RetrieveReportData() 469 dict->AddItem("threads", StructuredData::ObjectSP(threads)); in RetrieveReportData() [all …]
|
| /llvm-project-15.0.7/lldb/include/lldb/Utility/ |
| H A D | StructuredData.h | 276 void AddItem(const ObjectSP &item) { m_items.push_back(item); } in AddItem() function 504 void AddItem(llvm::StringRef key, ObjectSP value_sp) { in AddItem() function 510 AddItem(key, std::make_shared<Integer>(value)); in AddIntegerItem() 514 AddItem(key, std::make_shared<Float>(value)); in AddFloatItem() 518 AddItem(key, std::make_shared<String>(std::move(value))); in AddStringItem() 522 AddItem(key, std::make_shared<Boolean>(value)); in AddBooleanItem()
|
| /llvm-project-15.0.7/lldb/source/Breakpoint/ |
| H A D | BreakpointResolverName.cpp | 198 names_sp->AddItem(StructuredData::StringSP( in SerializeToStructuredData() 200 name_masks_sp->AddItem(StructuredData::IntegerSP( in SerializeToStructuredData() 203 options_dict_sp->AddItem(GetKey(OptionNames::SymbolNameArray), names_sp); in SerializeToStructuredData() 204 options_dict_sp->AddItem(GetKey(OptionNames::NameMaskArray), name_masks_sp); in SerializeToStructuredData()
|
| H A D | BreakpointResolverFileRegex.cpp | 87 names_array_sp->AddItem(item); in SerializeToStructuredData() 89 options_dict_sp->AddItem(GetKey(OptionNames::LineNumber), names_array_sp); in SerializeToStructuredData()
|
| H A D | Breakpoint.cpp | 92 names_array_sp->AddItem( in SerializeToStructuredData() 95 breakpoint_contents_sp->AddItem(Breakpoint::GetKey(OptionNames::Names), in SerializeToStructuredData() 107 breakpoint_contents_sp->AddItem(BreakpointResolver::GetSerializationKey(), in SerializeToStructuredData() 115 breakpoint_contents_sp->AddItem(SearchFilter::GetSerializationKey(), in SerializeToStructuredData() 123 breakpoint_contents_sp->AddItem(BreakpointOptions::GetSerializationKey(), in SerializeToStructuredData() 126 breakpoint_dict_sp->AddItem(GetSerializationKey(), breakpoint_contents_sp); in SerializeToStructuredData()
|
| H A D | BreakpointOptions.cpp | 49 user_source_sp->AddItem(item_sp); in SerializeToStructuredData() 50 options_dict_sp->AddItem(GetKey(OptionNames::UserSource), user_source_sp); in SerializeToStructuredData() 378 options_dict_sp->AddItem( in SerializeToStructuredData() 385 options_dict_sp->AddItem(ThreadSpec::GetSerializationKey(), thread_spec_sp); in SerializeToStructuredData()
|
| H A D | BreakpointResolverScripted.cpp | 95 options_dict_sp->AddItem(GetKey(OptionNames::ScriptArgs), in SerializeToStructuredData()
|
| H A D | BreakpointResolver.cpp | 156 type_dict_sp->AddItem(GetSerializationSubclassOptionsKey(), options_dict_sp); in WrapOptionsDict()
|
| /llvm-project-15.0.7/lldb/source/Utility/ |
| H A D | StructuredData.cpp | 81 dict_up->AddItem(key, value_sp); in ParseJSONObject() 90 array_up->AddItem(value_sp); in ParseJSONArray()
|
| /llvm-project-15.0.7/lldb/source/Core/ |
| H A D | SearchFilter.cpp | 179 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()
|
| /llvm-project-15.0.7/lldb/source/Plugins/InstrumentationRuntime/MainThreadChecker/ |
| H A D | InstrumentationRuntimeMainThreadChecker.cpp | 134 trace->AddItem(StructuredData::ObjectSP(new StructuredData::Integer(PC))); in RetrieveReportData() 146 d->AddItem("trace", trace_sp); in RetrieveReportData()
|
| /llvm-project-15.0.7/lldb/source/Plugins/InstrumentationRuntime/UBSan/ |
| H A D | InstrumentationRuntimeUBSan.cpp | 157 trace->AddItem(StructuredData::ObjectSP(new StructuredData::Integer(PC))); in RetrieveReportData() 178 d->AddItem("trace", trace_sp); in RetrieveReportData()
|
| /llvm-project-15.0.7/lldb/source/Host/common/ |
| H A D | XML.cpp | 460 array_sp->AddItem(CreatePlistValue(node)); in CreatePlistValue() 478 dict_sp->AddItem(key_name, CreatePlistValue(node)); in CreatePlistValue()
|
| /llvm-project-15.0.7/lldb/source/API/ |
| H A D | SBDebugger.cpp | 708 dict.AddItem(name, std::move(entry_up)); in AddBoolConfigEntry() 714 array_up->AddItem(std::make_unique<StructuredData::String>(#target)); in AddLLVMTargets() 717 entry_up->AddItem("value", std::move(array_up)); in AddLLVMTargets() 719 dict.AddItem("targets", std::move(entry_up)); in AddLLVMTargets()
|
| /llvm-project-15.0.7/lldb/source/Plugins/StructuredData/DarwinLog/ |
| H A D | StructuredDataDarwinLog.cpp | 576 config_sp->AddItem("source-flags", source_flags_sp); in BuildConfigurationData() 593 config_sp->AddItem("filter-rules", json_filter_rules_sp); in BuildConfigurationData() 597 json_filter_rules_sp->AddItem(rule_sp->Serialize()); in BuildConfigurationData()
|
| /llvm-project-15.0.7/lldb/source/Plugins/ScriptInterpreter/Python/ |
| H A D | PythonDataObjects.cpp | 552 result->AddItem(obj.CreateStructuredObject()); in CreateStructuredArray() 623 result->AddItem(obj.CreateStructuredObject()); in CreateStructuredArray() 722 result->AddItem(key.Str().GetString(), structured_value); in CreateStructuredDictionary()
|
| /llvm-project-15.0.7/lldb/source/Plugins/Platform/MacOSX/ |
| H A D | PlatformDarwin.cpp | 872 extended_crash_info->AddItem("crash-info annotations", annotations); in FetchExtendedCrashInformation() 975 array_sp->AddItem(entry_sp); in ExtractCrashInfoAnnotations()
|
| /llvm-project-15.0.7/lldb/tools/debugserver/source/MacOSX/ |
| H A D | MachProcess.mm | 958 image_info_dict_sp->AddItem("mach_header", mach_header_dict_sp); 984 segments_sp->AddItem(segment_sp); 986 image_info_dict_sp->AddItem("segments", segments_sp); 988 image_infos_array_sp->AddItem(image_info_dict_sp); 992 reply_sp->AddItem("images", image_infos_array_sp);
|
| /llvm-project-15.0.7/lldb/source/Target/ |
| H A D | Target.cpp | 1061 break_store_ptr->AddItem(bkpt_save_sp); in SerializeBreakpointsToFile() 1087 break_store_ptr->AddItem(bkpt_save_sp); in SerializeBreakpointsToFile()
|
| /llvm-project-15.0.7/lldb/source/Plugins/Process/gdb-remote/ |
| H A D | ProcessGDBRemote.cpp | 3851 addresses->AddItem(addr_sp); in GetLoadedDynamicLibrariesInfos() 3854 args_dict->GetAsDictionary()->AddItem("solib_addresses", addresses); in GetLoadedDynamicLibrariesInfos()
|