|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Declarations
tools/lldb/include/lldb/Breakpoint/BreakpointPrecondition.h 17 class Status;
tools/lldb/include/lldb/Core/Communication.h 31 class Status;
tools/lldb/include/lldb/Core/SearchFilter.h 24 class Status;
tools/lldb/include/lldb/Core/ValueObjectConstResultCast.h 25 class Status;
tools/lldb/include/lldb/Core/ValueObjectConstResultChild.h 25 class Status;
tools/lldb/include/lldb/Core/ValueObjectConstResultImpl.h 23 class Status;
tools/lldb/include/lldb/Core/ValueObjectDynamicValue.h 30 class Status;
tools/lldb/include/lldb/Core/ValueObjectRegister.h 26 class Status;
tools/lldb/include/lldb/Core/ValueObjectSyntheticFilter.h 29 class Status;
tools/lldb/include/lldb/Core/ValueObjectVariable.h 27 class Status;
tools/lldb/include/lldb/Expression/IRExecutionUnit.h 37 class Status;
tools/lldb/include/lldb/Host/ProcessLauncher.h 15 class Status;
tools/lldb/include/lldb/Host/posix/ConnectionFileDescriptorPosix.h 25 class Status;
tools/lldb/include/lldb/Utility/Connection.h 24 class Status;
tools/lldb/include/lldb/Utility/StructuredData.h 32 class Status;
tools/lldb/include/lldb/lldb-forward.h 88 class Status;
tools/lldb/source/Core/ValueObjectConstResultCast.cpp 15 class Status;
tools/lldb/source/Core/ValueObjectConstResultChild.cpp 16 class Status;
tools/lldb/source/Core/ValueObjectConstResultImpl.cpp 29 class Status;
tools/lldb/source/Plugins/Process/Linux/NativeProcessLinux.h 28 class Status;
References
include/llvm/Support/FormatVariadic.h 253 inline auto formatv(const char *Fmt, Ts &&... Vals) -> formatv_object<decltype(
254 std::make_tuple(detail::build_format_adapter(std::forward<Ts>(Vals))...))> {
256 std::make_tuple(detail::build_format_adapter(std::forward<Ts>(Vals))...));
259 std::make_tuple(detail::build_format_adapter(std::forward<Ts>(Vals))...));
include/llvm/Support/FormatVariadicDetails.h 33 T Item;
36 explicit provider_format_adapter(T &&Item) : Item(std::forward<T>(Item)) {}
36 explicit provider_format_adapter(T &&Item) : Item(std::forward<T>(Item)) {}
39 format_provider<typename std::decay<T>::type>::format(Item, S, Options);
62 using Decayed = typename std::decay<T>::type;
78 using ConstRefT = const typename std::decay<T>::type &;
136 typename std::enable_if<uses_format_provider<T>::value,
137 provider_format_adapter<T>>::type
138 build_format_adapter(T &&Item) {
139 return provider_format_adapter<T>(std::forward<T>(Item));
tools/lldb/include/lldb/API/SBError.h 75 lldb_private::Status *get();
77 lldb_private::Status *operator->();
79 const lldb_private::Status &operator*() const;
81 lldb_private::Status &ref();
83 void SetError(const lldb_private::Status &lldb_error);
86 std::unique_ptr<lldb_private::Status> m_opaque_up;
tools/lldb/include/lldb/API/SBPlatform.h 158 const std::function<lldb_private::Status(const lldb::PlatformSP &)>
tools/lldb/include/lldb/Breakpoint/Breakpoint.h 145 Target &target, StructuredData::ObjectSP &data_object_sp, Status &error);
tools/lldb/include/lldb/Breakpoint/BreakpointID.h 76 static bool StringIsBreakpointName(llvm::StringRef str, Status &error);
tools/lldb/include/lldb/Breakpoint/BreakpointLocation.h 134 bool ConditionSaysStop(ExecutionContext &exe_ctx, Status &error);
tools/lldb/include/lldb/Breakpoint/BreakpointOptions.h 62 Status &error);
130 Status &error);
tools/lldb/include/lldb/Breakpoint/BreakpointPrecondition.h 25 virtual Status ConfigurePrecondition(Args &args);
tools/lldb/include/lldb/Breakpoint/BreakpointResolver.h 108 Status &error);
tools/lldb/include/lldb/Breakpoint/BreakpointResolverAddress.h 34 Status &error);
tools/lldb/include/lldb/Breakpoint/BreakpointResolverFileLine.h 31 Status &error);
tools/lldb/include/lldb/Breakpoint/BreakpointResolverFileRegex.h 33 Status &error);
tools/lldb/include/lldb/Breakpoint/BreakpointResolverName.h 54 Status &error);
tools/lldb/include/lldb/Breakpoint/BreakpointResolverScripted.h 36 Status &error);
tools/lldb/include/lldb/Breakpoint/Watchpoint.h 98 const Status &GetError() { return m_error; }
197 Status m_error; // An error object describing errors associated with this
tools/lldb/include/lldb/Core/Communication.h 140 lldb::ConnectionStatus Connect(const char *url, Status *error_ptr);
151 lldb::ConnectionStatus Disconnect(Status *error_ptr = nullptr);
192 lldb::ConnectionStatus &status, Status *error_ptr);
210 Status *error_ptr);
248 virtual bool StartReadThread(Status *error_ptr = nullptr);
255 virtual bool StopReadThread(Status *error_ptr = nullptr);
257 virtual bool JoinReadThread(Status *error_ptr = nullptr);
320 lldb::ConnectionStatus &status, Status *error_ptr);
tools/lldb/include/lldb/Core/Debugger.h 233 Status SetPropertyValue(const ExecutionContext *exe_ctx,
306 bool LoadPlugin(const FileSpec &spec, Status &error);
318 Status RunREPL(lldb::LanguageType language, const char *repl_options);
tools/lldb/include/lldb/Core/FormatEntity.h 196 static Status Parse(const llvm::StringRef &format, Entry &entry);
198 static Status ExtractVariableInfo(llvm::StringRef &format_str,
215 static Status ParseInternal(llvm::StringRef &format, Entry &parent_entry,
tools/lldb/include/lldb/Core/Module.h 536 bool LoadScriptingResourceInTarget(Target *target, Status &error,
613 lldb::addr_t header_addr, Status &error,
tools/lldb/include/lldb/Core/ModuleList.h 457 bool LoadScriptingResourcesInTarget(Target *target, std::list<Status> &errors,
465 static Status GetSharedModule(const ModuleSpec &module_spec,
tools/lldb/include/lldb/Core/PluginManager.h 196 static Status SaveCore(const lldb::ProcessSP &process_sp,
tools/lldb/include/lldb/Core/SearchFilter.h 195 Status &error);
293 Status &error);
339 Status &error);
392 Status &error);
443 Status &error);
tools/lldb/include/lldb/Core/StructuredDataImpl.h 49 Status GetAsJSON(Stream &stream) const {
50 Status error;
62 Status GetDescription(Stream &stream) const {
63 Status error;
tools/lldb/include/lldb/Core/UserSettingsController.h 51 Status &error) const;
53 virtual Status SetPropertyValue(const ExecutionContext *exe_ctx,
58 virtual Status DumpPropertyValue(const ExecutionContext *exe_ctx,
tools/lldb/include/lldb/Core/Value.h 210 uint64_t GetValueByteSize(Status *error_ptr, ExecutionContext *exe_ctx);
212 Status GetValueAsData(ExecutionContext *exe_ctx, DataExtractor &data,
tools/lldb/include/lldb/Core/ValueObject.h 440 virtual bool SetValueFromCString(const char *value_str, Status &error);
457 const Status &GetError();
495 virtual bool IsLogicalTrue(Status &error);
595 virtual lldb::ValueObjectSP Dereference(Status &error);
603 virtual lldb::ValueObjectSP AddressOf(Status &error);
671 ReadPointedString(lldb::DataBufferSP &buffer_sp, Status &error,
678 virtual uint64_t GetData(DataExtractor &data, Status &error);
680 virtual bool SetData(DataExtractor &data, Status &error);
845 Status
tools/lldb/include/lldb/Core/ValueObjectConstResult.h 63 const Status &error);
79 lldb::ValueObjectSP Dereference(Status &error) override;
88 lldb::ValueObjectSP AddressOf(Status &error) override;
147 ValueObjectConstResult(ExecutionContextScope *exe_scope, const Status &error);
tools/lldb/include/lldb/Core/ValueObjectConstResultCast.h 36 lldb::ValueObjectSP Dereference(Status &error) override;
49 lldb::ValueObjectSP AddressOf(Status &error) override;
tools/lldb/include/lldb/Core/ValueObjectConstResultChild.h 42 lldb::ValueObjectSP Dereference(Status &error) override;
55 lldb::ValueObjectSP AddressOf(Status &error) override;
tools/lldb/include/lldb/Core/ValueObjectConstResultImpl.h 39 lldb::ValueObjectSP Dereference(Status &error);
49 lldb::ValueObjectSP AddressOf(Status &error);
tools/lldb/include/lldb/Core/ValueObjectDynamicValue.h 80 bool SetValueFromCString(const char *value_str, Status &error) override;
82 bool SetData(DataExtractor &data, Status &error) override;
tools/lldb/include/lldb/Core/ValueObjectRegister.h 133 bool SetValueFromCString(const char *value_str, Status &error) override;
135 bool SetData(DataExtractor &data, Status &error) override;
tools/lldb/include/lldb/Core/ValueObjectSyntheticFilter.h 104 bool SetValueFromCString(const char *value_str, Status &error) override;
tools/lldb/include/lldb/Core/ValueObjectVariable.h 62 bool SetValueFromCString(const char *value_str, Status &error) override;
64 bool SetData(DataExtractor &data, Status &error) override;
tools/lldb/include/lldb/DataFormatters/TypeSummary.h 280 Status m_error;
tools/lldb/include/lldb/Expression/DWARFExpression.h 164 Value &result, Status *error_ptr) const;
171 Value &result, Status *error_ptr) const;
230 Status *error_ptr);
tools/lldb/include/lldb/Expression/ExpressionParser.h 133 virtual Status
tools/lldb/include/lldb/Expression/IRExecutionUnit.h 78 void GetRunnableInfo(Status &error, lldb::addr_t &func_addr,
85 lldb::addr_t WriteNow(const uint8_t *bytes, size_t size, Status &error);
214 Status DisassembleFunction(Stream &stream, lldb::ProcessSP &process_sp);
365 bool CommitOneAllocation(lldb::ProcessSP &process_sp, Status &error,
tools/lldb/include/lldb/Expression/IRInterpreter.h 39 lldb_private::Status &error,
45 lldb_private::Status &error,
52 lldb_private::Status &err);
tools/lldb/include/lldb/Expression/IRMemoryMap.h 54 AllocationPolicy policy, bool zero_memory, Status &error);
55 void Leak(lldb::addr_t process_address, Status &error);
56 void Free(lldb::addr_t process_address, Status &error);
59 size_t size, Status &error);
61 size_t size, Status &error);
63 Status &error);
65 Status &error);
67 size_t size, Status &error);
69 lldb::addr_t process_address, Status &error);
72 size_t size, Status &error);
tools/lldb/include/lldb/Expression/LLVMUserExpression.h 80 lldb_private::Status &err) = 0;
tools/lldb/include/lldb/Expression/Materializer.h 36 void Dematerialize(Status &err, lldb::addr_t frame_top,
70 lldb::addr_t process_address, Status &err);
81 PersistentVariableDelegate *delegate, Status &err);
82 uint32_t AddVariable(lldb::VariableSP &variable_sp, Status &err);
85 PersistentVariableDelegate *delegate, Status &err);
86 uint32_t AddSymbol(const Symbol &symbol_sp, Status &err);
87 uint32_t AddRegister(const RegisterInfo ®ister_info, Status &err);
100 lldb::addr_t process_address, Status &err) = 0;
104 lldb::addr_t frame_bottom, Status &err) = 0;
tools/lldb/include/lldb/Expression/REPL.h 55 static lldb::REPLSP Create(Status &Status, lldb::LanguageType language,
79 Status RunLoop();
114 virtual Status DoInitialization() = 0;
tools/lldb/include/lldb/Expression/UserExpression.h 264 lldb::ValueObjectSP &result_valobj_sp, Status &error,
269 static const Status::ValueType kNoResult =
287 ConstString &object_name, Status &err);
tools/lldb/include/lldb/Expression/UtilityFunction.h 103 Status &error);
tools/lldb/include/lldb/Host/File.h 88 Status Read(void *buf, size_t &num_bytes) override;
105 Status Write(const void *buf, size_t &num_bytes) override;
118 Status Close() override;
137 virtual Status GetFileSpec(FileSpec &file_spec) const;
176 virtual off_t SeekFromStart(off_t offset, Status *error_ptr = nullptr);
196 virtual off_t SeekFromCurrent(off_t offset, Status *error_ptr = nullptr);
217 virtual off_t SeekFromEnd(off_t offset, Status *error_ptr = nullptr);
240 virtual Status Read(void *dst, size_t &num_bytes, off_t &offset);
265 virtual Status Write(const void *src, size_t &num_bytes, off_t &offset);
272 virtual Status Flush();
279 virtual Status Sync();
332 uint32_t GetPermissions(Status &error) const;
397 Status Read(void *buf, size_t &num_bytes) override;
398 Status Write(const void *buf, size_t &num_bytes) override;
399 Status Close() override;
401 Status GetFileSpec(FileSpec &file_spec) const override;
404 off_t SeekFromStart(off_t offset, Status *error_ptr = nullptr) override;
405 off_t SeekFromCurrent(off_t offset, Status *error_ptr = nullptr) override;
406 off_t SeekFromEnd(off_t offset, Status *error_ptr = nullptr) override;
407 Status Read(void *dst, size_t &num_bytes, off_t &offset) override;
408 Status Write(const void *src, size_t &num_bytes, off_t &offset) override;
409 Status Flush() override;
410 Status Sync() override;
tools/lldb/include/lldb/Host/FileCache.h 32 uint32_t mode, Status &error);
33 bool CloseFile(lldb::user_id_t fd, Status &error);
36 uint64_t src_len, Status &error);
38 uint64_t dst_len, Status &error);
tools/lldb/include/lldb/Host/FileSystem.h 55 Status Symlink(const FileSpec &src, const FileSpec &dst);
56 Status Readlink(const FileSpec &src, FileSpec &dst);
58 Status ResolveSymbolicLink(const FileSpec &src, FileSpec &dst);
tools/lldb/include/lldb/Host/Host.h 189 static Status LaunchProcess(ProcessLaunchInfo &launch_info);
196 static Status ShellExpandArguments(ProcessLaunchInfo &launch_info);
207 static Status RunShellCommand(const char *command,
221 static Status RunShellCommand(const Args &args, const FileSpec &working_dir,
tools/lldb/include/lldb/Host/HostNativeProcessBase.h 30 virtual Status Terminate() = 0;
31 virtual Status GetMainModule(FileSpec &file_spec) const = 0;
tools/lldb/include/lldb/Host/HostNativeThreadBase.h 33 virtual Status Join(lldb::thread_result_t *result) = 0;
34 virtual Status Cancel() = 0;
tools/lldb/include/lldb/Host/HostProcess.h 40 Status Terminate();
41 Status GetMainModule(FileSpec &file_spec) const;
tools/lldb/include/lldb/Host/HostThread.h 34 Status Join(lldb::thread_result_t *result);
35 Status Cancel();
tools/lldb/include/lldb/Host/LockFileBase.h 24 Status WriteLock(const uint64_t start, const uint64_t len);
25 Status TryWriteLock(const uint64_t start, const uint64_t len);
27 Status ReadLock(const uint64_t start, const uint64_t len);
28 Status TryReadLock(const uint64_t start, const uint64_t len);
30 Status Unlock();
33 using Locker = std::function<Status(const uint64_t, const uint64_t)>;
39 virtual Status DoWriteLock(const uint64_t start, const uint64_t len) = 0;
40 virtual Status DoTryWriteLock(const uint64_t start, const uint64_t len) = 0;
42 virtual Status DoReadLock(const uint64_t start, const uint64_t len) = 0;
43 virtual Status DoTryReadLock(const uint64_t start, const uint64_t len) = 0;
45 virtual Status DoUnlock() = 0;
47 Status DoLock(const Locker &locker, const uint64_t start, const uint64_t len);
tools/lldb/include/lldb/Host/MainLoop.h 49 Status &error) override;
59 Status &error);
61 Status Run() override;
tools/lldb/include/lldb/Host/MainLoopBase.h 45 Status &error) {
51 virtual Status Run() { llvm_unreachable("Not implemented"); }
tools/lldb/include/lldb/Host/MonitoringProcessLauncher.h 26 Status &error) override;
tools/lldb/include/lldb/Host/PipeBase.h 25 virtual Status CreateNew(bool child_process_inherit) = 0;
26 virtual Status CreateNew(llvm::StringRef name,
28 virtual Status CreateWithUniqueName(llvm::StringRef prefix,
32 virtual Status OpenAsReader(llvm::StringRef name,
35 Status OpenAsWriter(llvm::StringRef name, bool child_process_inherit);
36 virtual Status
57 virtual Status Delete(llvm::StringRef name) = 0;
59 virtual Status Write(const void *buf, size_t size, size_t &bytes_written) = 0;
60 virtual Status ReadWithTimeout(void *buf, size_t size,
63 Status Read(void *buf, size_t size, size_t &bytes_read);
tools/lldb/include/lldb/Host/ProcessLaunchInfo.h 97 bool ConvertArgumentsForLaunchingInShell(Status &error, bool localhost,
tools/lldb/include/lldb/Host/ProcessLauncher.h 22 Status &error) = 0;
tools/lldb/include/lldb/Host/Socket.h 58 Status &error);
60 virtual Status Connect(llvm::StringRef name) = 0;
61 virtual Status Listen(llvm::StringRef name, int backlog) = 0;
62 virtual Status Accept(Socket *&socket) = 0;
67 static Status TcpListen(llvm::StringRef host_and_port,
70 static Status TcpConnect(llvm::StringRef host_and_port,
72 static Status UdpConnect(llvm::StringRef host_and_port,
74 static Status UnixDomainConnect(llvm::StringRef host_and_port,
77 static Status UnixDomainAccept(llvm::StringRef host_and_port,
79 static Status UnixAbstractConnect(llvm::StringRef host_and_port,
82 static Status UnixAbstractAccept(llvm::StringRef host_and_port,
92 Status Read(void *buf, size_t &num_bytes) override;
93 Status Write(const void *buf, size_t &num_bytes) override;
95 virtual Status PreDisconnect();
96 Status Close() override;
103 int32_t &port, Status *error_ptr);
114 static void SetLastError(Status &error);
117 bool child_processes_inherit, Status &error);
120 bool child_processes_inherit, Status &error);
tools/lldb/include/lldb/Host/common/NativeProcessProtocol.h 48 virtual Status Resume(const ResumeActionList &resume_actions) = 0;
50 virtual Status Halt() = 0;
52 virtual Status Detach() = 0;
58 virtual Status Signal(int signo) = 0;
68 virtual Status Interrupt();
70 virtual Status Kill() = 0;
74 virtual Status IgnoreSignals(llvm::ArrayRef<int> signals);
78 virtual Status GetMemoryRegionInfo(lldb::addr_t load_addr,
81 virtual Status ReadMemory(lldb::addr_t addr, void *buf, size_t size,
84 Status ReadMemoryWithoutTrap(lldb::addr_t addr, void *buf, size_t size,
112 virtual Status WriteMemory(lldb::addr_t addr, const void *buf, size_t size,
115 virtual Status AllocateMemory(size_t size, uint32_t permissions,
118 virtual Status DeallocateMemory(lldb::addr_t addr) = 0;
135 virtual Status SetBreakpoint(lldb::addr_t addr, uint32_t size,
138 virtual Status RemoveBreakpoint(lldb::addr_t addr, bool hardware = false);
143 virtual Status SetHardwareBreakpoint(lldb::addr_t addr, size_t size);
145 virtual Status RemoveHardwareBreakpoint(lldb::addr_t addr);
153 virtual Status SetWatchpoint(lldb::addr_t addr, size_t size,
156 virtual Status RemoveWatchpoint(lldb::addr_t addr);
250 virtual Status GetLoadedModuleFileSpec(const char *module_path,
253 virtual Status GetFileLoadAddress(const llvm::StringRef &file_name,
320 Status &error) {
339 virtual Status StopTrace(lldb::user_id_t traceid,
363 virtual Status GetData(lldb::user_id_t traceid, lldb::tid_t thread,
371 virtual Status GetMetaData(lldb::user_id_t traceid, lldb::tid_t thread,
392 virtual Status GetTraceConfig(lldb::user_id_t traceid, TraceOptions &config) {
446 Status SetSoftwareBreakpoint(lldb::addr_t addr, uint32_t size_hint);
447 Status RemoveSoftwareBreakpoint(lldb::addr_t addr);
tools/lldb/include/lldb/Host/common/NativeRegisterContext.h 46 virtual Status ReadRegister(const RegisterInfo *reg_info,
49 virtual Status WriteRegister(const RegisterInfo *reg_info,
52 virtual Status ReadAllRegisterValues(lldb::DataBufferSP &data_sp) = 0;
54 virtual Status WriteAllRegisterValues(const lldb::DataBufferSP &data_sp) = 0;
66 virtual Status ClearAllHardwareBreakpoints();
68 virtual Status GetHardwareBreakHitIndex(uint32_t &bp_index,
78 virtual Status ClearAllHardwareWatchpoints();
80 virtual Status IsWatchpointHit(uint32_t wp_index, bool &is_hit);
82 virtual Status GetWatchpointHitIndex(uint32_t &wp_index,
85 virtual Status IsWatchpointVacant(uint32_t wp_index, bool &is_vacant);
102 virtual Status
107 virtual Status
127 Status SetPC(lldb::addr_t pc);
131 Status SetSP(lldb::addr_t sp);
135 Status SetFP(lldb::addr_t fp);
148 Status WriteRegisterFromUnsigned(uint32_t reg, uint64_t uval);
150 Status WriteRegisterFromUnsigned(const RegisterInfo *reg_info, uint64_t uval);
tools/lldb/include/lldb/Host/common/NativeThreadProtocol.h 40 virtual Status SetWatchpoint(lldb::addr_t addr, size_t size,
43 virtual Status RemoveWatchpoint(lldb::addr_t addr) = 0;
46 virtual Status SetHardwareBreakpoint(lldb::addr_t addr, size_t size) = 0;
48 virtual Status RemoveHardwareBreakpoint(lldb::addr_t addr) = 0;
tools/lldb/include/lldb/Host/common/NativeWatchpointList.h 27 Status Add(lldb::addr_t addr, size_t size, uint32_t watch_flags,
30 Status Remove(lldb::addr_t addr);
tools/lldb/include/lldb/Host/common/TCPSocket.h 41 Status Connect(llvm::StringRef name) override;
42 Status Listen(llvm::StringRef name, int backlog) override;
43 Status Accept(Socket *&conn_socket) override;
45 Status CreateSocket(int domain);
tools/lldb/include/lldb/Host/common/UDPSocket.h 19 static Status Connect(llvm::StringRef name, bool child_processes_inherit,
28 Status Connect(llvm::StringRef name) override;
29 Status Listen(llvm::StringRef name, int backlog) override;
30 Status Accept(Socket *&socket) override;
tools/lldb/include/lldb/Host/posix/ConnectionFileDescriptorPosix.h 52 lldb::ConnectionStatus Connect(llvm::StringRef s, Status *error_ptr) override;
54 lldb::ConnectionStatus Disconnect(Status *error_ptr) override;
57 lldb::ConnectionStatus &status, Status *error_ptr) override;
60 Status *error_ptr) override;
65 Status *error_ptr);
82 Status *error_ptr);
85 Status *error_ptr);
87 lldb::ConnectionStatus ConnectUDP(llvm::StringRef args, Status *error_ptr);
90 Status *error_ptr);
93 Status *error_ptr);
96 Status *error_ptr);
tools/lldb/include/lldb/Host/posix/DomainSocket.h 19 Status Connect(llvm::StringRef name) override;
20 Status Listen(llvm::StringRef name, int backlog) override;
21 Status Accept(Socket *&socket) override;
tools/lldb/include/lldb/Host/posix/HostProcessPosix.h 26 virtual Status Signal(int signo) const;
27 static Status Signal(lldb::process_t process, int signo);
29 Status Terminate() override;
30 Status GetMainModule(FileSpec &file_spec) const override;
tools/lldb/include/lldb/Host/posix/HostThreadPosix.h 24 Status Join(lldb::thread_result_t *result) override;
25 Status Cancel() override;
27 Status Detach();
tools/lldb/include/lldb/Host/posix/LockFilePosix.h 22 Status DoWriteLock(const uint64_t start, const uint64_t len) override;
24 Status DoTryWriteLock(const uint64_t start, const uint64_t len) override;
26 Status DoReadLock(const uint64_t start, const uint64_t len) override;
28 Status DoTryReadLock(const uint64_t start, const uint64_t len) override;
30 Status DoUnlock() override;
tools/lldb/include/lldb/Host/posix/PipePosix.h 35 Status CreateNew(bool child_process_inherit) override;
36 Status CreateNew(llvm::StringRef name, bool child_process_inherit) override;
37 Status CreateWithUniqueName(llvm::StringRef prefix,
40 Status OpenAsReader(llvm::StringRef name,
42 Status
66 Status Delete(llvm::StringRef name) override;
68 Status Write(const void *buf, size_t size, size_t &bytes_written) override;
69 Status ReadWithTimeout(void *buf, size_t size,
tools/lldb/include/lldb/Host/posix/ProcessLauncherPosixFork.h 19 Status &error) override;
tools/lldb/include/lldb/Interpreter/CommandInterpreter.h 516 Status PreprocessCommand(std::string &command);
tools/lldb/include/lldb/Interpreter/CommandReturnObject.h 127 void SetError(const Status &error, const char *fallback_error_cstr = nullptr);
tools/lldb/include/lldb/Interpreter/OptionArgParser.h 19 Status *error);
27 int32_t fail_value, Status &error);
34 static Status ToFormat(const char *s, lldb::Format &format,
tools/lldb/include/lldb/Interpreter/OptionGroupArchitecture.h 27 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_value,
tools/lldb/include/lldb/Interpreter/OptionGroupBoolean.h 34 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_value,
36 Status SetOptionValue(uint32_t, const char *, ExecutionContext *) = delete;
tools/lldb/include/lldb/Interpreter/OptionGroupFile.h 33 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_value,
35 Status SetOptionValue(uint32_t, const char *, ExecutionContext *) = delete;
64 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_value,
66 Status SetOptionValue(uint32_t, const char *, ExecutionContext *) = delete;
tools/lldb/include/lldb/Interpreter/OptionGroupFormat.h 39 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_value,
41 Status SetOptionValue(uint32_t, const char *, ExecutionContext *) = delete;
tools/lldb/include/lldb/Interpreter/OptionGroupOutputFile.h 27 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_value,
29 Status SetOptionValue(uint32_t, const char *, ExecutionContext *) = delete;
tools/lldb/include/lldb/Interpreter/OptionGroupPlatform.h 31 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_value,
33 Status SetOptionValue(uint32_t, const char *, ExecutionContext *) = delete;
39 bool make_selected, Status &error,
tools/lldb/include/lldb/Interpreter/OptionGroupPythonClassWithDict.h 38 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_value,
40 Status SetOptionValue(uint32_t, const char *, ExecutionContext *) = delete;
43 Status OptionParsingFinished(ExecutionContext *execution_context) override;
tools/lldb/include/lldb/Interpreter/OptionGroupString.h 31 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_value,
33 Status SetOptionValue(uint32_t, const char *, ExecutionContext *) = delete;
tools/lldb/include/lldb/Interpreter/OptionGroupUInt64.h 32 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_value,
34 Status SetOptionValue(uint32_t, const char *, ExecutionContext *) = delete;
tools/lldb/include/lldb/Interpreter/OptionGroupUUID.h 27 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_value,
29 Status SetOptionValue(uint32_t, const char *, ExecutionContext *) = delete;
tools/lldb/include/lldb/Interpreter/OptionGroupValueObjectDisplay.h 27 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_value,
29 Status SetOptionValue(uint32_t, const char *, ExecutionContext *) = delete;
tools/lldb/include/lldb/Interpreter/OptionGroupVariable.h 27 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_value,
29 Status SetOptionValue(uint32_t, const char *, ExecutionContext *) = delete;
tools/lldb/include/lldb/Interpreter/OptionGroupWatchpoint.h 28 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_value,
30 Status SetOptionValue(uint32_t, const char *, ExecutionContext *) = delete;
tools/lldb/include/lldb/Interpreter/OptionValue.h 88 virtual Status
103 Status &error) const {
108 virtual Status SetSubValue(const ExecutionContext *exe_ctx,
172 Status &error);
tools/lldb/include/lldb/Interpreter/OptionValueArch.h 43 Status
46 Status
tools/lldb/include/lldb/Interpreter/OptionValueArray.h 32 Status
35 Status
51 Status &error) const override;
116 Status SetArgs(const Args &args, VarSetOperationType op);
tools/lldb/include/lldb/Interpreter/OptionValueBoolean.h 33 Status
36 Status
tools/lldb/include/lldb/Interpreter/OptionValueChar.h 34 Status
37 Status
tools/lldb/include/lldb/Interpreter/OptionValueDictionary.h 34 Status
60 Status &error) const override;
62 Status SetSubValue(const ExecutionContext *exe_ctx, VarSetOperationType op,
73 Status SetArgs(const Args &args, VarSetOperationType op);
tools/lldb/include/lldb/Interpreter/OptionValueEnumeration.h 43 Status
46 Status
tools/lldb/include/lldb/Interpreter/OptionValueFileSpec.h 37 Status
40 Status
tools/lldb/include/lldb/Interpreter/OptionValueFileSpecList.h 35 Status
38 Status
tools/lldb/include/lldb/Interpreter/OptionValueFormat.h 34 Status
37 Status
tools/lldb/include/lldb/Interpreter/OptionValueFormatEntity.h 30 Status
33 Status
tools/lldb/include/lldb/Interpreter/OptionValueLanguage.h 37 Status
40 Status
tools/lldb/include/lldb/Interpreter/OptionValuePathMappings.h 31 Status
34 Status
tools/lldb/include/lldb/Interpreter/OptionValueProperties.h 41 Status
50 virtual Status DumpPropertyValue(const ExecutionContext *exe_ctx,
102 Status &error) const override;
104 Status SetSubValue(const ExecutionContext *exe_ctx, VarSetOperationType op,
tools/lldb/include/lldb/Interpreter/OptionValueRegex.h 31 Status
34 Status
tools/lldb/include/lldb/Interpreter/OptionValueSInt64.h 46 Status
49 Status
tools/lldb/include/lldb/Interpreter/OptionValueString.h 22 typedef Status (*ValidatorCallback)(const char *string, void *baton);
81 Status
84 Status
113 Status SetCurrentValue(const char *) = delete;
114 Status SetCurrentValue(llvm::StringRef value);
116 Status AppendToCurrentValue(const char *value);
tools/lldb/include/lldb/Interpreter/OptionValueUInt64.h 34 static lldb::OptionValueSP Create(const char *, Status &) = delete;
35 static lldb::OptionValueSP Create(llvm::StringRef value_str, Status &error);
43 Status
46 Status
tools/lldb/include/lldb/Interpreter/OptionValueUUID.h 32 Status
35 Status
tools/lldb/include/lldb/Interpreter/Options.h 141 Status NotifyOptionParsingFinished(ExecutionContext *execution_context);
160 virtual Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
230 virtual Status OptionParsingFinished(ExecutionContext *execution_context) {
233 Status error;
246 virtual Status SetOptionValue(uint32_t option_idx,
252 virtual Status OptionParsingFinished(ExecutionContext *execution_context) {
255 Status error;
303 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
308 Status OptionParsingFinished(ExecutionContext *execution_context) override;
tools/lldb/include/lldb/Interpreter/ScriptInterpreter.h 108 virtual Status ExecuteMultipleLines(
111 Status error;
116 virtual Status
118 Status error;
123 virtual Status GenerateBreakpointCommandCallbackData(
127 Status error;
271 LoadPluginModule(const FileSpec &file_spec, lldb_private::Status &error) {
277 const char *setting_name, lldb_private::Status &error) {
281 virtual Status GenerateFunction(const char *signature,
283 Status error;
296 Status
300 virtual Status SetBreakpointCommandCallback(BreakpointOptions *bp_options,
302 Status error;
308 virtual Status SetBreakpointCommandCallback(
311 Status error;
316 Status SetBreakpointCommandCallbackFunction(
322 virtual Status
327 Status error;
389 Status &error,
397 lldb_private::CommandReturnObject &cmd_retobj, Status &error,
404 Status &error) {
410 std::string &output, Status &error) {
416 std::string &output, Status &error) {
423 Status &error) {
430 Status &error) {
462 lldb_private::Status &error,
tools/lldb/include/lldb/Symbol/SymbolContext.h 201 Status &error);
222 const Symbol *FindBestGlobalDataSymbol(ConstString name, Status &error);
tools/lldb/include/lldb/Symbol/Variable.h 96 static Status GetValuesForVariableExpressionPath(
tools/lldb/include/lldb/Target/ABI.h 75 virtual Status SetReturnValueObject(lldb::StackFrameSP &frame_sp,
tools/lldb/include/lldb/Target/DynamicLoader.h 165 virtual Status CanLoadImage() = 0;
tools/lldb/include/lldb/Target/Language.h 215 virtual LazyBool IsLogicalTrue(ValueObject &valobj, Status &error);
tools/lldb/include/lldb/Target/LanguageRuntime.h 47 Status &error);
tools/lldb/include/lldb/Target/Memory.h 32 size_t Read(lldb::addr_t addr, void *dst, size_t dst_len, Status &error);
121 Status &error);
129 uint32_t chunk_size, Status &error);
tools/lldb/include/lldb/Target/ModuleCache.h 50 std::function<Status(const ModuleSpec &, const FileSpec &)>;
52 std::function<Status(const lldb::ModuleSP &, const FileSpec &)>;
54 Status GetAndPut(const FileSpec &root_dir_spec, const char *hostname,
61 Status Put(const FileSpec &root_dir_spec, const char *hostname,
65 Status Get(const FileSpec &root_dir_spec, const char *hostname,
tools/lldb/include/lldb/Target/Platform.h 106 static lldb::PlatformSP Create(ConstString name, Status &error);
109 ArchSpec *platform_arch_ptr, Status &error);
146 virtual Status ResolveExecutable(const ModuleSpec &module_spec,
195 virtual Status ResolveSymbolFile(Target &target, const ModuleSpec &sym_spec,
289 virtual Status GetFileWithUUID(const FileSpec &platform_file,
300 virtual Status GetSharedModule(const ModuleSpec &module_spec,
309 virtual Status ConnectRemote(Args &args);
311 virtual Status DisconnectRemote();
334 virtual Status LaunchProcess(ProcessLaunchInfo &launch_info);
341 virtual Status ShellExpandArguments(ProcessLaunchInfo &launch_info);
344 virtual Status KillProcess(const lldb::pid_t pid);
367 Status &error);
373 lldb_private::Status &error);
396 Status &error) = 0;
501 virtual Status MakeDirectory(const FileSpec &file_spec, uint32_t permissions);
503 virtual Status GetFilePermissions(const FileSpec &file_spec,
506 virtual Status SetFilePermissions(const FileSpec &file_spec,
511 Status &error) {
515 virtual bool CloseFile(lldb::user_id_t fd, Status &error) { return false; }
522 uint64_t dst_len, Status &error) {
530 const void *src, uint64_t src_len, Status &error) {
537 virtual Status GetFile(const FileSpec &source, const FileSpec &destination);
539 virtual Status PutFile(const FileSpec &source, const FileSpec &destination,
542 virtual Status
568 virtual Status Install(const FileSpec &src, const FileSpec &dst);
574 virtual Status Unlink(const FileSpec &file_spec);
615 virtual lldb_private::Status RunShellCommand(
765 lldb_private::Status &error);
800 lldb_private::Status &error,
806 lldb_private::Status &error,
809 virtual Status UnloadImage(lldb_private::Process *process,
827 lldb_private::Status &error);
878 Status GetCachedExecutable(ModuleSpec &module_spec, lldb::ModuleSP &module_sp,
882 virtual Status DownloadModuleSlice(const FileSpec &src_file_spec,
887 virtual Status DownloadSymbolFile(const lldb::ModuleSP &module_sp,
893 typedef std::function<Status(const ModuleSpec &)> ModuleResolver;
895 Status GetRemoteSharedModule(const ModuleSpec &module_spec, Process *process,
903 Status LoadCachedExecutable(const ModuleSpec &module_spec,
986 lldb_private::Status
1011 lldb_private::Status
1034 lldb_private::Status
tools/lldb/include/lldb/Target/Process.h 212 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
617 virtual Status Launch(ProcessLaunchInfo &launch_info);
619 virtual Status LoadCore();
621 virtual Status DoLoadCore() {
622 Status error;
723 virtual Status Attach(ProcessAttachInfo &attach_info);
737 virtual Status ConnectRemote(Stream *strm, llvm::StringRef remote_url);
827 Status Resume();
829 Status ResumeSynchronous(Stream *stream);
848 Status Halt(bool clear_thread_plans = false, bool use_run_lock = true);
859 Status Detach(bool keep_stopped);
876 Status Destroy(bool force_kill);
884 Status Signal(int signal);
900 virtual Status WillAttachToProcessWithID(lldb::pid_t pid) { return Status(); }
908 virtual Status WillAttachToProcessWithName(const char *process_name,
925 virtual Status DoConnectRemote(Stream *strm, llvm::StringRef remote_url) {
926 Status error;
945 virtual Status DoAttachToProcessWithID(lldb::pid_t pid,
947 Status error;
967 virtual Status
970 Status error;
1003 virtual Status WillLaunch(Module *module) { return Status(); }
1022 virtual Status DoLaunch(Module *exe_module, ProcessLaunchInfo &launch_info) {
1023 Status error;
1041 virtual Status WillResume() { return Status(); }
1058 virtual Status DoResume() {
1059 Status error;
1077 virtual Status WillHalt() { return Status(); }
1094 virtual Status DoHalt(bool &caused_stop) {
1095 Status error;
1114 virtual Status WillDetach() { return Status(); }
1121 virtual Status DoDetach(bool keep_stopped) {
1122 Status error;
1146 virtual Status WillSignal() { return Status(); }
1152 virtual Status DoSignal(int signal) {
1153 Status error;
1160 virtual Status WillDestroy() { return Status(); }
1162 virtual Status DoDestroy() = 0;
1425 Status &error) = 0;
1460 Status &error);
1491 Status &error);
1521 Status &error, size_t type_width = 1);
1531 size_t cstr_max_len, Status &error);
1534 Status &error);
1563 Status &error);
1566 int64_t fail_value, Status &error);
1568 lldb::addr_t ReadPointerFromMemory(lldb::addr_t vm_addr, Status &error);
1571 Status &error);
1592 size_t size, Status &error) {
1629 size_t size, Status &error);
1633 Status &error);
1660 Status &error);
1676 Status &error) {
1683 virtual Status WriteObjectFile(std::vector<ObjectFile::LoadableData> entries);
1706 lldb::addr_t AllocateMemory(size_t size, uint32_t permissions, Status &error);
1732 Status &error);
1746 Status &error);
1772 virtual Status GetMemoryRegionInfo(lldb::addr_t load_addr,
1774 Status error;
1787 virtual Status
1790 virtual Status GetWatchpointSupportInfo(uint32_t &num) {
1791 Status error;
1797 virtual Status GetWatchpointSupportInfo(uint32_t &num, bool &after) {
1798 Status error;
1878 virtual Status DoDeallocateMemory(lldb::addr_t ptr) {
1879 Status error;
1897 Status DeallocateMemory(lldb::addr_t ptr);
1926 virtual size_t GetSTDOUT(char *buf, size_t buf_size, Status &error);
1955 virtual size_t GetSTDERR(char *buf, size_t buf_size, Status &error);
1975 virtual size_t PutSTDIN(const char *buf, size_t buf_size, Status &error) {
1993 virtual size_t GetAsyncProfileData(char *buf, size_t buf_size, Status &error);
1998 virtual Status EnableBreakpointSite(BreakpointSite *bp_site) {
1999 Status error;
2006 virtual Status DisableBreakpointSite(BreakpointSite *bp_site) {
2007 Status error;
2018 virtual Status EnableSoftwareBreakpoint(BreakpointSite *bp_site);
2024 virtual Status DisableSoftwareBreakpoint(BreakpointSite *bp_site);
2032 Status ClearBreakpointSiteByID(lldb::user_id_t break_id);
2037 Status DisableBreakpointSiteByID(lldb::user_id_t break_id);
2039 Status EnableBreakpointSiteByID(lldb::user_id_t break_id);
2048 virtual Status EnableWatchpoint(Watchpoint *wp, bool notify = true);
2050 virtual Status DisableWatchpoint(Watchpoint *wp, bool notify = true);
2278 virtual Status SendEventData(const char *data) {
2279 Status return_error("Sending an event is not supported for this process.");
2326 virtual Status GetFileLoadAddress(const FileSpec &file, bool &is_loaded,
2385 virtual Status
2427 Status &error) {
2438 virtual Status StopTrace(lldb::user_id_t uid, lldb::tid_t thread_id) {
2447 virtual Status GetData(lldb::user_id_t uid, lldb::tid_t thread_id,
2454 virtual Status GetMetaData(lldb::user_id_t uid, lldb::tid_t thread_id,
2467 virtual Status GetTraceConfig(lldb::user_id_t uid, TraceOptions &options) {
2486 Status PrivateResume();
2796 Status HaltPrivate();
2812 Status &error);
2833 Status StopForDestroyOrDetach(lldb::EventSP &exit_event_sp);
2835 virtual Status UpdateAutomaticSignalFiltering();
tools/lldb/include/lldb/Target/ProcessStructReader.h 73 Status error;
tools/lldb/include/lldb/Target/RegisterContext.h 126 virtual Status
131 virtual Status
tools/lldb/include/lldb/Target/RemoteAwarePlatform.h 26 uint32_t mode, Status &error) override;
28 bool CloseFile(lldb::user_id_t fd, Status &error) override;
31 uint64_t dst_len, Status &error) override;
34 uint64_t src_len, Status &error) override;
38 Status CreateSymlink(const FileSpec &src, const FileSpec &dst) override;
42 Status Unlink(const FileSpec &file_spec) override;
48 Status MakeDirectory(const FileSpec &file_spec, uint32_t mode) override;
50 Status GetFilePermissions(const FileSpec &file_spec,
53 Status SetFilePermissions(const FileSpec &file_spec,
59 Status GetFileWithUUID(const FileSpec &platform_file, const UUID *uuid,
67 Status RunShellCommand(const char *command, const FileSpec &working_dir,
85 Status &error) override;
87 Status LaunchProcess(ProcessLaunchInfo &launch_info) override;
89 Status KillProcess(const lldb::pid_t pid) override;
tools/lldb/include/lldb/Target/StackFrame.h 187 bool GetFrameBaseValue(Scalar &value, Status *error_ptr);
199 DWARFExpression *GetFrameBaseExpression(Status *error_ptr);
290 uint32_t options, lldb::VariableSP &var_sp, Status &error);
518 Status m_frame_base_error;
tools/lldb/include/lldb/Target/StructuredDataPlugin.h 115 virtual Status GetDescription(const StructuredData::ObjectSP &object_sp,
tools/lldb/include/lldb/Target/Target.h 532 Status *error_ptr = nullptr);
568 Status Launch(ProcessLaunchInfo &launch_info,
571 Status Attach(ProcessAttachInfo &attach_info,
646 Status *additional_args_error = nullptr);
652 Status *creation_error = nullptr);
684 Status &error);
693 void AddNameToBreakpoint(BreakpointID &id, const char *name, Status &error);
696 Status &error);
701 Status &error);
758 Status SerializeBreakpointsToFile(const FileSpec &file,
762 Status CreateBreakpointsFromFile(const FileSpec &file,
765 Status CreateBreakpointsFromFile(const FileSpec &file,
870 bool LoadScriptingResources(std::list<Status> &errors,
972 Status &error);
985 size_t dst_len, Status &error,
989 Status &error);
992 size_t dst_max_len, Status &result_error);
997 Status &error);
1002 uint64_t fail_value, Status &error);
1005 Status &error, Address &pointer_addr);
1045 ValueObject *ctx_obj, Status &error);
1059 const char *name, Status &error);
1068 Status &error);
1076 Status Install(ProcessLaunchInfo *launch_info);
1252 lldb::REPLSP GetREPL(Status &err, lldb::LanguageType language,
tools/lldb/include/lldb/Target/TargetList.h 83 Status CreateTarget(Debugger &debugger, llvm::StringRef user_exe_path,
93 Status CreateTarget(Debugger &debugger, llvm::StringRef user_exe_path,
193 Status CreateDummyTarget(Debugger &debugger,
197 Status CreateTargetInternal(Debugger &debugger, llvm::StringRef user_exe_path,
203 Status CreateTargetInternal(Debugger &debugger, llvm::StringRef user_exe_path,
tools/lldb/include/lldb/Target/Thread.h 410 Status ReturnFromFrameWithIndex(uint32_t frame_idx,
414 Status ReturnFromFrame(lldb::StackFrameSP frame_sp,
418 Status JumpToLine(const FileSpec &file, uint32_t line,
496 virtual Status
512 virtual Status StepOver(
523 virtual Status StepOut();
620 Status &status);
663 Status &status,
672 Status &status,
725 lldb::RunMode stop_other_threads, Status &status,
735 lldb::RunMode stop_other_threads, Status &status,
780 uint32_t frame_idx, Status &status,
842 uint32_t frame_idx, Status &status, bool continue_to_next_branch = false);
869 Status &status);
894 bool stop_other_threads, Status &status);
898 bool stop_others, uint32_t frame_idx, Status &status);
903 bool stop_other_threads, Status &status);
919 Status UnwindInnermostExpression();
984 Status QueueThreadPlan(lldb::ThreadPlanSP &plan_sp, bool abort_other_plans);
tools/lldb/include/lldb/Target/ThreadPlan.h 584 Status m_status;
637 const Status &GetStatus() { return m_status; }
tools/lldb/include/lldb/Target/ThreadPlanShouldStopHere.h 98 Status &status);
102 Status &status);
112 Status &status, void *baton);
116 lldb::FrameComparison operation, Status &status,
121 Status &status);
tools/lldb/include/lldb/Target/ThreadPlanStepInRange.h 56 Status &status, void *baton);
78 Status &status, LazyBool avoid_code_without_debug_info);
82 lldb::RunMode stop_others, Status &status,
tools/lldb/include/lldb/Target/ThreadPlanStepInstruction.h 42 Status &status);
tools/lldb/include/lldb/Target/ThreadPlanStepOut.h 79 Status &status, LazyBool step_out_avoids_code_without_debug_info);
tools/lldb/include/lldb/Target/ThreadPlanStepThrough.h 45 bool stop_others, Status &status);
tools/lldb/include/lldb/Target/ThreadPlanStepUntil.h 57 bool stop_others, uint32_t frame_idx, Status &status);
tools/lldb/include/lldb/Target/ThreadSpec.h 39 Status &error);
tools/lldb/include/lldb/Utility/Connection.h 68 Status *error_ptr) = 0;
83 virtual lldb::ConnectionStatus Disconnect(Status *error_ptr) = 0;
120 lldb::ConnectionStatus &status, Status *error_ptr) = 0;
143 lldb::ConnectionStatus &status, Status *error_ptr) = 0;
tools/lldb/include/lldb/Utility/IOObject.h 35 virtual Status Read(void *buf, size_t &num_bytes) = 0;
36 virtual Status Write(const void *buf, size_t &num_bytes) = 0;
38 virtual Status Close() = 0;
tools/lldb/include/lldb/Utility/Log.h 141 const char *format, Args &&... args) {
142 Format(file, function, llvm::formatv(format, std::forward<Args>(args)...));
tools/lldb/include/lldb/Utility/RegisterValue.h 99 Status &error) const;
103 Status &error);
235 Status SetValueFromString(const RegisterInfo *reg_info,
237 Status SetValueFromString(const RegisterInfo *reg_info,
240 Status SetValueFromData(const RegisterInfo *reg_info, DataExtractor &data,
tools/lldb/include/lldb/Utility/Scalar.h 125 lldb::ByteOrder dst_byte_order, Status &error) const;
234 Status SetValueFromCString(const char *s, lldb::Encoding encoding,
237 Status SetValueFromData(DataExtractor &data, lldb::Encoding encoding,
tools/lldb/include/lldb/Utility/SelectHelper.h 50 lldb_private::Status Select();
tools/lldb/include/lldb/Utility/Status.h 67 const Status &operator=(const Status &rhs);
67 const Status &operator=(const Status &rhs);
73 const Status &operator=(llvm::Error error);
175 void SetErrorStringWithFormatv(const char *format, Args &&... args) {
210 static void format(const lldb_private::Status &error, llvm::raw_ostream &OS,
tools/lldb/include/lldb/Utility/StringExtractorGDBRemote.h 194 lldb_private::Status GetStatus();
tools/lldb/include/lldb/Utility/StructuredData.h 551 static ObjectSP ParseJSONFromFile(const FileSpec &file, Status &error);
tools/lldb/include/lldb/lldb-private-interfaces.h 48 const FileSpec &outfile, Status &error);
63 typedef Status (*StructuredDataFilterLaunchInfo)(ProcessLaunchInfo &launch_info,
89 Status &status, void *baton);
92 Status &status, void *baton);
101 typedef lldb::REPLSP (*REPLCreateInstance)(Status &error,
tools/lldb/include/lldb/lldb-private-types.h 29 const lldb::DebuggerSP &debugger_sp, const FileSpec &spec, Status &error);
tools/lldb/source/API/SBBreakpoint.cpp 611 Status error;
640 Status error =
660 Status error; // Think I'm just going to swallow the error here, it's
tools/lldb/source/API/SBBreakpointLocation.cpp 227 Status error;
258 Status error =
tools/lldb/source/API/SBBreakpointName.cpp 104 Status error;
594 Status error;
621 Status error =
tools/lldb/source/API/SBDebugger.cpp 63 Status &error) {
767 Status error(m_opaque_sp->GetTargetList().CreateTarget(
794 Status error;
824 Status error;
1241 Status error;
1266 Status error;
tools/lldb/source/API/SBError.cpp 105 void SBError::SetError(const Status &lldb_error) {
152 m_opaque_up.reset(new Status());
155 lldb_private::Status *SBError::operator->() { return m_opaque_up.get(); }
157 lldb_private::Status *SBError::get() { return m_opaque_up.get(); }
159 lldb_private::Status &SBError::ref() {
164 const lldb_private::Status &SBError::operator*() const {
tools/lldb/source/API/SBFile.cpp 50 Status status = m_opaque_sp->Read(buf, num_bytes);
67 Status status = m_opaque_sp->Write(buf, num_bytes);
80 Status status = m_opaque_sp->Flush();
95 Status status = m_opaque_sp->Close();
tools/lldb/source/API/SBFrame.cpp 486 Status error;
tools/lldb/source/API/SBHostOS.cpp 133 Status error;
147 Status error;
168 Status error;
tools/lldb/source/API/SBModule.cpp 42 Status error = ModuleList::GetSharedModule(
tools/lldb/source/API/SBPlatform.cpp 271 Status error;
550 const std::function<Status(const lldb::PlatformSP &)> &func) {
tools/lldb/source/API/SBProcess.cpp 265 Status error;
279 Status error;
293 Status error;
307 Status error;
tools/lldb/source/API/SBStructuredData.cpp 104 Status error = m_impl_up->GetDescription(stream.ref());
tools/lldb/source/API/SBTarget.cpp 78 Status AttachToProcess(ProcessAttachInfo &attach_info, Target &target) {
1104 Status error;
1425 Status cw_error;
2040 lldb_private::Status error;
tools/lldb/source/API/SBThread.cpp 611 Status new_plan_status;
664 Status new_plan_status;
719 Status new_plan_status;
766 Status new_plan_status;
797 Status new_plan_status;
833 Status new_plan_status;
944 Status new_plan_status;
1001 Status new_plan_status;
1039 Status err = thread->JumpToLine(file_spec.get(), line, true);
tools/lldb/source/API/SBThreadPlan.cpp 232 Status plan_status;
277 Status plan_status;
316 Status plan_status;
352 Status plan_status;
385 Status plan_status;
410 Status plan_status;
tools/lldb/source/API/SBValue.cpp 110 Status &error) {
210 Status &GetError() { return m_lock_error; }
215 Status m_lock_error;
1024 Status error;
1314 Status error;
1409 Status error;
1433 Status set_error;
1501 Status rc;
tools/lldb/source/API/Utils.h 17 template <typename T> std::unique_ptr<T> clone(const std::unique_ptr<T> &src) {
17 template <typename T> std::unique_ptr<T> clone(const std::unique_ptr<T> &src) {
19 return std::make_unique<T>(*src);
tools/lldb/source/Breakpoint/Breakpoint.cpp 123 Target &target, StructuredData::ObjectSP &object_data, Status &error) {
142 Status create_error;
204 Status error;
tools/lldb/source/Breakpoint/BreakpointID.cpp 95 bool BreakpointID::StringIsBreakpointName(llvm::StringRef str, Status &error) {
tools/lldb/source/Breakpoint/BreakpointIDList.cpp 134 Status error;
300 Status error;
tools/lldb/source/Breakpoint/BreakpointList.cpp 133 Status error;
tools/lldb/source/Breakpoint/BreakpointLocation.cpp 230 Status &error) {
291 Status expr_error;
tools/lldb/source/Breakpoint/BreakpointOptions.cpp 61 const StructuredData::Dictionary &options_dict, Status &error) {
238 Status &error) {
302 Status cmds_error;
332 Status script_error;
347 Status thread_spec_error;
tools/lldb/source/Breakpoint/BreakpointPrecondition.cpp 22 Status BreakpointPrecondition::ConfigurePrecondition(Args &args) {
23 Status error;
tools/lldb/source/Breakpoint/BreakpointResolver.cpp 71 const StructuredData::Dictionary &resolver_dict, Status &error) {
tools/lldb/source/Breakpoint/BreakpointResolverAddress.cpp 40 Status &error) {
tools/lldb/source/Breakpoint/BreakpointResolverFileLine.cpp 35 Status &error) {
tools/lldb/source/Breakpoint/BreakpointResolverFileRegex.cpp 33 Status &error) {
tools/lldb/source/Breakpoint/BreakpointResolverName.cpp 95 Status &error) {
tools/lldb/source/Breakpoint/BreakpointResolverScripted.cpp 66 Status &error) {
tools/lldb/source/Breakpoint/Watchpoint.cpp 288 Status error;
tools/lldb/source/Commands/CommandCompletions.cpp 200 auto error = fs.ResolveSymbolicLink(symlink_filespec, resolved_filespec);
tools/lldb/source/Commands/CommandObjectBreakpoint.cpp 64 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
66 Status error;
156 Status OptionParsingFinished(ExecutionContext *execution_context) override {
198 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
200 Status error;
276 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
278 Status error;
684 Status precond_error;
700 Status error;
723 Status name_error;
1115 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
1117 Status error;
1248 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
1250 Status error;
1395 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
1397 Status error;
1521 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
1523 Status error;
1580 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
1582 Status error;
1688 Status error;
1713 Status error;
1800 Status error; // This error reports illegal names, but we've already
1933 Status error;
2032 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
2034 Status error;
2042 Status name_error;
2083 Status error = target.CreateBreakpointsFromFile(input_spec,
2150 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
2152 Status error;
2204 Status error = target.SerializeBreakpointsToFile(file_spec, valid_bp_ids,
tools/lldb/source/Commands/CommandObjectBreakpointCommand.cpp 287 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
289 Status error;
421 Status error = script_interp->SetBreakpointCommandCallbackFunction(
503 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
505 Status error;
tools/lldb/source/Commands/CommandObjectCommands.cpp 62 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
64 Status error;
235 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
237 Status error;
350 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_value,
352 Status error;
965 Status error = AppendRegexSubstitution(line, check_only);
990 Status error;
1033 Status AppendRegexSubstitution(const llvm::StringRef ®ex_sed,
1035 Status error;
1146 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
1148 Status error;
1240 Status error;
1327 Status error;
1400 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
1402 Status error;
1444 Status error;
1534 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
1536 Status error;
tools/lldb/source/Commands/CommandObjectDisassemble.cpp 46 Status CommandObjectDisassemble::CommandOptions::SetOptionValue(
49 Status error;
194 Status CommandObjectDisassemble::CommandOptions::OptionParsingFinished(
tools/lldb/source/Commands/CommandObjectDisassemble.h 28 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
45 Status OptionParsingFinished(ExecutionContext *execution_context) override;
tools/lldb/source/Commands/CommandObjectExpression.cpp 60 Status CommandObjectExpression::CommandOptions::SetOptionValue(
63 Status error;
347 Status error;
357 static lldb_private::Status
443 Status error(CanBeUsedForElementCountPrinting(*result_valobj_sp));
611 Status repl_error;
tools/lldb/source/Commands/CommandObjectExpression.h 32 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_value,
tools/lldb/source/Commands/CommandObjectFrame.cpp 67 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
69 Status error;
244 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
246 Status error;
585 Status error;
746 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
748 Status error;
tools/lldb/source/Commands/CommandObjectHelp.h 39 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
41 Status error;
tools/lldb/source/Commands/CommandObjectLog.cpp 93 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
95 Status error;
tools/lldb/source/Commands/CommandObjectMemory.cpp 64 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_value,
66 Status error;
113 Status FinalizeSettings(Target *target, OptionGroupFormat &format_options) {
114 Status error;
372 Status error;
726 Status error;
916 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_value,
918 Status error;
1012 Status error;
1039 Status error;
1204 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_value,
1206 Status error;
1344 Status error;
1365 Status error;
1507 Status error;
1575 Status error;
1640 Status error;
1696 Status error;
tools/lldb/source/Commands/CommandObjectPlatform.cpp 70 lldb_private::Status
73 Status error;
174 Status error;
295 Status error(platform_sp->ConnectRemote(args));
345 Status error;
457 Status error = platform_sp->MakeDirectory(FileSpec(cmd_line), mode);
496 Status error;
554 Status error;
595 Status error;
617 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
619 Status error;
679 Status error;
703 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
705 Status error;
822 Status error = platform_sp->GetFile(FileSpec(remote_file_path),
928 Status error(platform_sp->PutFile(src_fs, dst_fs));
969 Status error;
1061 Status error;
1160 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
1162 Status error;
1337 Status error;
1397 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
1399 Status error;
1500 Status err;
1567 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
1569 Status error;
1626 Status error;
1704 Status error = platform_sp->Install(src, dst);
tools/lldb/source/Commands/CommandObjectPlugin.cpp 58 Status error;
tools/lldb/source/Commands/CommandObjectProcess.cpp 73 Status detach_error(process->Detach(keep_stopped));
84 Status destroy_error(process->Destroy(false));
220 Status error = target->Launch(m_options.launch_info, &stream);
273 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
275 Status error;
395 Status error;
425 const auto error = target->Attach(m_options.attach_info, &stream);
521 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
523 Status error;
603 Status error;
661 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
663 Status error;
724 Status error(process->Detach(keep_stopped));
756 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
758 Status error;
819 Status error;
875 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
877 Status error;
923 Status error;
993 Status error(process->GetTarget().GetPlatform()->UnloadImage(
1057 Status error(process->Signal(signo));
1101 Status error(process->Halt(clear_thread_plans));
1142 Status error(process->Destroy(true));
1180 Status error = PluginManager::SaveCore(process_sp, output_file);
1249 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
1251 Status error;
tools/lldb/source/Commands/CommandObjectRegister.cpp 247 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_value,
249 Status error;
353 Status error(reg_value.SetValueFromString(reg_info, value_str));
tools/lldb/source/Commands/CommandObjectReproducer.cpp 179 Status SetOptionValue(uint32_t option_idx, StringRef option_arg,
181 Status error;
tools/lldb/source/Commands/CommandObjectSettings.cpp 94 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
96 Status error;
159 Status error;
196 Status error(GetDebugger().SetPropertyValue(
210 Status error;
282 Status error(GetDebugger().DumpPropertyValue(
340 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
342 Status error;
403 Status error(GetDebugger().DumpPropertyValue(
441 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
443 Status error;
647 Status error(GetDebugger().SetPropertyValue(
743 Status error(GetDebugger().SetPropertyValue(
845 Status error(GetDebugger().SetPropertyValue(
944 Status error(GetDebugger().SetPropertyValue(
1034 Status error(GetDebugger().SetPropertyValue(
1100 Status error(GetDebugger().SetPropertyValue(
tools/lldb/source/Commands/CommandObjectSource.cpp 46 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
48 Status error;
646 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
648 Status error;
tools/lldb/source/Commands/CommandObjectTarget.cpp 169 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_value,
171 Status error;
196 Status SetOptionValue(uint32_t, const char *, ExecutionContext *) = delete;
326 Status error(debugger.GetTargetList().CreateTarget(
343 Status err = platform_sp->PutFile(file_spec, remote_file);
364 Status err = platform_sp->GetFile(remote_file, file_spec);
873 Status error(Variable::GetValuesForVariableExpressionPath(
1967 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
1969 Status error;
2391 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
2562 Status error;
2806 Status error = process->WriteObjectFile(std::move(loadables));
2904 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
2906 Status error;
3259 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
3261 Status error;
3583 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
3585 Status error;
4155 Status error;
4424 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
4426 Status error;
tools/lldb/source/Commands/CommandObjectThread.cpp 256 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
258 Status error;
419 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
421 Status error;
638 Status new_plan_status;
648 Status error;
657 Status error;
754 Status error;
933 Status error;
1000 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
1002 Status error;
1158 Status new_plan_status;
1263 Status error;
1405 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
1408 Status error;
1535 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
1537 Status error;
1615 Status error;
1670 Status error;
1709 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
1712 Status error;
1809 Status err = thread->JumpToLine(file, line, m_options.m_force, &warnings);
1845 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
1847 Status error;
tools/lldb/source/Commands/CommandObjectType.cpp 110 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
196 Status error;
264 Status *error = nullptr);
293 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
295 Status error;
434 Status error;
490 Status *error);
519 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_value,
521 Status error;
720 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
722 Status error;
855 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
857 Status error;
968 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
970 Status error;
1175 Status CommandObjectTypeSummaryAdd::CommandOptions::SetOptionValue(
1178 Status error;
1354 Status error;
1429 Status error;
1612 Status *error) {
1719 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
1721 Status error;
1815 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
1817 Status error;
1982 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
1984 Status error;
2293 Status error;
2336 Status *error) {
2389 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
2391 Status error;
2461 Status *error) {
2592 Status error;
2655 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_value,
2657 Status error;
tools/lldb/source/Commands/CommandObjectWatchpoint.cpp 179 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
181 Status error;
220 Status error = target->GetProcessSP()->GetWatchpointSupportInfo(
525 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
527 Status error;
645 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
647 Status error;
833 Status error;
847 Status error(Variable::GetValuesForVariableExpressionPath(
1057 Status error;
tools/lldb/source/Commands/CommandObjectWatchpointCommand.cpp 320 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
322 Status error;
tools/lldb/source/Core/Address.cpp 67 Status error;
340 Status error;
748 Status memory_error;
tools/lldb/source/Core/Communication.cpp 78 ConnectionStatus Communication::Connect(const char *url, Status *error_ptr) {
92 ConnectionStatus Communication::Disconnect(Status *error_ptr) {
172 ConnectionStatus &status, Status *error_ptr) {
190 bool Communication::StartReadThread(Status *error_ptr) {
226 bool Communication::StopReadThread(Status *error_ptr) {
239 Status error = m_read_thread.Join(nullptr);
243 bool Communication::JoinReadThread(Status *error_ptr) {
247 Status error = m_read_thread.Join(nullptr);
315 Status error;
tools/lldb/source/Core/Debugger.cpp 254 Status Debugger::SetPropertyValue(const ExecutionContext *exe_ctx,
275 Status error(Properties::SetPropertyValue(exe_ctx, op, property_path, value));
297 std::list<Status> errors;
301 for (auto error : errors) {
538 bool Debugger::LoadPlugin(const FileSpec &spec, Status &error) {
558 Status error;
583 Status plugin_load_error;
1272 Status error;
1337 Status error =
1590 Status Debugger::RunREPL(LanguageType language, const char *repl_options) {
1591 Status err;
tools/lldb/source/Core/Disassembler.cpp 359 Status error;
1130 Status error;
1191 Status error;
1236 Status error;
tools/lldb/source/Core/DynamicLoader.cpp 181 Status error = m_process->GetFileLoadAddress(file, is_loaded, load_addr);
192 Status error = m_process->GetMemoryRegionInfo(base_addr, memory_info);
222 Status error;
232 Status error;
tools/lldb/source/Core/EmulateInstruction.cpp 259 Status error;
276 Status error;
tools/lldb/source/Core/FormatEntity.cpp 294 Status FormatEntity::Parse(const llvm::StringRef &format_str, Entry &entry) {
401 Status error;
767 Status error;
811 Status error;
1060 Status error = FormatEntity::Parse(format_str, root);
1077 Status error = FormatEntity::Parse(format_str, root);
1873 static Status ParseEntry(const llvm::StringRef &format_str,
1876 Status error;
1962 Status error;
1989 Status FormatEntity::ParseInternal(llvm::StringRef &format, Entry &parent_entry,
1991 Status error;
2278 Status FormatEntity::ExtractVariableInfo(llvm::StringRef &format_str,
2281 Status error;
tools/lldb/source/Core/IOHandler.cpp 377 Status error = m_input_sp->Read((void *)buffer, bytes_read);
516 Status error;
tools/lldb/source/Core/Module.cpp 287 lldb::addr_t header_addr, Status &error,
296 Status readmem_error;
1462 bool Module::LoadScriptingResourceInTarget(Target *target, Status &error,
tools/lldb/source/Core/ModuleList.cpp 712 Status ModuleList::GetSharedModule(const ModuleSpec &module_spec,
722 Status error;
966 std::list<Status> &errors,
973 Status error;
tools/lldb/source/Core/PluginManager.cpp 96 Status error;
1132 Status PluginManager::SaveCore(const lldb::ProcessSP &process_sp,
1134 Status error;
tools/lldb/source/Core/SearchFilter.cpp 79 Status &error) {
362 Status &error) {
476 Status &error) {
627 Status &error) {
689 Status &error) {
tools/lldb/source/Core/UserSettingsController.cpp 36 Status &error) const {
43 Status Properties::SetPropertyValue(const ExecutionContext *exe_ctx,
50 Status error;
71 Status Properties::DumpPropertyValue(const ExecutionContext *exe_ctx,
80 Status error;
tools/lldb/source/Core/Value.cpp 148 Status error;
211 uint64_t Value::GetValueByteSize(Status *error_ptr, ExecutionContext *exe_ctx) {
316 Status Value::GetValueAsData(ExecutionContext *exe_ctx, DataExtractor &data,
320 Status error;
599 Status error(GetValueAsData(exe_ctx, data, nullptr));
tools/lldb/source/Core/ValueObject.cpp 365 const Status &ValueObject::GetError() {
441 bool ValueObject::IsLogicalTrue(Status &error) {
786 Status error;
795 Status error;
801 Status error;
863 uint64_t ValueObject::GetData(DataExtractor &data, Status &error) {
881 bool ValueObject::SetData(DataExtractor &data, Status &error) {
899 Status set_error =
954 ValueObject::ReadPointedString(lldb::DataBufferSP &buffer_sp, Status &error,
1295 Status error;
1571 bool ValueObject::SetValueFromCString(const char *value_str, Status &error) {
2195 Status error;
2212 Status error;
2562 Status error;
2707 Status error;
2824 ValueObjectSP ValueObject::Dereference(Status &error) {
2889 ValueObjectSP ValueObject::AddressOf(Status &error) {
3172 Status err;
tools/lldb/source/Core/ValueObjectConstResult.cpp 165 const Status &error) {
170 const Status &error)
238 lldb::ValueObjectSP ValueObjectConstResult::Dereference(Status &error) {
249 lldb::ValueObjectSP ValueObjectConstResult::AddressOf(Status &error) {
tools/lldb/source/Core/ValueObjectConstResultCast.cpp 32 lldb::ValueObjectSP ValueObjectConstResultCast::Dereference(Status &error) {
43 lldb::ValueObjectSP ValueObjectConstResultCast::AddressOf(Status &error) {
tools/lldb/source/Core/ValueObjectConstResultChild.cpp 39 lldb::ValueObjectSP ValueObjectConstResultChild::Dereference(Status &error) {
50 lldb::ValueObjectSP ValueObjectConstResultChild::AddressOf(Status &error) {
tools/lldb/source/Core/ValueObjectConstResultImpl.cpp 41 lldb::ValueObjectSP ValueObjectConstResultImpl::Dereference(Status &error) {
116 lldb::ValueObjectSP ValueObjectConstResultImpl::AddressOf(Status &error) {
tools/lldb/source/Core/ValueObjectDynamicValue.cpp 275 Status &error) {
308 bool ValueObjectDynamicValue::SetData(DataExtractor &data, Status &error) {
tools/lldb/source/Core/ValueObjectRegister.cpp 326 Status &error) {
340 bool ValueObjectRegister::SetData(DataExtractor &data, Status &error) {
tools/lldb/source/Core/ValueObjectSyntheticFilter.cpp 135 Status error;
335 Status &error) {
tools/lldb/source/Core/ValueObjectVariable.cpp 275 Status &error) {
304 bool ValueObjectVariable::SetData(DataExtractor &data, Status &error) {
tools/lldb/source/DataFormatters/StringPrinter.cpp 419 Status my_error;
563 Status error;
tools/lldb/source/DataFormatters/TypeFormat.cpp 54 Status error;
80 Status error;
90 Status error;
184 Status error;
tools/lldb/source/Expression/DWARFExpression.cpp 163 uint32_t reg_num, Status *error_ptr,
722 Status *error_ptr, Log *log) {
931 Status *error_ptr) const {
942 Status *error_ptr) const {
1018 Value &result, Status *error_ptr) {
1172 Status error;
1274 Status error;
2186 Status error;
tools/lldb/source/Expression/FunctionCaller.cpp 81 Status jit_error(m_parser->PrepareForExecution(
135 Status error;
172 Status value_error;
288 Status error;
tools/lldb/source/Expression/IRExecutionUnit.cpp 53 Status &error) {
65 Status err;
74 Status err;
93 Status err;
98 Status IRExecutionUnit::DisassembleFunction(Stream &stream,
104 Status ret;
154 Status err;
205 Status *err = static_cast<Status *>(Context);
218 void IRExecutionUnit::GetRunnableInfo(Status &error, lldb::addr_t &func_addr,
439 Status err = DisassembleFunction(disassembly_stream, process_sp);
454 Status err;
607 Status err;
638 Status err;
1099 Status &error,
1143 lldb_private::Status err;
1187 lldb_private::Status err;
tools/lldb/source/Expression/IRInterpreter.cpp 181 lldb_private::Status extract_error;
215 lldb_private::Status get_data_error;
221 lldb_private::Status write_error;
314 lldb_private::Status write_error;
319 lldb_private::Status free_error;
349 lldb_private::Status get_data_error;
357 lldb_private::Status write_error;
379 lldb_private::Status alloc_error;
390 lldb_private::Status read_error;
421 lldb_private::Status free_error;
487 lldb_private::Status &error,
641 lldb_private::Status &error,
854 lldb_private::Status write_error;
862 lldb_private::Status free_error;
1314 lldb_private::Status read_error;
1337 lldb_private::Status write_error;
1402 lldb_private::Status read_error;
1425 lldb_private::Status write_error;
tools/lldb/source/Expression/IRMemoryMap.cpp 33 Status err;
68 Status alloc_error;
106 Status err = process_sp->GetMemoryRegionInfo(ret, region_info);
290 bool zero_memory, Status &error) {
397 Status write_error;
430 void IRMemoryMap::Leak(lldb::addr_t process_address, Status &error) {
446 void IRMemoryMap::Free(lldb::addr_t process_address, Status &error) {
515 Status &error) {
591 Status &error) {
616 lldb::addr_t address, Status &error) {
625 size_t size, Status &error) {
722 size_t size, Status &error) {
765 Status &error) {
782 Status &error) {
tools/lldb/source/Expression/LLVMUserExpression.cpp 99 Status interpreter_error;
260 Status dematerialize_error;
299 Status alloc_error;
325 Status alloc_error;
347 Status materialize_error;
tools/lldb/source/Expression/Materializer.cpp 60 void MakeAllocation(IRMemoryMap &map, Status &err) {
66 Status allocate_error;
98 Status leak_error;
106 Status write_error;
120 void DestroyAllocation(IRMemoryMap &map, Status &err) {
121 Status deallocate_error;
139 lldb::addr_t process_address, Status &err) override {
168 Status write_error;
191 lldb::addr_t frame_bottom, Status &err) override {
221 Status read_error;
288 Status read_error;
337 Status err;
400 PersistentVariableDelegate *delegate, Status &err) {
423 lldb::addr_t process_address, Status &err) override {
449 Status valobj_error = valobj_sp->GetError();
460 Status extract_error;
473 Status write_error;
489 Status write_error;
500 Status extract_error;
543 Status alloc_error;
563 Status write_error;
575 Status pointer_write_error;
592 lldb::addr_t frame_bottom, Status &err) override {
621 Status extract_error;
642 Status set_error;
655 Status free_error;
679 Status err;
736 Status free_error;
753 uint32_t Materializer::AddVariable(lldb::VariableSP &variable_sp, Status &err) {
777 lldb::addr_t process_address, Status &err) override {
803 Status alloc_error;
819 Status pointer_write_error;
834 lldb::addr_t frame_bottom, Status &err) override {
846 Status read_error;
934 Status free_error;
953 Status err;
1010 Status free_error;
1033 Status &err) {
1051 lldb::addr_t process_address, Status &err) override {
1084 Status pointer_write_error;
1098 lldb::addr_t frame_bottom, Status &err) override {
1117 Status err;
1150 uint32_t Materializer::AddSymbol(const Symbol &symbol_sp, Status &err) {
1168 lldb::addr_t process_address, Status &err) override {
1216 Status write_error;
1231 lldb::addr_t frame_bottom, Status &err) override {
1243 Status extract_error;
1292 Status err;
1327 Status &err) {
1347 lldb::addr_t process_address, Status &error) {
1391 void Materializer::Dematerializer::Dematerialize(Status &error,
tools/lldb/source/Expression/REPL.cpp 35 lldb::REPLSP REPL::Create(Status &err, lldb::LanguageType language,
291 Status error;
509 Status REPL::RunLoop() {
510 Status error;
tools/lldb/source/Expression/UserExpression.cpp 105 Status &err) {
144 lldb::ValueObjectSP &result_valobj_sp, Status &error,
tools/lldb/source/Expression/UtilityFunction.cpp 63 lldb::ThreadSP thread_to_use_sp, Status &error) {
tools/lldb/source/Host/common/File.cpp 100 Status File::Read(void *buf, size_t &num_bytes) {
103 Status File::Write(const void *buf, size_t &num_bytes) {
109 Status File::Close() { return Flush(); }
115 Status File::GetFileSpec(FileSpec &file_spec) const {
124 off_t File::SeekFromStart(off_t offset, Status *error_ptr) {
130 off_t File::SeekFromCurrent(off_t offset, Status *error_ptr) {
136 off_t File::SeekFromEnd(off_t offset, Status *error_ptr) {
142 Status File::Read(void *dst, size_t &num_bytes, off_t &offset) {
146 Status File::Write(const void *src, size_t &num_bytes, off_t &offset) {
150 Status File::Flush() { return Status(); }
152 Status File::Sync() { return Flush(); }
234 uint32_t File::GetPermissions(Status &error) const {
307 Status NativeFile::Close() {
308 Status error;
332 Status NativeFile::GetFileSpec(FileSpec &file_spec) const {
333 Status error;
368 off_t NativeFile::SeekFromStart(off_t offset, Status *error_ptr) {
394 off_t NativeFile::SeekFromCurrent(off_t offset, Status *error_ptr) {
420 off_t NativeFile::SeekFromEnd(off_t offset, Status *error_ptr) {
446 Status NativeFile::Flush() {
447 Status error;
457 Status NativeFile::Sync() {
458 Status error;
480 Status NativeFile::Read(void *buf, size_t &num_bytes) {
481 Status error;
539 Status NativeFile::Write(const void *buf, size_t &num_bytes) {
540 Status error;
601 Status NativeFile::Read(void *buf, size_t &num_bytes, off_t &offset) {
602 Status error;
661 Status NativeFile::Write(const void *buf, size_t &num_bytes, off_t &offset) {
662 Status error;
tools/lldb/source/Host/common/FileCache.cpp 28 Status &error) {
43 bool FileCache::CloseFile(lldb::user_id_t fd, Status &error) {
65 Status &error) {
91 uint64_t dst_len, Status &error) {
tools/lldb/source/Host/common/Host.cpp 458 Status Host::RunShellCommand(const char *command, const FileSpec &working_dir,
469 Status Host::RunShellCommand(const Args &args, const FileSpec &working_dir,
475 Status error;
582 Status Host::LaunchProcess(ProcessLaunchInfo &launch_info) {
591 Status error;
tools/lldb/source/Host/common/HostProcess.cpp 23 Status HostProcess::Terminate() { return m_native_process->Terminate(); }
25 Status HostProcess::GetMainModule(FileSpec &file_spec) const {
tools/lldb/source/Host/common/HostThread.cpp 20 Status HostThread::Join(lldb::thread_result_t *result) {
24 Status HostThread::Cancel() { return m_native_thread->Cancel(); }
tools/lldb/source/Host/common/LockFileBase.cpp 16 Status AlreadyLocked() { return Status("Already locked"); }
18 Status NotLocked() { return Status("Not locked"); }
26 Status LockFileBase::WriteLock(const uint64_t start, const uint64_t len) {
32 Status LockFileBase::TryWriteLock(const uint64_t start, const uint64_t len) {
38 Status LockFileBase::ReadLock(const uint64_t start, const uint64_t len) {
44 Status LockFileBase::TryReadLock(const uint64_t start, const uint64_t len) {
50 Status LockFileBase::Unlock() {
54 const auto error = DoUnlock();
65 Status LockFileBase::DoLock(const Locker &locker, const uint64_t start,
73 const auto error = locker(start, len);
tools/lldb/source/Host/common/MainLoop.cpp 76 Status Poll();
198 Status MainLoop::RunImpl::Poll() {
273 Status &error) {
299 MainLoop::RegisterSignal(int signo, const Callback &callback, Status &error) {
380 Status MainLoop::Run() {
383 Status error;
tools/lldb/source/Host/common/MonitoringProcessLauncher.cpp 26 Status &error) {
tools/lldb/source/Host/common/NativeProcessProtocol.cpp 34 lldb_private::Status NativeProcessProtocol::Interrupt() {
35 Status error;
44 Status NativeProcessProtocol::IgnoreSignals(llvm::ArrayRef<int> signals) {
50 lldb_private::Status
135 Status NativeProcessProtocol::SetWatchpoint(lldb::addr_t addr, size_t size,
164 Status thread_error =
183 Status remove_error = unwatch_thread_sp->RemoveWatchpoint(addr);
195 Status NativeProcessProtocol::RemoveWatchpoint(lldb::addr_t addr) {
199 Status overall_error;
205 const Status thread_error = thread->RemoveWatchpoint(addr);
214 const Status error = m_watchpoint_list.Remove(addr);
223 Status NativeProcessProtocol::SetHardwareBreakpoint(lldb::addr_t addr,
251 Status thread_error = thread->SetHardwareBreakpoint(addr, size);
261 Status remove_error =
280 Status NativeProcessProtocol::RemoveHardwareBreakpoint(lldb::addr_t addr) {
284 Status error;
359 Status NativeProcessProtocol::SetSoftwareBreakpoint(lldb::addr_t addr,
377 Status NativeProcessProtocol::RemoveSoftwareBreakpoint(lldb::addr_t addr) {
388 Status error;
453 Status error = ReadMemory(addr, saved_opcode_bytes.data(),
585 Status error;
631 Status NativeProcessProtocol::RemoveBreakpoint(lldb::addr_t addr,
639 Status NativeProcessProtocol::ReadMemoryWithoutTrap(lldb::addr_t addr,
642 Status error = ReadMemory(addr, buf, size, bytes_read);
679 Status status;
tools/lldb/source/Host/common/NativeRegisterContext.cpp 135 Status NativeRegisterContext::SetPC(lldb::addr_t pc) {
147 Status NativeRegisterContext::SetSP(lldb::addr_t sp) {
159 Status NativeRegisterContext::SetFP(lldb::addr_t fp) {
192 Status error = ReadRegister(reg_info, value);
211 Status NativeRegisterContext::WriteRegisterFromUnsigned(uint32_t reg,
218 Status
243 Status NativeRegisterContext::ClearAllHardwareBreakpoints() {
251 Status NativeRegisterContext::GetHardwareBreakHitIndex(uint32_t &bp_index,
269 Status NativeRegisterContext::ClearAllHardwareWatchpoints() {
273 Status NativeRegisterContext::IsWatchpointHit(uint32_t wp_index, bool &is_hit) {
278 Status NativeRegisterContext::GetWatchpointHitIndex(uint32_t &wp_index,
284 Status NativeRegisterContext::IsWatchpointVacant(uint32_t wp_index,
300 Status NativeRegisterContext::ReadRegisterValueFromMemory(
303 Status error;
370 Status NativeRegisterContext::WriteRegisterValueToMemory(
376 Status error;
tools/lldb/source/Host/common/NativeWatchpointList.cpp 16 Status NativeWatchpointList::Add(addr_t addr, size_t size, uint32_t watch_flags,
22 Status NativeWatchpointList::Remove(addr_t addr) {
tools/lldb/source/Host/common/PipeBase.cpp 15 Status PipeBase::OpenAsWriter(llvm::StringRef name,
21 Status PipeBase::Read(void *buf, size_t size, size_t &bytes_read) {
tools/lldb/source/Host/common/ProcessLaunchInfo.cpp 245 Status &error, bool localhost, bool will_debug,
tools/lldb/source/Host/common/Socket.cpp 111 Status &error) {
150 Status Socket::TcpConnect(llvm::StringRef host_and_port,
156 Status error;
169 Status Socket::TcpListen(llvm::StringRef host_and_port,
175 Status error;
208 Status Socket::UdpConnect(llvm::StringRef host_and_port,
217 Status Socket::UnixDomainConnect(llvm::StringRef name,
220 Status error;
233 Status Socket::UnixDomainAccept(llvm::StringRef name,
235 Status error;
249 Status Socket::UnixAbstractConnect(llvm::StringRef name,
252 Status error;
264 Status Socket::UnixAbstractAccept(llvm::StringRef name,
267 Status error;
283 int32_t &port, Status *error_ptr) {
329 Status Socket::Read(void *buf, size_t &num_bytes) {
330 Status error;
356 Status Socket::Write(const void *buf, size_t &num_bytes) {
358 Status error;
384 Status Socket::PreDisconnect() {
385 Status error;
389 Status Socket::Close() {
390 Status error;
431 void Socket::SetLastError(Status &error) {
441 bool child_processes_inherit, Status &error) {
457 bool child_processes_inherit, Status &error) {
tools/lldb/source/Host/common/TCPSocket.cpp 129 Status TCPSocket::CreateSocket(int domain) {
130 Status error;
140 Status TCPSocket::Connect(llvm::StringRef name) {
145 Status error;
177 Status TCPSocket::Listen(llvm::StringRef name, int backlog) {
181 Status error;
242 Status TCPSocket::Accept(Socket *&conn_socket) {
243 Status error;
tools/lldb/source/Host/common/UDPSocket.cpp 44 Status UDPSocket::Connect(llvm::StringRef name) {
48 Status UDPSocket::Listen(llvm::StringRef name, int backlog) {
52 Status UDPSocket::Accept(Socket *&socket) {
56 Status UDPSocket::Connect(llvm::StringRef name, bool child_processes_inherit,
63 Status error;
tools/lldb/source/Host/linux/Host.cpp 309 Status Host::ShellExpandArguments(ProcessLaunchInfo &launch_info) {
tools/lldb/source/Host/posix/ConnectionFileDescriptorPosix.cpp 121 Status result = m_pipe.CreateNew(m_child_processes_inherit);
150 Status *error_ptr) {
290 Status result = m_pipe.Write("i", 1, bytes_written);
294 ConnectionStatus ConnectionFileDescriptor::Disconnect(Status *error_ptr) {
321 Status result = m_pipe.Write("q", 1, bytes_written);
339 Status error = m_read_sp->Close();
340 Status error2 = m_write_sp->Close();
384 Status error;
465 Status *error_ptr) {
487 Status error;
583 Status error = select_helper.Select();
644 Status *error_ptr) {
646 Status error =
661 Status *error_ptr) {
663 Status error =
678 Status *error_ptr) {
680 Status error = Socket::UnixAbstractConnect(socket_name,
695 Status *error_ptr) {
700 Status error = Socket::TcpListen(s, m_child_processes_inherit, socket,
723 Status *error_ptr) {
725 Status error = Socket::TcpConnect(s, m_child_processes_inherit, socket);
738 Status *error_ptr) {
740 Status error = Socket::UdpConnect(s, m_child_processes_inherit, socket);
tools/lldb/source/Host/posix/DomainSocket.cpp 75 Status DomainSocket::Connect(llvm::StringRef name) {
81 Status error;
92 Status DomainSocket::Listen(llvm::StringRef name, int backlog) {
100 Status error;
113 Status DomainSocket::Accept(Socket *&socket) {
114 Status error;
tools/lldb/source/Host/posix/FileSystem.cpp 36 Status FileSystem::Symlink(const FileSpec &src, const FileSpec &dst) {
37 Status error;
43 Status FileSystem::Readlink(const FileSpec &src, FileSpec &dst) {
44 Status error;
56 Status FileSystem::ResolveSymbolicLink(const FileSpec &src, FileSpec &dst) {
64 Status err;
tools/lldb/source/Host/posix/HostProcessPosix.cpp 33 Status HostProcessPosix::Signal(int signo) const {
35 Status error;
43 Status HostProcessPosix::Signal(lldb::process_t process, int signo) {
44 Status error;
52 Status HostProcessPosix::Terminate() { return Signal(SIGKILL); }
54 Status HostProcessPosix::GetMainModule(FileSpec &file_spec) const {
55 Status error;
86 Status error = Signal(0);
tools/lldb/source/Host/posix/HostThreadPosix.cpp 25 Status HostThreadPosix::Join(lldb::thread_result_t *result) {
26 Status error;
40 Status HostThreadPosix::Cancel() {
41 Status error;
53 Status HostThreadPosix::Detach() {
54 Status error;
tools/lldb/source/Host/posix/LockFilePosix.cpp 21 Status fileLock(int fd, int cmd, int lock_type, const uint64_t start,
31 Status error;
44 Status LockFilePosix::DoWriteLock(const uint64_t start, const uint64_t len) {
48 Status LockFilePosix::DoTryWriteLock(const uint64_t start, const uint64_t len) {
52 Status LockFilePosix::DoReadLock(const uint64_t start, const uint64_t len) {
56 Status LockFilePosix::DoTryReadLock(const uint64_t start, const uint64_t len) {
60 Status LockFilePosix::DoUnlock() {
tools/lldb/source/Host/posix/PipePosix.cpp 86 Status PipePosix::CreateNew(bool child_processes_inherit) {
90 Status error;
115 Status PipePosix::CreateNew(llvm::StringRef name, bool child_process_inherit) {
119 Status error;
126 Status PipePosix::CreateWithUniqueName(llvm::StringRef prefix,
139 Status error;
151 Status PipePosix::OpenAsReader(llvm::StringRef name,
160 Status error;
170 Status
230 Status PipePosix::Delete(llvm::StringRef name) {
256 Status PipePosix::ReadWithTimeout(void *buf, size_t size,
269 Status error;
290 Status PipePosix::Write(const void *buf, size_t size, size_t &bytes_written) {
300 Status error;
tools/lldb/source/Host/posix/ProcessLauncherPosixFork.cpp 180 Status &error) {
tools/lldb/source/Interpreter/CommandInterpreter.cpp 1436 Status CommandInterpreter::PreprocessCommand(std::string &command) {
1443 Status error; // Status for any expressions that might not evaluate
1678 Status error(PreprocessCommand(command_string));
tools/lldb/source/Interpreter/CommandObject.cpp 101 Status error;
331 Status error(group_options.NotifyOptionParsingFinished(&exe_ctx));
tools/lldb/source/Interpreter/CommandReturnObject.cpp 108 void CommandReturnObject::SetError(const Status &error,
tools/lldb/source/Interpreter/OptionArgParser.cpp 49 int32_t fail_value, Status &error) {
78 Status OptionArgParser::ToFormat(const char *s, lldb::Format &format,
81 Status error;
143 Status *error_ptr) {
222 Status error;
tools/lldb/source/Interpreter/OptionGroupArchitecture.cpp 36 Status
40 Status error;
tools/lldb/source/Interpreter/OptionGroupBoolean.cpp 38 Status OptionGroupBoolean::SetOptionValue(uint32_t option_idx,
41 Status error;
tools/lldb/source/Interpreter/OptionGroupFile.cpp 36 Status OptionGroupFile::SetOptionValue(uint32_t option_idx,
39 Status error(m_file.SetValueFromString(option_arg));
67 Status
71 Status error(m_file_list.SetValueFromString(option_value));
tools/lldb/source/Interpreter/OptionGroupFormat.cpp 55 Status OptionGroupFormat::SetOptionValue(uint32_t option_idx,
58 Status error;
tools/lldb/source/Interpreter/OptionGroupOutputFile.cpp 36 Status
40 Status error;
tools/lldb/source/Interpreter/OptionGroupPlatform.cpp 20 Status &error, ArchSpec &platform_arch) const {
86 Status
90 Status error;
tools/lldb/source/Interpreter/OptionGroupPythonClassWithDict.cpp 86 Status OptionGroupPythonClassWithDict::SetOptionValue(
90 Status error;
132 Status OptionGroupPythonClassWithDict::OptionParsingFinished(
134 Status error;
tools/lldb/source/Interpreter/OptionGroupString.cpp 37 Status OptionGroupString::SetOptionValue(uint32_t option_idx,
40 Status error(m_value.SetValueFromString(option_arg));
tools/lldb/source/Interpreter/OptionGroupUInt64.cpp 37 Status OptionGroupUInt64::SetOptionValue(uint32_t option_idx,
40 Status error(m_value.SetValueFromString(option_arg));
tools/lldb/source/Interpreter/OptionGroupUUID.cpp 29 Status OptionGroupUUID::SetOptionValue(uint32_t option_idx,
32 Status error;
tools/lldb/source/Interpreter/OptionGroupValueObjectDisplay.cpp 72 Status OptionGroupValueObjectDisplay::SetOptionValue(
75 Status error;
tools/lldb/source/Interpreter/OptionGroupVariable.cpp 53 static Status ValidateNamedSummary(const char *str, void *) {
63 static Status ValidateSummaryString(const char *str, void *) {
75 Status
79 Status error;
tools/lldb/source/Interpreter/OptionGroupWatchpoint.cpp 81 Status
85 Status error;
tools/lldb/source/Interpreter/OptionValue.cpp 37 Status OptionValue::SetSubValue(const ExecutionContext *exe_ctx,
40 Status error;
502 const char *value_cstr, uint32_t type_mask, Status &error) {
571 Status OptionValue::SetValueFromString(llvm::StringRef value,
573 Status error;
tools/lldb/source/Interpreter/OptionValueArch.cpp 36 Status OptionValueArch::SetValueFromString(llvm::StringRef value,
38 Status error;
tools/lldb/source/Interpreter/OptionValueArray.cpp 78 Status OptionValueArray::SetValueFromString(llvm::StringRef value,
81 Status error = SetArgs(args, op);
90 Status &error) const {
158 Status OptionValueArray::SetArgs(const Args &args, VarSetOperationType op) {
159 Status error;
tools/lldb/source/Interpreter/OptionValueBoolean.cpp 33 Status OptionValueBoolean::SetValueFromString(llvm::StringRef value_str,
35 Status error;
tools/lldb/source/Interpreter/OptionValueChar.cpp 34 Status OptionValueChar::SetValueFromString(llvm::StringRef value,
36 Status error;
tools/lldb/source/Interpreter/OptionValueDictionary.cpp 96 Status OptionValueDictionary::SetArgs(const Args &args,
98 Status error;
202 Status OptionValueDictionary::SetValueFromString(llvm::StringRef value,
205 Status error = SetArgs(args, op);
214 Status &error) const {
262 Status OptionValueDictionary::SetSubValue(const ExecutionContext *exe_ctx,
266 Status error;
tools/lldb/source/Interpreter/OptionValueEnumeration.cpp 43 Status OptionValueEnumeration::SetValueFromString(llvm::StringRef value,
45 Status error;
tools/lldb/source/Interpreter/OptionValueFileSpec.cpp 55 Status OptionValueFileSpec::SetValueFromString(llvm::StringRef value,
57 Status error;
tools/lldb/source/Interpreter/OptionValueFileSpecList.cpp 45 Status OptionValueFileSpecList::SetValueFromString(llvm::StringRef value,
48 Status error;
tools/lldb/source/Interpreter/OptionValueFormat.cpp 29 Status OptionValueFormat::SetValueFromString(llvm::StringRef value,
31 Status error;
tools/lldb/source/Interpreter/OptionValueFormatEntity.cpp 23 Status error = FormatEntity::Parse(default_format_str, m_default_entry);
66 Status OptionValueFormatEntity::SetValueFromString(llvm::StringRef value_str,
68 Status error;
tools/lldb/source/Interpreter/OptionValueLanguage.cpp 32 Status OptionValueLanguage::SetValueFromString(llvm::StringRef value,
34 Status error;
tools/lldb/source/Interpreter/OptionValuePathMappings.cpp 39 Status OptionValuePathMappings::SetValueFromString(llvm::StringRef value,
41 Status error;
tools/lldb/source/Interpreter/OptionValueProperties.cpp 113 Status &error) const {
194 Status OptionValueProperties::SetSubValue(const ExecutionContext *exe_ctx,
198 Status error;
527 Status OptionValueProperties::SetValueFromString(llvm::StringRef value,
529 Status error;
568 Status OptionValueProperties::DumpPropertyValue(const ExecutionContext *exe_ctx,
572 Status error;
tools/lldb/source/Interpreter/OptionValueRegex.cpp 30 Status OptionValueRegex::SetValueFromString(llvm::StringRef value,
32 Status error;
tools/lldb/source/Interpreter/OptionValueSInt64.cpp 33 Status OptionValueSInt64::SetValueFromString(llvm::StringRef value_ref,
35 Status error;
tools/lldb/source/Interpreter/OptionValueString.cpp 45 Status OptionValueString::SetValueFromString(llvm::StringRef value,
47 Status error;
125 Status OptionValueString::SetCurrentValue(llvm::StringRef value) {
127 Status error(m_validator(value.str().c_str(), m_validator_baton));
135 Status OptionValueString::AppendToCurrentValue(const char *value) {
140 Status error(m_validator(value, m_validator_baton));
tools/lldb/source/Interpreter/OptionValueUInt64.cpp 19 Status &error) {
38 Status OptionValueUInt64::SetValueFromString(llvm::StringRef value_ref,
40 Status error;
tools/lldb/source/Interpreter/OptionValueUUID.cpp 30 Status OptionValueUUID::SetValueFromString(llvm::StringRef value,
32 Status error;
tools/lldb/source/Interpreter/Options.cpp 38 Status
845 Status OptionGroupOptions::SetOptionValue(uint32_t option_idx,
851 Status error;
875 Status
878 Status error;
1292 Status error;
tools/lldb/source/Interpreter/ScriptInterpreter.cpp 72 Status ScriptInterpreter::SetBreakpointCommandCallback(
75 Status return_error;
84 Status ScriptInterpreter::SetBreakpointCommandCallbackFunction(
88 Status error;
tools/lldb/source/Plugins/ABI/MacOSX-arm/ABIMacOSX_arm.cpp 1530 Status error;
1617 Status error;
1700 Status ABIMacOSX_arm::SetReturnValueObject(lldb::StackFrameSP &frame_sp,
1702 Status error;
1726 Status data_error;
tools/lldb/source/Plugins/ABI/MacOSX-arm/ABIMacOSX_arm.h 28 lldb_private::Status
tools/lldb/source/Plugins/ABI/MacOSX-arm64/ABIMacOSX_arm64.cpp 1838 Status error;
1856 Status
1859 Status error;
1877 Status data_error;
2120 Status error;
2306 Status error;
2403 Status error;
tools/lldb/source/Plugins/ABI/MacOSX-arm64/ABIMacOSX_arm64.h 86 lldb_private::Status
tools/lldb/source/Plugins/ABI/MacOSX-i386/ABIMacOSX_i386.cpp 740 Status error;
787 Status error;
840 Status ABIMacOSX_i386::SetReturnValueObject(lldb::StackFrameSP &frame_sp,
842 Status error;
866 Status data_error;
tools/lldb/source/Plugins/ABI/MacOSX-i386/ABIMacOSX_i386.h 29 lldb_private::Status
tools/lldb/source/Plugins/ABI/SysV-arc/ABISysV_arc.cpp 217 Status error;
309 Status ABISysV_arc::SetReturnValueObject(StackFrameSP &frame_sp,
311 Status result;
tools/lldb/source/Plugins/ABI/SysV-arc/ABISysV_arc.h 40 lldb_private::Status
tools/lldb/source/Plugins/ABI/SysV-arm/ABISysV_arm.cpp 1509 Status error;
1525 Status error;
1812 Status error;
1843 Status ABISysV_arm::SetReturnValueObject(lldb::StackFrameSP &frame_sp,
1845 Status error;
1869 Status data_error;
tools/lldb/source/Plugins/ABI/SysV-arm/ABISysV_arm.h 28 lldb_private::Status
tools/lldb/source/Plugins/ABI/SysV-arm64/ABISysV_arm64.cpp 1810 Status error;
1829 Status ABISysV_arm64::SetReturnValueObject(lldb::StackFrameSP &frame_sp,
1831 Status error;
1849 Status data_error;
2097 Status error;
2278 Status error;
2373 Status error;
tools/lldb/source/Plugins/ABI/SysV-arm64/ABISysV_arm64.h 29 lldb_private::Status
tools/lldb/source/Plugins/ABI/SysV-hexagon/ABISysV_hexagon.cpp 1067 Status error;
1189 Status
1192 Status error;
tools/lldb/source/Plugins/ABI/SysV-hexagon/ABISysV_hexagon.h 37 lldb_private::Status
tools/lldb/source/Plugins/ABI/SysV-i386/ABISysV_i386.cpp 229 Status error;
272 Status error;
324 Status ABISysV_i386::SetReturnValueObject(lldb::StackFrameSP &frame_sp,
326 Status error;
342 Status data_error;
655 Status error;
683 Status error;
tools/lldb/source/Plugins/ABI/SysV-i386/ABISysV_i386.h 31 lldb_private::Status
tools/lldb/source/Plugins/ABI/SysV-mips/ABISysV_mips.cpp 646 Status error;
697 Status ABISysV_mips::SetReturnValueObject(lldb::StackFrameSP &frame_sp,
699 Status error;
723 Status data_error;
tools/lldb/source/Plugins/ABI/SysV-mips/ABISysV_mips.h 29 lldb_private::Status
tools/lldb/source/Plugins/ABI/SysV-mips64/ABISysV_mips64.cpp 606 Status error;
658 Status ABISysV_mips64::SetReturnValueObject(lldb::StackFrameSP &frame_sp,
660 Status error;
680 Status data_error;
738 Status error;
tools/lldb/source/Plugins/ABI/SysV-mips64/ABISysV_mips64.h 29 lldb_private::Status
tools/lldb/source/Plugins/ABI/SysV-ppc/ABISysV_ppc.cpp 274 Status error;
325 Status error;
412 Status ABISysV_ppc::SetReturnValueObject(lldb::StackFrameSP &frame_sp,
414 Status error;
440 Status data_error;
471 Status data_error;
621 Status error;
tools/lldb/source/Plugins/ABI/SysV-ppc/ABISysV_ppc.h 29 lldb_private::Status
tools/lldb/source/Plugins/ABI/SysV-ppc64/ABISysV_ppc64.cpp 125 Status error;
212 Status error;
290 Status ABISysV_ppc64::SetReturnValueObject(lldb::StackFrameSP &frame_sp,
292 Status error;
318 Status data_error;
349 Status data_error;
461 Status error;
719 Status error;
756 Status error;
793 Status error;
tools/lldb/source/Plugins/ABI/SysV-ppc64/ABISysV_ppc64.h 29 lldb_private::Status
tools/lldb/source/Plugins/ABI/SysV-s390x/ABISysV_s390x.cpp 260 Status error;
309 Status error;
390 Status ABISysV_s390x::SetReturnValueObject(lldb::StackFrameSP &frame_sp,
392 Status error;
418 Status data_error;
451 Status data_error;
tools/lldb/source/Plugins/ABI/SysV-s390x/ABISysV_s390x.h 29 lldb_private::Status
tools/lldb/source/Plugins/ABI/SysV-x86_64/ABISysV_x86_64.cpp 306 Status error;
356 Status error;
440 Status ABISysV_x86_64::SetReturnValueObject(lldb::StackFrameSP &frame_sp,
442 Status error;
468 Status data_error;
502 Status data_error;
663 Status error;
691 Status error;
tools/lldb/source/Plugins/ABI/SysV-x86_64/ABISysV_x86_64.h 29 lldb_private::Status
tools/lldb/source/Plugins/ABI/Windows-x86_64/ABIWindows_x86_64.cpp 1148 Status error;
1199 Status error;
1273 Status ABIWindows_x86_64::SetReturnValueObject(lldb::StackFrameSP &frame_sp,
1275 Status error;
1301 Status data_error;
1335 Status data_error;
1496 Status error;
tools/lldb/source/Plugins/ABI/Windows-x86_64/ABIWindows_x86_64.h 29 lldb_private::Status
tools/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp 245 Status read_err;
396 Status error;
515 Status error;
1086 Status error;
1370 Status error;
1525 Status DynamicLoaderDarwinKernel::CanLoadImage() {
1526 Status error;
tools/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.h 58 lldb_private::Status CanLoadImage() override;
tools/lldb/source/Plugins/DynamicLoader/Hexagon-DYLD/DynamicLoaderHexagonDYLD.cpp 213 Status DynamicLoaderHexagonDYLD::CanLoadImage() { return Status(); }
554 Status error;
tools/lldb/source/Plugins/DynamicLoader/Hexagon-DYLD/DynamicLoaderHexagonDYLD.h 43 lldb_private::Status CanLoadImage() override;
tools/lldb/source/Plugins/DynamicLoader/Hexagon-DYLD/HexagonDYLDRendezvous.cpp 31 Status error;
220 Status error;
230 Status error;
241 Status error;
303 Status error;
tools/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderDarwin.cpp 955 Status error;
1050 Status error;
tools/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOS.cpp 275 Status error;
397 Status DynamicLoaderMacOS::CanLoadImage() {
398 Status error;
tools/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOS.h 55 lldb_private::Status CanLoadImage() override;
tools/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.cpp 193 Status error;
448 Status error;
660 Status error;
761 Status error;
1028 Status DynamicLoaderMacOSXDYLD::CanLoadImage() {
1029 Status error;
1063 Status err;
1096 Status error;
tools/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.h 59 lldb_private::Status CanLoadImage() override;
tools/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DYLDRendezvous.cpp 33 Status error;
456 Status error;
466 Status error;
477 Status error;
507 Status error =
571 Status error;
tools/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp 207 Status DynamicLoaderPOSIXDYLD::CanLoadImage() { return Status(); }
510 Status status = m_process->GetMemoryRegionInfo(m_vdso_base, info);
530 Status status = m_process->GetMemoryRegionInfo(m_interpreter_base, info);
737 auto error = platform_sp->ResolveExecutable(
tools/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.h 49 lldb_private::Status CanLoadImage() override;
tools/lldb/source/Plugins/DynamicLoader/Static/DynamicLoaderStatic.cpp 124 Status DynamicLoaderStatic::CanLoadImage() {
125 Status error;
tools/lldb/source/Plugins/DynamicLoader/Static/DynamicLoaderStatic.h 46 lldb_private::Status CanLoadImage() override;
tools/lldb/source/Plugins/DynamicLoader/Windows-DYLD/DynamicLoaderWindowsDYLD.cpp 71 Status error;
112 Status status =
174 Status DynamicLoaderWindowsDYLD::CanLoadImage() { return Status(); }
tools/lldb/source/Plugins/DynamicLoader/Windows-DYLD/DynamicLoaderWindowsDYLD.h 38 Status CanLoadImage() override;
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp 251 Status err;
413 Status err;
856 Status status;
963 Status status;
1489 Status error;
1558 Status err;
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp 1165 lldb_private::Status ClangExpressionParser::PrepareForExecution(
1173 lldb_private::Status err;
1262 lldb_private::Status interpret_error;
1348 lldb_private::Status ClangExpressionParser::RunStaticInitializers(
1350 lldb_private::Status err;
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.h 119 Status
135 Status RunStaticInitializers(lldb::IRExecutionUnitSP &execution_unit_sp,
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp 92 void ClangUserExpression::ScanContext(ExecutionContext &exe_ctx, Status &err) {
513 Status err;
632 Status jit_error = parser.PrepareForExecution(
648 Status static_init_error =
835 Status object_ptr_error;
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.h 176 lldb_private::Status &err) override;
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangUtilityFunction.cpp 120 Status jit_error = parser.PrepareForExecution(
tools/lldb/source/Plugins/ExpressionParser/Clang/IRDynamicChecks.cpp 51 Status error;
tools/lldb/source/Plugins/Instruction/ARM64/EmulateInstructionARM64.cpp 825 Status error;
971 Status error;
tools/lldb/source/Plugins/Instruction/MIPS/EmulateInstructionMIPS.cpp 1005 Status error;
1281 Status error;
1541 Status error;
1624 Status error;
tools/lldb/source/Plugins/Instruction/MIPS64/EmulateInstructionMIPS64.cpp 1175 Status error;
tools/lldb/source/Plugins/InstrumentationRuntime/ASan/ASanRuntime.cpp 135 Status eval_error;
172 Status error;
tools/lldb/source/Plugins/InstrumentationRuntime/MainThreadChecker/MainThreadCheckerRuntime.cpp 100 Status read_error;
tools/lldb/source/Plugins/InstrumentationRuntime/TSan/TSanRuntime.cpp 258 Status error;
326 Status eval_error;
tools/lldb/source/Plugins/InstrumentationRuntime/UBSan/UBSanRuntime.cpp 108 Status error;
141 Status eval_error;
tools/lldb/source/Plugins/JITLoader/GDB/JITLoaderGDB.cpp 125 Status error;
291 Status error;
tools/lldb/source/Plugins/Language/CPlusPlus/BlockPointer.cpp 133 Status err;
tools/lldb/source/Plugins/Language/CPlusPlus/CxxStringTypes.cpp 159 Status error;
185 Status error;
211 Status error;
237 Status error;
tools/lldb/source/Plugins/Language/CPlusPlus/LibCxx.cpp 125 Status error;
263 Status error;
tools/lldb/source/Plugins/Language/CPlusPlus/LibCxxList.cpp 283 Status error;
305 Status err;
402 Status error;
419 Status err;
tools/lldb/source/Plugins/Language/CPlusPlus/LibCxxMap.cpp 257 Status error;
362 Status error;
403 Status error;
tools/lldb/source/Plugins/Language/CPlusPlus/LibCxxUnorderedMap.cpp 81 Status error;
150 Status error;
tools/lldb/source/Plugins/Language/CPlusPlus/LibCxxVector.cpp 209 Status err;
tools/lldb/source/Plugins/Language/CPlusPlus/LibStdcpp.cpp 204 Status err;
246 Status error;
306 Status error;
412 Status error;
tools/lldb/source/Plugins/Language/CPlusPlus/LibStdcppUniquePointer.cpp 107 Status error;
tools/lldb/source/Plugins/Language/ObjC/CF.cpp 89 Status error;
149 Status error;
276 Status error;
tools/lldb/source/Plugins/Language/ObjC/Cocoa.cpp 210 Status error;
256 Status error;
473 Status error;
622 Status error;
824 Status error;
832 Status error;
970 Status error;
977 Status error;
1000 Status err;
1075 Status error;
tools/lldb/source/Plugins/Language/ObjC/NSArray.cpp 185 lldb::addr_t valobj_addr, Status &error) {
199 Status &error) {
298 Status &error) {
384 Status error;
392 Status error;
402 Status error;
408 Status error;
413 Status error;
419 Status error;
431 Status error;
518 Status error;
664 Status error;
711 Status error;
810 Status error;
tools/lldb/source/Plugins/Language/ObjC/NSDictionary.cpp 313 lldb::addr_t valobj_addr, Status &error) {
327 Status &error) {
384 Status error;
394 Status error;
448 Status error;
538 Status error;
587 Status error;
687 Status error;
766 Status error;
831 Status error;
934 Status error;
989 Status error;
tools/lldb/source/Plugins/Language/ObjC/NSError.cpp 44 Status error;
69 Status error;
150 Status error;
tools/lldb/source/Plugins/Language/ObjC/NSException.cpp 53 Status error;
tools/lldb/source/Plugins/Language/ObjC/NSSet.cpp 176 Status &error) {
190 Status &error) {
256 Status error;
265 Status error;
312 Status error;
400 Status error;
453 Status error;
560 Status error;
620 Status error;
tools/lldb/source/Plugins/Language/ObjC/NSString.cpp 103 Status error;
257 Status error;
315 Status error;
tools/lldb/source/Plugins/LanguageRuntime/CPlusPlus/CPPLanguageRuntime.cpp 123 Status status;
tools/lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.cpp 220 Status error;
564 Status error;
tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCClassDescriptorV2.cpp 54 Status error;
94 Status error;
146 Status error;
194 Status error;
233 Status error;
256 Status error;
286 Status error;
309 Status error;
533 Status error;
tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.cpp 150 Status error;
191 Status error;
517 Status error;
552 Status error;
tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV1.cpp 175 Status error;
199 Status error;
309 Status error;
355 Status error;
tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp 376 const ModuleSP &module_sp, Status &error,
521 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
523 Status error;
714 Status error;
891 Status error;
919 Status error;
972 Status err;
1065 Status err;
1094 Status err;
1206 Status error;
1245 Status error;
1275 Status error;
1315 Status err;
1334 Status error;
1577 Status err;
1598 Status error;
2087 Status error;
2155 Status error;
2370 Status error;
2458 Status error;
2553 Status error;
tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTrampolineHandler.cpp 309 Status error;
543 Status error;
563 Status error;
777 Status error;
808 Status error;
tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleThreadPlanStepThroughObjCTrampoline.cpp 156 Status status;
tools/lldb/source/Plugins/LanguageRuntime/ObjC/ObjCLanguageRuntime.cpp 255 Status error;
392 Status ObjCLanguageRuntime::ObjCExceptionPrecondition::ConfigurePrecondition(
394 Status error;
tools/lldb/source/Plugins/LanguageRuntime/ObjC/ObjCLanguageRuntime.h 166 Status ConfigurePrecondition(Args &args) override;
tools/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp 124 Status err;
137 Status err;
166 Status err;
228 Status err;
305 Status err;
350 Status err;
1156 Status err;
1202 Status err;
1294 Status err;
1474 Status err;
1698 Status err = expr_result->GetError();
2061 Status err;
2291 Status err;
2382 Status err;
2540 Status err;
2692 Status err = file.get()->Write(&head, num_bytes);
2795 Status err;
3505 Status err;
3534 Status err;
3550 Status err;
3765 Status err;
4086 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
4088 Status err;
4241 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
4243 Status err;
4522 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
4524 Status err;
4650 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
4652 Status err;
tools/lldb/source/Plugins/MemoryHistory/asan/MemoryHistoryASan.cpp 169 Status eval_error;
tools/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp 840 Status error;
996 lldb_private::Status
1001 Status error;
1506 Status error = RefineModuleDetailsFromNote(data, arch_spec, uuid);
tools/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h 384 static lldb_private::Status
tools/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp 3702 Status str_error;
6021 const FileSpec &outfile, Status &error) {
6055 Status range_error = process_sp->GetMemoryRegionInfo(0, range_info);
6270 Status memory_read_error;
tools/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.h 61 lldb_private::Status &error);
tools/lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp 215 lldb_private::Status &error) {
552 Status readmem_error;
tools/lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.h 82 lldb_private::Status &error);
tools/lldb/source/Plugins/ObjectFile/PECOFF/WindowsMiniDump.cpp 25 lldb_private::Status &error) {
tools/lldb/source/Plugins/ObjectFile/PECOFF/WindowsMiniDump.h 18 lldb_private::Status &error);
tools/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp 95 Status error;
tools/lldb/source/Plugins/Platform/Android/AdbClient.cpp 66 Status ReadAllBytes(Connection &conn, void *buffer, size_t size) {
68 Status error;
95 Status AdbClient::CreateByDeviceID(const std::string &device_id,
98 auto error = adb.GetDevices(connect_devices);
137 Status AdbClient::Connect() {
138 Status error;
150 Status AdbClient::GetDevices(DeviceIDList &device_list) {
153 auto error = SendMessage("host:devices");
177 Status AdbClient::SetPortForwarding(const uint16_t local_port,
183 const auto error = SendDeviceMessage(message);
190 Status
202 const auto error = SendDeviceMessage(message);
209 Status AdbClient::DeletePortForwarding(const uint16_t local_port) {
213 const auto error = SendDeviceMessage(message);
220 Status AdbClient::SendMessage(const std::string &packet, const bool reconnect) {
221 Status error;
242 Status AdbClient::SendDeviceMessage(const std::string &packet) {
248 Status AdbClient::ReadMessage(std::vector<char> &message) {
254 auto error = ReadAllBytes(buffer, 4);
269 Status AdbClient::ReadMessageStream(std::vector<char> &message,
274 Status error;
292 Status AdbClient::ReadResponseStatus() {
298 auto error = ReadAllBytes(response_id, packet_len);
308 Status AdbClient::GetResponseError(const char *response_id) {
313 auto error = ReadMessage(error_message);
321 Status AdbClient::SwitchDeviceTransport() {
325 auto error = SendMessage(msg.str());
332 Status AdbClient::StartSync() {
333 auto error = SwitchDeviceTransport();
345 Status AdbClient::Sync() {
346 auto error = SendMessage("sync:", false);
353 Status AdbClient::ReadAllBytes(void *buffer, size_t size) {
357 Status AdbClient::internalShell(const char *command, milliseconds timeout,
361 auto error = SwitchDeviceTransport();
392 Status AdbClient::Shell(const char *command, milliseconds timeout,
395 auto error = internalShell(command, timeout, output_buffer);
404 Status AdbClient::ShellToFile(const char *command, milliseconds timeout,
407 auto error = internalShell(command, timeout, output_buffer);
425 AdbClient::GetSyncService(Status &error) {
434 Status AdbClient::SyncService::internalPullFile(const FileSpec &remote_file,
445 auto error = SendSyncRequest(kRECV, remote_file_path.length(),
467 Status AdbClient::SyncService::internalPushFile(const FileSpec &local_file,
477 auto error = SendSyncRequest(kSEND, file_description_str.length(),
516 Status AdbClient::SyncService::internalStat(const FileSpec &remote_file,
520 auto error = SendSyncRequest(kSTAT, remote_file_path.length(),
550 Status AdbClient::SyncService::PullFile(const FileSpec &remote_file,
557 Status AdbClient::SyncService::PushFile(const FileSpec &local_file,
564 Status AdbClient::SyncService::Stat(const FileSpec &remote_file, uint32_t &mode,
578 Status
579 AdbClient::SyncService::executeCommand(const std::function<Status()> &cmd) {
583 const auto error = cmd();
592 Status AdbClient::SyncService::SendSyncRequest(const char *request_id,
600 Status error;
611 Status AdbClient::SyncService::ReadSyncHeader(std::string &response_id,
615 auto error = ReadAllBytes(buffer, kSyncPacketLen);
626 Status AdbClient::SyncService::PullFileChunk(std::vector<char> &buffer,
632 auto error = ReadSyncHeader(response_id, data_len);
655 Status AdbClient::SyncService::ReadAllBytes(void *buffer, size_t size) {
tools/lldb/source/Plugins/Platform/Android/AdbClient.h 41 Status PullFile(const FileSpec &remote_file, const FileSpec &local_file);
43 Status PushFile(const FileSpec &local_file, const FileSpec &remote_file);
45 Status Stat(const FileSpec &remote_file, uint32_t &mode, uint32_t &size,
53 Status SendSyncRequest(const char *request_id, const uint32_t data_len,
56 Status ReadSyncHeader(std::string &response_id, uint32_t &data_len);
58 Status PullFileChunk(std::vector<char> &buffer, bool &eof);
60 Status ReadAllBytes(void *buffer, size_t size);
62 Status internalPullFile(const FileSpec &remote_file,
65 Status internalPushFile(const FileSpec &local_file,
68 Status internalStat(const FileSpec &remote_file, uint32_t &mode,
71 Status executeCommand(const std::function<Status()> &cmd);
71 Status executeCommand(const std::function<Status()> &cmd);
76 static Status CreateByDeviceID(const std::string &device_id, AdbClient &adb);
85 Status GetDevices(DeviceIDList &device_list);
87 Status SetPortForwarding(const uint16_t local_port,
90 Status SetPortForwarding(const uint16_t local_port,
94 Status DeletePortForwarding(const uint16_t local_port);
96 Status Shell(const char *command, std::chrono::milliseconds timeout,
99 Status ShellToFile(const char *command, std::chrono::milliseconds timeout,
102 std::unique_ptr<SyncService> GetSyncService(Status &error);
104 Status SwitchDeviceTransport();
107 Status Connect();
111 Status SendMessage(const std::string &packet, const bool reconnect = true);
113 Status SendDeviceMessage(const std::string &packet);
115 Status ReadMessage(std::vector<char> &message);
117 Status ReadMessageStream(std::vector<char> &message,
120 Status GetResponseError(const char *response_id);
122 Status ReadResponseStatus();
124 Status Sync();
126 Status StartSync();
128 Status internalShell(const char *command, std::chrono::milliseconds timeout,
131 Status ReadAllBytes(void *buffer, size_t size);
tools/lldb/source/Plugins/Platform/Android/PlatformAndroid.cpp 154 Status PlatformAndroid::ConnectRemote(Args &args) {
175 auto error = PlatformLinux::ConnectRemote(args);
187 Status PlatformAndroid::GetFile(const FileSpec &source,
197 Status error;
229 Status PlatformAndroid::PutFile(const FileSpec &source,
241 Status error;
250 Status PlatformAndroid::DownloadModuleSlice(const FileSpec &src_file_spec,
260 Status PlatformAndroid::DisconnectRemote() {
261 Status error = PlatformLinux::DisconnectRemote();
282 Status error =
297 Status PlatformAndroid::DownloadSymbolFile(const lldb::ModuleSP &module_sp,
320 Status error = adb.Shell("mktemp --directory --tmpdir /data/local/tmp",
332 Status error = adb.Shell(command.GetData(), seconds(5), nullptr);
386 AdbClient::SyncService *PlatformAndroid::GetSyncService(Status &error) {
tools/lldb/source/Plugins/Platform/Android/PlatformAndroid.h 45 Status ConnectRemote(Args &args) override;
47 Status GetFile(const FileSpec &source, const FileSpec &destination) override;
49 Status PutFile(const FileSpec &source, const FileSpec &destination,
56 Status DisconnectRemote() override;
63 Status DownloadModuleSlice(const FileSpec &src_file_spec,
67 Status DownloadSymbolFile(const lldb::ModuleSP &module_sp,
74 AdbClient::SyncService *GetSyncService(Status &error);
tools/lldb/source/Plugins/Platform/Android/PlatformAndroidRemoteGDBServer.cpp 26 static Status ForwardPortWithAdb(
34 auto error = AdbClient::CreateByDeviceID(device_id, adb);
57 static Status DeleteForwardPortWithAdb(uint16_t local_port,
63 static Status FindUnusedPort(uint16_t &port) {
64 Status error;
92 auto error =
105 Status PlatformAndroidRemoteGDBServer::ConnectRemote(Args &args) {
129 auto error =
148 Status PlatformAndroidRemoteGDBServer::DisconnectRemote() {
161 const auto error = DeleteForwardPortWithAdb(port, m_device_id);
171 Status PlatformAndroidRemoteGDBServer::MakeConnectURL(
176 Status error;
203 lldb_private::Status &error) {
tools/lldb/source/Plugins/Platform/Android/PlatformAndroidRemoteGDBServer.h 31 Status ConnectRemote(Args &args) override;
33 Status DisconnectRemote() override;
39 lldb_private::Status &error) override;
52 Status MakeConnectURL(const lldb::pid_t pid, const uint16_t remote_port,
tools/lldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp 247 Status PlatformFreeBSD::LaunchProcess(ProcessLaunchInfo &launch_info) {
248 Status error;
262 Status &error) {
tools/lldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.h 52 Status LaunchProcess(ProcessLaunchInfo &launch_info) override;
55 Target *target, Status &error) override;
tools/lldb/source/Plugins/Platform/Linux/PlatformLinux.cpp 270 Status &error) {
tools/lldb/source/Plugins/Platform/Linux/PlatformLinux.h 53 Status &error) override;
tools/lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp 184 Status PlatformDarwin::ResolveSymbolFile(Target &target,
195 static lldb_private::Status
202 static lldb_private::Status
207 Status err = platform->GetFile(module_spec.GetFileSpec(), module_cache_spec);
211 lldb_private::Status PlatformDarwin::GetSharedModuleWithLocalCache(
228 Status err;
288 Status err =
311 Status err = BringInRemoteFile(this, module_spec, module_cache_spec);
332 Status PlatformDarwin::GetSharedModule(
336 Status error;
365 Status new_error(Platform::GetSharedModule(
392 Status new_error(Platform::GetSharedModule(
1107 Status status =
1674 lldb_private::Status
1695 lldb_private::Status
1757 Status new_error(Platform::GetSharedModule(
tools/lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.h 29 lldb_private::Status
38 lldb_private::Status
76 lldb_private::Status
93 virtual lldb_private::Status GetSharedModuleWithLocalCache(
126 lldb_private::Status
tools/lldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.cpp 182 lldb_private::Status error = RunShellCommand(
227 Status PlatformMacOSX::GetSymbolFile(const FileSpec &platform_file,
241 lldb_private::Status
270 Status err(
297 lldb_private::Status PlatformMacOSX::GetSharedModule(
302 Status error = GetSharedModuleWithLocalCache(
317 Status x86_64_error = GetSharedModuleWithLocalCache(
tools/lldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.h 39 lldb_private::Status
50 lldb_private::Status
55 lldb_private::Status
61 lldb_private::Status
tools/lldb/source/Plugins/Platform/MacOSX/PlatformRemoteDarwinDevice.cpp 67 Status PlatformRemoteDarwinDevice::ResolveExecutable(
70 Status error;
445 Status PlatformRemoteDarwinDevice::GetSymbolFile(const FileSpec &platform_file,
449 Status error;
510 Status PlatformRemoteDarwinDevice::GetSharedModule(
520 Status error;
tools/lldb/source/Plugins/Platform/MacOSX/PlatformRemoteDarwinDevice.h 26 lldb_private::Status ResolveExecutable(
32 virtual lldb_private::Status
37 lldb_private::Status
tools/lldb/source/Plugins/Platform/NetBSD/PlatformNetBSD.cpp 239 Status &error) {
tools/lldb/source/Plugins/Platform/NetBSD/PlatformNetBSD.h 53 Status &error) override;
tools/lldb/source/Plugins/Platform/POSIX/PlatformPOSIX.cpp 67 Status
71 Status error;
231 lldb_private::Status
296 lldb_private::Status PlatformPOSIX::GetFile(
350 Status error;
443 Status PlatformPOSIX::ConnectRemote(Args &args) {
444 Status error;
486 Status PlatformPOSIX::DisconnectRemote() {
487 Status error;
504 Status &error) {
561 Status &error) {
587 Status PlatformPOSIX::EvaluateLibdlExpression(
592 Status error = loader->CanLoadImage();
616 Status expr_error;
630 Status &error) {
684 Status utility_error;
748 lldb_private::Status &error,
767 Status utility_error;
1012 Status PlatformPOSIX::UnloadImage(lldb_private::Process *process,
1022 Status error = EvaluateLibdlExpression(process, expr.GetData(), prefix,
1050 Status &error) {
tools/lldb/source/Plugins/Platform/POSIX/PlatformPOSIX.h 29 lldb_private::Status PutFile(const lldb_private::FileSpec &source,
34 lldb_private::Status
40 lldb_private::Status ResolveExecutable(
50 lldb_private::Status &error) override;
59 lldb_private::Status &error) override;
65 lldb_private::Status ConnectRemote(lldb_private::Args &args) override;
67 lldb_private::Status DisconnectRemote() override;
72 lldb_private::Status &error,
75 lldb_private::Status UnloadImage(lldb_private::Process *process,
79 lldb_private::Status &error) override;
95 lldb_private::Status
102 lldb_private::Status &error);
tools/lldb/source/Plugins/Platform/Windows/PlatformWindows.cpp 159 Status PlatformWindows::ResolveExecutable(
162 Status error;
263 Status PlatformWindows::ConnectRemote(Args &args) {
264 Status error;
293 Status PlatformWindows::DisconnectRemote() {
294 Status error;
311 Status &error) {
358 Status &error) {
tools/lldb/source/Plugins/Platform/Windows/PlatformWindows.h 39 Status
48 lldb_private::Status ConnectRemote(lldb_private::Args &args) override;
50 lldb_private::Status DisconnectRemote() override;
55 lldb_private::Status &error) override;
60 lldb_private::Status &error) override;
tools/lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.cpp 94 Status PlatformRemoteGDBServer::ResolveExecutable(
99 Status error;
192 Status PlatformRemoteGDBServer::GetFileWithUUID(const FileSpec &platform_file,
282 Status PlatformRemoteGDBServer::ConnectRemote(Args &args) {
283 Status error;
327 Status PlatformRemoteGDBServer::DisconnectRemote() {
328 Status error;
368 Status PlatformRemoteGDBServer::LaunchProcess(ProcessLaunchInfo &launch_info) {
370 Status error;
451 Status PlatformRemoteGDBServer::KillProcess(const lldb::pid_t pid) {
461 Status &error) {
547 Status &error) {
596 Status PlatformRemoteGDBServer::MakeDirectory(const FileSpec &file_spec,
598 Status error = m_gdb_client.MakeDirectory(file_spec, mode);
607 Status PlatformRemoteGDBServer::GetFilePermissions(const FileSpec &file_spec,
609 Status error = m_gdb_client.GetFilePermissions(file_spec, file_permissions);
619 Status PlatformRemoteGDBServer::SetFilePermissions(const FileSpec &file_spec,
621 Status error = m_gdb_client.SetFilePermissions(file_spec, file_permissions);
634 Status &error) {
638 bool PlatformRemoteGDBServer::CloseFile(lldb::user_id_t fd, Status &error) {
649 Status &error) {
655 Status &error) {
659 Status PlatformRemoteGDBServer::PutFile(const FileSpec &source,
665 Status PlatformRemoteGDBServer::CreateSymlink(
669 Status error = m_gdb_client.CreateSymlink(src, dst);
679 Status PlatformRemoteGDBServer::Unlink(const FileSpec &file_spec) {
680 Status error = m_gdb_client.Unlink(file_spec);
691 Status PlatformRemoteGDBServer::RunShellCommand(
820 lldb_private::Status &error) {
830 Status &error) {
tools/lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.h 44 Status
53 Status GetFileWithUUID(const FileSpec &platform_file, const UUID *uuid_ptr,
61 Status LaunchProcess(ProcessLaunchInfo &launch_info) override;
63 Status KillProcess(const lldb::pid_t pid) override;
70 Status &error) override;
75 Status &error) override;
103 Status ConnectRemote(Args &args) override;
105 Status DisconnectRemote() override;
107 Status MakeDirectory(const FileSpec &file_spec,
110 Status GetFilePermissions(const FileSpec &file_spec,
113 Status SetFilePermissions(const FileSpec &file_spec,
117 uint32_t mode, Status &error) override;
119 bool CloseFile(lldb::user_id_t fd, Status &error) override;
122 uint64_t len, Status &error) override;
125 uint64_t len, Status &error) override;
129 Status PutFile(const FileSpec &source, const FileSpec &destination,
132 Status CreateSymlink(const FileSpec &src, const FileSpec &dst) override;
136 Status Unlink(const FileSpec &path) override;
138 Status RunShellCommand(
157 lldb_private::Status &error) override;
160 lldb_private::Status &error) override;
tools/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp 192 static Status EnsureFDFlags(int fd, int flags) {
193 Status error;
219 Status status;
293 Status status = EnsureFDFlags(m_terminal_fd, O_NONBLOCK);
297 Status status;
319 Status status;
380 Status NativeProcessLinux::SetDefaultPtraceOpts(lldb::pid_t pid) {
429 const auto info_err = GetSignalInfo(pid, &info);
660 Status error = thread.GetRegisterContext().GetWatchpointHitIndex(
831 Status error = ResumeThread(thread, thread.GetState(), 0);
907 Status error =
939 Status
941 Status error;
1032 Status NativeProcessLinux::Resume(const ResumeActionList &resume_actions) {
1048 Status error = SetupSoftwareSingleStepping(
1096 Status NativeProcessLinux::Halt() {
1097 Status error;
1105 Status NativeProcessLinux::Detach() {
1106 Status error;
1116 Status e = Detach(thread->GetID());
1128 Status NativeProcessLinux::Signal(int signo) {
1129 Status error;
1141 Status NativeProcessLinux::Interrupt() {
1165 Status error("found no running/stepping or live stopped threads as target "
1184 Status NativeProcessLinux::Kill() {
1188 Status error;
1220 Status NativeProcessLinux::GetMemoryRegionInfo(lldb::addr_t load_addr,
1235 Status error = PopulateMemoryRegionCache();
1289 Status NativeProcessLinux::PopulateMemoryRegionCache() {
1305 Status Result;
1350 Status NativeProcessLinux::AllocateMemory(size_t size, uint32_t permissions,
1383 Status NativeProcessLinux::DeallocateMemory(lldb::addr_t addr) {
1396 Status NativeProcessLinux::SetBreakpoint(lldb::addr_t addr, uint32_t size,
1404 Status NativeProcessLinux::RemoveBreakpoint(lldb::addr_t addr, bool hardware) {
1434 Status NativeProcessLinux::ReadMemory(lldb::addr_t addr, void *buf, size_t size,
1471 Status error = NativeProcessLinux::PtraceWrapper(
1489 Status NativeProcessLinux::WriteMemory(lldb::addr_t addr, const void *buf,
1493 Status error;
1535 Status NativeProcessLinux::GetSignalInfo(lldb::tid_t tid, void *siginfo) {
1539 Status NativeProcessLinux::GetEventMessage(lldb::tid_t tid,
1544 Status NativeProcessLinux::Detach(lldb::tid_t tid) {
1605 Status error(traceMonitor.takeError());
1613 Status NativeProcessLinux::GetLoadedModuleFileSpec(const char *module_path,
1615 Status error = PopulateMemoryRegionCache();
1633 Status NativeProcessLinux::GetFileLoadAddress(const llvm::StringRef &file_name,
1636 Status error = PopulateMemoryRegionCache();
1655 Status NativeProcessLinux::ResumeThread(NativeThreadLinux &thread,
1677 const auto resume_result = thread.Resume(signo);
1683 const auto step_result = thread.SingleStep(signo);
1730 Status error = RemoveBreakpoint(thread_info.second);
1767 Status error(errno, eErrorTypePOSIX);
1788 Status NativeProcessLinux::PtraceWrapper(int req, lldb::pid_t pid, void *addr,
1791 Status error;
1842 Status NativeProcessLinux::GetMetaData(lldb::user_id_t traceid,
1848 Status error;
1862 Status NativeProcessLinux::GetData(lldb::user_id_t traceid, lldb::tid_t thread,
1866 Status error;
1880 Status NativeProcessLinux::GetTraceConfig(lldb::user_id_t traceid,
1882 Status error;
1904 Status &error) {
1935 Status &error) {
1973 Status NativeProcessLinux::StopTracingForThread(lldb::tid_t thread) {
1974 Status error;
1995 Status NativeProcessLinux::StopTrace(lldb::user_id_t traceid,
1997 Status error;
2029 Status NativeProcessLinux::StopProcessorTracingOnThread(lldb::user_id_t traceid,
2031 Status error;
tools/lldb/source/Plugins/Process/Linux/NativeProcessLinux.h 53 Status Resume(const ResumeActionList &resume_actions) override;
55 Status Halt() override;
57 Status Detach() override;
59 Status Signal(int signo) override;
61 Status Interrupt() override;
63 Status Kill() override;
65 Status GetMemoryRegionInfo(lldb::addr_t load_addr,
68 Status ReadMemory(lldb::addr_t addr, void *buf, size_t size,
71 Status WriteMemory(lldb::addr_t addr, const void *buf, size_t size,
74 Status AllocateMemory(size_t size, uint32_t permissions,
77 Status DeallocateMemory(lldb::addr_t addr) override;
83 Status SetBreakpoint(lldb::addr_t addr, uint32_t size,
86 Status RemoveBreakpoint(lldb::addr_t addr, bool hardware = false) override;
90 Status GetLoadedModuleFileSpec(const char *module_path,
93 Status GetFileLoadAddress(const llvm::StringRef &file_name,
104 Status &error) override;
106 Status StopTrace(lldb::user_id_t traceid,
109 Status GetData(lldb::user_id_t traceid, lldb::tid_t thread,
113 Status GetMetaData(lldb::user_id_t traceid, lldb::tid_t thread,
117 Status GetTraceConfig(lldb::user_id_t traceid, TraceOptions &config) override;
120 static Status PtraceWrapper(int req, lldb::pid_t pid, void *addr = nullptr,
151 static Status SetDefaultPtraceOpts(const lldb::pid_t);
168 Status SetupSoftwareSingleStepping(NativeThreadLinux &thread);
178 Status GetSignalInfo(lldb::tid_t tid, void *siginfo);
183 Status GetEventMessage(lldb::tid_t tid, unsigned long *message);
187 Status Detach(lldb::tid_t tid);
202 Status ResumeThread(NativeThreadLinux &thread, lldb::StateType state,
209 Status PopulateMemoryRegionCache();
212 Status &error);
216 Status StopTracingForThread(lldb::tid_t thread);
230 Status StopProcessorTracingOnThread(lldb::user_id_t traceid,
tools/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux.cpp 31 Status NativeRegisterContextLinux::ReadRegisterRaw(uint32_t reg_index,
41 Status
51 Status error;
97 Status NativeRegisterContextLinux::ReadGPR() {
102 Status NativeRegisterContextLinux::WriteGPR() {
107 Status NativeRegisterContextLinux::ReadFPR() {
113 Status NativeRegisterContextLinux::WriteFPR() {
119 Status NativeRegisterContextLinux::ReadRegisterSet(void *buf, size_t buf_size,
126 Status NativeRegisterContextLinux::WriteRegisterSet(void *buf, size_t buf_size,
133 Status NativeRegisterContextLinux::DoReadRegisterValue(uint32_t offset,
140 Status error = NativeProcessLinux::PtraceWrapper(
152 Status NativeRegisterContextLinux::DoWriteRegisterValue(
tools/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux.h 34 virtual Status ReadRegisterRaw(uint32_t reg_index, RegisterValue ®_value);
36 virtual Status WriteRegisterRaw(uint32_t reg_index,
39 virtual Status ReadRegisterSet(void *buf, size_t buf_size,
42 virtual Status WriteRegisterSet(void *buf, size_t buf_size,
45 virtual Status ReadGPR();
47 virtual Status WriteGPR();
49 virtual Status ReadFPR();
51 virtual Status WriteFPR();
66 virtual Status DoReadRegisterValue(uint32_t offset, const char *reg_name,
69 virtual Status DoWriteRegisterValue(uint32_t offset, const char *reg_name,
tools/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_x86_64.cpp 408 Status
411 Status error;
569 Status NativeRegisterContextLinux_x86_64::WriteRegister(
659 Status error = WriteFPR();
678 Status NativeRegisterContextLinux_x86_64::ReadAllRegisterValues(
680 Status error;
752 Status NativeRegisterContextLinux_x86_64::WriteAllRegisterValues(
754 Status error;
880 Status NativeRegisterContextLinux_x86_64::WriteFPR() {
954 Status NativeRegisterContextLinux_x86_64::ReadFPR() {
955 Status error;
1012 Status NativeRegisterContextLinux_x86_64::IsWatchpointHit(uint32_t wp_index,
1018 Status error = ReadRegisterRaw(m_reg_info.first_dr + 6, reg_value);
1031 Status NativeRegisterContextLinux_x86_64::GetWatchpointHitIndex(
1036 Status error = IsWatchpointHit(wp_index, is_hit);
1048 Status NativeRegisterContextLinux_x86_64::IsWatchpointVacant(uint32_t wp_index,
1054 Status error = ReadRegisterRaw(m_reg_info.first_dr + 7, reg_value);
1067 Status NativeRegisterContextLinux_x86_64::SetHardwareWatchpointWithIndex(
1087 Status error = IsWatchpointVacant(wp_index, is_vacant);
1138 Status error = ReadRegisterRaw(m_reg_info.first_dr + 6, reg_value);
1159 Status NativeRegisterContextLinux_x86_64::ClearAllHardwareWatchpoints() {
1163 Status error = ReadRegisterRaw(m_reg_info.first_dr + 6, reg_value);
1187 Status error = IsWatchpointVacant(wp_index, is_vacant);
tools/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_x86_64.h 35 Status ReadRegister(const RegisterInfo *reg_info,
38 Status WriteRegister(const RegisterInfo *reg_info,
41 Status ReadAllRegisterValues(lldb::DataBufferSP &data_sp) override;
43 Status WriteAllRegisterValues(const lldb::DataBufferSP &data_sp) override;
45 Status IsWatchpointHit(uint32_t wp_index, bool &is_hit) override;
47 Status GetWatchpointHitIndex(uint32_t &wp_index,
50 Status IsWatchpointVacant(uint32_t wp_index, bool &is_vacant) override;
54 Status ClearAllHardwareWatchpoints() override;
56 Status SetHardwareWatchpointWithIndex(lldb::addr_t addr, size_t size,
74 Status ReadFPR() override;
76 Status WriteFPR() override;
tools/lldb/source/Plugins/Process/Linux/NativeThreadLinux.cpp 146 Status NativeThreadLinux::SetWatchpoint(lldb::addr_t addr, size_t size,
152 Status error = RemoveWatchpoint(addr);
163 Status NativeThreadLinux::RemoveWatchpoint(lldb::addr_t addr) {
174 Status NativeThreadLinux::SetHardwareBreakpoint(lldb::addr_t addr,
179 Status error = RemoveHardwareBreakpoint(addr);
192 Status NativeThreadLinux::RemoveHardwareBreakpoint(lldb::addr_t addr) {
206 Status NativeThreadLinux::Resume(uint32_t signo) {
248 Status NativeThreadLinux::SingleStep(uint32_t signo) {
406 Status NativeThreadLinux::RequestStop() {
419 Status err;
tools/lldb/source/Plugins/Process/Linux/NativeThreadLinux.h 45 Status SetWatchpoint(lldb::addr_t addr, size_t size, uint32_t watch_flags,
48 Status RemoveWatchpoint(lldb::addr_t addr) override;
50 Status SetHardwareBreakpoint(lldb::addr_t addr, size_t size) override;
52 Status RemoveHardwareBreakpoint(lldb::addr_t addr) override;
59 Status Resume(uint32_t signo);
63 Status SingleStep(uint32_t signo);
88 Status RequestStop();
tools/lldb/source/Plugins/Process/Linux/ProcessorTrace.cpp 29 Status ProcessorTraceMonitor::GetTraceConfig(TraceOptions &config) const {
33 Status error;
46 Status ProcessorTraceMonitor::StartTrace(lldb::pid_t pid, lldb::tid_t tid,
51 Status error;
169 Status ProcessorTraceMonitor::GetCPUType(TraceOptions &config) {
171 Status error;
247 Status error;
270 Status
277 Status error;
300 Status
308 Status error;
tools/lldb/source/Plugins/Process/Linux/ProcessorTrace.h 82 Status StartTrace(lldb::pid_t pid, lldb::tid_t tid,
96 static Status GetCPUType(TraceOptions &config);
102 Status ReadPerfTraceAux(llvm::MutableArrayRef<uint8_t> &buffer,
105 Status ReadPerfTraceData(llvm::MutableArrayRef<uint8_t> &buffer,
114 Status GetTraceConfig(TraceOptions &config) const;
tools/lldb/source/Plugins/Process/POSIX/NativeProcessELF.cpp 70 auto error = ReadMemory(phdr_addr + i * phdr_entry_size, &phdr_entry,
95 auto error = ReadMemory(dynamic_section_addr + i * sizeof(dynamic_entry),
115 auto error =
146 auto status =
tools/lldb/source/Plugins/Process/Utility/LinuxProcMaps.cpp 17 static Status
108 Status error = ParseMemoryRegionInfoFromProcMapsLine(line, region);
tools/lldb/source/Plugins/Process/Utility/LinuxProcMaps.h 20 const lldb_private::Status &)> LinuxMapCallback;
tools/lldb/source/Plugins/Process/Utility/RegisterContextLLDB.cpp 1034 Status error(ReadRegisterValueFromMemory(
1076 Status error(WriteRegisterValueToMemory(
1509 Status error;
1806 Status error = ReadRegisterValueFromMemory(
1860 Status error;
1880 Status st;
tools/lldb/source/Plugins/Process/Utility/RegisterContextMemory.cpp 95 Status error(WriteRegisterValueToMemory(reg_info, reg_addr,
107 Status error;
124 Status error;
tools/lldb/source/Plugins/Process/Utility/RegisterContextThreadMemory.cpp 194 Status RegisterContextThreadMemory::ReadRegisterValueFromMemory(
201 Status error;
206 Status RegisterContextThreadMemory::WriteRegisterValueToMemory(
213 Status error;
tools/lldb/source/Plugins/Process/Utility/RegisterContextThreadMemory.h 78 Status ReadRegisterValueFromMemory(const lldb_private::RegisterInfo *reg_info,
82 Status WriteRegisterValueToMemory(const lldb_private::RegisterInfo *reg_info,
tools/lldb/source/Plugins/Process/Utility/UnwindMacOSXFrameBackchain.cpp 103 Status error;
192 Status error;
tools/lldb/source/Plugins/Process/elf-core/ProcessElfCore.cpp 83 Status error(ModuleList::GetSharedModule(core_module_spec, m_core_module_sp,
149 Status ProcessElfCore::DoLoadCore() {
150 Status error;
277 Status ProcessElfCore::DoDestroy() { return Status(); }
285 Status &error) {
291 Status ProcessElfCore::GetMemoryRegionInfo(lldb::addr_t load_addr,
332 Status &error) {
793 Status status = prstatus.Parse(note.data, arch);
806 Status status = prpsinfo.Parse(note.data, arch);
815 Status status = siginfo.Parse(note.data, arch);
tools/lldb/source/Plugins/Process/elf-core/ProcessElfCore.h 57 lldb_private::Status DoLoadCore() override;
67 lldb_private::Status DoDestroy() override;
71 lldb_private::Status WillResume() override {
72 lldb_private::Status error;
86 lldb_private::Status &error) override;
89 lldb_private::Status &error) override;
91 lldb_private::Status
tools/lldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_x86_64.cpp 75 Status error;
tools/lldb/source/Plugins/Process/elf-core/ThreadElfCore.cpp 279 Status ELFLinuxPrStatus::Parse(const DataExtractor &data,
281 Status error;
348 Status ELFLinuxPrPsInfo::Parse(const DataExtractor &data,
350 Status error;
416 Status ELFLinuxSigInfo::Parse(const DataExtractor &data, const ArchSpec &arch) {
417 Status error;
tools/lldb/source/Plugins/Process/elf-core/ThreadElfCore.h 56 lldb_private::Status Parse(const lldb_private::DataExtractor &data,
77 lldb_private::Status Parse(const lldb_private::DataExtractor &data,
112 lldb_private::Status Parse(const lldb_private::DataExtractor &data,
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp 269 Status error;
882 Status GDBRemoteCommunication::StartListenThread(const char *hostname,
912 Status error;
925 Status GDBRemoteCommunication::StartDebugserverProcess(
932 Status error;
1221 const auto err = socket_pipe.Delete(named_pipe_path);
1261 std::future<Status> accept_status = std::async(
1270 Status status;
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.h 127 Status StartDebugserverProcess(
188 Status StartListenThread(const char *hostname = "127.0.0.1",
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp 109 bool GDBRemoteCommunicationClient::HandshakeWithServer(Status *error_ptr) {
1410 Status GDBRemoteCommunicationClient::Detach(bool keep_stopped) {
1411 Status error;
1450 Status GDBRemoteCommunicationClient::GetMemoryRegionInfo(
1452 Status error;
1545 Status qXfer_error = GetQXferMemoryMapRegionInfo(addr, qXfer_region_info);
1568 Status GDBRemoteCommunicationClient::GetQXferMemoryMapRegionInfo(
1570 Status error = LoadQXferMemoryMap();
1583 Status GDBRemoteCommunicationClient::LoadQXferMemoryMap() {
1585 Status error;
1602 lldb_private::Status lldberr;
1672 Status GDBRemoteCommunicationClient::GetWatchpointSupportInfo(uint32_t &num) {
1673 Status error;
1716 lldb_private::Status GDBRemoteCommunicationClient::GetWatchpointSupportInfo(
1718 Status error(GetWatchpointSupportInfo(num));
1724 lldb_private::Status
1727 Status error;
2803 lldb_private::Status GDBRemoteCommunicationClient::RunShellCommand(
2856 Status GDBRemoteCommunicationClient::MakeDirectory(const FileSpec &file_spec,
2877 Status
2900 uint64_t fail_result, Status &error) {
2920 Status &error) {
2940 Status &error) {
2969 Status
2973 Status error;
3008 Status &error) {
3042 Status &error) {
3070 Status GDBRemoteCommunicationClient::CreateSymlink(const FileSpec &src,
3073 Status error;
3104 Status GDBRemoteCommunicationClient::Unlink(const FileSpec &file_spec) {
3106 Status error;
3325 Status &error) {
3366 Status
3371 Status error;
3403 Status GDBRemoteCommunicationClient::SendGetDataPacket(
3412 Status GDBRemoteCommunicationClient::SendGetMetaDataPacket(
3421 Status
3426 Status error;
3492 Status GDBRemoteCommunicationClient::SendGetTraceDataPacket(
3496 Status error;
3693 lldb_private::Status &err) {
3970 Status GDBRemoteCommunicationClient::SendSignalsToIgnore(
3990 Status GDBRemoteCommunicationClient::ConfigureRemoteStructuredData(
3992 Status error;
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h 42 bool HandshakeWithServer(Status *error_ptr);
214 Status Detach(bool keep_stopped);
216 Status GetMemoryRegionInfo(lldb::addr_t addr, MemoryRegionInfo &range_info);
218 Status GetWatchpointSupportInfo(uint32_t &num);
220 Status GetWatchpointSupportInfo(uint32_t &num, bool &after,
223 Status GetWatchpointsTriggerAfterInstruction(bool &after,
355 mode_t mode, Status &error);
357 bool CloseFile(lldb::user_id_t fd, Status &error);
361 Status GetFilePermissions(const FileSpec &file_spec,
364 Status SetFilePermissions(const FileSpec &file_spec,
368 uint64_t dst_len, Status &error);
371 uint64_t src_len, Status &error);
373 Status CreateSymlink(const FileSpec &src, const FileSpec &dst);
375 Status Unlink(const FileSpec &file_spec);
377 Status MakeDirectory(const FileSpec &file_spec, uint32_t mode);
381 Status RunShellCommand(
437 lldb_private::Status &err);
442 Status SendSignalsToIgnore(llvm::ArrayRef<int32_t> signals);
478 Status
483 Status &error);
485 Status SendStopTracePacket(lldb::user_id_t uid, lldb::tid_t thread_id);
487 Status SendGetDataPacket(lldb::user_id_t uid, lldb::tid_t thread_id,
491 Status SendGetMetaDataPacket(lldb::user_id_t uid, lldb::tid_t thread_id,
495 Status SendGetTraceConfigPacket(lldb::user_id_t uid, TraceOptions &options);
589 Status SendGetTraceDataPacket(StreamGDBRemote &packet, lldb::user_id_t uid,
594 Status LoadQXferMemoryMap();
596 Status GetQXferMemoryMapRegionInfo(lldb::addr_t addr,
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationReplayServer.cpp 95 Timeout<std::micro> timeout, Status &error, bool &interrupt, bool &quit) {
240 Status error;
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationReplayServer.h 44 Status &error, bool &interrupt,
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp 44 Timeout<std::micro> timeout, Status &error, bool &interrupt, bool &quit) {
104 GDBRemoteCommunicationServer::SendErrorResponse(const Status &error) {
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.h 33 Status &error, bool &interrupt, bool &quit)>;
45 Status &error, bool &interrupt,
63 PacketResult SendErrorResponse(const Status &error);
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp 555 Status error = file.Close();
586 Status error = file.Read(static_cast<void *>(&buffer[0]), count, offset);
619 Status error =
708 Status error = FileSystem::Instance().Symlink(src_spec, FileSpec(dst));
721 Status error(llvm::sys::fs::remove(path));
744 Status err =
802 Status error(llvm::sys::fs::create_directory(path, mode));
822 Status error(llvm::sys::fs::setPermissions(path, perms));
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.h 36 Status m_process_launch_error;
143 virtual Status LaunchProcess() = 0;
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp 205 Status GDBRemoteCommunicationServerLLGS::LaunchProcess() {
261 Status status = SetSTDIOFileDescriptor(terminal_fd);
284 Status GDBRemoteCommunicationServerLLGS::AttachToProcess(lldb::pid_t pid) {
301 Status status(process_or.takeError());
315 Status status = SetSTDIOFileDescriptor(terminal_fd);
386 Status error = reg_ctx.ReadRegister(®_info, reg_value);
452 Status error = reg_ctx.ReadRegister(reg_info_p, reg_value);
692 Status error = reg_ctx.ReadRegister(reg_info_p, reg_value);
742 Status error = reg_ctx.ReadRegister(reg_info_p, reg_value);
906 Status error;
924 Status GDBRemoteCommunicationServerLLGS::InitializeConnection(
929 Status error;
951 Status GDBRemoteCommunicationServerLLGS::SetSTDIOFileDescriptor(int fd) {
952 Status error;
978 Status error;
1002 Status error;
1084 Status error;
1123 Status error = m_debugged_process_up->StopTrace(uid, tid);
1166 Status error = m_debugged_process_up->GetTraceConfig(uid, options);
1236 Status error;
1310 Status error = m_debugged_process_up->Kill();
1391 Status error;
1463 Status error = m_debugged_process_up->Resume(actions);
1575 Status error = m_debugged_process_up->Resume(thread_actions);
1933 Status error = reg_ctx.ReadRegister(reg_info, reg_value);
2006 Status error = reg_context.ReadRegister(reg_info, reg_value);
2105 Status error = reg_context.WriteRegister(reg_info, reg_value);
2220 Status error;
2243 Status error = m_debugged_process_up->Interrupt();
2304 Status error = m_debugged_process_up->ReadMemoryWithoutTrap(
2401 Status error = m_debugged_process_up->WriteMemory(write_addr, &buf[0],
2441 const Status error =
2479 const Status error =
2594 const Status error =
2604 const Status error = m_debugged_process_up->SetWatchpoint(
2682 const Status error =
2692 const Status error = m_debugged_process_up->RemoveWatchpoint(addr);
2739 Status error = m_debugged_process_up->Resume(actions);
2890 Status error = reg_context.ReadAllRegisterValues(register_data_sp);
2965 Status error = reg_context.WriteAllRegisterValues(register_data_sp);
2997 Status error = AttachToProcess(pid);
3045 const Status error = m_debugged_process_up->Detach();
3143 Status error =
3183 Status error = m_debugged_process_up->IgnoreSignals(signals);
3197 Status error;
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.h 50 Status LaunchProcess() override;
60 Status AttachToProcess(lldb::pid_t pid);
70 Status InitializeConnection(std::unique_ptr<Connection> &&connection);
191 Status SetSTDIOFileDescriptor(int fd);
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerPlatform.cpp 90 Status GDBRemoteCommunicationServerPlatform::LaunchGDBServer(
142 Status error = StartDebugserverProcess(
183 Status error =
424 Status GDBRemoteCommunicationServerPlatform::LaunchProcess() {
438 Status error = Host::LaunchProcess(m_process_launch_info);
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerPlatform.h 32 Status LaunchProcess() override;
57 Status LaunchGDBServer(const lldb_private::Args &args, std::string hostname,
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp 91 Status error(value.SetValueFromData(
tools/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp 341 Status error;
653 Status ProcessGDBRemote::WillLaunch(lldb_private::Module *module) {
657 Status ProcessGDBRemote::WillAttachToProcessWithID(lldb::pid_t pid) {
661 Status ProcessGDBRemote::WillAttachToProcessWithName(const char *process_name,
666 Status ProcessGDBRemote::DoConnectRemote(Stream *strm,
669 Status error(WillLaunchOrAttach());
760 Status ProcessGDBRemote::WillLaunchOrAttach() {
761 Status error;
767 Status ProcessGDBRemote::DoLaunch(lldb_private::Module *exe_module,
770 Status error;
970 Status ProcessGDBRemote::ConnectToDebugserver(llvm::StringRef connect_url) {
971 Status error;
1175 Status ProcessGDBRemote::DoAttachToProcessWithID(
1178 Status error;
1202 Status ProcessGDBRemote::DoAttachToProcessWithName(
1204 Status error;
1242 Status &error) {
1246 Status ProcessGDBRemote::StopTrace(lldb::user_id_t uid, lldb::tid_t thread_id) {
1250 Status ProcessGDBRemote::GetData(lldb::user_id_t uid, lldb::tid_t thread_id,
1256 Status ProcessGDBRemote::GetMetaData(lldb::user_id_t uid, lldb::tid_t thread_id,
1262 Status ProcessGDBRemote::GetTraceConfig(lldb::user_id_t uid,
1278 Status ProcessGDBRemote::WillResume() {
1288 Status ProcessGDBRemote::DoResume() {
1289 Status error;
2418 Status ProcessGDBRemote::DoHalt(bool &caused_stop) {
2419 Status error;
2430 Status ProcessGDBRemote::DoDetach(bool keep_stopped) {
2431 Status error;
2459 Status ProcessGDBRemote::DoDestroy() {
2460 Status error;
2722 Status &error) {
2779 Status ProcessGDBRemote::WriteObjectFile(
2781 Status error;
2811 Status ProcessGDBRemote::FlashErase(lldb::addr_t addr, size_t size) {
2812 Status status;
2891 Status ProcessGDBRemote::FlashDone() {
2892 Status status;
2919 size_t size, Status &error) {
2933 Status region_status = GetMemoryRegionInfo(addr, region);
2983 Status &error) {
3027 Status ProcessGDBRemote::GetMemoryRegionInfo(addr_t load_addr,
3030 Status error(m_gdb_comm.GetMemoryRegionInfo(load_addr, region_info));
3034 Status ProcessGDBRemote::GetWatchpointSupportInfo(uint32_t &num) {
3036 Status error(m_gdb_comm.GetWatchpointSupportInfo(num));
3040 Status ProcessGDBRemote::GetWatchpointSupportInfo(uint32_t &num, bool &after) {
3041 Status error(m_gdb_comm.GetWatchpointSupportInfo(
3046 Status ProcessGDBRemote::DoDeallocateMemory(lldb::addr_t addr) {
3047 Status error;
3083 Status &error) {
3093 Status ProcessGDBRemote::EnableBreakpointSite(BreakpointSite *bp_site) {
3094 Status error;
3217 Status ProcessGDBRemote::DisableBreakpointSite(BreakpointSite *bp_site) {
3218 Status error;
3286 Status ProcessGDBRemote::EnableWatchpoint(Watchpoint *wp, bool notify) {
3287 Status error;
3322 Status ProcessGDBRemote::DisableWatchpoint(Watchpoint *wp, bool notify) {
3323 Status error;
3373 Status ProcessGDBRemote::DoSignal(int signo) {
3374 Status error;
3383 Status ProcessGDBRemote::ConnectToReplayServer(repro::Loader *loader) {
3415 Status
3428 auto error = LaunchAndConnectToDebugserver(process_info);
3453 Status ProcessGDBRemote::LaunchAndConnectToDebugserver(
3457 Status error;
3909 Status ProcessGDBRemote::UpdateAutomaticSignalFiltering() {
3932 Status error = m_gdb_comm.SendSignalsToIgnore(signals_to_ignore);
3989 Status ProcessGDBRemote::SendEventData(const char *data) {
3993 Status error;
4164 Status ProcessGDBRemote::ConfigureStructuredData(
4498 lldb_private::Status lldberr;
4649 lldb_private::Status lldberr;
4739 lldb_private::Status lldberr;
4896 Status ProcessGDBRemote::GetFileLoadAddress(const FileSpec &file,
tools/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h 77 Status WillLaunch(Module *module) override;
79 Status DoLaunch(Module *exe_module, ProcessLaunchInfo &launch_info) override;
83 Status WillAttachToProcessWithID(lldb::pid_t pid) override;
85 Status WillAttachToProcessWithName(const char *process_name,
88 Status DoConnectRemote(Stream *strm, llvm::StringRef remote_url) override;
90 Status WillLaunchOrAttach();
92 Status DoAttachToProcessWithID(lldb::pid_t pid,
95 Status
107 Status WillResume() override;
109 Status DoResume() override;
111 Status DoHalt(bool &caused_stop) override;
113 Status DoDetach(bool keep_stopped) override;
117 Status DoSignal(int signal) override;
119 Status DoDestroy() override;
134 Status &error) override;
136 Status
140 Status &error) override;
143 Status &error) override;
145 Status GetMemoryRegionInfo(lldb::addr_t load_addr,
148 Status DoDeallocateMemory(lldb::addr_t ptr) override;
151 size_t PutSTDIN(const char *buf, size_t buf_size, Status &error) override;
154 Status EnableBreakpointSite(BreakpointSite *bp_site) override;
156 Status DisableBreakpointSite(BreakpointSite *bp_site) override;
159 Status EnableWatchpoint(Watchpoint *wp, bool notify = true) override;
161 Status DisableWatchpoint(Watchpoint *wp, bool notify = true) override;
163 Status GetWatchpointSupportInfo(uint32_t &num) override;
166 Status &error) override;
168 Status StopTrace(lldb::user_id_t uid, lldb::tid_t thread_id) override;
170 Status GetData(lldb::user_id_t uid, lldb::tid_t thread_id,
174 Status GetMetaData(lldb::user_id_t uid, lldb::tid_t thread_id,
178 Status GetTraceConfig(lldb::user_id_t uid, TraceOptions &options) override;
180 Status GetWatchpointSupportInfo(uint32_t &num, bool &after) override;
188 Status SendEventData(const char *data) override;
208 Status GetFileLoadAddress(const FileSpec &file, bool &is_loaded,
217 Status
314 Status ConnectToReplayServer(repro::Loader *loader);
316 Status EstablishConnectionIfNeeded(const ProcessInfo &process_info);
318 Status LaunchAndConnectToDebugserver(const ProcessInfo &process_info);
380 Status ConnectToDebugserver(llvm::StringRef host_port);
400 Status UpdateAutomaticSignalFiltering() override;
402 Status FlashErase(lldb::addr_t addr, size_t size);
404 Status FlashDone();
tools/lldb/source/Plugins/Process/mach-core/ProcessMachCore.cpp 96 Status error(ModuleList::GetSharedModule(core_module_spec, m_core_module_sp,
136 Status error;
190 Status ProcessMachCore::DoLoadCore() {
193 Status error;
540 Status ProcessMachCore::DoDestroy() { return Status(); }
550 Status &error) {
557 Status &error) {
607 Status ProcessMachCore::GetMemoryRegionInfo(addr_t load_addr,
tools/lldb/source/Plugins/Process/mach-core/ProcessMachCore.h 46 lldb_private::Status DoLoadCore() override;
56 lldb_private::Status DoDestroy() override;
67 lldb_private::Status &error) override;
70 lldb_private::Status &error) override;
72 lldb_private::Status
tools/lldb/source/Plugins/Process/minidump/MinidumpParser.cpp 57 Status error = consumeObject(cv_record, signature);
66 Status error = consumeObject(cv_record, pdb70_uuid);
128 Status error = consumeObject(teb_mem, wow64teb);
tools/lldb/source/Plugins/Process/minidump/MinidumpTypes.cpp 20 Status error = consumeObject(data, misc_info);
63 Status error = consumeObject(data, mem_ranges_count);
tools/lldb/source/Plugins/Process/minidump/MinidumpTypes.h 66 Status consumeObject(llvm::ArrayRef<uint8_t> &Buffer, const T *&Object) {
67 Status error;
tools/lldb/source/Plugins/Process/minidump/ProcessMinidump.cpp 195 Status ProcessMinidump::DoLoadCore() {
201 Status error;
241 Status ProcessMinidump::DoDestroy() { return Status(); }
306 Status &error) {
313 Status &error) {
347 Status ProcessMinidump::GetMemoryRegionInfo(lldb::addr_t load_addr,
374 Status ProcessMinidump::GetMemoryRegions(MemoryRegionInfos ®ion_list) {
429 Status error;
tools/lldb/source/Plugins/Process/minidump/ProcessMinidump.h 53 Status DoLoadCore() override;
63 Status DoDestroy() override;
72 Status &error) override;
75 Status &error) override;
79 Status GetMemoryRegionInfo(lldb::addr_t load_addr,
82 Status GetMemoryRegions(
87 Status WillResume() override {
88 Status error;
tools/lldb/source/Plugins/Process/minidump/RegisterContextMinidump_ARM.cpp 530 Status error;
tools/lldb/source/Plugins/Process/minidump/RegisterContextMinidump_ARM64.cpp 814 Status error;
tools/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp 1135 Status Close() override {
1137 Status py_error, base_error;
1142 py_error = Status(r.takeError());
tools/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp 887 Status pipe_result = pipe.CreateNew(false);
1173 Status ScriptInterpreterPythonImpl::ExecuteMultipleLines(
1228 Status ScriptInterpreterPythonImpl::SetBreakpointCommandCallbackFunction(
1231 Status error;
1270 Status ScriptInterpreterPythonImpl::SetBreakpointCommandCallback(
1273 Status error;
1287 Status ScriptInterpreterPythonImpl::SetBreakpointCommandCallback(
1293 Status ScriptInterpreterPythonImpl::SetBreakpointCommandCallback(
1304 Status error = GenerateBreakpointCommandCallbackData(data_up->user_source,
1341 Status ScriptInterpreterPythonImpl::ExportFunctionDefinitionToInterpreter(
1346 Status error = ExecuteMultipleLines(
1352 Status ScriptInterpreterPythonImpl::GenerateFunction(const char *signature,
1354 Status error;
2020 lldb_private::Status &error) {
2037 const char *setting_name, lldb_private::Status &error) {
2134 Status ScriptInterpreterPythonImpl::GenerateBreakpointCommandCallbackData(
2140 Status error;
2557 Status &error) {
2582 Status &error) {
2607 Status &error) {
2632 Status &error) {
2657 Status &error) {
2694 lldb_private::Status &error, StructuredData::ObjectSP *module_sp) {
2887 lldb_private::CommandReturnObject &cmd_retobj, Status &error,
2931 lldb_private::CommandReturnObject &cmd_retobj, Status &error,
tools/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h 49 lldb_private::Status ExecuteMultipleLines(
53 Status
137 lldb_private::Status &error) override;
142 lldb_private::Status &error) override;
170 Status &error,
176 lldb_private::CommandReturnObject &cmd_retobj, Status &error,
179 Status GenerateFunction(const char *signature,
182 Status GenerateBreakpointCommandCallbackData(
214 std::string &output, Status &error) override;
217 std::string &output, Status &error) override;
220 std::string &output, Status &error) override;
223 std::string &output, Status &error) override;
226 std::string &output, Status &error) override;
230 lldb_private::Status &error,
246 Status SetBreakpointCommandCallback(BreakpointOptions *bp_options,
249 Status SetBreakpointCommandCallbackFunction(
255 Status SetBreakpointCommandCallback(
259 Status SetBreakpointCommandCallback(
tools/lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp 186 const std::string &op_arg, Status &error)>;
195 const std::string &op_arg, Status &error) {
281 Status &error) {
333 Status &error) {
497 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg,
499 Status error;
638 Status ParseFilterRule(llvm::StringRef rule_text) {
639 Status error;
832 const Status error =
969 EnableOptionsSP ParseAutoEnableOptions(Status &error, Debugger &debugger) {
1135 static void SetErrorWithJSON(Status &error, const char *message,
1149 Status StructuredDataDarwinLog::GetDescription(
1151 Status error;
1398 Status StructuredDataDarwinLog::FilterLaunchInfo(ProcessLaunchInfo &launch_info,
1400 Status error;
1869 const Status error =
tools/lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.h 61 Status GetDescription(const StructuredData::ObjectSP &object_sp,
86 static Status FilterLaunchInfo(ProcessLaunchInfo &launch_info,
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp 3225 Status error;
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp 675 const auto error = FileSystem::Instance().Readlink(path, resolved_symlink);
tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp 1650 Status error = ModuleList::GetSharedModule(
1688 Status error;
tools/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetItemInfoHandler.cpp 147 Status error;
184 Status error;
228 Status &error) {
tools/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetItemInfoHandler.h 91 lldb_private::Status &error);
tools/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetPendingItemsHandler.cpp 151 Status error;
178 Status error;
227 Status &error) {
tools/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetPendingItemsHandler.h 95 lldb_private::Status &error);
tools/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetQueuesHandler.cpp 162 Status error;
197 Status error;
230 Status &error) {
tools/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetQueuesHandler.h 88 lldb_private::Status &error);
tools/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetThreadItemInfoHandler.cpp 156 Status error;
236 Status &error) {
tools/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetThreadItemInfoHandler.h 89 lldb_private::Status &error);
tools/lldb/source/Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.cpp 124 Status error;
159 Status error;
176 Status error;
245 Status error;
306 Status error;
353 Status error;
458 Status error;
513 Status error;
639 Status error;
687 Status error;
752 Status error;
846 Status error;
879 Status error;
tools/lldb/source/Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.cpp 38 Status error;
tools/lldb/source/Plugins/UnwindAssembly/x86/UnwindAssembly-x86.cpp 54 Status error;
156 Status error;
187 Status error;
223 Status error;
tools/lldb/source/Symbol/ClangASTContext.cpp 253 Status err;
261 Status err;
283 Status err;
297 Status err;
9609 Status error;
tools/lldb/source/Symbol/CompactUnwindInfo.cpp 267 Status error;
824 Status error;
1089 Status error;
tools/lldb/source/Symbol/CompilerType.cpp 998 Status error;
1035 Status error;
tools/lldb/source/Symbol/ObjectFile.cpp 466 Status error;
503 Status error;
tools/lldb/source/Symbol/SymbolContext.cpp 713 Status &error) {
777 Status &error) {
tools/lldb/source/Symbol/Type.cpp 446 Status error;
tools/lldb/source/Symbol/Variable.cpp 332 Status Variable::GetValuesForVariableExpressionPath(
336 Status error;
352 Status tmp_error;
370 Status tmp_error;
tools/lldb/source/Target/Language.cpp 437 LazyBool Language::IsLogicalTrue(ValueObject &valobj, Status &error) {
tools/lldb/source/Target/LanguageRuntime.cpp 89 Status &error) {
tools/lldb/source/Target/Memory.cpp 126 Status &error) {
341 uint32_t chunk_size, Status &error) {
368 Status &error) {
tools/lldb/source/Target/ModuleCache.cpp 56 ModuleLock(const FileSpec &root_dir_spec, const UUID &uuid, Status &error);
66 static Status MakeDirectory(const FileSpec &dir_path) {
94 Status error;
126 Status CreateHostSysRootModuleLink(const FileSpec &root_dir_spec,
141 const auto error = MakeDirectory(
153 Status &error) {
190 Status ModuleCache::Put(const FileSpec &root_dir_spec, const char *hostname,
206 const auto error = CreateHostSysRootModuleLink(
214 Status ModuleCache::Get(const FileSpec &root_dir_spec, const char *hostname,
240 auto error = CreateHostSysRootModuleLink(root_dir_spec, hostname,
268 Status ModuleCache::GetAndPut(const FileSpec &root_dir_spec,
277 auto error = MakeDirectory(module_spec_dir);
tools/lldb/source/Target/Platform.cpp 167 Status Platform::GetFileWithUUID(const FileSpec &platform_file,
214 Status Platform::GetSharedModule(const ModuleSpec &module_spec,
226 Status error(eErrorTypeGeneric);
283 PlatformSP Platform::Create(ConstString name, Status &error) {
311 Status &error) {
543 Status error;
564 Status error = rc_baton->platform_ptr->MakeDirectory(
617 Status err = rc_baton->platform_ptr->PutFile(src, dst_file);
634 Status Platform::Install(const FileSpec &src, const FileSpec &dst) {
635 Status error;
760 Status Platform::MakeDirectory(const FileSpec &file_spec,
765 Status error;
773 Status Platform::GetFilePermissions(const FileSpec &file_spec,
781 Status error;
789 Status Platform::SetFilePermissions(const FileSpec &file_spec,
795 Status error;
848 Status
852 Status error;
881 Status Platform::ResolveSymbolFile(Target &target, const ModuleSpec &sym_spec,
883 Status error;
960 Status Platform::ConnectRemote(Args &args) {
961 Status error;
973 Status Platform::DisconnectRemote() {
974 Status error;
1005 Status Platform::LaunchProcess(ProcessLaunchInfo &launch_info) {
1006 Status error;
1055 Status Platform::ShellExpandArguments(ProcessLaunchInfo &launch_info) {
1061 Status Platform::KillProcess(const lldb::pid_t pid) {
1091 Status &error) {
1176 Status error;
1218 Status Platform::PutFile(const FileSpec &source, const FileSpec &destination,
1233 Status error;
1278 Status Platform::GetFile(const FileSpec &source, const FileSpec &destination) {
1279 Status error("unimplemented");
1283 Status
1287 Status error("unimplemented");
1295 Status Platform::Unlink(const FileSpec &path) {
1296 Status error("unimplemented");
1314 lldb_private::Status Platform::RunShellCommand(
1391 lldb_private::Status
1395 Status error;
1437 lldb_private::Status
1441 Status error;
1469 lldb_private::Status OptionGroupPlatformCaching::SetOptionValue(
1472 Status error;
1500 Status Platform::GetCachedExecutable(
1504 const auto error = LoadCachedExecutable(
1514 Status Platform::LoadCachedExecutable(
1525 Status Platform::GetRemoteSharedModule(const ModuleSpec &module_spec,
1546 Status error;
1582 const auto error = module_resolver(resolved_module_spec);
1601 auto error = m_module_cache->GetAndPut(
1624 Status Platform::DownloadModuleSlice(const FileSpec &src_file_spec,
1628 Status error;
1666 Status close_error;
1672 Status Platform::DownloadSymbolFile(const lldb::ModuleSP &module_sp,
1700 lldb_private::Status &error) {
1737 lldb_private::Status &error,
1746 lldb_private::Status &error,
1760 Status Platform::UnloadImage(lldb_private::Process *process,
1769 lldb_private::Status &error) {
1807 lldb_private::Status &error) {
tools/lldb/source/Target/Process.cpp 250 Status ProcessLaunchCommandOptions::SetOptionValue(
253 Status error;
1334 Status Process::Resume() {
1339 Status error("Resume request failed - process still running.");
1343 Status error = PrivateResume();
1353 Status Process::ResumeSynchronous(Stream *stream) {
1358 Status error("Resume request failed - process still running.");
1367 Status error = PrivateResume();
1579 Status Process::ClearBreakpointSiteByID(lldb::user_id_t break_id) {
1580 Status error(DisableBreakpointSiteByID(break_id));
1588 Status Process::DisableBreakpointSiteByID(lldb::user_id_t break_id) {
1589 Status error;
1602 Status Process::EnableBreakpointSiteByID(lldb::user_id_t break_id) {
1603 Status error;
1648 Status error;
1684 Status error = EnableBreakpointSite(bp_site_sp.get());
1754 Status Process::EnableSoftwareBreakpoint(BreakpointSite *bp_site) {
1755 Status error;
1830 Status Process::DisableSoftwareBreakpoint(BreakpointSite *bp_site) {
1831 Status error;
1924 size_t Process::ReadMemory(addr_t addr, void *buf, size_t size, Status &error) {
1966 Status &error) {
1986 Status &error, size_t type_width) {
2040 Status &result_error) {
2046 Status error;
2085 Status &error) {
2111 Status &error) {
2122 Status &error) {
2130 addr_t Process::ReadPointerFromMemory(lldb::addr_t vm_addr, Status &error) {
2139 Status &error) {
2151 Status &error) {
2167 Status &error) {
2243 size_t byte_size, Status &error) {
2262 Status &error) {
2290 Status Process::WriteObjectFile(std::vector<ObjectFile::LoadableData> entries) {
2291 Status error;
2303 Status &error) {
2326 Status &error) {
2338 Status err;
2373 Status Process::DeallocateMemory(addr_t ptr) {
2374 Status error;
2404 Status error;
2417 Status error(GetMemoryRegionInfo(load_addr, range_info));
2438 Status Process::EnableWatchpoint(Watchpoint *watchpoint, bool notify) {
2439 Status error;
2444 Status Process::DisableWatchpoint(Watchpoint *watchpoint, bool notify) {
2445 Status error;
2480 Status Process::Launch(ProcessLaunchInfo &launch_info) {
2481 Status error;
2599 Status Process::LoadCore() {
2600 Status error = DoLoadCore();
2750 Status Process::Attach(ProcessAttachInfo &attach_info) {
2759 Status error;
3002 Status Process::ConnectRemote(Stream *strm, llvm::StringRef remote_url) {
3009 Status error(DoConnectRemote(strm, remote_url));
3034 Status Process::PrivateResume() {
3047 Status error(WillResume());
3091 Status Process::Halt(bool clear_thread_plans, bool use_run_lock) {
3131 Status Process::StopForDestroyOrDetach(lldb::EventSP &exit_event_sp) {
3132 Status error;
3184 Status Process::Detach(bool keep_stopped) {
3186 Status error;
3236 Status Process::Destroy(bool force_kill) {
3255 Status error(WillDestroy());
3307 Status Process::Signal(int signal) {
3308 Status error(WillSignal());
3729 Status Process::HaltPrivate() {
3731 Status error(WillHalt());
3798 Status error = HaltPrivate();
4228 size_t Process::GetAsyncProfileData(char *buf, size_t buf_size, Status &error) {
4253 size_t Process::GetSTDOUT(char *buf, size_t buf_size, Status &error) {
4272 size_t Process::GetSTDERR(char *buf, size_t buf_size, Status &error) {
4334 Status error = select_helper.Select();
4352 Status error = m_pipe.Read(&ch, 1, bytes_read);
4401 Status result = m_pipe.Write(&ch, 1, bytes_written);
4860 Status resume_error = PrivateResume();
5089 Status halt_error;
5199 Status error;
5589 addr_t Process::ResolveIndirectFunction(const Address *address, Status &error) {
5822 Status
5825 Status error;
5848 Status
5964 Status Process::UpdateAutomaticSignalFiltering() {
tools/lldb/source/Target/RegisterContext.cpp 87 Status error;
292 Status RegisterContext::ReadRegisterValueFromMemory(
295 Status error;
362 Status RegisterContext::WriteRegisterValueToMemory(
367 Status error;
tools/lldb/source/Target/RemoteAwarePlatform.cpp 27 Status RemoteAwarePlatform::RunShellCommand(
40 Status RemoteAwarePlatform::MakeDirectory(const FileSpec &file_spec,
47 Status RemoteAwarePlatform::GetFilePermissions(const FileSpec &file_spec,
55 Status RemoteAwarePlatform::SetFilePermissions(const FileSpec &file_spec,
65 uint32_t mode, Status &error) {
73 bool RemoteAwarePlatform::CloseFile(lldb::user_id_t fd, Status &error) {
83 Status &error) {
93 Status &error) {
113 Status RemoteAwarePlatform::CreateSymlink(const FileSpec &src,
130 Status RemoteAwarePlatform::Unlink(const FileSpec &file_spec) {
160 Status RemoteAwarePlatform::GetFileWithUUID(const FileSpec &platform_file,
256 Status &error) {
264 Status RemoteAwarePlatform::LaunchProcess(ProcessLaunchInfo &launch_info) {
265 Status error;
278 Status RemoteAwarePlatform::KillProcess(const lldb::pid_t pid) {
tools/lldb/source/Target/StackFrame.cpp 495 VariableSP &var_sp, Status &error) {
637 Status deref_error;
783 Status error;
801 Status error;
983 Status error;
1000 Status error;
1071 bool StackFrame::GetFrameBaseValue(Scalar &frame_base, Status *error_ptr) {
1117 DWARFExpression *StackFrame::GetFrameBaseExpression(Status *error_ptr) {
1443 Status error;
tools/lldb/source/Target/StopInfo.cpp 433 Status condition_error;
722 Status new_plan_status;
799 Status error;
tools/lldb/source/Target/Target.cpp 206 lldb::REPLSP Target::GetREPL(Status &err, lldb::LanguageType language,
567 Args *additional_args, Status *error) {
586 Status *creation_error) {
655 Status &error) {
668 Status &error) {
685 Status &error) {
751 static bool CheckIfWatchpointsSupported(Target *target, Status &error) {
753 Status rc = target->GetProcessSP()->GetWatchpointSupportInfo(
774 Status &error) {
965 Status Target::SerializeBreakpointsToFile(const FileSpec &file,
968 Status error;
1057 Status Target::CreateBreakpointsFromFile(const FileSpec &file,
1063 Status Target::CreateBreakpointsFromFile(const FileSpec &file,
1069 Status error;
1144 Status rc = m_process_sp->DisableWatchpoint(wp_sp.get());
1175 Status rc = m_process_sp->DisableWatchpoint(wp_sp.get());
1204 Status rc = m_process_sp->EnableWatchpoint(wp_sp.get());
1273 Status rc = m_process_sp->DisableWatchpoint(wp_sp.get());
1292 Status rc = m_process_sp->EnableWatchpoint(wp_sp.get());
1354 Status error;
1529 Status error = ModuleList::GetSharedModule(module_spec, executable_sp,
1679 size_t dst_len, Status &error) {
1711 void *dst, size_t dst_len, Status &error,
1803 Status &error) {
1825 size_t dst_max_len, Status &result_error) {
1831 Status error;
1880 Scalar &scalar, Status &error) {
1910 Status &error) {
1919 Status &error, Address &pointer_addr) {
1949 Status *error_ptr) {
1952 Status error;
2190 Status &error) {
2213 const char *name, Status &error) {
2236 const char *name, Status &error) {
2379 Status error;
2697 Status Target::Install(ProcessLaunchInfo *launch_info) {
2698 Status error;
2828 Status Target::Launch(ProcessLaunchInfo &launch_info, Stream *stream) {
2829 Status error;
2946 Status error2;
2984 Status error2;
2992 Status Target::Attach(ProcessAttachInfo &attach_info, Stream *stream) {
3029 Status error;
tools/lldb/source/Target/TargetList.cpp 51 Status TargetList::CreateTarget(Debugger &debugger,
62 Status TargetList::CreateTarget(Debugger &debugger,
72 Status TargetList::CreateTargetInternal(
77 Status error;
299 Status err = CreateDummyTarget(
306 Status TargetList::CreateDummyTarget(Debugger &debugger,
315 Status TargetList::CreateTargetInternal(Debugger &debugger,
326 Status error;
tools/lldb/source/Target/Thread.cpp 1157 Status Thread::QueueThreadPlan(ThreadPlanSP &thread_plan_sp,
1159 Status status;
1326 Status Thread::UnwindInnermostExpression() {
1327 Status error;
1351 Status &status) {
1361 Status &status, LazyBool step_out_avoids_code_withoug_debug_info) {
1376 Status &status, LazyBool step_out_avoids_code_withoug_debug_info) {
1388 lldb::RunMode stop_other_threads, Status &status,
1409 lldb::RunMode stop_other_threads, Status &status,
1424 Status &status, LazyBool step_out_avoids_code_without_debug_info) {
1436 Status &status, bool continue_to_next_branch) {
1454 Status &status) {
1467 Status &status) {
1477 bool stop_other_threads, uint32_t frame_idx, Status &status) {
1488 Status &status) {
1624 Status Thread::ReturnFromFrameWithIndex(uint32_t frame_idx,
1628 Status return_error;
1639 Status Thread::ReturnFromFrame(lldb::StackFrameSP frame_sp,
1642 Status return_error;
1728 Status Thread::JumpToLine(const FileSpec &file, uint32_t line,
2103 Status Thread::StepIn(bool source_step,
2108 Status error;
2139 Status Thread::StepOver(bool source_step,
2141 Status error;
2172 Status Thread::StepOut() {
2173 Status error;
tools/lldb/source/Target/ThreadPlanCallFunction.cpp 56 Status error;
tools/lldb/source/Target/ThreadPlanCallOnFunctionExit.cpp 29 Status status;
tools/lldb/source/Target/ThreadPlanShouldStopHere.cpp 39 FrameComparison operation, Status &status) {
59 Status &status, void *baton) {
95 Status &status, void *baton) {
145 Status &status) {
155 lldb::FrameComparison operation, Status &status) {
tools/lldb/source/Target/ThreadPlanStepInRange.cpp 385 Status &status, void *baton) {
tools/lldb/source/Target/ThreadPlanTracer.cpp 148 Status err;
tools/lldb/source/Target/ThreadSpec.cpp 25 const StructuredData::Dictionary &spec_dict, Status &error) {
tools/lldb/source/Utility/RegisterValue.cpp 42 Status &error) const {
88 Status &error) {
199 Status RegisterValue::SetValueFromData(const RegisterInfo *reg_info,
203 Status error;
333 Status RegisterValue::SetValueFromString(const RegisterInfo *reg_info,
335 Status error;
tools/lldb/source/Utility/Scalar.cpp 2406 Status Scalar::SetValueFromCString(const char *value_str, Encoding encoding,
2408 Status error;
2539 Status Scalar::SetValueFromData(DataExtractor &data, lldb::Encoding encoding,
2541 Status error;
2707 Status &error) const {
tools/lldb/source/Utility/SelectHelper.cpp 93 lldb_private::Status SelectHelper::Select() {
94 lldb_private::Status error;
tools/lldb/source/Utility/Status.cpp 59 const Status &Status::operator=(llvm::Error error) {
97 const Status &Status::operator=(const Status &rhs) {
97 const Status &Status::operator=(const Status &rhs) {
172 Status::ValueType Status::GetError() const { return m_code; }
292 const lldb_private::Status &error, llvm::raw_ostream &OS,
tools/lldb/source/Utility/StringExtractorGDBRemote.cpp 463 lldb_private::Status StringExtractorGDBRemote::GetStatus() {
464 lldb_private::Status error;
tools/lldb/source/Utility/StructuredData.cpp 38 StructuredData::ParseJSONFromFile(const FileSpec &input_spec, Status &error) {
tools/lldb/tools/lldb-server/Acceptor.cpp 58 Status Acceptor::Listen(int backlog) {
62 Status Acceptor::Accept(const bool child_processes_inherit, Connection *&conn) {
64 auto error = m_listener_socket_up->Accept(conn_socket);
83 Status &error) {
tools/lldb/tools/lldb-server/Acceptor.h 30 Status Listen(int backlog);
32 Status Accept(const bool child_processes_inherit, Connection *&conn);
36 Status &error);
tools/lldb/tools/lldb-server/lldb-gdbserver.cpp 143 Status error = gdb_server.AttachToProcess(pid);
193 Status error = gdb_server.LaunchProcess();
201 Status writeSocketIdToPipe(Pipe &port_pipe, const std::string &socket_id) {
208 Status writeSocketIdToPipe(const char *const named_pipe_path,
212 auto error = port_name_pipe.OpenAsWriterWithTimeout(named_pipe_path, false,
219 Status writeSocketIdToPipe(lldb::pipe_t unnamed_pipe,
231 Status error;
360 Status error;
533 Status ret = mainloop.Run();
tools/lldb/tools/lldb-server/lldb-platform.cpp 97 static Status save_socket_id_to_file(const std::string &socket_id,
100 Status error(llvm::sys::fs::create_directory(temp_file_spec.GetPath()));
108 Status status;
150 Status error;
353 Status error = platform.LaunchGDBServer(inferior_arguments,
tools/lldb/tools/lldb-test/lldb-test.cpp 287 Status ST = Dbg.GetTargetList().CreateTarget(
943 Status ST;
995 Status ST;
tools/lldb/unittests/Breakpoint/BreakpointIDTest.cpp 20 Status E;
tools/lldb/unittests/Editline/EditlineTest.cpp 96 lldb_private::Status error;
tools/lldb/unittests/Expression/DWARFExpressionTest.cpp 31 Status status;
tools/lldb/unittests/Host/MainLoopTest.cpp 30 Status error;
38 std::future<Status> accept_error = std::async(std::launch::async, [&] {
79 Status error;
94 Status error;
116 Status error;
130 Status error;
143 Status error;
tools/lldb/unittests/Host/SocketTest.cpp 28 Status error;
136 auto error = UDPSocket::Connect("127.0.0.1:0", child_processes_inherit,
149 Status err =
182 auto error =
tools/lldb/unittests/Host/SocketTestUtilities.cpp 22 Socket **accept_socket, Status *error) {
32 Status error;
40 Status accept_error;
tools/lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp 308 std::future<Status> result = std::async(std::launch::async, [&] {
326 std::future<Status> result = std::async(std::launch::async, [&] {
351 std::future<Status> result = std::async(std::launch::async, [&] {
367 Status error;
408 std::future<Status> result = std::async(std::launch::async, [&] {
432 std::future<Status> result = std::async(std::launch::async, [&] {
464 std::future<Status> result = std::async(std::launch::async, [&] {
494 std::future<Status> result = std::async(std::launch::async, [&] {
523 std::future<Status> result2 = std::async(std::launch::async, [&] {
531 std::future<Status> result3 = std::async(std::launch::async, [&] {
543 std::future<Status> result4 = std::async(std::launch::async, [&] {
tools/lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationServerTest.cpp 28 Status status;
tools/lldb/unittests/Process/gdb-remote/GDBRemoteTestUtils.h 38 lldb::ConnectionStatus Disconnect(Status *error_ptr) {
44 Status *error_ptr) {
tools/lldb/unittests/Target/ExecutionContextTest.cpp 55 virtual Status DoDestroy() { return {}; }
58 Status &error) {
86 Status error = debugger_sp->GetTargetList().CreateTarget(
108 Status error = debugger_sp->GetTargetList().CreateTarget(
tools/lldb/unittests/Target/ModuleCacheTest.cpp 109 Status error = mc.GetAndPut(
tools/lldb/unittests/TestingSupport/Host/NativeProcessTestUtils.h 57 Status SetBreakpoint(lldb::addr_t Addr, uint32_t Size,
67 Status ReadMemory(addr_t Addr, void *Buf, size_t Size,
72 return Status(ExpectedMemory.takeError());
80 Status WriteMemory(addr_t Addr, const void *Buf, size_t Size,
86 return Status(ExpectedBytes.takeError());
103 Status ST =
tools/lldb/unittests/Utility/ScalarTest.cpp 96 Status e_error =
100 Status f_error =
tools/lldb/unittests/Utility/StatusTest.cpp 28 Status eagain(
34 Status foo(llvm::make_error<llvm::StringError>(
tools/lldb/unittests/Utility/StructuredDataTest.cpp 35 Status status;
tools/lldb/unittests/tools/lldb-server/tests/MessageObjects.cpp 217 Status ST;
tools/lldb/unittests/tools/lldb-server/tests/TestClient.cpp 80 Status status;
usr/include/c++/7.4.0/bits/alloc_traits.h 387 using allocator_type = allocator<_Tp>;
389 using value_type = _Tp;
392 using pointer = _Tp*;
395 using const_pointer = const _Tp*;
474 construct(allocator_type& __a, _Up* __p, _Args&&... __args)
474 construct(allocator_type& __a, _Up* __p, _Args&&... __args)
486 destroy(allocator_type& __a, _Up* __p)
usr/include/c++/7.4.0/bits/invoke.h 58 constexpr _Res
usr/include/c++/7.4.0/bits/list.tcc 68 typedef _List_node<_Tp> _Node;
74 _Tp* __val = __tmp->_M_valptr();
usr/include/c++/7.4.0/bits/move.h 72 constexpr _Tp&&
73 forward(typename std::remove_reference<_Tp>::type& __t) noexcept
83 constexpr _Tp&&
84 forward(typename std::remove_reference<_Tp>::type&& __t) noexcept
98 move(_Tp&& __t) noexcept
usr/include/c++/7.4.0/bits/std_function.h 62 : std::unary_function<_T1, _Res> { };
67 : std::binary_function<_T1, _T2, _Res> { };
298 static _Res
299 _M_invoke(const _Any_data& __functor, _ArgTypes&&... __args)
390 : public _Maybe_unary_or_binary_function<_Res, _ArgTypes...>,
395 struct _Callable : __check_func_return_type<_Res2, _Res> { };
395 struct _Callable : __check_func_return_type<_Res2, _Res> { };
406 typedef _Res result_type;
595 _Res operator()(_ArgTypes... __args) const;
628 using _Invoker_type = _Res (*)(const _Any_data&, _ArgTypes&&...);
628 using _Invoker_type = _Res (*)(const _Any_data&, _ArgTypes&&...);
689 typedef _Function_handler<_Res(_ArgTypes...), _Functor> _My_handler;
usr/include/c++/7.4.0/bits/stl_function.h 111 typedef _Result result_type;
127 typedef _Result result_type;
usr/include/c++/7.4.0/bits/stl_list.h 112 __gnu_cxx::__aligned_membuf<_Tp> _M_storage;
113 _Tp* _M_valptr() { return _M_storage._M_ptr(); }
114 _Tp const* _M_valptr() const { return _M_storage._M_ptr(); }
130 typedef _List_iterator<_Tp> _Self;
131 typedef _List_node<_Tp> _Node;
135 typedef _Tp value_type;
136 typedef _Tp* pointer;
137 typedef _Tp& reference;
304 rebind<_Tp>::other _Tp_alloc_type;
307 rebind<_List_node<_Tp> >::other _Node_alloc_type;
503 class list : protected _List_base<_Tp, _Alloc>
514 typedef _List_base<_Tp, _Alloc> _Base;
521 typedef _Tp value_type;
526 typedef _List_iterator<_Tp> iterator;
527 typedef _List_const_iterator<_Tp> const_iterator;
537 typedef _List_node<_Tp> _Node;
570 _M_create_node(_Args&&... __args)
1587 remove(const _Tp& __value);
1799 _M_insert(iterator __position, _Args&&... __args)
usr/include/c++/7.4.0/bits/unique_ptr.h 68 default_delete(const default_delete<_Up>&) noexcept { }
72 operator()(_Tp* __ptr) const
74 static_assert(!is_void<_Tp>::value,
76 static_assert(sizeof(_Tp)>0,
122 using type = _Up*;
137 using pointer = typename _Ptr<_Tp, _Dp>::type;
161 typename __uniq_ptr_impl<_Tp, _Up>::_DeleterConstraint::type;
163 __uniq_ptr_impl<_Tp, _Dp> _M_t;
166 using pointer = typename __uniq_ptr_impl<_Tp, _Dp>::pointer;
167 using element_type = _Tp;
252 unique_ptr(unique_ptr<_Up, _Ep>&& __u) noexcept
297 __safe_conversion_up<_Up, _Ep>,
301 operator=(unique_ptr<_Up, _Ep>&& __u) noexcept
689 operator==(const unique_ptr<_Tp, _Dp>& __x, nullptr_t) noexcept
706 operator!=(const unique_ptr<_Tp, _Dp>& __x, nullptr_t) noexcept
811 { typedef unique_ptr<_Tp> __single_object; };
823 inline typename _MakeUniq<_Tp>::__single_object
824 make_unique(_Args&&... __args)
825 { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
usr/include/c++/7.4.0/ext/aligned_buffer.h 52 struct _Tp2 { _Tp _M_t; };
54 alignas(__alignof__(_Tp2::_M_t)) unsigned char _M_storage[sizeof(_Tp)];
69 _Tp*
73 const _Tp*
85 : std::aligned_storage<sizeof(_Tp), std::alignment_of<_Tp>::value>
85 : std::aligned_storage<sizeof(_Tp), std::alignment_of<_Tp>::value>
88 std::aligned_storage<sizeof(_Tp), std::alignment_of<_Tp>::value>::type
88 std::aligned_storage<sizeof(_Tp), std::alignment_of<_Tp>::value>::type
108 _Tp*
112 const _Tp*
usr/include/c++/7.4.0/ext/alloc_traits.h 117 { typedef typename _Base_type::template rebind_alloc<_Tp> other; };
usr/include/c++/7.4.0/ext/new_allocator.h 135 construct(_Up* __p, _Args&&... __args)
135 construct(_Up* __p, _Args&&... __args)
136 { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
140 destroy(_Up* __p) { __p->~_Up(); }
usr/include/c++/7.4.0/future 230 __gnu_cxx::__aligned_buffer<_Res> _M_storage;
234 typedef _Res result_type;
245 _Res&
249 _M_set(const _Res& __res)
256 _M_set(_Res&& __res)
258 ::new (_M_storage._M_addr()) _Res(std::move(__res));
675 typedef __future_base::_Result<_Res>& __result_type;
738 __basic_future(const shared_future<_Res>&) noexcept;
742 __basic_future(shared_future<_Res>&&) noexcept;
746 __basic_future(future<_Res>&&) noexcept;
761 class future : public __basic_future<_Res>
766 friend future<__async_result_of<_Fn, _Args...>>
766 friend future<__async_result_of<_Fn, _Args...>>
769 typedef __basic_future<_Res> _Base_type;
792 _Res
799 shared_future<_Res> share() noexcept;
891 class shared_future : public __basic_future<_Res>
893 typedef __basic_future<_Res> _Base_type;
902 shared_future(future<_Res>&& __uf) noexcept
924 const _Res&
1597 : _M_result(new _Result<_Res>()), _M_fn(std::move(__fn))
1601 typedef __future_base::_Ptr<_Result<_Res>> _Ptr_type;
1662 : _M_result(new _Result<_Res>()), _M_fn(std::move(__fn))
1685 typedef __future_base::_Ptr<_Result<_Res>> _Ptr_type;
1711 future<__async_result_of<_Fn, _Args...>>
1711 future<__async_result_of<_Fn, _Args...>>
usr/include/c++/7.4.0/type_traits 194 { typedef _Tp type; };
215 : public __is_void_helper<typename remove_cv<_Tp>::type>::type
581 : public __or_<is_lvalue_reference<_Tp>,
582 is_rvalue_reference<_Tp>>::type
601 : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
601 : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
602 is_void<_Tp>>>::type
638 : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
638 : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
889 typedef decltype(__test<_Tp>(0)) type;
894 : public __and_<__not_<is_void<_Tp>>,
895 __is_default_constructible_impl<_Tp>>
915 : public __is_default_constructible_atom<_Tp>::type
921 : public __is_default_constructible_safe<_Tp>::type
1554 { typedef _Tp type; };
1558 { typedef _Tp type; };
1563 { typedef _Tp type; };
1574 remove_const<typename remove_volatile<_Tp>::type>::type type;
1629 { typedef _Tp type; };
1633 { typedef _Tp type; };
1645 { typedef _Tp& type; };
1650 : public __add_lvalue_reference_helper<_Tp>
1659 { typedef _Tp&& type; };
2104 { typedef typename remove_cv<_Up>::type __type; };
2118 typedef typename remove_reference<_Tp>::type __remove_type;
2277 struct __result_of_success : __success_type<_Tp>
2427 static __result_of_success<decltype(
utils/unittest/googlemock/include/gmock/gmock-actions.h 78 static T Get() { return T(); }
104 return ::std::is_default_constructible<T>::value;
107 static T Get() {
109 T, ::std::is_default_constructible<T>::value>::Get();
109 T, ::std::is_default_constructible<T>::value>::Get();
206 static void Set(T x) {
214 typedef T (*FactoryFunction)();
232 return IsSet() || internal::BuiltInDefaultValue<T>::Exists();
238 static T Get() {
240 internal::BuiltInDefaultValue<T>::Get() : producer_->Produce();
247 virtual T Produce() = 0;
321 typename DefaultValue<T>::ValueProducer* DefaultValue<T>::producer_ = NULL;
utils/unittest/googlemock/include/gmock/gmock-generated-function-mockers.h 68 internal::FunctionMockerBase<R()> {
70 typedef R F();
77 R Invoke() {
88 internal::FunctionMockerBase<R(A1)> {
90 typedef R F(A1);
98 R Invoke(A1 a1) {
109 internal::FunctionMockerBase<R(A1, A2)> {
111 typedef R F(A1, A2);
119 R Invoke(A1 a1, A2 a2) {
130 internal::FunctionMockerBase<R(A1, A2, A3)> {
132 typedef R F(A1, A2, A3);
141 R Invoke(A1 a1, A2 a2, A3 a3) {
utils/unittest/googlemock/include/gmock/gmock-spec-builders.h 1307 explicit ReferenceOrValueWrapper(T value)
1314 T Unwrap() { return ::testing::internal::move(value_); }
1320 const T& Peek() const {
1325 T value_;
1377 T Unwrap() {
1385 UniversalPrinter<T>::Print(result_.Peek(), os);
1409 typedef ReferenceOrValueWrapper<T> Wrapper;
utils/unittest/googlemock/include/gmock/internal/gmock-generated-internal-utils.h 160 typedef R Result;
169 : Function<R()> {
179 : Function<R(A1)> {
189 : Function<R(A1, A2)> {
utils/unittest/googletest/include/gtest/gtest-printers.h 140 static void PrintValue(const T& value, ::std::ostream* os) {
205 ::std::basic_ostream<Char, CharTraits>& os, const T& x) {
206 TypeWithoutFormatter<T,
207 (internal::IsAProtocolMessage<T>::value ? kProtobuf :
208 internal::ImplicitlyConvertible<const T&, internal::BiggestInt>::value ?
223 void DefaultPrintNonContainerTo(const T& value, ::std::ostream* os) {
373 const C& container, ::std::ostream* os) {
407 T* p, ::std::ostream* os) {
416 if (IsTrue(ImplicitlyConvertible<T*, const void*>::value)) {
439 const T& value, ::std::ostream* os) {
455 void PrintTo(const T& value, ::std::ostream* os) {
478 DefaultPrintTo(IsContainerTest<T>(0), is_pointer<T>(), value, os);
699 static void Print(const T& value, ::std::ostream* os) {
utils/unittest/googletest/include/gtest/internal/custom/raw-ostream.h 29 static const T& printable(const T& V) { return V; }
29 static const T& printable(const T& V) { return V; }
35 auto printable(const T &V) -> decltype(StreamSwitch<T>::printable(V)) {
35 auto printable(const T &V) -> decltype(StreamSwitch<T>::printable(V)) {
37 return StreamSwitch<T>::printable(V);