Home
last modified time | relevance | path

Searched refs:StructuredData (Results 1 – 25 of 134) sorted by relevance

123456

/freebsd-src/contrib/llvm-project/lldb/source/Utility/
H A DStructuredData.cpp21 static StructuredData::ObjectSP ParseJSONValue(json::Value &value);
22 static StructuredData::ObjectSP ParseJSONObject(json::Object *object);
23 static StructuredData::ObjectSP ParseJSONArray(json::Array *array);
25 StructuredData::ObjectSP StructuredData::ParseJSON(llvm::StringRef json_text) { in ParseJSON()
34 StructuredData::ObjectSP
35 StructuredData::ParseJSONFromFile(const FileSpec &input_spec, Status &error) { in ParseJSONFromFile()
36 StructuredData::ObjectSP return_sp; in ParseJSONFromFile()
50 return StructuredData::ObjectSP(); in ParseJSONFromFile()
53 bool StructuredData::IsRecordType(const ObjectSP object_sp) { in IsRecordType()
58 static StructuredData::ObjectSP ParseJSONValue(json::Value &value) { in ParseJSONValue()
[all …]
/freebsd-src/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/
H A DScriptedThreadPythonInterface.cpp33 llvm::Expected<StructuredData::GenericSP> in CreatePluginObject()
36 StructuredData::DictionarySP args_sp, StructuredData::Generic *script_obj) { in CreatePluginObject()
46 StructuredData::ObjectSP obj = Dispatch("get_thread_id", error); in GetThreadID()
57 StructuredData::ObjectSP obj = Dispatch("get_name", error); in GetName()
68 StructuredData::ObjectSP obj = Dispatch("get_state", error); in GetState()
79 StructuredData::ObjectSP obj = Dispatch("get_queue", error); in GetQueue()
88 StructuredData::DictionarySP ScriptedThreadPythonInterface::GetStopReason() { in GetStopReason()
90 StructuredData::DictionarySP dict = in GetStopReason()
91 Dispatch<StructuredData in GetStopReason()
[all...]
H A DScriptedProcessPythonInterface.cpp36 llvm::Expected<StructuredData::GenericSP>
39 StructuredData::DictionarySP args_sp, StructuredData::Generic *script_obj) { in CreatePluginObject()
47 StructuredData::DictionarySP ScriptedProcessPythonInterface::GetCapabilities() { in GetCapabilities()
49 StructuredData::DictionarySP dict = in GetCapabilities()
50 Dispatch<StructuredData::DictionarySP>("get_capabilities", error); in GetCapabilities()
89 StructuredData::DictionarySP ScriptedProcessPythonInterface::GetThreadsInfo() { in GetThreadsInfo()
91 StructuredData::DictionarySP dict = in GetThreadsInfo()
92 Dispatch<StructuredData::DictionarySP>("get_threads_info", error); in GetThreadsInfo()
104 StructuredData in CreateBreakpoint()
[all...]
H A DOperatingSystemPythonInterface.cpp32 llvm::Expected<StructuredData::GenericSP>
35 StructuredData::DictionarySP args_sp, StructuredData::Generic *script_obj) { in CreatePluginObject()
40 StructuredData::DictionarySP
44 StructuredData::DictionarySP dict = Dispatch<StructuredData::DictionarySP>( in CreateThread()
54 StructuredData::ArraySP OperatingSystemPythonInterface::GetThreadInfo() { in GetThreadInfo()
56 StructuredData::ArraySP arr = in GetThreadInfo()
57 Dispatch<StructuredData::ArraySP>("get_thread_info", error); in GetThreadInfo()
66 StructuredData::DictionarySP OperatingSystemPythonInterface::GetRegisterInfo() { in GetRegisterInfo()
73 StructuredData::ObjectSP obj = Dispatch("get_register_data", error, tid); in GetRegisterContextForTID()
H A DScriptedPlatformPythonInterface.cpp34 llvm::Expected<StructuredData::GenericSP> in CreatePluginObject()
37 StructuredData::DictionarySP args_sp, StructuredData::Generic *script_obj) { in CreatePluginObject()
45 StructuredData::DictionarySP ScriptedPlatformPythonInterface::ListProcesses() { in ListProcesses()
47 StructuredData::DictionarySP dict_sp = in ListProcesses()
48 Dispatch<StructuredData::DictionarySP>("list_processes", error); in ListProcesses()
51 return ScriptedInterface::ErrorWithMessage<StructuredData::DictionarySP>( in ListProcesses()
62 StructuredData::DictionarySP in GetProcessInfo()
65 StructuredData::DictionarySP dict_sp = in GetProcessInfo()
66 Dispatch<StructuredData in GetProcessInfo()
[all...]
H A DScriptedThreadPythonInterface.h26 llvm::Expected<StructuredData::GenericSP>
28 StructuredData::DictionarySP args_sp,
29 StructuredData::Generic *script_obj = nullptr) override;
44 StructuredData::DictionarySP GetStopReason() override;
46 StructuredData::ArraySP GetStackFrames() override;
48 StructuredData::DictionarySP GetRegisterInfo() override;
52 StructuredData::ArraySP GetExtendedInfo() override;
H A DScriptedProcessPythonInterface.h26 llvm::Expected<StructuredData::GenericSP>
29 StructuredData::DictionarySP args_sp,
30 StructuredData::Generic *script_obj = nullptr) override;
37 StructuredData::DictionarySP GetCapabilities() override;
49 StructuredData::DictionarySP GetThreadsInfo() override;
60 StructuredData::ArraySP GetLoadedImages() override;
68 StructuredData::DictionarySP GetMetadata() override;
H A DOperatingSystemPythonInterface.h27 llvm::Expected<StructuredData::GenericSP>
29 StructuredData::DictionarySP args_sp,
30 StructuredData::Generic *script_obj = nullptr) override;
36 StructuredData::DictionarySP CreateThread(lldb::tid_t tid,
39 StructuredData::ArraySP GetThreadInfo() override;
41 StructuredData::DictionarySP GetRegisterInfo() override;
/freebsd-src/contrib/llvm-project/lldb/include/lldb/Interpreter/
H A DScriptInterpreter.h33 #include "lldb/Utility/StructuredData.h"
158 virtual StructuredData::DictionarySP GetInterpreterInfo();
233 virtual StructuredData::ObjectSP in CreateSyntheticScriptedProvider()
236 return StructuredData::ObjectSP();
239 virtual StructuredData::GenericSP in CreateScriptCommandObject()
241 return StructuredData::GenericSP();
244 virtual StructuredData::GenericSP in CreateFrameRecognizer()
246 return StructuredData::GenericSP();
250 const StructuredData::ObjectSP &implementor, in GetRecognizedArguments()
255 virtual StructuredData in CreateScriptedThreadPlan()
[all...]
/freebsd-src/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/
H A DScriptInterpreterPythonImpl.h73 StructuredData::ObjectSP
77 StructuredData::GenericSP
80 StructuredData::ObjectSP
83 StructuredData::GenericSP
88 StructuredData::GenericSP implementor_sp,
92 StructuredData::GenericSP implementor_sp) override;
94 StructuredData::GenericSP
99 bool ScriptedStopHookHandleStop(StructuredData::GenericSP implementor_sp,
103 StructuredData::GenericSP
107 GetRecognizedArguments(const StructuredData
[all...]
/freebsd-src/contrib/llvm-project/lldb/source/Plugins/InstrumentationRuntime/MainThreadChecker/
H A DInstrumentationRuntimeMainThreadChecker.cpp76 StructuredData::ObjectSP
81 return StructuredData::ObjectSP(); in RetrieveReportData()
90 return StructuredData::ObjectSP(); in RetrieveReportData()
94 return StructuredData::ObjectSP(); in RetrieveReportData()
98 return StructuredData::ObjectSP(); in RetrieveReportData()
102 return StructuredData::ObjectSP(); in RetrieveReportData()
108 return StructuredData::ObjectSP(); in RetrieveReportData()
121 StructuredData::Array *trace = new StructuredData::Array(); in RetrieveReportData()
122 auto trace_sp = StructuredData::ObjectSP(trace); in RetrieveReportData()
138 auto *d = new StructuredData::Dictionary(); in RetrieveReportData()
[all …]
/freebsd-src/contrib/llvm-project/lldb/source/Plugins/InstrumentationRuntime/TSan/
H A DInstrumentationRuntimeTSan.cpp210 static StructuredData::ArraySP in CreateStackTrace()
213 auto trace_sp = std::make_shared<StructuredData::Array>(); in CreateStackTrace()
227 static StructuredData::ArraySP ConvertToStructuredArray( in ConvertToStructuredArray()
231 const StructuredData::DictionarySP &dict)> const in ConvertToStructuredArray()
233 auto array_sp = std::make_shared<StructuredData::Array>(); in ConvertToStructuredArray()
241 auto dict_sp = std::make_shared<StructuredData::Dictionary>(); in ConvertToStructuredArray()
268 const StructuredData::DictionarySP &dict) { in GetRenumberedThreadIds()
301 StructuredData::ObjectSP InstrumentationRuntimeTSan::RetrieveReportData( in RetrieveReportData()
305 return StructuredData::ObjectSP(); in RetrieveReportData()
312 return StructuredData in RetrieveReportData()
[all...]
H A DInstrumentationRuntimeTSan.h39 GetBacktracesFromExtendedStopInfo(StructuredData::ObjectSP info) override;
58 StructuredData::ObjectSP RetrieveReportData(ExecutionContextRef exe_ctx_ref);
60 std::string FormatDescription(StructuredData::ObjectSP report);
62 std::string GenerateSummary(StructuredData::ObjectSP report);
64 lldb::addr_t GetMainRacyAddress(StructuredData::ObjectSP report);
66 std::string GetLocationDescription(StructuredData::ObjectSP report,
71 lldb::addr_t GetFirstNonInternalFramePc(StructuredData::ObjectSP trace,
/freebsd-src/contrib/llvm-project/lldb/include/lldb/Interpreter/Interfaces/
H A DScriptedThreadInterface.h23 virtual llvm::Expected<StructuredData::GenericSP>
25 StructuredData::DictionarySP args_sp,
26 StructuredData::Generic *script_obj = nullptr) = 0;
36 virtual StructuredData::DictionarySP GetStopReason() { return {}; } in GetStopReason()
38 virtual StructuredData::ArraySP GetStackFrames() { return {}; } in GetStackFrames()
40 virtual StructuredData::DictionarySP GetRegisterInfo() { return {}; } in GetRegisterInfo()
46 virtual StructuredData::ArraySP GetExtendedInfo() { return {}; } in GetExtendedInfo()
H A DScriptedProcessInterface.h24 virtual llvm::Expected<StructuredData::GenericSP>
26 StructuredData::DictionarySP args_sp,
27 StructuredData::Generic *script_obj = nullptr) = 0;
29 virtual StructuredData::DictionarySP GetCapabilities() { return {}; } in GetCapabilities()
45 virtual StructuredData::DictionarySP GetThreadsInfo() { return {}; } in GetThreadsInfo()
63 virtual StructuredData::ArraySP GetLoadedImages() { return {}; } in GetLoadedImages()
73 virtual StructuredData::DictionarySP GetMetadata() { return {}; } in GetMetadata()
H A DScriptedPlatformInterface.h22 virtual llvm::Expected<StructuredData::GenericSP>
24 StructuredData::DictionarySP args_sp,
25 StructuredData::Generic *script_obj = nullptr) = 0;
27 virtual StructuredData::DictionarySP ListProcesses() { return {}; } in ListProcesses()
29 virtual StructuredData::DictionarySP GetProcessInfo(lldb::pid_t) { in GetProcessInfo()
/freebsd-src/contrib/llvm-project/lldb/include/lldb/Core/
H A DSearchFilter.h204 const StructuredData::Dictionary &data_dict,
207 virtual StructuredData::ObjectSP SerializeToStructuredData() { in SerializeToStructuredData()
208 return StructuredData::ObjectSP(); in SerializeToStructuredData()
251 StructuredData::DictionarySP
252 WrapOptionsDict(StructuredData::DictionarySP options_dict_sp);
254 void SerializeFileSpecList(StructuredData::DictionarySP &options_dict_sp,
302 const StructuredData::Dictionary &data_dict,
305 StructuredData::ObjectSP SerializeToStructuredData() override;
344 const StructuredData::Dictionary &data_dict,
347 StructuredData::ObjectSP SerializeToStructuredData() override;
[all …]
H A DStructuredDataImpl.h32 StructuredDataImpl(StructuredData::ObjectSP obj) in StructuredDataImpl()
90 StructuredData::ObjectSP GetObjectSP() { return m_data_sp; } in GetObjectSP()
92 void SetObjectSP(const StructuredData::ObjectSP &obj) { m_data_sp = obj; } in SetObjectSP()
113 StructuredData::ObjectSP GetValueForKey(const char *key) const { in GetValueForKey()
119 return StructuredData::ObjectSP(); in GetValueForKey()
122 StructuredData::ObjectSP GetItemAtIndex(size_t idx) const { in GetItemAtIndex()
128 return StructuredData::ObjectSP(); in GetItemAtIndex()
168 StructuredData::Generic *generic_data = m_data_sp->GetAsGeneric(); in GetGenericValue()
175 StructuredData::ObjectSP GetObjectSP() const { return m_data_sp; } in GetObjectSP()
179 StructuredData::ObjectSP m_data_sp;
/freebsd-src/contrib/llvm-project/lldb/source/Plugins/InstrumentationRuntime/Utility/
H A DReportRetriever.cpp58 StructuredData::ObjectSP
61 return StructuredData::ObjectSP(); in RetrieveReportData()
67 return StructuredData::ObjectSP(); in RetrieveReportData()
73 return StructuredData::ObjectSP(); in RetrieveReportData()
98 return StructuredData::ObjectSP(); in RetrieveReportData()
104 return StructuredData::ObjectSP(); in RetrieveReportData()
127 auto dict = std::make_shared<StructuredData::Dictionary>(); in RetrieveReportData()
129 return StructuredData::ObjectSP(); in RetrieveReportData()
141 return StructuredData::ObjectSP(dict); in RetrieveReportData()
145 ReportRetriever::FormatDescription(StructuredData
[all...]
/freebsd-src/contrib/llvm-project/lldb/source/Host/common/
H A DXML.cpp456 static StructuredData::ObjectSP CreatePlistValue(XMLNode node) { in CreatePlistValue()
459 std::shared_ptr<StructuredData::Array> array_sp( in CreatePlistValue()
460 new StructuredData::Array()); in CreatePlistValue()
468 std::shared_ptr<StructuredData::Dictionary> dict_sp( in CreatePlistValue()
469 new StructuredData::Dictionary()); in CreatePlistValue()
491 return StructuredData::ObjectSP(new StructuredData::Float(value)); in CreatePlistValue()
495 return StructuredData::ObjectSP(new StructuredData::UnsignedInteger(value)); in CreatePlistValue()
500 return StructuredData::ObjectSP( in CreatePlistValue()
501 new StructuredData::String(std::move(text))); in CreatePlistValue()
503 return StructuredData::ObjectSP(new StructuredData::Boolean(true)); in CreatePlistValue()
[all …]
/freebsd-src/contrib/llvm-project/lldb/source/Plugins/InstrumentationRuntime/UBSan/
H A DInstrumentationRuntimeUBSan.cpp104 StructuredData::ObjectSP InstrumentationRuntimeUBSan::RetrieveReportData( in RetrieveReportData()
108 return StructuredData::ObjectSP(); in RetrieveReportData()
117 return StructuredData::ObjectSP(); in RetrieveReportData()
144 return StructuredData::ObjectSP(); in RetrieveReportData()
148 StructuredData::Array *trace = new StructuredData::Array(); in RetrieveReportData()
149 auto trace_sp = StructuredData::ObjectSP(trace); in RetrieveReportData()
168 auto *d = new StructuredData::Dictionary(); in RetrieveReportData()
169 auto dict_sp = StructuredData::ObjectSP(d); in RetrieveReportData()
182 static std::string GetStopReasonDescription(StructuredData::ObjectSP report) { in GetStopReasonDescription()
219 StructuredData::ObjectSP report = in NotifyBreakpointHit()
[all …]
/freebsd-src/contrib/llvm-project/lldb/source/Core/
H A DSearchFilter.cpp79 const StructuredData::Dictionary &filter_dict, in CreateFromStructuredData()
102 StructuredData::Dictionary *subclass_options = nullptr; in CreateFromStructuredData()
172 StructuredData::DictionarySP
173 SearchFilter::WrapOptionsDict(StructuredData::DictionarySP options_dict_sp) { in WrapOptionsDict()
175 return StructuredData::DictionarySP(); in WrapOptionsDict()
177 auto type_dict_sp = std::make_shared<StructuredData::Dictionary>(); in WrapOptionsDict()
185 StructuredData::DictionarySP &options_dict_sp, OptionNames name, in SerializeFileSpecList()
193 auto module_array_sp = std::make_shared<StructuredData::Array>(); in SerializeFileSpecList()
195 module_array_sp->AddItem(std::make_shared<StructuredData::String>( in SerializeFileSpecList()
357 const StructuredData::Dictionary &data_dict, in CreateFromStructuredData()
[all …]
/freebsd-src/contrib/llvm-project/lldb/source/Plugins/Process/scripted/
H A DScriptedThread.cpp33 StructuredData::Generic *script_object) { in Create()
69 StructuredData::GenericSP owned_script_object_sp = *obj_or_err; in Create()
84 StructuredData::GenericSP script_object_sp) in ScriptedThread()
157 StructuredData::ArraySP arr_sp = GetInterface()->GetStackFrames(); in LoadArtificialStackFrames()
179 std::optional<StructuredData::Dictionary *> maybe_dict = in LoadArtificialStackFrames()
189 StructuredData::Dictionary *dict = *maybe_dict; in LoadArtificialStackFrames()
224 StructuredData::DictionarySP dict_sp = GetInterface()->GetStopReason(); in CalculateStopInfo()
241 StructuredData::Dictionary *data_dict; in CalculateStopInfo()
274 StructuredData::Dictionary *mach_exception; in CalculateStopInfo()
288 StructuredData::Array *exc_rawcodes; in CalculateStopInfo()
[all …]
H A DScriptedProcess.cpp121 StructuredData::GenericSP object_sp = *obj_or_err; in ScriptedProcess()
325 StructuredData::DictionarySP thread_info_sp = GetInterface().GetThreadsInfo(); in DoUpdateThreadList()
338 StructuredData::ArraySP keys = thread_info_sp->GetKeys(); in DoUpdateThreadList()
340 std::map<size_t, StructuredData::ObjectSP> sorted_threads; in DoUpdateThreadList()
342 &thread_info_sp](StructuredData::Object *item) -> bool { in DoUpdateThreadList()
366 const std::pair<size_t, StructuredData::ObjectSP> pair) -> bool { in DoUpdateThreadList()
368 StructuredData::ObjectSP object_sp = pair.second; in DoUpdateThreadList()
421 lldb_private::StructuredData::ObjectSP
429 StructuredData::ArraySP loaded_images_sp = GetInterface().GetLoadedImages(); in GetLoadedDynamicLibrariesInfos()
432 return ScriptedInterface::ErrorWithMessage<StructuredData::ObjectSP>( in GetLoadedDynamicLibrariesInfos()
[all …]
/freebsd-src/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Lua/
H A DScriptInterpreterLua.h29 CommandDataLua(StructuredData::ObjectSP extra_args_sp) in CommandDataLua()
33 StructuredData::ObjectSP m_extra_args_sp;
49 StructuredData::ObjectSP *module_sp = nullptr,
52 StructuredData::DictionarySP GetInterpreterInfo() override;
100 StructuredData::ObjectSP extra_args_sp) override;
108 StructuredData::ObjectSP extra_args_sp);
112 StructuredData::ObjectSP extra_args_sp);

123456