llvm-project/lldb/source/Target
Greg Clayton b5cd6e7b7e Fixed a crasher that has been borking out heap for a long time.
ThreadList had an assignment operator that didn't lock the "rhs" thread list object. This means a thread list can be mutated while it is being copied.

The copy constructor calls the assignment operator as well. So this fixes the unsafe threaded access to ThreadList which we believe is responsible for a lot of crashes.

<rdar://problem/28075793>

llvm-svn: 289100
2016-12-08 20:38:19 +00:00
..
ABI.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
CMakeLists.txt Add StructuredData plugin type; showcase with new DarwinLog feature 2016-08-19 04:21:48 +00:00
CPPLanguageRuntime.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
ExecutionContext.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
FileAction.cpp Change FileAction::GetPath() to return a StringRef. 2016-09-23 22:11:51 +00:00
InstrumentationRuntime.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
InstrumentationRuntimeStopInfo.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
JITLoader.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
JITLoaderList.cpp [lldb] Fix typos in file headers 2016-11-26 05:23:44 +00:00
Language.cpp Implement a general type scavenger that can dig types from debug info + a filtering mechanism to accept/reject results thusly obtained 2016-11-01 18:50:49 +00:00
LanguageRuntime.cpp Convert CommandObject constructors to StringRef. 2016-10-05 21:14:38 +00:00
Memory.cpp Make lldb -Werror clean on Windows. 2016-10-05 17:07:34 +00:00
MemoryHistory.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
ObjCLanguageRuntime.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
OperatingSystem.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
PathMappingList.cpp Change Module::RemapPath to use StringRef. 2016-09-23 18:42:38 +00:00
Platform.cpp Change CreateTarget and dependents to accept StringRef. 2016-11-18 20:44:46 +00:00
Process.cpp When we interrupt a process, it was possible or the thread names 2016-12-08 06:27:29 +00:00
ProcessInfo.cpp Rewrite all Property related functions in terms of StringRef. 2016-11-17 18:08:12 +00:00
ProcessLaunchInfo.cpp Make Options::SetOptionValue take a StringRef. 2016-11-12 16:56:47 +00:00
Queue.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
QueueItem.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
QueueList.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
RegisterContext.cpp Make GetRegisterByName() take a StringRef. 2016-11-17 21:54:37 +00:00
SectionLoadHistory.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
SectionLoadList.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
StackFrame.cpp Fix a bug caught by adding LLVM_NODISCARD to StringRef. 2016-11-21 23:18:13 +00:00
StackFrameList.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
StackID.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
StopInfo.cpp Don't allow direct access to StreamString's internal buffer. 2016-11-16 21:15:24 +00:00
StructuredDataPlugin.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
SystemRuntime.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
Target.cpp Use Timeout<> in EvaluateExpressionOptions class 2016-12-06 11:24:51 +00:00
TargetList.cpp Fix some accidental Prints of StringRefs that snuck in. 2016-11-19 00:50:29 +00:00
Thread.cpp Don't allow direct access to StreamString's internal buffer. 2016-11-16 21:15:24 +00:00
ThreadCollection.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
ThreadList.cpp Fixed a crasher that has been borking out heap for a long time. 2016-12-08 20:38:19 +00:00
ThreadPlan.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
ThreadPlanBase.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
ThreadPlanCallFunction.cpp Don't allow direct access to StreamString's internal buffer. 2016-11-16 21:15:24 +00:00
ThreadPlanCallFunctionUsingABI.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
ThreadPlanCallOnFunctionExit.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
ThreadPlanCallUserExpression.cpp Don't allow direct access to StreamString's internal buffer. 2016-11-16 21:15:24 +00:00
ThreadPlanPython.cpp [lldb] Fix typos in file headers 2016-11-26 05:23:44 +00:00
ThreadPlanRunToAddress.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
ThreadPlanShouldStopHere.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
ThreadPlanStepInRange.cpp Make lldb::Regex use StringRef. 2016-09-21 16:01:28 +00:00
ThreadPlanStepInstruction.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
ThreadPlanStepOut.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
ThreadPlanStepOverBreakpoint.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
ThreadPlanStepOverRange.cpp Fix step-over when SymbolContext.function is missing and symbol is present. 2016-11-17 22:29:31 +00:00
ThreadPlanStepRange.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
ThreadPlanStepThrough.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
ThreadPlanStepUntil.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
ThreadPlanTracer.cpp [lldb] Fix typos in file headers 2016-11-26 05:23:44 +00:00
ThreadSpec.cpp Serilize the thread options within the breakpoint options. 2016-09-22 22:00:59 +00:00
UnixSignals.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
UnwindAssembly.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00