Home
last modified time | relevance | path

Searched refs:SBError (Results 1 – 25 of 58) sorted by relevance

123

/freebsd-14.2/contrib/llvm-project/lldb/source/API/
H A DSBError.cpp20 SBError::SBError() { LLDB_INSTRUMENT_VA(this); } in SBError() function in SBError
22 SBError::SBError(const SBError &rhs) { in SBError() function in SBError
28 SBError::SBError(const char *message) { in SBError() function in SBError
34 SBError::SBError(const lldb_private::Status &status) in SBError() function in SBError
39 SBError::~SBError() = default;
41 const SBError &SBError::operator=(const SBError &rhs) { in operator =()
57 void SBError::Clear() { in Clear()
64 bool SBError::Fail() const { in Fail()
75 bool SBError::Success() const { in Success()
148 bool SBError::IsValid() const { in IsValid()
[all …]
H A DSBTrace.cpp31 SBTrace SBTrace::LoadTraceFromFile(SBError &error, SBDebugger &debugger, in LoadTraceFromFile()
46 SBTraceCursor SBTrace::CreateNewCursor(SBError &error, SBThread &thread) { in CreateNewCursor()
67 SBFileSpec SBTrace::SaveToDisk(SBError &error, const SBFileSpec &bundle_dir, in SaveToDisk()
93 SBError SBTrace::Start(const SBStructuredData &configuration) { in Start()
95 SBError error; in Start()
104 SBError SBTrace::Start(const SBThread &thread, in Start()
108 SBError error; in Start()
121 SBError SBTrace::Stop() { in Stop()
123 SBError error; in Stop()
131 SBError SBTrace::Stop(const SBThread &thread) { in Stop()
[all …]
H A DSBFile.cpp57 SBError SBFile::Read(uint8_t *buf, size_t num_bytes, size_t *bytes_read) { in Read()
60 SBError error; in Read()
72 SBError SBFile::Write(const uint8_t *buf, size_t num_bytes, in Write()
76 SBError error; in Write()
88 SBError SBFile::Flush() { in Flush()
91 SBError error; in Flush()
106 SBError SBFile::Close() { in Close()
108 SBError error; in Close()
H A DSBPlatform.cpp382 SBError sb_error; in ConnectRemote()
501 SBError sb_error; in Get()
582 SBError &error) { in Attach()
624 SBError SBPlatform::ExecuteConnected( in ExecuteConnected()
626 SBError sb_error; in ExecuteConnected()
642 SBError sb_error; in MakeDirectory()
669 SBError sb_error; in SetFilePermissions()
700 SBError SBPlatform::SetLocateModuleCallback( in SetLocateModuleCallback()
705 return SBError("invalid platform"); in SetLocateModuleCallback()
710 return SBError(); in SetLocateModuleCallback()
[all …]
H A DSBProcess.cpp568 SBError sb_error; in Continue()
588 SBError sb_error; in Destroy()
603 SBError sb_error; in Stop()
618 SBError sb_error; in Kill()
641 SBError sb_error; in Detach()
656 SBError sb_error; in Signal()
1067 lldb::SBError sb_error; in UnloadImage()
1088 lldb::SBError sb_error; in SendEventData()
1171 lldb::SBError error; in SaveCore()
1194 lldb::SBError
[all …]
H A DSBThreadPlan.cpp218 SBError error; in QueueThreadPlanForStepOverRange()
223 SBAddress &sb_start_address, lldb::addr_t size, SBError &error) { in QueueThreadPlanForStepOverRange()
257 SBError error; in QueueThreadPlanForStepInRange()
263 lldb::addr_t size, SBError &error) { in QueueThreadPlanForStepInRange()
297 SBError error; in QueueThreadPlanForStepOut()
303 bool first_insn, SBError &error) { in QueueThreadPlanForStepOut()
332 SBError error; in QueueThreadPlanForRunToAddress()
337 SBError &error) { in QueueThreadPlanForRunToAddress()
365 SBError error; in QueueThreadPlanForStepScripted()
371 SBError &error) { in QueueThreadPlanForStepScripted()
[all …]
H A DSBThread.cpp492 SBError sb_error; in ResumeNewPlan()
527 SBError error; // Ignored in StepOver()
573 SBError error; // Ignored in StepInto()
628 SBError error; // Ignored in StepOut()
663 SBError error; // Ignored in StepOutOfFrame()
772 SBError sb_error; in StepOverUntil()
904 SBError error; in StepUsingScriptedThreadPlan()
940 SBError sb_error; in JumpToLine()
960 SBError sb_error; in ReturnFromFrame()
977 SBError sb_error; in UnwindInnermostExpression()
[all …]
H A DSBStructuredData.cpp80 lldb::SBError SBStructuredData::SetFromJSON(lldb::SBStream &stream) { in SetFromJSON()
83 lldb::SBError error; in SetFromJSON()
94 lldb::SBError SBStructuredData::SetFromJSON(const char *json) { in SetFromJSON()
118 SBError SBStructuredData::GetAsJSON(lldb::SBStream &stream) const { in GetAsJSON()
121 SBError error; in GetAsJSON()
126 lldb::SBError SBStructuredData::GetDescription(lldb::SBStream &stream) const { in GetDescription()
130 SBError sb_error; in GetDescription()
H A DSBData.cpp117 float SBData::GetFloat(lldb::SBError &error, lldb::offset_t offset) { in GetFloat()
132 double SBData::GetDouble(lldb::SBError &error, lldb::offset_t offset) { in GetDouble()
162 lldb::addr_t SBData::GetAddress(lldb::SBError &error, lldb::offset_t offset) { in GetAddress()
177 uint8_t SBData::GetUnsignedInt8(lldb::SBError &error, lldb::offset_t offset) { in GetUnsignedInt8()
237 int8_t SBData::GetSignedInt8(lldb::SBError &error, lldb::offset_t offset) { in GetSignedInt8()
252 int16_t SBData::GetSignedInt16(lldb::SBError &error, lldb::offset_t offset) { in GetSignedInt16()
267 int32_t SBData::GetSignedInt32(lldb::SBError &error, lldb::offset_t offset) { in GetSignedInt32()
297 const char *SBData::GetString(lldb::SBError &error, lldb::offset_t offset) { in GetString()
330 size_t SBData::ReadRawData(lldb::SBError &error, lldb::offset_t offset, in ReadRawData()
346 void SBData::SetData(lldb::SBError &error, const void *buf, size_t size, in SetData()
[all …]
H A DSBHostOS.cpp102 void *thread_arg, SBError *error_ptr) { in ThreadCreate()
109 bool SBHostOS::ThreadCancel(lldb::thread_t thread, SBError *error_ptr) { in ThreadCancel()
114 bool SBHostOS::ThreadDetach(lldb::thread_t thread, SBError *error_ptr) { in ThreadDetach()
120 SBError *error_ptr) { in ThreadJoin()
H A DSBDebugger.cpp70 SBError SBInputReader::Initialize( in Initialize()
79 return SBError(); in Initialize()
217 SBError error; in InitializeWithErrorHandling()
371 SBError sb_error; in SetInputString()
395 SBError SBDebugger::SetInputFile(SBFile file) { in SetInputFile()
398 SBError error; in SetInputFile()
428 SBError error; in SetOutputFile()
453 SBError error; in SetErrorFile()
1297 SBError error; in RunREPL()
1342 SBError sb_error; in SetInternalVariable()
[all …]
H A DSBTarget.cpp283 SBError error; in LaunchSimple()
290 SBError sb_error; in Install()
657 SBError sb_error; in ReadMemory()
1207 SBError sberr; in BreakpointsCreateFromFile()
1239 SBError sberr; in BreakpointsWriteToFile()
1254 SBError sberr; in BreakpointsWriteToFile()
2063 SBError sb_error; in SetSectionLoadAddress()
2099 SBError sb_error; in ClearSectionLoadAddress()
2135 SBError sb_error; in SetModuleLoadAddress()
2146 SBError sb_error; in SetModuleLoadAddress()
[all …]
/freebsd-14.2/contrib/llvm-project/lldb/include/lldb/API/
H A DSBProcess.h92 lldb::SBError &error);
159 lldb::SBError Destroy();
161 lldb::SBError Continue();
163 lldb::SBError Stop();
165 lldb::SBError Kill();
167 lldb::SBError Detach();
169 lldb::SBError Detach(bool keep_stopped);
171 lldb::SBError Signal(int signal);
202 lldb::SBError &error);
286 lldb::SBError &error);
[all …]
H A DSBThread.h102 void StepOver(lldb::RunMode stop_other_threads, SBError &error);
114 void StepOut(SBError &error);
118 void StepOutOfFrame(SBFrame &frame, SBError &error);
122 void StepInstruction(bool step_over, SBError &error);
136 SBError JumpToLine(lldb::SBFileSpec &file_spec, uint32_t line);
140 void RunToAddress(lldb::addr_t addr, SBError &error);
142 SBError ReturnFromFrame(SBFrame &frame, SBValue &return_value);
144 SBError UnwindInnermostExpression();
167 bool Suspend(SBError &error);
171 bool Resume(SBError &error);
[all …]
H A DSBData.h46 float GetFloat(lldb::SBError &error, lldb::offset_t offset);
48 double GetDouble(lldb::SBError &error, lldb::offset_t offset);
50 long double GetLongDouble(lldb::SBError &error, lldb::offset_t offset);
52 lldb::addr_t GetAddress(lldb::SBError &error, lldb::offset_t offset);
54 uint8_t GetUnsignedInt8(lldb::SBError &error, lldb::offset_t offset);
62 int8_t GetSignedInt8(lldb::SBError &error, lldb::offset_t offset);
64 int16_t GetSignedInt16(lldb::SBError &error, lldb::offset_t offset);
66 int32_t GetSignedInt32(lldb::SBError &error, lldb::offset_t offset);
68 int64_t GetSignedInt64(lldb::SBError &error, lldb::offset_t offset);
70 const char *GetString(lldb::SBError &error, lldb::offset_t offset);
[all …]
H A DSBPlatform.h123 SBError ConnectRemote(SBPlatformConnectOptions &connect_options);
146 SBError Put(SBFileSpec &src, SBFileSpec &dst);
148 SBError Get(SBFileSpec &src, SBFileSpec &dst);
150 SBError Install(SBFileSpec &src, SBFileSpec &dst);
152 SBError Run(SBPlatformShellCommand &shell_command);
154 SBError Launch(SBLaunchInfo &launch_info);
157 SBTarget &target, SBError &error);
159 SBProcessInfoList GetAllProcesses(SBError &error);
161 SBError Kill(const lldb::pid_t pid);
163 SBError
[all …]
H A DSBTrace.h24 static SBTrace LoadTraceFromFile(SBError &error, SBDebugger &debugger,
39 SBTraceCursor CreateNewCursor(SBError &error, SBThread &thread);
60 SBFileSpec SaveToDisk(SBError &error, const SBFileSpec &bundle_dir,
90 SBError Start(const SBStructuredData &configuration);
110 SBError Start(const SBThread &thread, const SBStructuredData &configuration);
122 SBError Stop();
131 SBError Stop(const SBThread &thread);
H A DSBError.h23 class LLDB_API SBError {
25 SBError();
27 SBError(const lldb::SBError &rhs);
29 SBError(const char *message);
31 ~SBError();
33 const SBError &operator=(const lldb::SBError &rhs);
99 SBError(const lldb_private::Status &error);
H A DSBTarget.h123 SBError Install();
217 SBProcess Launch(SBLaunchInfo &launch_info, SBError &error);
219 SBProcess Attach(SBAttachInfo &attach_info, SBError &error);
238 lldb::SBError &error);
289 lldb::SBError &error);
334 SBError SetLabel(const char *label);
367 lldb::SBError SetSectionLoadAddress(lldb::SBSection section,
402 lldb::SBError SetModuleLoadAddress(lldb::SBModule module,
424 lldb::SBError SetModuleLoadAddress(lldb::SBModule module,
583 lldb::SBError &error);
[all …]
H A DSBDebugger.h32 SBError Initialize(lldb::SBDebugger &sb_debugger,
110 static lldb::SBError InitializeWithErrorHandling();
176 SBError SetInputString(const char *data);
178 SBError SetInputFile(SBFile file);
180 SBError SetOutputFile(SBFile file);
182 SBError SetErrorFile(SBFile file);
184 SBError SetInputFile(FileSP file);
186 SBError SetOutputFile(FileSP file);
188 SBError SetErrorFile(FileSP file);
290 lldb::SBError SetCurrentPlatform(const char *platform_name);
[all …]
H A DSBThreadPlan.h95 SBError &error);
101 SBError &error);
106 bool first_insn, SBError &error);
110 SBError &error);
114 SBError &error);
117 SBError &error);
H A DSBHostOS.h35 void *thread_arg, lldb::SBError *err);
39 static bool ThreadCancel(lldb::thread_t thread, lldb::SBError *err);
43 static bool ThreadDetach(lldb::thread_t thread, lldb::SBError *err);
48 lldb::SBError *err);
H A DSBFile.h37 SBError Read(uint8_t *buf, size_t num_bytes, size_t *OUTPUT);
38 SBError Write(const uint8_t *buf, size_t num_bytes, size_t *OUTPUT);
39 SBError Flush();
41 SBError Close();
H A DSBValue.h43 SBError GetError();
63 int64_t GetValueAsSigned(lldb::SBError &error, int64_t fail_value = 0);
65 uint64_t GetValueAsUnsigned(lldb::SBError &error, uint64_t fail_value = 0);
112 bool SetValueFromCString(const char *value_str, lldb::SBError &error);
254 bool SetData(lldb::SBData &data, lldb::SBError &error);
345 SBError &error);
375 SBError &error);
H A DSBStructuredData.h44 lldb::SBError SetFromJSON(lldb::SBStream &stream);
46 lldb::SBError SetFromJSON(const char *json);
50 lldb::SBError GetAsJSON(lldb::SBStream &stream) const;
52 lldb::SBError GetDescription(lldb::SBStream &stream) const;

123