llvm-project/lldb/source/Target
Jonas Devlieghere 533fe617ac [Process] Use early returns in Process::WriteMemory (NFC)
I found the code of Process::WriteMemory particularly hard to follow
when reviewing Ismail's change in D60022. This simplifies the code and
hopefully prevents similar oversights in the future.

Differential revision: https://reviews.llvm.org/D60092

llvm-svn: 357428
2019-04-01 20:39:03 +00:00
..
ABI.cpp Pass ConstString by value (NFC) 2019-03-06 21:22:25 +00:00
CMakeLists.txt Extract common PlatformPOSIX/Windows code into a separate class 2019-02-12 09:27:24 +00:00
CPPLanguageRuntime.cpp [NFC] find_first_of/find_last_of -> find/rfind for single char. 2019-03-28 18:10:14 +00:00
ExecutionContext.cpp Remove tautological #ifdefs (NFC) 2019-03-05 23:51:25 +00:00
InstrumentationRuntime.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
InstrumentationRuntimeStopInfo.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
JITLoader.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
JITLoaderList.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Language.cpp Remove redundant ::get() for smart pointer. (NFC) 2019-02-12 03:47:39 +00:00
LanguageRuntime.cpp Replace 'ap' with 'up' suffix in variable names. (NFC) 2019-02-13 06:25:41 +00:00
Memory.cpp Add parens to force the order of operations in an expression trying 2019-03-09 00:04:24 +00:00
MemoryHistory.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ModuleCache.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ObjCLanguageRuntime.cpp Pass ConstString by value (NFC) 2019-03-06 21:22:25 +00:00
OperatingSystem.cpp Replace 'ap' with 'up' suffix in variable names. (NFC) 2019-02-13 06:25:41 +00:00
PathMappingList.cpp Pass ConstString by value (NFC) 2019-03-06 21:22:25 +00:00
Platform.cpp Pass ConstString by value (NFC) 2019-03-06 21:22:25 +00:00
Process.cpp [Process] Use early returns in Process::WriteMemory (NFC) 2019-04-01 20:39:03 +00:00
Queue.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
QueueItem.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
QueueList.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
RegisterContext.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
RegisterNumber.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
RemoteAwarePlatform.cpp Refactor user/group name resolving code 2019-03-04 18:48:00 +00:00
SectionLoadHistory.cpp Remove redundant ::get() for smart pointer. (NFC) 2019-02-12 03:47:39 +00:00
SectionLoadList.cpp Use the multi-lockable form of std::lock for operator= 2019-03-29 17:07:30 +00:00
StackFrame.cpp Fix a crasher in StackFrame::GetValueForVariableExpressionPath() 2019-03-11 18:16:20 +00:00
StackFrameList.cpp Replace 'ap' with 'up' suffix in variable names. (NFC) 2019-02-13 06:25:41 +00:00
StackFrameRecognizer.cpp [StackFrameRecognizer] Remove unneeded LLDB_DISABLE_PYTHON. 2019-03-19 17:35:37 +00:00
StackID.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
StopInfo.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
StructuredDataPlugin.cpp Pass ConstString by value (NFC) 2019-03-06 21:22:25 +00:00
SystemRuntime.cpp Replace 'ap' with 'up' suffix in variable names. (NFC) 2019-02-13 06:25:41 +00:00
Target.cpp Add ability to import std module into expression parser to improve C++ debugging 2019-03-12 17:09:33 +00:00
TargetList.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Thread.cpp Pass ConstString by value (NFC) 2019-03-06 21:22:25 +00:00
ThreadCollection.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ThreadList.cpp Use the multi-lockable form of std::lock for operator= 2019-03-29 17:07:30 +00:00
ThreadPlan.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ThreadPlanBase.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ThreadPlanCallFunction.cpp Use std::make_shared in LLDB (NFC) 2019-02-11 23:13:08 +00:00
ThreadPlanCallFunctionUsingABI.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ThreadPlanCallOnFunctionExit.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ThreadPlanCallUserExpression.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ThreadPlanPython.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ThreadPlanRunToAddress.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ThreadPlanShouldStopHere.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ThreadPlanStepInRange.cpp Replace 'ap' with 'up' suffix in variable names. (NFC) 2019-02-13 06:25:41 +00:00
ThreadPlanStepInstruction.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ThreadPlanStepOut.cpp Use std::make_shared in LLDB (NFC) 2019-02-11 23:13:08 +00:00
ThreadPlanStepOverBreakpoint.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ThreadPlanStepOverRange.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ThreadPlanStepRange.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ThreadPlanStepThrough.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ThreadPlanStepUntil.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ThreadPlanTracer.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ThreadSpec.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
UnixSignals.cpp Resubmit "Don't include UnixSignals.h from Host." 2019-03-06 18:20:23 +00:00
UnwindAssembly.cpp Replace 'ap' with 'up' suffix in variable names. (NFC) 2019-02-13 06:25:41 +00:00