Home
last modified time | relevance | path

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

123456

/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DStructuredData.cpp1 //===-- StructuredData.cpp ------------------------------------------------===//
9 #include "lldb/Utility/StructuredData.h"
21 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 in ParseJSONFromFile()
[all...]
/freebsd/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/
H A DScriptedThreadPythonInterface.cpp33 llvm::Expected<StructuredData::GenericSP>
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::DictionarySP>("get_stop_reason", error); in GetStopReason()
100 StructuredData::ArraySP ScriptedThreadPythonInterface::GetStackFrames() { in GetStackFrames()
[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::ObjectSP obj = in CreateBreakpoint()
134 StructuredData::ObjectSP obj = in WriteMemoryAtAddress()
[all …]
H A DScriptedPlatformPythonInterface.cpp34 llvm::Expected<StructuredData::GenericSP>
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
65 StructuredData::DictionarySP dict_sp = in GetProcessInfo()
66 Dispatch<StructuredData::DictionarySP>("get_process_info", error, pid); in GetProcessInfo()
69 return ScriptedInterface::ErrorWithMessage<StructuredData::DictionarySP>( in GetProcessInfo()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/
H A DScriptedThreadPythonInterface.cpp
H A DScriptedProcessPythonInterface.cpp
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::ObjectSP &implementor,
[all …]
H A DScriptedPlatformPythonInterface.cpp
H A DScriptedThreadPythonInterface.h
H A DScriptedProcessPythonInterface.h
/freebsd/contrib/llvm-project/lldb/include/lldb/Interpreter/
H A DScriptInterpreter.h158 virtual StructuredData::DictionarySP GetInterpreterInfo();
233 virtual StructuredData::ObjectSP
236 return StructuredData::ObjectSP(); in CreateSyntheticScriptedProvider()
239 virtual StructuredData::GenericSP
241 return StructuredData::GenericSP(); in CreateScriptCommandObject()
244 virtual StructuredData::GenericSP
246 return StructuredData::GenericSP(); in CreateFrameRecognizer()
250 const StructuredData::ObjectSP &implementor, in GetRecognizedArguments()
255 virtual StructuredData::GenericSP
259 return StructuredData::GenericSP(); in CreateScriptedBreakpointResolver()
[all …]
H A DScriptedProcessInterface.h
H A DScriptedInterface.h
H A DScriptedPlatformInterface.h
/freebsd/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/contrib/llvm-project/lldb/source/Plugins/InstrumentationRuntime/TSan/
H A DInstrumentationRuntimeTSan.cpp210 static StructuredData::ArraySP
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::ObjectSP(); 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/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/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::ObjectSP report) { in FormatDescription()
[all …]
/freebsd/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/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
[all...]
/freebsd/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 in CreateFromStructuredData()
[all...]
/freebsd/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);
/freebsd/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)
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 in CalculateStopInfo()
[all...]

123456