hanchenye-llvm-project/lldb/source/Host/common
Pavel Labath ef1b1b5d17 Modernize NativeProcessProtocol::GetSoftwareBreakpointTrapOpcode
return the opcode as a Expected<ArrayRef> instead of a
Status+pointer+size combo.

I also move the linux implementation to the base class, as the trap
opcodes are likely to be the same for all/most implementations of the
class (except the arm one, where linux chooses a different opcode than
what the arm spec recommends, which I keep linux-specific).

llvm-svn: 341487
2018-09-05 18:08:56 +00:00
..
Editline.cpp [NFC] Use llvm_unreachable instead of lldb::assert 2018-09-03 22:08:30 +00:00
File.cpp [FileSpec] Make style argument mandatory for SetFile. NFC 2018-06-13 22:08:14 +00:00
FileCache.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
FileSystem.cpp
GetOptInc.cpp
Host.cpp Move Predicate.h from Host to Utility 2018-08-30 17:51:10 +00:00
HostInfoBase.cpp Remove dependency from Host to python 2018-06-20 08:35:45 +00:00
HostNativeThreadBase.cpp
HostProcess.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
HostThread.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
LockFileBase.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
MainLoop.cpp Reflow paragraphs in comments. 2018-04-30 16:49:04 +00:00
MonitoringProcessLauncher.cpp Reapply "Remove Process references from the Host module" 2018-05-15 13:42:26 +00:00
NativeBreakpoint.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
NativeBreakpointList.cpp Reflow paragraphs in comments. 2018-04-30 16:49:04 +00:00
NativeProcessProtocol.cpp Modernize NativeProcessProtocol::GetSoftwareBreakpointTrapOpcode 2018-09-05 18:08:56 +00:00
NativeRegisterContext.cpp Move RegisterValue,Scalar,State from Core to Utility 2018-08-07 11:07:21 +00:00
NativeThreadProtocol.cpp NativeThreadProtocol: delete dead code 2018-03-29 10:09:11 +00:00
NativeWatchpointList.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
OptionParser.cpp
PipeBase.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
ProcessRunLock.cpp
PseudoTerminal.cpp [PseudoTerminal][NFC] Use llvm errno helpers 2018-09-03 14:59:57 +00:00
Socket.cpp Reflow paragraphs in comments. 2018-04-30 16:49:04 +00:00
SocketAddress.cpp Fix debugserver accepting remote connections 2017-07-13 20:58:13 +00:00
SoftwareBreakpoint.cpp Modernize NativeProcessProtocol::GetSoftwareBreakpointTrapOpcode 2018-09-05 18:08:56 +00:00
StringConvert.cpp
Symbols.cpp [FileSpec] Make style argument mandatory for SetFile. NFC 2018-06-13 22:08:14 +00:00
TCPSocket.cpp s/LLVM_ON_WIN32/_WIN32/, lldb 2018-04-10 13:33:45 +00:00
TaskPool.cpp Reflow paragraphs in comments. 2018-04-30 16:49:04 +00:00
Terminal.cpp Add modules support for lldb headers in include/ 2018-06-13 15:50:45 +00:00
ThreadLauncher.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
UDPSocket.cpp Reflow paragraphs in comments. 2018-04-30 16:49:04 +00:00
XML.cpp Reflow paragraphs in comments. 2018-04-30 16:49:04 +00:00