| /freebsd-14.2/contrib/llvm-project/lldb/source/Utility/ |
| H A D | StructuredData.cpp | 25 StructuredData::ObjectSP StructuredData::ParseJSON(llvm::StringRef json_text) { in ParseJSON() 34 StructuredData::ObjectSP 36 StructuredData::ObjectSP return_sp; in ParseJSONFromFile() 50 return StructuredData::ObjectSP(); in ParseJSONFromFile() 53 bool StructuredData::IsRecordType(const ObjectSP object_sp) { in IsRecordType() 66 return std::make_shared<StructuredData::String>(*s); in ParseJSONValue() 69 return std::make_shared<StructuredData::Boolean>(*b); in ParseJSONValue() 78 return std::make_shared<StructuredData::Float>(*d); in ParseJSONValue() 81 return std::make_shared<StructuredData::Null>(); in ParseJSONValue() 83 return StructuredData::ObjectSP(); in ParseJSONValue() [all …]
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ |
| H A D | ScriptedThreadPythonInterface.cpp | 32 llvm::Expected<StructuredData::GenericSP> 35 StructuredData::DictionarySP args_sp, StructuredData::Generic *script_obj) { in CreatePluginObject() 45 StructuredData::ObjectSP obj = Dispatch("get_thread_id", error); in GetThreadID() 55 StructuredData::ObjectSP obj = Dispatch("get_name", error); in GetName() 65 StructuredData::ObjectSP obj = Dispatch("get_state", error); in GetState() 75 StructuredData::ObjectSP obj = Dispatch("get_queue", error); in GetQueue() 85 StructuredData::DictionarySP dict = in GetStopReason() 96 StructuredData::ArraySP arr = in GetStackFrames() 97 Dispatch<StructuredData::ArraySP>("get_stackframes", error); in GetStackFrames() 107 StructuredData::DictionarySP dict = in GetRegisterInfo() [all …]
|
| H A D | ScriptedProcessPythonInterface.cpp | 36 llvm::Expected<StructuredData::GenericSP> 39 StructuredData::DictionarySP args_sp, StructuredData::Generic *script_obj) { in CreatePluginObject() 49 StructuredData::DictionarySP dict = in GetCapabilities() 90 StructuredData::DictionarySP dict = in GetThreadsInfo() 102 StructuredData::ObjectSP obj = in CreateBreakpoint() 131 StructuredData::ObjectSP obj = in WriteMemoryAtAddress() 146 StructuredData::ArraySP array = in GetLoadedImages() 147 Dispatch<StructuredData::ArraySP>("get_loaded_images", error); in GetLoadedImages() 157 StructuredData::ObjectSP obj = Dispatch("get_process_id", error); in GetProcessID() 167 StructuredData::ObjectSP obj = Dispatch("is_alive", error); in IsAlive() [all …]
|
| H A D | OperatingSystemPythonInterface.cpp | 32 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 D | ScriptedPlatformPythonInterface.cpp | 32 llvm::Expected<StructuredData::GenericSP> 35 StructuredData::DictionarySP args_sp, StructuredData::Generic *script_obj) { in CreatePluginObject() 43 StructuredData::DictionarySP ScriptedPlatformPythonInterface::ListProcesses() { in ListProcesses() 45 StructuredData::DictionarySP dict_sp = in ListProcesses() 46 Dispatch<StructuredData::DictionarySP>("list_processes", error); in ListProcesses() 49 return ScriptedInterface::ErrorWithMessage<StructuredData::DictionarySP>( in ListProcesses() 60 StructuredData::DictionarySP 63 StructuredData::DictionarySP dict_sp = in GetProcessInfo() 64 Dispatch<StructuredData::DictionarySP>("get_process_info", error, pid); in GetProcessInfo() 67 return ScriptedInterface::ErrorWithMessage<StructuredData::DictionarySP>( in GetProcessInfo()
|
| H A D | ScriptedThreadPythonInterface.h | 26 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 D | ScriptedProcessPythonInterface.h | 26 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 D | OperatingSystemPythonInterface.h | 27 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-14.2/contrib/llvm-project/lldb/include/lldb/Interpreter/ |
| H A D | ScriptInterpreter.h | 231 virtual StructuredData::ObjectSP 234 return StructuredData::ObjectSP(); in CreateSyntheticScriptedProvider() 237 virtual StructuredData::GenericSP 242 virtual StructuredData::GenericSP 253 virtual StructuredData::ObjectSP 258 return StructuredData::ObjectSP(); in CreateScriptedThreadPlan() 297 virtual StructuredData::GenericSP 317 virtual StructuredData::GenericSP 334 virtual StructuredData::ObjectSP 336 return StructuredData::ObjectSP(); in LoadPluginModule() [all …]
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/ |
| H A D | ScriptInterpreterPythonImpl.h | 73 StructuredData::ObjectSP 77 StructuredData::GenericSP 80 StructuredData::ObjectSP 86 StructuredData::ObjectSP 108 StructuredData::GenericSP 113 StructuredData::GenericSP implementor_sp, 119 StructuredData::GenericSP 128 StructuredData::GenericSP 141 StructuredData::ObjectSP 145 StructuredData::DictionarySP [all …]
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/InstrumentationRuntime/MainThreadChecker/ |
| H A D | InstrumentationRuntimeMainThreadChecker.cpp | 76 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() 170 StructuredData::ObjectSP report = in NotifyBreakpointHit() 242 StructuredData::ObjectSP info) { in GetBacktracesFromExtendedStopInfo() [all …]
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/InstrumentationRuntime/TSan/ |
| H A D | InstrumentationRuntimeTSan.cpp | 208 static StructuredData::ArraySP 225 static StructuredData::ArraySP ConvertToStructuredArray( in ConvertToStructuredArray() 303 return StructuredData::ObjectSP(); in RetrieveReportData() 310 return StructuredData::ObjectSP(); in RetrieveReportData() 335 return StructuredData::ObjectSP(); in RetrieveReportData() 699 StructuredData::ObjectSP report) { in GetMainRacyAddress() 703 [&result](StructuredData::Object *o) -> bool { in GetMainRacyAddress() 809 StructuredData::ObjectSP report = in NotifyBreakpointHit() 1025 [&pcs](StructuredData::Object *pc) -> bool { in AddThreadsForPath() 1033 StructuredData::ObjectSP thread_id_obj = in AddThreadsForPath() [all …]
|
| H A D | InstrumentationRuntimeTSan.h | 39 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-14.2/contrib/llvm-project/lldb/include/lldb/Interpreter/Interfaces/ |
| H A D | ScriptedThreadInterface.h | 23 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 D | ScriptedProcessInterface.h | 24 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 D | ScriptedPlatformInterface.h | 22 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-14.2/contrib/llvm-project/lldb/include/lldb/Core/ |
| H A D | SearchFilter.h | 204 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); 302 const StructuredData::Dictionary &data_dict, 305 StructuredData::ObjectSP SerializeToStructuredData() override; 344 const StructuredData::Dictionary &data_dict, 347 StructuredData::ObjectSP SerializeToStructuredData() override; 394 StructuredData::ObjectSP SerializeToStructuredData() override; [all …]
|
| H A D | StructuredDataImpl.h | 32 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-14.2/contrib/llvm-project/lldb/source/Plugins/InstrumentationRuntime/Utility/ |
| H A D | ReportRetriever.cpp | 58 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-14.2/contrib/llvm-project/lldb/source/Host/common/ |
| H A D | XML.cpp | 459 std::shared_ptr<StructuredData::Array> array_sp( in CreatePlistValue() 460 new StructuredData::Array()); 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() 505 return StructuredData::ObjectSP(new StructuredData::Boolean(false)); in CreatePlistValue() 507 return StructuredData::ObjectSP(new StructuredData::Null()); in CreatePlistValue() [all …]
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/InstrumentationRuntime/UBSan/ |
| H A D | InstrumentationRuntimeUBSan.cpp | 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() 219 StructuredData::ObjectSP report = in NotifyBreakpointHit() 302 StructuredData::ObjectSP info) { in GetBacktracesFromExtendedStopInfo() 314 trace->ForEach([&PCs](StructuredData::Object *PC) -> bool { in GetBacktracesFromExtendedStopInfo() [all …]
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Core/ |
| H A D | SearchFilter.cpp | 79 const StructuredData::Dictionary &filter_dict, in CreateFromStructuredData() 172 StructuredData::DictionarySP 175 return StructuredData::DictionarySP(); in WrapOptionsDict() 357 const StructuredData::Dictionary &data_dict, in CreateFromStructuredData() 363 StructuredData::ObjectSP 457 const StructuredData::Dictionary &data_dict, in CreateFromStructuredData() 459 StructuredData::Array *modules_array; in CreateFromStructuredData() 587 const StructuredData::Dictionary &data_dict, in CreateFromStructuredData() 589 StructuredData::Array *modules_array; in CreateFromStructuredData() 658 StructuredData::Array *cus_array = nullptr; in CreateFromStructuredData() [all …]
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/Process/scripted/ |
| H A D | ScriptedThread.cpp | 33 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() 241 StructuredData::Dictionary *data_dict; in CalculateStopInfo() 274 StructuredData::Dictionary *mach_exception; in CalculateStopInfo() 288 StructuredData::Array *exc_rawcodes; in CalculateStopInfo() 291 auto fetch_data = [&raw_codes](StructuredData::Object *obj) { in CalculateStopInfo() [all …]
|
| H A D | ScriptedProcess.cpp | 121 StructuredData::GenericSP object_sp = *obj_or_err; in ScriptedProcess() 338 StructuredData::ArraySP keys = thread_info_sp->GetKeys(); in DoUpdateThreadList() 340 std::map<size_t, StructuredData::ObjectSP> sorted_threads; in DoUpdateThreadList() 368 StructuredData::ObjectSP object_sp = pair.second; in DoUpdateThreadList() 421 lldb_private::StructuredData::ObjectSP 432 return ScriptedInterface::ErrorWithMessage<StructuredData::ObjectSP>( in GetLoadedDynamicLibrariesInfos() 439 StructuredData::Object *obj) -> bool { in GetLoadedDynamicLibrariesInfos() 440 StructuredData::Dictionary *dict = obj->GetAsDictionary(); in GetLoadedDynamicLibrariesInfos() 498 return ScriptedInterface::ErrorWithMessage<StructuredData::ObjectSP>( in GetLoadedDynamicLibrariesInfos() 507 StructuredData::DictionarySP metadata_sp = GetInterface().GetMetadata(); in GetMetadata() [all …]
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Lua/ |
| H A D | ScriptInterpreterLua.h | 29 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);
|