| /llvm-project-15.0.7/lldb/source/Utility/ |
| H A D | StructuredData.cpp | 20 static StructuredData::ObjectSP ParseJSONValue(json::Value &value); 21 static StructuredData::ObjectSP ParseJSONObject(json::Object *object); 22 static StructuredData::ObjectSP ParseJSONArray(json::Array *array); 24 StructuredData::ObjectSP 34 StructuredData::ObjectSP 36 StructuredData::ObjectSP return_sp; in ParseJSONFromFile() 50 return StructuredData::ObjectSP(); in ParseJSONFromFile() 72 return StructuredData::ObjectSP(); in ParseJSONValue() 95 StructuredData::ObjectSP 110 return ObjectSP(); in GetObjectForDotSeparatedPath() [all …]
|
| H A D | Event.cpp | 196 const ProcessSP &process_sp, const StructuredData::ObjectSP &object_sp, in EventDataStructuredData() 221 const StructuredData::ObjectSP &EventDataStructuredData::GetObject() const { in GetObject() 235 const StructuredData::ObjectSP &object_sp) { in SetObject() 267 StructuredData::ObjectSP 273 return StructuredData::ObjectSP(); in GetObjectFromEvent()
|
| /llvm-project-15.0.7/lldb/include/lldb/Interpreter/ |
| H A D | ScriptInterpreter.h | 225 virtual StructuredData::ObjectSP 228 return StructuredData::ObjectSP(); in CreateSyntheticScriptedProvider() 242 const StructuredData::ObjectSP &implementor, in GetRecognizedArguments() 275 virtual StructuredData::ObjectSP 280 return StructuredData::ObjectSP(); in CreateScriptedThreadPlan() 298 ScriptedThreadPlanIsStale(StructuredData::ObjectSP implementor_sp, in ScriptedThreadPlanIsStale() 348 virtual StructuredData::ObjectSP 350 return StructuredData::ObjectSP(); in LoadPluginModule() 426 CalculateNumChildren(const StructuredData::ObjectSP &implementor, in CalculateNumChildren() 448 const StructuredData::ObjectSP &implementor) { in MightHaveChildrenSynthProviderInstance() [all …]
|
| /llvm-project-15.0.7/lldb/include/lldb/Utility/ |
| H A D | StructuredData.h | 61 typedef std::shared_ptr<Object> ObjectSP; typedef 182 ObjectSP operator[](size_t idx) { 185 return ObjectSP(); 192 return ObjectSP(); in GetItemAtIndex() 197 ObjectSP value_sp = GetItemAtIndex(idx); in GetItemAtIndexAsInteger() 217 ObjectSP value_sp = GetItemAtIndex(idx); in GetItemAtIndexAsString() 236 ObjectSP value_sp = GetItemAtIndex(idx); in GetItemAtIndexAsString() 256 ObjectSP value_sp = GetItemAtIndex(idx); in GetItemAtIndexAsDictionary() 266 ObjectSP value_sp = GetItemAtIndex(idx); in GetItemAtIndexAsArray() 281 typedef std::vector<ObjectSP> collection; [all …]
|
| H A D | Event.h | 136 const StructuredData::ObjectSP &object_sp, 148 const StructuredData::ObjectSP &GetObject() const; 154 void SetObject(const StructuredData::ObjectSP &object_sp); 164 static StructuredData::ObjectSP GetObjectFromEvent(const Event *event_ptr); 173 StructuredData::ObjectSP m_object_sp;
|
| /llvm-project-15.0.7/lldb/source/Plugins/ScriptInterpreter/Python/ |
| H A D | ScriptInterpreterPythonImpl.h | 73 StructuredData::ObjectSP 80 StructuredData::ObjectSP 97 ScriptedThreadPlanGetRunState(StructuredData::ObjectSP implementor_sp, 124 GetRecognizedArguments(const StructuredData::ObjectSP &implementor, 142 OSPlugin_CreateThread(StructuredData::ObjectSP os_plugin_object_sp, 145 StructuredData::ObjectSP 158 GetChildAtIndex(const StructuredData::ObjectSP &implementor, 165 const StructuredData::ObjectSP &implementor) override; 168 const StructuredData::ObjectSP &implementor) override; 201 StructuredData::ObjectSP &callee_wrapper_sp, [all …]
|
| H A D | ScriptedThreadPythonInterface.cpp | 65 StructuredData::ObjectSP obj = Dispatch("get_thread_id", error); in GetThreadID() 75 StructuredData::ObjectSP obj = Dispatch("get_name", error); in GetName() 85 StructuredData::ObjectSP obj = Dispatch("get_state", error); in GetState() 95 StructuredData::ObjectSP obj = Dispatch("get_queue", error); in GetQueue() 139 StructuredData::ObjectSP obj = Dispatch("get_register_context", error); in GetRegisterContext()
|
| H A D | ScriptedProcessPythonInterface.cpp | 65 StructuredData::ObjectSP obj = Dispatch("is_alive", error); in ShouldStop() 105 StructuredData::ObjectSP obj = Dispatch("get_thread_with_id", error, tid); in GetThreadWithID() 146 StructuredData::ObjectSP obj = Dispatch("get_process_id", error); in GetProcessID() 156 StructuredData::ObjectSP obj = Dispatch("is_alive", error); in IsAlive() 167 StructuredData::ObjectSP obj = Dispatch("get_scripted_thread_plugin", error); in GetScriptedThreadPluginName()
|
| H A D | ScriptInterpreterPython.cpp | 1733 return StructuredData::ObjectSP(); in CreateScriptedThreadPlan() 1753 return StructuredData::ObjectSP( in CreateScriptedThreadPlan() 1945 StructuredData::ObjectSP 1950 return StructuredData::ObjectSP(); in LoadPluginModule() 1953 StructuredData::ObjectSP module_sp; in LoadPluginModule() 1961 return StructuredData::ObjectSP(); in LoadPluginModule() 1992 StructuredData::ObjectSP 1996 return StructuredData::ObjectSP(); in CreateSyntheticScriptedProvider() 1999 return StructuredData::ObjectSP(); in CreateSyntheticScriptedProvider() 2005 return StructuredData::ObjectSP(); in CreateSyntheticScriptedProvider() [all …]
|
| /llvm-project-15.0.7/lldb/source/Plugins/InstrumentationRuntime/MainThreadChecker/ |
| H A D | InstrumentationRuntimeMainThreadChecker.cpp | 76 StructuredData::ObjectSP 81 return StructuredData::ObjectSP(); in RetrieveReportData() 89 return StructuredData::ObjectSP(); in RetrieveReportData() 93 return StructuredData::ObjectSP(); in RetrieveReportData() 97 return StructuredData::ObjectSP(); in RetrieveReportData() 101 return StructuredData::ObjectSP(); in RetrieveReportData() 107 return StructuredData::ObjectSP(); in RetrieveReportData() 138 auto dict_sp = StructuredData::ObjectSP(d); in RetrieveReportData() 169 StructuredData::ObjectSP report = in NotifyBreakpointHit() 240 StructuredData::ObjectSP info) { in GetBacktracesFromExtendedStopInfo() [all …]
|
| /llvm-project-15.0.7/lldb/source/Plugins/InstrumentationRuntime/TSan/ |
| 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,
|
| H A D | InstrumentationRuntimeTSan.cpp | 244 array->AddItem(StructuredData::ObjectSP(dict)); in ConvertToStructuredArray() 304 return StructuredData::ObjectSP(); in RetrieveReportData() 310 return StructuredData::ObjectSP(); in RetrieveReportData() 335 return StructuredData::ObjectSP(); in RetrieveReportData() 388 dict->AddItem("mops", StructuredData::ObjectSP(mops)); in RetrieveReportData() 422 dict->AddItem("locs", StructuredData::ObjectSP(locs)); in RetrieveReportData() 485 return StructuredData::ObjectSP(dict); in RetrieveReportData() 698 StructuredData::ObjectSP report) { in GetMainRacyAddress() 808 StructuredData::ObjectSP report = in NotifyBreakpointHit() 1029 StructuredData::ObjectSP thread_id_obj = in AddThreadsForPath() [all …]
|
| /llvm-project-15.0.7/lldb/include/lldb/Core/ |
| 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() 158 StructuredData::ObjectSP GetObjectSP() const { return m_data_sp; } in GetObjectSP() 162 StructuredData::ObjectSP m_data_sp;
|
| H A D | SearchFilter.h | 207 virtual StructuredData::ObjectSP SerializeToStructuredData() { in SerializeToStructuredData() 208 return StructuredData::ObjectSP(); in SerializeToStructuredData() 305 StructuredData::ObjectSP SerializeToStructuredData() override; 347 StructuredData::ObjectSP SerializeToStructuredData() override; 394 StructuredData::ObjectSP SerializeToStructuredData() override; 433 StructuredData::ObjectSP SerializeToStructuredData() override;
|
| /llvm-project-15.0.7/lldb/source/Plugins/InstrumentationRuntime/UBSan/ |
| H A D | InstrumentationRuntimeUBSan.cpp | 105 StructuredData::ObjectSP InstrumentationRuntimeUBSan::RetrieveReportData( in RetrieveReportData() 109 return StructuredData::ObjectSP(); in RetrieveReportData() 117 return StructuredData::ObjectSP(); in RetrieveReportData() 144 return StructuredData::ObjectSP(); in RetrieveReportData() 149 auto trace_sp = StructuredData::ObjectSP(trace); in RetrieveReportData() 157 trace->AddItem(StructuredData::ObjectSP(new StructuredData::Integer(PC))); 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() 301 StructuredData::ObjectSP info) { in GetBacktracesFromExtendedStopInfo() [all …]
|
| /llvm-project-15.0.7/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, 98 StructuredData::ObjectSP extra_args_sp) override; 106 StructuredData::ObjectSP extra_args_sp); 110 StructuredData::ObjectSP extra_args_sp);
|
| /llvm-project-15.0.7/lldb/source/Plugins/InstrumentationRuntime/ASan/ |
| H A D | InstrumentationRuntimeASan.cpp | 109 StructuredData::ObjectSP InstrumentationRuntimeASan::RetrieveReportData() { in RetrieveReportData() 112 return StructuredData::ObjectSP(); in RetrieveReportData() 119 return StructuredData::ObjectSP(); in RetrieveReportData() 144 return StructuredData::ObjectSP(); in RetrieveReportData() 150 return StructuredData::ObjectSP(); in RetrieveReportData() 188 return StructuredData::ObjectSP(dict); in RetrieveReportData() 192 InstrumentationRuntimeASan::FormatDescription(StructuredData::ObjectSP report) { in FormatDescription() 253 StructuredData::ObjectSP report = instance->RetrieveReportData(); in NotifyBreakpointHit()
|
| /llvm-project-15.0.7/lldb/tools/debugserver/source/ |
| H A D | JSONGenerator.h | 37 typedef std::shared_ptr<Object> ObjectSP; typedef 128 void AddItem(ObjectSP item) { m_items.push_back(item); } in AddItem() 153 typedef std::vector<ObjectSP> collection; 260 void AddItem(std::string key, ObjectSP value) { in AddItem() 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() [all …]
|
| /llvm-project-15.0.7/lldb/source/Plugins/Process/gdb-remote/ |
| H A D | ProcessGDBRemote.h | 209 StructuredData::ObjectSP 215 const StructuredData::ObjectSP &config_sp) override; 217 StructuredData::ObjectSP GetLoadedDynamicLibrariesInfos() override; 219 StructuredData::ObjectSP GetLoadedDynamicLibrariesInfos( 222 StructuredData::ObjectSP 223 GetLoadedDynamicLibrariesInfos_sender(StructuredData::ObjectSP args); 225 StructuredData::ObjectSP GetSharedCacheInfo() override; 269 StructuredData::ObjectSP m_jstopinfo_sp; // Stop info only for any threads 271 StructuredData::ObjectSP m_jthreadsinfo_sp; // Full stop info, expedited 332 StructuredData::ObjectSP GetExtendedInfoForThread(lldb::tid_t tid); [all …]
|
| /llvm-project-15.0.7/lldb/source/Host/common/ |
| H A D | XML.cpp | 454 static StructuredData::ObjectSP CreatePlistValue(XMLNode node) { in CreatePlistValue() 489 return StructuredData::ObjectSP(new StructuredData::Float(value)); in CreatePlistValue() 493 return StructuredData::ObjectSP(new StructuredData::Integer(value)); in CreatePlistValue() 498 return StructuredData::ObjectSP( in CreatePlistValue() 501 return StructuredData::ObjectSP(new StructuredData::Boolean(true)); in CreatePlistValue() 503 return StructuredData::ObjectSP(new StructuredData::Boolean(false)); in CreatePlistValue() 505 return StructuredData::ObjectSP(new StructuredData::Null()); in CreatePlistValue() 509 StructuredData::ObjectSP ApplePropertyList::GetStructuredData() { in GetStructuredData() 510 StructuredData::ObjectSP root_sp; in GetStructuredData()
|
| /llvm-project-15.0.7/lldb/source/Plugins/Trace/intel-pt/ |
| H A D | TraceIntelPT.h | 121 llvm::Error Start(StructuredData::ObjectSP configuration = 122 StructuredData::ObjectSP()) override; 149 StructuredData::ObjectSP configuration = 150 StructuredData::ObjectSP()) override;
|
| /llvm-project-15.0.7/lldb/source/Target/ |
| H A D | InstrumentationRuntimeStopInfo.cpp | 20 StructuredData::ObjectSP additional_data) in InstrumentationRuntimeStopInfo() 33 StructuredData::ObjectSP additionalData) { in CreateStopReasonWithInstrumentationData()
|
| /llvm-project-15.0.7/lldb/include/lldb/Target/ |
| H A D | InstrumentationRuntimeStopInfo.h | 33 StructuredData::ObjectSP additional_data); 37 StructuredData::ObjectSP additional_data);
|
| H A D | StructuredDataPlugin.h | 96 const StructuredData::ObjectSP &object_sp) = 0; 115 virtual Status GetDescription(const StructuredData::ObjectSP &object_sp,
|
| /llvm-project-15.0.7/lldb/source/Plugins/Process/scripted/ |
| H A D | ScriptedProcess.cpp | 320 std::map<size_t, StructuredData::ObjectSP> sorted_threads; in DoUpdateThreadList() 346 const std::pair<size_t, StructuredData::ObjectSP> pair) -> bool { in DoUpdateThreadList() 348 StructuredData::ObjectSP object_sp = pair.second; in DoUpdateThreadList() 401 lldb_private::StructuredData::ObjectSP 414 return GetInterface().ErrorWithMessage<StructuredData::ObjectSP>( in GetLoadedDynamicLibrariesInfos() 480 return GetInterface().ErrorWithMessage<StructuredData::ObjectSP>( in GetLoadedDynamicLibrariesInfos()
|