llvm-project/lldb/source/Target
Jim Ingham 2a42a5a2f4 In 'thread step-out' command, only insert a breakpoint in executable memory.
Previously, if the current function had a nonstandard stack layout/ABI, and had a valid
data pointer in the location where the return address is usually located, data corruption
would occur when the breakpoint was written. This could lead to an incorrectly reported
crash or silent corruption of the program's state. Now, if the above check fails, the command safely aborts.

Differential Revision: https://reviews.llvm.org/D71372
2019-12-20 11:02:24 -08:00
..
ABI.cpp [lldb] Move register info "augmentation" from gdb-remote into ABI 2019-12-03 11:39:20 +01:00
CMakeLists.txt lldb/minidump: Refactor memory region computation code 2019-10-25 22:33:32 +00:00
ExecutionContext.cpp [ExecutionContext] Return the target/process byte order. 2019-08-07 16:09:35 +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 TypeValidators (NFC in terms of the testsuite) 2019-12-11 09:27:12 -08:00
LanguageRuntime.cpp [lldb] Fix exception breakpoint not being resolved when set on dummy target 2019-11-22 11:20:09 +01:00
Memory.cpp [Logging] Replace Log::Printf with LLDB_LOG macro (NFC) 2019-07-24 17:56:10 +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
MemoryRegionInfo.cpp MemoryRegion: Print "don't know" permission values as such 2019-11-05 11:17:27 +01:00
ModuleCache.cpp Convert FileSystem::Open() to return Expected<FileUP> 2019-09-26 17:54:59 +00:00
OperatingSystem.cpp Replace 'ap' with 'up' suffix in variable names. (NFC) 2019-02-13 06:25:41 +00:00
PathMappingList.cpp [NFC] Remove ASCII lines from comments 2019-04-10 20:48:55 +00:00
Platform.cpp [lldb][NFC] Migrate to raw_ostream in ArchSpec::DumpTriple 2019-12-04 08:28:52 +01:00
Process.cpp Run all threads when extending a next range over a call. 2019-12-16 17:45:21 -08: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 DWARFExpression: Simplify class interface 2019-08-27 07:49:41 +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 uint32_t options -> File::OpenOptions options 2019-10-14 20:15:34 +00:00
SectionLoadHistory.cpp [lldb] NFC modernize codebase with modernize-use-nullptr 2019-05-23 11:14:47 +00:00
SectionLoadList.cpp [Logging] Replace Log::Printf with LLDB_LOG macro (NFC) 2019-07-24 17:56:10 +00:00
StackFrame.cpp [lldb][NFC] Allow range-based for-loops on VariableList 2019-11-25 15:03:46 +01:00
StackFrameList.cpp [DWARF] Handle call sites with indirect call targets 2019-11-22 11:50:22 -08: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 Stop-hooks weren't getting called on step-out. Fix that. 2019-08-15 21:37:52 +00:00
StructuredDataPlugin.cpp C.128 override, virtual keyword handling 2019-05-03 10:03:28 +00:00
SystemRuntime.cpp [NFC] Remove ASCII lines from comments 2019-04-10 20:48:55 +00:00
Target.cpp [lldb] Remove modern-type-lookup 2019-12-17 12:24:31 +01:00
TargetList.cpp [lldb] s/FileSpec::Equal/FileSpec::Match 2019-12-04 10:42:32 +01:00
TargetProperties.td [lldb] Remove modern-type-lookup 2019-12-17 12:24:31 +01:00
Thread.cpp [ARC] Basic support in gdb-remote process plugin 2019-10-17 15:16:21 +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 [Logging] Replace Log::Printf with LLDB_LOG macro (NFC) 2019-07-24 17:56:10 +00:00
ThreadPlan.cpp [Logging] Replace Log::Printf with LLDB_LOG macro (NFC) 2019-07-24 17:56:10 +00:00
ThreadPlanBase.cpp [Logging] Replace Log::Printf with LLDB_LOG macro (NFC) 2019-07-24 17:56:10 +00:00
ThreadPlanCallFunction.cpp [Logging] Replace Log::Printf with LLDB_LOG macro (NFC) 2019-07-24 17:56:10 +00:00
ThreadPlanCallFunctionUsingABI.cpp [NFC] Remove ASCII lines from comments 2019-04-10 20:48:55 +00:00
ThreadPlanCallOnFunctionExit.cpp [NFC] Remove ASCII lines from comments 2019-04-10 20:48:55 +00:00
ThreadPlanCallUserExpression.cpp [Logging] Replace Log::Printf with LLDB_LOG macro (NFC) 2019-07-24 17:56:10 +00:00
ThreadPlanPython.cpp Pass an SBStructuredData to scripted ThreadPlans on use. 2019-10-03 22:50:18 +00:00
ThreadPlanRunToAddress.cpp [lldb][NFC] Move Address and AddressRange functions out of Stream and let them take raw_ostream 2019-12-05 14:41:33 +01:00
ThreadPlanShouldStopHere.cpp [Logging] Replace Log::Printf with LLDB_LOG macro (NFC) 2019-07-24 17:56:10 +00:00
ThreadPlanStepInRange.cpp [lldb][NFC] Move Address and AddressRange functions out of Stream and let them take raw_ostream 2019-12-05 14:41:33 +01:00
ThreadPlanStepInstruction.cpp [lldb][NFC] Move Address and AddressRange functions out of Stream and let them take raw_ostream 2019-12-05 14:41:33 +01:00
ThreadPlanStepOut.cpp In 'thread step-out' command, only insert a breakpoint in executable memory. 2019-12-20 11:02:24 -08:00
ThreadPlanStepOverBreakpoint.cpp [Logging] Replace Log::Printf with LLDB_LOG macro (NFC) 2019-07-24 17:56:10 +00:00
ThreadPlanStepOverRange.cpp [lldb][NFC] Move Address and AddressRange functions out of Stream and let them take raw_ostream 2019-12-05 14:41:33 +01:00
ThreadPlanStepRange.cpp [lldb] Fix a -Wreturn-type warning on gcc 2019-12-20 15:19:41 +01:00
ThreadPlanStepThrough.cpp [lldb][NFC] Move Address and AddressRange functions out of Stream and let them take raw_ostream 2019-12-05 14:41:33 +01:00
ThreadPlanStepUntil.cpp [Logging] Replace Log::Printf with LLDB_LOG macro (NFC) 2019-07-24 17:56:10 +00:00
ThreadPlanTracer.cpp ThreadPlanTracer::TracingStarted can't call virtual methods on Thread. 2019-12-20 10:56:39 -08:00
ThreadSpec.cpp Delete unnecessary copy ctors/copy assignment operators 2019-05-15 11:23:54 +00:00
UnixSignals.cpp [NFC] Remove ASCII lines from comments 2019-04-10 20:48:55 +00:00
UnwindAssembly.cpp Replace 'ap' with 'up' suffix in variable names. (NFC) 2019-02-13 06:25:41 +00:00