aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2019-01-19 10:06:29 +0000
committerDimitry Andric <dim@FreeBSD.org>2019-01-19 10:06:29 +0000
commit94994d372d014ce4c8758b9605d63fae651bd8aa (patch)
tree51c0b708bd59f205d6b35cb2a8c24d62f0c33d77
parent39be7ce23363d12ae3e49aeb1fdb2bfeb892e836 (diff)
downloadsrc-94994d372d014ce4c8758b9605d63fae651bd8aa.tar.gz
src-94994d372d014ce4c8758b9605d63fae651bd8aa.zip
Vendor import of lldb trunk r351319 (just before the release_80 branchvendor/lldb/lldb-trunk-r351319
Notes
Notes: svn path=/vendor/lldb/dist/; revision=343181 svn path=/vendor/lldb/lldb-trunk-r351319/; revision=343182; tag=vendor/lldb/lldb-trunk-r351319
-rw-r--r--CMakeLists.txt122
-rw-r--r--cmake/modules/AddLLDB.cmake115
-rw-r--r--cmake/modules/LLDBConfig.cmake127
-rw-r--r--cmake/modules/LLDBFramework.cmake115
-rw-r--r--cmake/modules/LLDBStandalone.cmake7
-rw-r--r--cmake/modules/debugserverConfig.cmake3
-rw-r--r--docs/building-with-debug-llvm.txt1
-rw-r--r--docs/lldb-platform-packets.txt404
-rw-r--r--examples/darwin/heap_find/heap.py2
-rw-r--r--examples/interposing/darwin/fd_interposing/FDInterposing.cpp2
-rwxr-xr-xexamples/python/bsd.py105
-rwxr-xr-xexamples/python/crashlog.py83
-rwxr-xr-xexamples/python/gdbremote.py190
-rw-r--r--examples/synthetic/bitfield/program.cpp2
-rw-r--r--include/lldb/API/LLDB.h4
-rw-r--r--include/lldb/API/SBAddress.h1
-rw-r--r--include/lldb/API/SBBreakpoint.h10
-rw-r--r--include/lldb/API/SBCommandInterpreter.h22
-rw-r--r--include/lldb/API/SBCommandReturnObject.h4
-rw-r--r--include/lldb/API/SBDebugger.h6
-rw-r--r--include/lldb/API/SBDefines.h5
-rw-r--r--include/lldb/API/SBExpressionOptions.h6
-rw-r--r--include/lldb/API/SBFileSpec.h3
-rw-r--r--include/lldb/API/SBFrame.h4
-rw-r--r--include/lldb/API/SBInitializerOptions.h43
-rw-r--r--include/lldb/API/SBMemoryRegionInfo.h1
-rw-r--r--include/lldb/API/SBMemoryRegionInfoList.h6
-rw-r--r--include/lldb/API/SBModule.h1
-rw-r--r--include/lldb/API/SBProcess.h6
-rw-r--r--include/lldb/API/SBStructuredData.h10
-rw-r--r--include/lldb/API/SBSymbolContext.h4
-rw-r--r--include/lldb/API/SBTarget.h70
-rw-r--r--include/lldb/API/SBThread.h4
-rw-r--r--include/lldb/API/SBThreadPlan.h14
-rw-r--r--include/lldb/API/SBVariablesOptions.h4
-rw-r--r--include/lldb/Breakpoint/Breakpoint.h14
-rw-r--r--include/lldb/Breakpoint/BreakpointID.h4
-rw-r--r--include/lldb/Breakpoint/BreakpointIDList.h4
-rw-r--r--include/lldb/Breakpoint/BreakpointList.h37
-rw-r--r--include/lldb/Breakpoint/BreakpointLocation.h4
-rw-r--r--include/lldb/Breakpoint/BreakpointLocationCollection.h4
-rw-r--r--include/lldb/Breakpoint/BreakpointLocationList.h4
-rw-r--r--include/lldb/Breakpoint/BreakpointName.h6
-rw-r--r--include/lldb/Breakpoint/BreakpointOptions.h4
-rw-r--r--include/lldb/Breakpoint/BreakpointResolver.h20
-rw-r--r--include/lldb/Breakpoint/BreakpointResolverAddress.h6
-rw-r--r--include/lldb/Breakpoint/BreakpointResolverFileLine.h21
-rw-r--r--include/lldb/Breakpoint/BreakpointResolverFileRegex.h6
-rw-r--r--include/lldb/Breakpoint/BreakpointResolverName.h20
-rw-r--r--include/lldb/Breakpoint/BreakpointResolverScripted.h81
-rw-r--r--include/lldb/Breakpoint/BreakpointSite.h4
-rw-r--r--include/lldb/Breakpoint/BreakpointSiteList.h4
-rw-r--r--include/lldb/Breakpoint/Stoppoint.h4
-rw-r--r--include/lldb/Breakpoint/StoppointLocation.h4
-rw-r--r--include/lldb/Breakpoint/Watchpoint.h4
-rw-r--r--include/lldb/Breakpoint/WatchpointList.h4
-rw-r--r--include/lldb/Breakpoint/WatchpointOptions.h4
-rw-r--r--include/lldb/Core/Address.h18
-rw-r--r--include/lldb/Core/AddressRange.h6
-rw-r--r--include/lldb/Core/AddressResolver.h4
-rw-r--r--include/lldb/Core/AddressResolverFileLine.h10
-rw-r--r--include/lldb/Core/AddressResolverName.h8
-rw-r--r--include/lldb/Core/Architecture.h45
-rw-r--r--include/lldb/Core/ClangForward.h4
-rw-r--r--include/lldb/Core/Communication.h16
-rw-r--r--include/lldb/Core/Debugger.h51
-rw-r--r--include/lldb/Core/Disassembler.h26
-rw-r--r--include/lldb/Core/DumpDataExtractor.h6
-rw-r--r--include/lldb/Core/EmulateInstruction.h18
-rw-r--r--include/lldb/Core/FileLineResolver.h10
-rw-r--r--include/lldb/Core/FileSpecList.h2
-rw-r--r--include/lldb/Core/FormatEntity.h14
-rw-r--r--include/lldb/Core/Highlighter.h165
-rw-r--r--include/lldb/Core/IOHandler.h19
-rw-r--r--include/lldb/Core/LoadedModuleInfoList.h3
-rw-r--r--include/lldb/Core/Mangled.h46
-rw-r--r--include/lldb/Core/MappedHash.h4
-rw-r--r--include/lldb/Core/Module.h113
-rw-r--r--include/lldb/Core/ModuleList.h42
-rw-r--r--include/lldb/Core/ModuleSpec.h19
-rw-r--r--include/lldb/Core/Opcode.h6
-rw-r--r--include/lldb/Core/PluginInterface.h4
-rw-r--r--include/lldb/Core/PluginManager.h16
-rw-r--r--include/lldb/Core/RangeMap.h290
-rw-r--r--include/lldb/Core/RichManglingContext.h108
-rw-r--r--include/lldb/Core/STLUtils.h4
-rw-r--r--include/lldb/Core/SearchFilter.h29
-rw-r--r--include/lldb/Core/Section.h16
-rw-r--r--include/lldb/Core/SourceManager.h12
-rw-r--r--include/lldb/Core/StreamAsynchronousIO.h5
-rw-r--r--include/lldb/Core/StreamBuffer.h12
-rw-r--r--include/lldb/Core/StreamFile.h10
-rw-r--r--include/lldb/Core/StructuredDataImpl.h2
-rw-r--r--include/lldb/Core/ThreadSafeDenseMap.h4
-rw-r--r--include/lldb/Core/ThreadSafeDenseSet.h4
-rw-r--r--include/lldb/Core/ThreadSafeSTLMap.h4
-rw-r--r--include/lldb/Core/ThreadSafeSTLVector.h4
-rw-r--r--include/lldb/Core/ThreadSafeValue.h4
-rw-r--r--include/lldb/Core/UniqueCStringMap.h6
-rw-r--r--include/lldb/Core/UserSettingsController.h12
-rw-r--r--include/lldb/Core/Value.h14
-rw-r--r--include/lldb/Core/ValueObject.h27
-rw-r--r--include/lldb/Core/ValueObjectCast.h12
-rw-r--r--include/lldb/Core/ValueObjectChild.h16
-rw-r--r--include/lldb/Core/ValueObjectConstResult.h24
-rw-r--r--include/lldb/Core/ValueObjectConstResultCast.h16
-rw-r--r--include/lldb/Core/ValueObjectConstResultChild.h19
-rw-r--r--include/lldb/Core/ValueObjectConstResultImpl.h16
-rw-r--r--include/lldb/Core/ValueObjectDynamicValue.h24
-rw-r--r--include/lldb/Core/ValueObjectList.h6
-rw-r--r--include/lldb/Core/ValueObjectMemory.h18
-rw-r--r--include/lldb/Core/ValueObjectRegister.h20
-rw-r--r--include/lldb/Core/ValueObjectSyntheticFilter.h18
-rw-r--r--include/lldb/Core/ValueObjectVariable.h18
-rw-r--r--include/lldb/DataFormatters/DataVisualization.h4
-rw-r--r--include/lldb/DataFormatters/DumpValueObjectOptions.h4
-rw-r--r--include/lldb/DataFormatters/FormatCache.h4
-rw-r--r--include/lldb/DataFormatters/FormatClasses.h4
-rw-r--r--include/lldb/DataFormatters/FormatManager.h4
-rw-r--r--include/lldb/DataFormatters/FormattersContainer.h4
-rw-r--r--include/lldb/DataFormatters/FormattersHelpers.h4
-rw-r--r--include/lldb/DataFormatters/LanguageCategory.h4
-rw-r--r--include/lldb/DataFormatters/StringPrinter.h4
-rw-r--r--include/lldb/DataFormatters/TypeCategory.h6
-rw-r--r--include/lldb/DataFormatters/TypeCategoryMap.h4
-rw-r--r--include/lldb/DataFormatters/TypeFormat.h4
-rw-r--r--include/lldb/DataFormatters/TypeSummary.h4
-rw-r--r--include/lldb/DataFormatters/TypeSynthetic.h4
-rw-r--r--include/lldb/DataFormatters/TypeValidator.h4
-rw-r--r--include/lldb/DataFormatters/ValueObjectPrinter.h8
-rw-r--r--include/lldb/Expression/DWARFExpression.h9
-rw-r--r--include/lldb/Expression/Expression.h4
-rw-r--r--include/lldb/Expression/ExpressionParser.h36
-rw-r--r--include/lldb/Expression/ExpressionVariable.h4
-rw-r--r--include/lldb/Expression/FunctionCaller.h4
-rw-r--r--include/lldb/Expression/IRExecutionUnit.h6
-rw-r--r--include/lldb/Expression/IRMemoryMap.h28
-rw-r--r--include/lldb/Expression/LLVMUserExpression.h4
-rw-r--r--include/lldb/Expression/Materializer.h4
-rw-r--r--include/lldb/Expression/REPL.h6
-rw-r--r--include/lldb/Expression/UserExpression.h32
-rw-r--r--include/lldb/Expression/UtilityFunction.h4
-rw-r--r--include/lldb/Host/Debug.h4
-rw-r--r--include/lldb/Host/Editline.h5
-rw-r--r--include/lldb/Host/File.h75
-rw-r--r--include/lldb/Host/FileSystem.h151
-rw-r--r--include/lldb/Host/HostInfoBase.h4
-rw-r--r--include/lldb/Host/HostNativeThreadBase.h1
-rw-r--r--include/lldb/Host/MonitoringProcessLauncher.h4
-rw-r--r--include/lldb/Host/PipeBase.h3
-rw-r--r--include/lldb/Host/ProcessRunLock.h4
-rw-r--r--include/lldb/Host/SafeMachO.h (renamed from include/lldb/Utility/SafeMachO.h)0
-rw-r--r--include/lldb/Host/Socket.h2
-rw-r--r--include/lldb/Host/SocketAddress.h4
-rw-r--r--include/lldb/Host/StringConvert.h4
-rw-r--r--include/lldb/Host/Symbols.h4
-rw-r--r--include/lldb/Host/TaskPool.h8
-rw-r--r--include/lldb/Host/XML.h4
-rw-r--r--include/lldb/Host/common/NativeBreakpoint.h56
-rw-r--r--include/lldb/Host/common/NativeBreakpointList.h35
-rw-r--r--include/lldb/Host/common/NativeProcessProtocol.h41
-rw-r--r--include/lldb/Host/common/NativeRegisterContext.h4
-rw-r--r--include/lldb/Host/common/SoftwareBreakpoint.h53
-rw-r--r--include/lldb/Host/posix/ConnectionFileDescriptorPosix.h5
-rw-r--r--include/lldb/Host/posix/HostProcessPosix.h4
-rw-r--r--include/lldb/Host/posix/PipePosix.h9
-rw-r--r--include/lldb/Host/windows/HostThreadWindows.h1
-rw-r--r--include/lldb/Host/windows/PipeWindows.h11
-rw-r--r--include/lldb/Host/windows/editlinewin.h2
-rw-r--r--include/lldb/Host/windows/windows.h1
-rw-r--r--include/lldb/Initialization/SystemInitializer.h13
-rw-r--r--include/lldb/Initialization/SystemInitializerCommon.h2
-rw-r--r--include/lldb/Initialization/SystemLifetimeManager.h8
-rw-r--r--include/lldb/Interpreter/CommandAlias.h4
-rw-r--r--include/lldb/Interpreter/CommandCompletions.h12
-rw-r--r--include/lldb/Interpreter/CommandHistory.h4
-rw-r--r--include/lldb/Interpreter/CommandInterpreter.h85
-rw-r--r--include/lldb/Interpreter/CommandObject.h11
-rw-r--r--include/lldb/Interpreter/CommandObjectMultiword.h4
-rw-r--r--include/lldb/Interpreter/CommandObjectRegexCommand.h4
-rw-r--r--include/lldb/Interpreter/CommandOptionValidators.h4
-rw-r--r--include/lldb/Interpreter/CommandReturnObject.h4
-rw-r--r--include/lldb/Interpreter/OptionArgParser.h2
-rw-r--r--include/lldb/Interpreter/OptionGroupBoolean.h4
-rw-r--r--include/lldb/Interpreter/OptionGroupFile.h4
-rw-r--r--include/lldb/Interpreter/OptionGroupFormat.h4
-rw-r--r--include/lldb/Interpreter/OptionGroupOutputFile.h4
-rw-r--r--include/lldb/Interpreter/OptionGroupPlatform.h4
-rw-r--r--include/lldb/Interpreter/OptionGroupString.h4
-rw-r--r--include/lldb/Interpreter/OptionGroupUInt64.h4
-rw-r--r--include/lldb/Interpreter/OptionGroupUUID.h4
-rw-r--r--include/lldb/Interpreter/OptionGroupValueObjectDisplay.h4
-rw-r--r--include/lldb/Interpreter/OptionGroupVariable.h6
-rw-r--r--include/lldb/Interpreter/OptionGroupWatchpoint.h4
-rw-r--r--include/lldb/Interpreter/OptionValue.h8
-rw-r--r--include/lldb/Interpreter/OptionValueArgs.h4
-rw-r--r--include/lldb/Interpreter/OptionValueArray.h4
-rw-r--r--include/lldb/Interpreter/OptionValueBoolean.h4
-rw-r--r--include/lldb/Interpreter/OptionValueChar.h4
-rw-r--r--include/lldb/Interpreter/OptionValueDictionary.h4
-rw-r--r--include/lldb/Interpreter/OptionValueEnumeration.h5
-rw-r--r--include/lldb/Interpreter/OptionValueFileSpecList.h4
-rw-r--r--include/lldb/Interpreter/OptionValueFormat.h4
-rw-r--r--include/lldb/Interpreter/OptionValueFormatEntity.h4
-rw-r--r--include/lldb/Interpreter/OptionValueLanguage.h4
-rw-r--r--include/lldb/Interpreter/OptionValuePathMappings.h4
-rw-r--r--include/lldb/Interpreter/OptionValueProperties.h6
-rw-r--r--include/lldb/Interpreter/OptionValueRegex.h4
-rw-r--r--include/lldb/Interpreter/OptionValueSInt64.h4
-rw-r--r--include/lldb/Interpreter/OptionValueString.h4
-rw-r--r--include/lldb/Interpreter/OptionValueUInt64.h4
-rw-r--r--include/lldb/Interpreter/OptionValueUUID.h4
-rw-r--r--include/lldb/Interpreter/Options.h4
-rw-r--r--include/lldb/Interpreter/Property.h4
-rw-r--r--include/lldb/Interpreter/ScriptInterpreter.h38
-rw-r--r--include/lldb/Symbol/Block.h12
-rw-r--r--include/lldb/Symbol/ClangASTContext.h73
-rw-r--r--include/lldb/Symbol/ClangASTImporter.h4
-rw-r--r--include/lldb/Symbol/ClangExternalASTSourceCallbacks.h4
-rw-r--r--include/lldb/Symbol/ClangExternalASTSourceCommon.h4
-rw-r--r--include/lldb/Symbol/ClangUtil.h6
-rw-r--r--include/lldb/Symbol/CompileUnit.h35
-rw-r--r--include/lldb/Symbol/CompilerType.h14
-rw-r--r--include/lldb/Symbol/DebugMacros.h4
-rw-r--r--include/lldb/Symbol/Function.h109
-rw-r--r--include/lldb/Symbol/GoASTContext.h421
-rw-r--r--include/lldb/Symbol/JavaASTContext.h350
-rw-r--r--include/lldb/Symbol/LineTable.h59
-rw-r--r--include/lldb/Symbol/OCamlASTContext.h318
-rw-r--r--include/lldb/Symbol/ObjectContainer.h4
-rw-r--r--include/lldb/Symbol/ObjectFile.h46
-rw-r--r--include/lldb/Symbol/SymbolContext.h22
-rw-r--r--include/lldb/Symbol/SymbolContextScope.h4
-rw-r--r--include/lldb/Symbol/SymbolFile.h83
-rw-r--r--include/lldb/Symbol/SymbolVendor.h42
-rw-r--r--include/lldb/Symbol/Symtab.h13
-rw-r--r--include/lldb/Symbol/TypeSystem.h11
-rw-r--r--include/lldb/Symbol/UnwindPlan.h64
-rw-r--r--include/lldb/Symbol/UnwindTable.h2
-rw-r--r--include/lldb/Target/ABI.h4
-rw-r--r--include/lldb/Target/CPPLanguageRuntime.h36
-rw-r--r--include/lldb/Target/DynamicLoader.h15
-rw-r--r--include/lldb/Target/ExecutionContext.h4
-rw-r--r--include/lldb/Target/ExecutionContextScope.h4
-rw-r--r--include/lldb/Target/InstrumentationRuntime.h4
-rw-r--r--include/lldb/Target/InstrumentationRuntimeStopInfo.h4
-rw-r--r--include/lldb/Target/Language.h16
-rw-r--r--include/lldb/Target/LanguageRuntime.h15
-rw-r--r--include/lldb/Target/Memory.h4
-rw-r--r--include/lldb/Target/MemoryHistory.h4
-rw-r--r--include/lldb/Target/MemoryRegionInfo.h21
-rw-r--r--include/lldb/Target/ObjCLanguageRuntime.h4
-rw-r--r--include/lldb/Target/OperatingSystem.h3
-rw-r--r--include/lldb/Target/PathMappingList.h4
-rw-r--r--include/lldb/Target/Platform.h16
-rw-r--r--include/lldb/Target/Process.h52
-rw-r--r--include/lldb/Target/ProcessLaunchInfo.h7
-rw-r--r--include/lldb/Target/ProcessStructReader.h12
-rw-r--r--include/lldb/Target/QueueItem.h4
-rw-r--r--include/lldb/Target/RegisterContext.h4
-rw-r--r--include/lldb/Target/SectionLoadHistory.h3
-rw-r--r--include/lldb/Target/SectionLoadList.h4
-rw-r--r--include/lldb/Target/StackFrame.h92
-rw-r--r--include/lldb/Target/StackFrameList.h66
-rw-r--r--include/lldb/Target/StackFrameRecognizer.h129
-rw-r--r--include/lldb/Target/StackID.h4
-rw-r--r--include/lldb/Target/StopInfo.h4
-rw-r--r--include/lldb/Target/SystemRuntime.h4
-rw-r--r--include/lldb/Target/Target.h122
-rw-r--r--include/lldb/Target/TargetList.h17
-rw-r--r--include/lldb/Target/Thread.h85
-rw-r--r--include/lldb/Target/ThreadPlan.h10
-rw-r--r--include/lldb/Target/ThreadPlanBase.h4
-rw-r--r--include/lldb/Target/ThreadPlanCallFunction.h4
-rw-r--r--include/lldb/Target/ThreadPlanCallFunctionUsingABI.h4
-rw-r--r--include/lldb/Target/ThreadPlanCallUserExpression.h4
-rw-r--r--include/lldb/Target/ThreadPlanPython.h5
-rw-r--r--include/lldb/Target/ThreadPlanRunToAddress.h4
-rw-r--r--include/lldb/Target/ThreadPlanShouldStopHere.h18
-rw-r--r--include/lldb/Target/ThreadPlanStepInRange.h10
-rw-r--r--include/lldb/Target/ThreadPlanStepInstruction.h7
-rw-r--r--include/lldb/Target/ThreadPlanStepOut.h7
-rw-r--r--include/lldb/Target/ThreadPlanStepOverBreakpoint.h4
-rw-r--r--include/lldb/Target/ThreadPlanStepOverRange.h4
-rw-r--r--include/lldb/Target/ThreadPlanStepRange.h4
-rw-r--r--include/lldb/Target/ThreadPlanStepThrough.h7
-rw-r--r--include/lldb/Target/ThreadPlanStepUntil.h6
-rw-r--r--include/lldb/Target/ThreadPlanTracer.h6
-rw-r--r--include/lldb/Target/UnixSignals.h4
-rw-r--r--include/lldb/Target/Unwind.h4
-rw-r--r--include/lldb/Utility/ArchSpec.h9
-rw-r--r--include/lldb/Utility/Baton.h4
-rw-r--r--include/lldb/Utility/Broadcaster.h (renamed from include/lldb/Core/Broadcaster.h)20
-rw-r--r--include/lldb/Utility/CompletionRequest.h89
-rw-r--r--include/lldb/Utility/Connection.h12
-rw-r--r--include/lldb/Utility/ConstString.h22
-rw-r--r--include/lldb/Utility/DataBufferHeap.h9
-rw-r--r--include/lldb/Utility/DataBufferLLVM.h12
-rw-r--r--include/lldb/Utility/DataEncoder.h10
-rw-r--r--include/lldb/Utility/DataExtractor.h10
-rw-r--r--include/lldb/Utility/Either.h126
-rw-r--r--include/lldb/Utility/Event.h (renamed from include/lldb/Core/Event.h)20
-rw-r--r--include/lldb/Utility/FastDemangle.h26
-rw-r--r--include/lldb/Utility/FileSpec.h119
-rw-r--r--include/lldb/Utility/Iterable.h4
-rw-r--r--include/lldb/Utility/LLDBAssert.h3
-rw-r--r--include/lldb/Utility/Listener.h (renamed from include/lldb/Core/Listener.h)20
-rw-r--r--include/lldb/Utility/Log.h10
-rw-r--r--include/lldb/Utility/Predicate.h (renamed from include/lldb/Host/Predicate.h)12
-rw-r--r--include/lldb/Utility/Range.h60
-rw-r--r--include/lldb/Utility/RegisterValue.h (renamed from include/lldb/Core/RegisterValue.h)28
-rw-r--r--include/lldb/Utility/RegularExpression.h2
-rw-r--r--include/lldb/Utility/Reproducer.h215
-rw-r--r--include/lldb/Utility/Scalar.h (renamed from include/lldb/Core/Scalar.h)22
-rw-r--r--include/lldb/Utility/SelectHelper.h4
-rw-r--r--include/lldb/Utility/SharingPtr.h4
-rw-r--r--include/lldb/Utility/State.h (renamed from include/lldb/Core/State.h)18
-rw-r--r--include/lldb/Utility/Status.h10
-rw-r--r--include/lldb/Utility/Stream.h119
-rw-r--r--include/lldb/Utility/StreamCallback.h4
-rw-r--r--include/lldb/Utility/StreamGDBRemote.h8
-rw-r--r--include/lldb/Utility/StreamString.h15
-rw-r--r--include/lldb/Utility/StreamTee.h46
-rw-r--r--include/lldb/Utility/StringExtractor.h4
-rw-r--r--include/lldb/Utility/StringExtractorGDBRemote.h6
-rw-r--r--include/lldb/Utility/StringLexer.h9
-rw-r--r--include/lldb/Utility/StringList.h2
-rw-r--r--include/lldb/Utility/StructuredData.h16
-rw-r--r--include/lldb/Utility/Timer.h4
-rw-r--r--include/lldb/Utility/UUID.h2
-rw-r--r--include/lldb/Utility/UserID.h4
-rw-r--r--include/lldb/Utility/VMRange.h24
-rw-r--r--include/lldb/lldb-defines.h1
-rw-r--r--include/lldb/lldb-enumerations.h106
-rw-r--r--include/lldb/lldb-forward.h24
-rw-r--r--include/lldb/lldb-private-forward.h11
-rw-r--r--include/lldb/lldb-private-interfaces.h4
-rw-r--r--include/lldb/lldb-private-types.h7
-rw-r--r--include/lldb/lldb-types.h9
-rw-r--r--include/lldb/module.modulemap2
-rw-r--r--lit/Breakpoint/Inputs/debug_addrx.yaml57
-rw-r--r--lit/Breakpoint/Inputs/debug_rnglist_basic.yaml50
-rw-r--r--lit/Breakpoint/Inputs/debug_rnglist_offset_pair.yaml53
-rw-r--r--lit/Breakpoint/Inputs/debug_rnglist_rlestartend.yaml49
-rw-r--r--lit/Breakpoint/Inputs/debug_rnglistx_rlex.yaml57
-rw-r--r--lit/Breakpoint/Inputs/implicit_const_form_support.yaml41
-rw-r--r--lit/Breakpoint/Inputs/single-file-split-dwarf.o.yaml84
-rw-r--r--lit/Breakpoint/Inputs/single-file-split-dwarf.yaml61
-rw-r--r--lit/Breakpoint/Inputs/split-dwarf-5-addrbase.dwo.yaml35
-rw-r--r--lit/Breakpoint/Inputs/split-dwarf-5-addrbase.yaml61
-rw-r--r--lit/Breakpoint/Inputs/split-dwarf5-debug-stroffsets-file1.dwo.yaml40
-rw-r--r--lit/Breakpoint/Inputs/split-dwarf5-debug-stroffsets-file2.dwo.yaml40
-rw-r--r--lit/Breakpoint/Inputs/split-dwarf5-debug-stroffsets-main.yaml70
-rw-r--r--lit/Breakpoint/case-insensitive.test8
-rw-r--r--lit/Breakpoint/case-sensitive.test2
-rw-r--r--lit/Breakpoint/debug_addrx.test30
-rw-r--r--lit/Breakpoint/debug_rnglist_basic.test30
-rw-r--r--lit/Breakpoint/debug_rnglist_offset_pair.test33
-rw-r--r--lit/Breakpoint/debug_rnglist_rlestartend.test28
-rw-r--r--lit/Breakpoint/debug_rnglistx_rlex.test28
-rw-r--r--lit/Breakpoint/implicit_const_form_support.test33
-rw-r--r--lit/Breakpoint/single-file-split-dwarf.test44
-rw-r--r--lit/Breakpoint/split-dwarf-5-addrbase.test30
-rw-r--r--lit/Breakpoint/split-dwarf5-debug-stroffsets.test84
-rw-r--r--lit/BuildScript/modes.test35
-rw-r--r--lit/BuildScript/script-args.test32
-rw-r--r--lit/BuildScript/toolchain-clang-cl.test49
-rw-r--r--lit/BuildScript/toolchain-clang.test14
-rw-r--r--lit/BuildScript/toolchain-msvc.test62
-rw-r--r--lit/CMakeLists.txt55
-rw-r--r--lit/Driver/Inputs/Print0.in1
-rw-r--r--lit/Driver/Inputs/Print2.in1
-rw-r--r--lit/Driver/Inputs/Print4.in1
-rw-r--r--lit/Driver/Inputs/Print6.in1
-rw-r--r--lit/Driver/Inputs/convenience.in9
-rw-r--r--lit/Driver/Inputs/hello.cpp11
-rw-r--r--lit/Driver/TestCommands.test41
-rw-r--r--lit/Driver/TestConvenienceVariables.test22
-rw-r--r--lit/Driver/TestCore.test2
-rw-r--r--lit/Driver/TestFile.test2
-rw-r--r--lit/Driver/TestNoUseColor.test4
-rw-r--r--lit/ExecControl/StopHook/Inputs/stop-hook-1.lldbinit1
-rw-r--r--lit/ExecControl/StopHook/Inputs/stop-hook-2.lldbinit1
-rw-r--r--lit/ExecControl/StopHook/Inputs/stop-hook-3.lldbinit3
-rw-r--r--lit/ExecControl/StopHook/Inputs/stop-hook-threads-1.lldbinit7
-rw-r--r--lit/ExecControl/StopHook/Inputs/stop-hook-threads-2.lldbinit4
-rw-r--r--lit/ExecControl/StopHook/Inputs/stop-hook-threads.cpp (renamed from packages/Python/lldbsuite/test/functionalities/stop-hook/multiple_threads/main.cpp)11
-rw-r--r--lit/ExecControl/StopHook/Inputs/stop-hook.c (renamed from packages/Python/lldbsuite/test/functionalities/stop-hook/main.cpp)0
-rw-r--r--lit/ExecControl/StopHook/stop-hook-threads.test33
-rw-r--r--lit/ExecControl/StopHook/stop-hook.test76
-rw-r--r--lit/Expr/TestIRMemoryMap.test4
-rw-r--r--lit/Expr/TestIRMemoryMapWindows.test13
-rw-r--r--lit/Expr/TestMultilineExpr.test9
-rw-r--r--lit/Heap/Inputs/cstr.c17
-rw-r--r--lit/Heap/heap-cstr.test10
-rw-r--r--lit/Minidump/Inputs/dump-content.dmpbin0 -> 664 bytes
-rw-r--r--lit/Minidump/Windows/Sigsegv/Inputs/sigsegv.cpp40
-rw-r--r--lit/Minidump/Windows/Sigsegv/Inputs/sigsegv.dmpbin0 -> 102370 bytes
-rw-r--r--lit/Minidump/Windows/Sigsegv/Inputs/sigsegv.lldbinit2
-rw-r--r--lit/Minidump/Windows/Sigsegv/Inputs/sigsegv.pdbbin0 -> 102400 bytes
-rw-r--r--lit/Minidump/Windows/Sigsegv/sigsegv.test13
-rw-r--r--lit/Minidump/dump-all.test86
-rw-r--r--lit/Modules/Breakpad/Inputs/bad-module-id-1.syms2
-rw-r--r--lit/Modules/Breakpad/Inputs/bad-module-id-2.syms2
-rw-r--r--lit/Modules/Breakpad/Inputs/bad-module-id-3.syms2
-rw-r--r--lit/Modules/Breakpad/Inputs/discontiguous-sections.syms5
-rw-r--r--lit/Modules/Breakpad/Inputs/identification-linux.syms6
-rw-r--r--lit/Modules/Breakpad/Inputs/identification-macosx.syms6
-rw-r--r--lit/Modules/Breakpad/Inputs/identification-windows.syms4
-rw-r--r--lit/Modules/Breakpad/Inputs/sections-trailing-func.syms8
-rw-r--r--lit/Modules/Breakpad/Inputs/sections.syms12
-rw-r--r--lit/Modules/Breakpad/breakpad-identification.test32
-rw-r--r--lit/Modules/Breakpad/discontiguous-sections.test27
-rw-r--r--lit/Modules/Breakpad/lit.local.cfg (renamed from lit/Breakpoint/lit.local.cfg)0
-rw-r--r--lit/Modules/Breakpad/sections-trailing-func.test15
-rw-r--r--lit/Modules/Breakpad/sections.test89
-rw-r--r--lit/Modules/ELF/Inputs/PT_LOAD-overlap-section.elfbin0 -> 402 bytes
-rw-r--r--lit/Modules/ELF/PT_LOAD-empty.yaml26
-rw-r--r--lit/Modules/ELF/PT_LOAD-overlap-PT_INTERP.yaml50
-rw-r--r--lit/Modules/ELF/PT_LOAD-overlap-section.yaml66
-rw-r--r--lit/Modules/ELF/PT_LOAD-overlap.yaml42
-rw-r--r--lit/Modules/ELF/PT_LOAD.yaml79
-rw-r--r--lit/Modules/ELF/base-address.yaml34
-rw-r--r--lit/Modules/ELF/basic-info.yaml27
-rw-r--r--lit/Modules/ELF/build-id-case.yaml (renamed from lit/Modules/build-id-case.yaml)2
-rw-r--r--lit/Modules/ELF/compressed-sections.yaml (renamed from lit/Modules/compressed-sections.yaml)5
-rw-r--r--lit/Modules/ELF/duplicate-section.yaml (renamed from lit/Modules/elf-duplicate-section.yaml)0
-rw-r--r--lit/Modules/ELF/many-sections.s (renamed from lit/Modules/elf-many-sections.s)2
-rw-r--r--lit/Modules/ELF/section-addresses.yaml58
-rw-r--r--lit/Modules/ELF/section-overlap.yaml51
-rw-r--r--lit/Modules/ELF/section-permissions.yaml34
-rw-r--r--lit/Modules/ELF/section-types-edgecases.yaml35
-rw-r--r--lit/Modules/ELF/section-types.yaml (renamed from lit/Modules/elf-section-types.yaml)49
-rw-r--r--lit/Modules/ELF/short-build-id.yaml (renamed from lit/Modules/short-build-id.yaml)0
-rw-r--r--lit/Modules/MachO/lc_build_version.yaml209
-rw-r--r--lit/Modules/MachO/lc_build_version_notools.yaml206
-rw-r--r--lit/Modules/MachO/lc_version_min.yaml (renamed from lit/Modules/lc_version_min.yaml)0
-rw-r--r--lit/Modules/MachO/subsections.yaml126
-rw-r--r--lit/Modules/PECOFF/dep-modules.yaml170
-rw-r--r--lit/Modules/PECOFF/export-dllfunc.yaml172
-rw-r--r--lit/Modules/PECOFF/lit.local.cfg1
-rw-r--r--lit/Modules/PECOFF/sections-names.yaml52
-rw-r--r--lit/Python/crashlog.test99
-rw-r--r--lit/Quit/TestQuitExitCode-30.test2
-rw-r--r--lit/Quit/TestQuitExitCode30.test2
-rw-r--r--lit/Quit/TestQuitExitCodeHexA.test2
-rw-r--r--lit/Quit/lit.local.cfg1
-rw-r--r--lit/Reproducer/Inputs/GDBRemoteCapture.in6
-rw-r--r--lit/Reproducer/Inputs/GDBRemoteReplay.in5
-rw-r--r--lit/Reproducer/Inputs/simple.c19
-rw-r--r--lit/Reproducer/TestDriverOptions.test7
-rw-r--r--lit/Reproducer/TestGDBRemoteRepro.test26
-rw-r--r--lit/Settings/Inputs/EchoCommandsAll.out6
-rw-r--r--lit/Settings/Inputs/EchoCommandsNoComments.out5
-rw-r--r--lit/Settings/Inputs/EchoCommandsNone.out4
-rw-r--r--lit/Settings/Inputs/EchoCommandsQuiet.out2
-rw-r--r--lit/Settings/Inputs/EchoCommandsTest.in2
-rw-r--r--lit/Settings/TestDisableColor.test7
-rw-r--r--lit/Settings/TestDisassemblyFormat.test2
-rw-r--r--lit/Settings/TestEchoCommands.test4
-rw-r--r--lit/Settings/TestSettingsSet.test15
-rw-r--r--lit/Settings/TestSettingsWrite.test32
-rw-r--r--lit/Suite/lit.cfg13
-rw-r--r--lit/Suite/lit.site.cfg.in6
-rw-r--r--lit/Suite/lldbtest.py46
-rw-r--r--lit/SymbolFile/Breakpad/Inputs/basic-elf.yaml33
-rw-r--r--lit/SymbolFile/Breakpad/Inputs/symtab.syms7
-rw-r--r--lit/SymbolFile/Breakpad/symtab.test23
-rw-r--r--lit/SymbolFile/DWARF/apple-index-is-used.cpp2
-rw-r--r--lit/SymbolFile/DWARF/array-sizes.s147
-rw-r--r--lit/SymbolFile/DWARF/childless-compile-unit.s45
-rw-r--r--lit/SymbolFile/DWARF/debug-names-compressed.cpp2
-rw-r--r--lit/SymbolFile/DWARF/dwarf5-index-is-used.cpp2
-rw-r--r--lit/SymbolFile/DWARF/dwarf5-partial-index.cpp4
-rw-r--r--lit/SymbolFile/DWARF/find-basic-function.cpp6
-rw-r--r--lit/SymbolFile/DWARF/find-basic-namespace.cpp6
-rw-r--r--lit/SymbolFile/DWARF/find-basic-type.cpp6
-rw-r--r--lit/SymbolFile/DWARF/find-basic-variable.cpp6
-rw-r--r--lit/SymbolFile/DWARF/find-function-regex.cpp6
-rw-r--r--lit/SymbolFile/DWARF/find-method-local-struct.cpp2
-rw-r--r--lit/SymbolFile/DWARF/find-method.cpp4
-rw-r--r--lit/SymbolFile/DWARF/find-qualified-variable.cpp2
-rw-r--r--lit/SymbolFile/DWARF/find-type-in-function.cpp2
-rw-r--r--lit/SymbolFile/DWARF/find-variable-dwo.cpp4
-rw-r--r--lit/SymbolFile/DWARF/find-variable-file.cpp8
-rw-r--r--lit/SymbolFile/NativePDB/Inputs/ast-functions.lldbinit8
-rw-r--r--lit/SymbolFile/NativePDB/Inputs/ast-types.lldbinit20
-rw-r--r--lit/SymbolFile/NativePDB/Inputs/bitfields.lldbinit5
-rw-r--r--lit/SymbolFile/NativePDB/Inputs/break-by-function.lldbinit6
-rw-r--r--lit/SymbolFile/NativePDB/Inputs/break-by-line.lldbinit3
-rw-r--r--lit/SymbolFile/NativePDB/Inputs/disassembly.lldbinit2
-rw-r--r--lit/SymbolFile/NativePDB/Inputs/function-types-builtins.lldbinit70
-rw-r--r--lit/SymbolFile/NativePDB/Inputs/function-types-calling-conv.lldbinit7
-rw-r--r--lit/SymbolFile/NativePDB/Inputs/function-types-classes.lldbinit14
-rw-r--r--lit/SymbolFile/NativePDB/Inputs/globals-bss.lldbinit3
-rw-r--r--lit/SymbolFile/NativePDB/Inputs/globals-classes.lldbinit16
-rw-r--r--lit/SymbolFile/NativePDB/Inputs/globals-fundamental.lldbinit222
-rw-r--r--lit/SymbolFile/NativePDB/Inputs/local-variables.lldbinit32
-rw-r--r--lit/SymbolFile/NativePDB/Inputs/nested-types.lldbinit13
-rw-r--r--lit/SymbolFile/NativePDB/Inputs/s_constant.lldbinit25
-rw-r--r--lit/SymbolFile/NativePDB/Inputs/s_constant.s971
-rw-r--r--lit/SymbolFile/NativePDB/Inputs/source-list.lldbinit3
-rw-r--r--lit/SymbolFile/NativePDB/Inputs/tag-types.lldbinit8
-rw-r--r--lit/SymbolFile/NativePDB/ast-functions-msvc.cpp7
-rw-r--r--lit/SymbolFile/NativePDB/ast-functions.cpp29
-rw-r--r--lit/SymbolFile/NativePDB/ast-types.cpp131
-rw-r--r--lit/SymbolFile/NativePDB/bitfields.cpp60
-rw-r--r--lit/SymbolFile/NativePDB/break-by-function.cpp57
-rw-r--r--lit/SymbolFile/NativePDB/break-by-line.cpp26
-rw-r--r--lit/SymbolFile/NativePDB/disassembly.cpp38
-rw-r--r--lit/SymbolFile/NativePDB/function-types-builtins.cpp214
-rw-r--r--lit/SymbolFile/NativePDB/function-types-calling-conv.cpp32
-rw-r--r--lit/SymbolFile/NativePDB/function-types-classes.cpp141
-rw-r--r--lit/SymbolFile/NativePDB/global-classes.cpp370
-rw-r--r--lit/SymbolFile/NativePDB/globals-bss.cpp34
-rw-r--r--lit/SymbolFile/NativePDB/globals-fundamental.cpp880
-rw-r--r--lit/SymbolFile/NativePDB/local-variables.cpp161
-rw-r--r--lit/SymbolFile/NativePDB/nested-types.cpp153
-rw-r--r--lit/SymbolFile/NativePDB/s_constant.cpp115
-rw-r--r--lit/SymbolFile/NativePDB/source-list.cpp42
-rw-r--r--lit/SymbolFile/NativePDB/tag-types.cpp235
-rw-r--r--lit/SymbolFile/NativePDB/typedefs.cpp71
-rw-r--r--lit/SymbolFile/PDB/Inputs/AstRestoreTest.cpp55
-rw-r--r--lit/SymbolFile/PDB/Inputs/CallingConventionsTest.cpp20
-rw-r--r--lit/SymbolFile/PDB/Inputs/ClassLayoutTest.cpp111
-rw-r--r--lit/SymbolFile/PDB/Inputs/ExpressionsTest.cpp20
-rw-r--r--lit/SymbolFile/PDB/Inputs/ExpressionsTest0.script7
-rw-r--r--lit/SymbolFile/PDB/Inputs/ExpressionsTest1.script1
-rw-r--r--lit/SymbolFile/PDB/Inputs/ExpressionsTest2.script2
-rw-r--r--lit/SymbolFile/PDB/Inputs/PointerTypeTest.cpp23
-rw-r--r--lit/SymbolFile/PDB/Inputs/SimpleTypesTest.cpp3
-rw-r--r--lit/SymbolFile/PDB/Inputs/UdtLayoutTest.cpp61
-rw-r--r--lit/SymbolFile/PDB/Inputs/UdtLayoutTest.script4
-rw-r--r--lit/SymbolFile/PDB/Inputs/VBases.cpp16
-rw-r--r--lit/SymbolFile/PDB/Inputs/VBases.script7
-rw-r--r--lit/SymbolFile/PDB/ast-restore.test82
-rw-r--r--lit/SymbolFile/PDB/calling-conventions.test10
-rw-r--r--lit/SymbolFile/PDB/class-layout.test92
-rw-r--r--lit/SymbolFile/PDB/compilands.test10
-rw-r--r--lit/SymbolFile/PDB/enums-layout.test72
-rw-r--r--lit/SymbolFile/PDB/expressions.test35
-rw-r--r--lit/SymbolFile/PDB/func-symbols.test16
-rw-r--r--lit/SymbolFile/PDB/function-level-linking.test7
-rw-r--r--lit/SymbolFile/PDB/function-nested-block.test16
-rw-r--r--lit/SymbolFile/PDB/lit.local.cfg1
-rw-r--r--lit/SymbolFile/PDB/pointers.test38
-rw-r--r--lit/SymbolFile/PDB/type-quals.test56
-rw-r--r--lit/SymbolFile/PDB/typedefs.test12
-rw-r--r--lit/SymbolFile/PDB/udt-layout.test51
-rw-r--r--lit/SymbolFile/PDB/variables-locations.test6
-rw-r--r--lit/SymbolFile/PDB/variables.test114
-rw-r--r--lit/SymbolFile/PDB/vbases.test15
-rw-r--r--lit/Unit/lit.cfg.py (renamed from lit/Unit/lit.cfg)9
-rw-r--r--lit/Unit/lit.site.cfg.py.in (renamed from lit/Unit/lit.site.cfg.in)7
-rw-r--r--lit/helper/__init__.py0
-rwxr-xr-xlit/helper/build.py787
-rw-r--r--lit/helper/toolchain.py122
-rw-r--r--lit/lit-lldb-init1
-rw-r--r--lit/lit.cfg174
-rw-r--r--lit/lit.cfg.py75
-rw-r--r--lit/lit.site.cfg.py.in (renamed from lit/lit.site.cfg.in)19
-rw-r--r--lit/tools/lldb-mi/breakpoint/break-insert-enable-pending.test47
-rw-r--r--lit/tools/lldb-mi/breakpoint/break-insert.test5
-rw-r--r--lit/tools/lldb-mi/breakpoint/inputs/break-insert-pending.c6
-rw-r--r--lit/tools/lldb-mi/data/data-info-line.test5
-rw-r--r--lit/tools/lldb-mi/exec/exec-continue.test5
-rw-r--r--lit/tools/lldb-mi/exec/exec-finish.test5
-rw-r--r--lit/tools/lldb-mi/exec/exec-interrupt.test5
-rw-r--r--lit/tools/lldb-mi/exec/exec-next-instruction.test5
-rw-r--r--lit/tools/lldb-mi/exec/exec-next.test5
-rw-r--r--lit/tools/lldb-mi/exec/exec-step-instruction.test5
-rw-r--r--lit/tools/lldb-mi/exec/exec-step.test5
-rw-r--r--lit/tools/lldb-mi/symbol/symbol-list-lines.test9
-rw-r--r--lit/tools/lldb-mi/target/inputs/main.c4
-rw-r--r--lit/tools/lldb-mi/target/inputs/target-select-so-path.py50
-rw-r--r--lit/tools/lldb-mi/target/lit.local.cfg (renamed from lit/Expr/lit.local.cfg)0
-rw-r--r--lit/tools/lldb-mi/target/target-select-so-path.test25
-rw-r--r--lldb.xcodeproj/project.pbxproj1169
-rw-r--r--lldb.xcodeproj/xcshareddata/xcschemes/LLDB.xcscheme1
-rw-r--r--lldb.xcodeproj/xcshareddata/xcschemes/darwin-debug.xcscheme1
-rw-r--r--packages/Python/lldbsuite/support/encoded_file.py2
-rw-r--r--packages/Python/lldbsuite/test/README-TestSuite101
-rw-r--r--packages/Python/lldbsuite/test/api/multithreaded/TestMultithreaded.py2
-rw-r--r--packages/Python/lldbsuite/test/arm/breakpoint-it/TestBreakpointIt.py2
-rw-r--r--packages/Python/lldbsuite/test/benchmarks/disassembly/TestDisassembly.py165
-rw-r--r--packages/Python/lldbsuite/test/benchmarks/disassembly/TestDoAttachThenDisassembly.py70
-rw-r--r--packages/Python/lldbsuite/test/benchmarks/disassembly/TestXcode41Vs42GDBDisassembly.py120
-rw-r--r--packages/Python/lldbsuite/test/configuration.py48
-rw-r--r--packages/Python/lldbsuite/test/decorators.py66
-rw-r--r--packages/Python/lldbsuite/test/dosep.py15
-rw-r--r--packages/Python/lldbsuite/test/dotest.py82
-rw-r--r--packages/Python/lldbsuite/test/dotest_args.py2
-rw-r--r--packages/Python/lldbsuite/test/expression_command/anonymous-struct/TestCallUserAnonTypedef.py1
-rw-r--r--packages/Python/lldbsuite/test/expression_command/call-function/TestCallBuiltinFunction.py53
-rw-r--r--packages/Python/lldbsuite/test/expression_command/call-function/TestCallStopAndContinue.py5
-rw-r--r--packages/Python/lldbsuite/test/expression_command/call-function/TestCallUserDefinedFunction.py4
-rw-r--r--packages/Python/lldbsuite/test/expression_command/char/TestExprsChar.py3
-rw-r--r--packages/Python/lldbsuite/test/expression_command/completion/.categories1
-rw-r--r--packages/Python/lldbsuite/test/expression_command/completion/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/expression_command/completion/TestExprCompletion.py257
-rw-r--r--packages/Python/lldbsuite/test/expression_command/completion/main.cpp35
-rw-r--r--packages/Python/lldbsuite/test/expression_command/completion/other.cpp4
-rw-r--r--packages/Python/lldbsuite/test/expression_command/dont_allow_jit/Makefile6
-rw-r--r--packages/Python/lldbsuite/test/expression_command/dont_allow_jit/TestAllowJIT.py90
-rw-r--r--packages/Python/lldbsuite/test/expression_command/dont_allow_jit/main.c15
-rw-r--r--packages/Python/lldbsuite/test/expression_command/formatters/TestFormatters.py118
-rw-r--r--packages/Python/lldbsuite/test/expression_command/formatters/main.cpp2
-rw-r--r--packages/Python/lldbsuite/test/expression_command/multiline/TestMultilineExpressions.py90
-rw-r--r--packages/Python/lldbsuite/test/expression_command/multiline/main.c6
-rw-r--r--packages/Python/lldbsuite/test/expression_command/options/TestExprOptions.py28
-rw-r--r--packages/Python/lldbsuite/test/expression_command/options/main.cpp4
-rw-r--r--packages/Python/lldbsuite/test/expression_command/persistent_types/TestNestedPersistentTypes.py1
-rw-r--r--packages/Python/lldbsuite/test/expression_command/persistent_types/TestPersistentTypes.py1
-rw-r--r--packages/Python/lldbsuite/test/expression_command/pr35310/TestExprsBug35310.py1
-rw-r--r--packages/Python/lldbsuite/test/expression_command/radar_43822994/Makefile6
-rw-r--r--packages/Python/lldbsuite/test/expression_command/radar_43822994/TestScopedEnumType.py44
-rw-r--r--packages/Python/lldbsuite/test/expression_command/radar_43822994/main.cpp16
-rw-r--r--packages/Python/lldbsuite/test/expression_command/radar_9531204/TestPrintfAfterUp.py1
-rw-r--r--packages/Python/lldbsuite/test/expression_command/radar_9673664/TestExprHelpExamples.py1
-rw-r--r--packages/Python/lldbsuite/test/expression_command/rdar44436068/Makefile3
-rw-r--r--packages/Python/lldbsuite/test/expression_command/rdar44436068/Test128BitsInteger.py4
-rw-r--r--packages/Python/lldbsuite/test/expression_command/rdar44436068/main.c8
-rw-r--r--packages/Python/lldbsuite/test/expression_command/test/TestExprs.py2
-rw-r--r--packages/Python/lldbsuite/test/expression_command/test/TestExprs2.py7
-rw-r--r--packages/Python/lldbsuite/test/expression_command/unwind_expression/TestUnwindExpression.py1
-rw-r--r--packages/Python/lldbsuite/test/functionalities/asan/Makefile2
-rw-r--r--packages/Python/lldbsuite/test/functionalities/asan/TestReportData.py3
-rw-r--r--packages/Python/lldbsuite/test/functionalities/attach_resume/TestAttachResume.py2
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_by_line_and_column/Makefile6
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_by_line_and_column/TestBreakpointByLineAndColumn.py48
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_by_line_and_column/main.c23
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py6
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_ignore_count/TestBreakpointIgnoreCount.py2
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/move_nearest/TestMoveNearest.py6
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/move_nearest/main.cpp2
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/require_hw_breakpoints/Makefile9
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/require_hw_breakpoints/TestRequireHWBreakpoints.py106
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/require_hw_breakpoints/main.c9
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/scripted_bkpt/Makefile6
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/scripted_bkpt/TestScriptedResolver.py199
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/scripted_bkpt/main.c21
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/scripted_bkpt/resolver.py54
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/serialize/TestBreakpointSerialization.py9
-rw-r--r--packages/Python/lldbsuite/test/functionalities/command_script_immediate_output/TestCommandScriptImmediateOutput.py2
-rw-r--r--packages/Python/lldbsuite/test/functionalities/completion/TestCompletion.py57
-rw-r--r--packages/Python/lldbsuite/test/functionalities/conditional_break/TestConditionalBreak.py3
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-cpp/TestDataFormatterCpp.py3
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-script/main.cpp2
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-skip-summary/main.cpp2
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-smart-array/TestDataFormatterSmartArray.py3
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/function/TestLibCxxFunction.py20
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/function/main.cpp21
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/list/TestDataFormatterLibcxxList.py1
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/map/main.cpp2
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/multimap/main.cpp2
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/optional/Makefile7
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/optional/TestDataFormatterLibcxxOptional.py75
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/optional/main.cpp42
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/string/Makefile2
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/string/TestDataFormatterLibcxxString.py8
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/string/main.cpp2
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/variant/Makefile7
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/variant/TestDataFormatterLibcxxVariant.py83
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/variant/main.cpp60
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/vector/TestDataFormatterLibcxxVector.py4
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/iterator/main.cpp2
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/map/main.cpp2
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/string/main.cpp2
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/unique_ptr/TestDataFormatterStdUniquePtr.py1
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-synthval/TestDataFormatterSynthVal.py5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/synthcapping/main.cpp2
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/typedef_array/main.cpp7
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/varscript_formatting/TestDataFormatterVarScriptFormatting.py2
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/varscript_formatting/main.cpp2
-rw-r--r--packages/Python/lldbsuite/test/functionalities/deleted-executable/Makefile (renamed from packages/Python/lldbsuite/test/functionalities/stop-hook/Makefile)0
-rw-r--r--packages/Python/lldbsuite/test/functionalities/deleted-executable/TestDeletedExecutable.py31
-rw-r--r--packages/Python/lldbsuite/test/functionalities/deleted-executable/main.cpp9
-rw-r--r--packages/Python/lldbsuite/test/functionalities/disassembly/TestDisassembleBreakpoint.py3
-rw-r--r--packages/Python/lldbsuite/test/functionalities/embedded_interpreter/TestConvenienceVariables.py108
-rw-r--r--packages/Python/lldbsuite/test/functionalities/embedded_interpreter/main.c6
-rw-r--r--packages/Python/lldbsuite/test/functionalities/exec/TestExec.py6
-rw-r--r--packages/Python/lldbsuite/test/functionalities/expr-entry-bp/Makefile (renamed from packages/Python/lldbsuite/test/expression_command/multiline/Makefile)0
-rw-r--r--packages/Python/lldbsuite/test/functionalities/expr-entry-bp/TestExprEntryBP.py34
-rw-r--r--packages/Python/lldbsuite/test/functionalities/expr-entry-bp/main.c10
-rw-r--r--packages/Python/lldbsuite/test/functionalities/frame-recognizer/Makefile10
-rw-r--r--packages/Python/lldbsuite/test/functionalities/frame-recognizer/TestFrameRecognizer.py117
-rw-r--r--packages/Python/lldbsuite/test/functionalities/frame-recognizer/main.m28
-rw-r--r--packages/Python/lldbsuite/test/functionalities/frame-recognizer/recognizer.py21
-rw-r--r--packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestArmRegisterDefinition.py130
-rw-r--r--packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestNoWatchpointSupportInfo.py64
-rw-r--r--packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestStopPCs.py46
-rw-r--r--packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestTargetXMLArch.py2
-rw-r--r--packages/Python/lldbsuite/test/functionalities/gdb_remote_client/gdbclientutils.py36
-rw-r--r--packages/Python/lldbsuite/test/functionalities/inferior-crashing/TestInferiorCrashing.py25
-rw-r--r--packages/Python/lldbsuite/test/functionalities/inferior-crashing/recursive-inferior/TestRecursiveInferior.py5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/load_unload/TestLoadUnload.py1
-rw-r--r--packages/Python/lldbsuite/test/functionalities/memory-region/Makefile8
-rw-r--r--packages/Python/lldbsuite/test/functionalities/memory-region/TestMemoryRegion.py59
-rw-r--r--packages/Python/lldbsuite/test/functionalities/memory-region/main.cpp6
-rw-r--r--packages/Python/lldbsuite/test/functionalities/memory/cache/TestMemoryCache.py2
-rw-r--r--packages/Python/lldbsuite/test/functionalities/memory/find/TestMemoryFind.py1
-rw-r--r--packages/Python/lldbsuite/test/functionalities/postmortem/elf-core/TestLinuxCore.py50
-rw-r--r--packages/Python/lldbsuite/test/functionalities/postmortem/minidump-new/TestMiniDumpNew.py271
-rw-r--r--packages/Python/lldbsuite/test/functionalities/postmortem/minidump-new/arm-linux.dmpbin0 -> 588 bytes
-rw-r--r--packages/Python/lldbsuite/test/functionalities/postmortem/minidump-new/arm-macos.dmpbin0 -> 588 bytes
-rw-r--r--packages/Python/lldbsuite/test/functionalities/postmortem/minidump-new/arm64-macos.dmpbin0 -> 1016 bytes
-rw-r--r--packages/Python/lldbsuite/test/functionalities/postmortem/minidump-new/regions-linux-map.dmpbin0 -> 1379 bytes
-rw-r--r--packages/Python/lldbsuite/test/functionalities/postmortem/minidump/TestMiniDump.py25
-rw-r--r--packages/Python/lldbsuite/test/functionalities/process_attach/TestProcessAttach.py3
-rw-r--r--packages/Python/lldbsuite/test/functionalities/process_group/TestChangeProcessGroup.py1
-rw-r--r--packages/Python/lldbsuite/test/functionalities/register/intel_avx/TestYMMRegister.py1
-rw-r--r--packages/Python/lldbsuite/test/functionalities/show_location/TestShowLocationDwarf5.py34
-rw-r--r--packages/Python/lldbsuite/test/functionalities/show_location/a.yaml58
-rw-r--r--packages/Python/lldbsuite/test/functionalities/stats_api/TestStatisticsAPI.py9
-rw-r--r--packages/Python/lldbsuite/test/functionalities/step_scripted/Makefile (renamed from packages/Python/lldbsuite/test/functionalities/embedded_interpreter/Makefile)0
-rw-r--r--packages/Python/lldbsuite/test/functionalities/step_scripted/Steps.py37
-rw-r--r--packages/Python/lldbsuite/test/functionalities/step_scripted/TestStepScripted.py41
-rw-r--r--packages/Python/lldbsuite/test/functionalities/step_scripted/main.c10
-rw-r--r--packages/Python/lldbsuite/test/functionalities/stop-hook/TestStopHookCmd.py77
-rw-r--r--packages/Python/lldbsuite/test/functionalities/stop-hook/TestStopHookMechanism.py128
-rw-r--r--packages/Python/lldbsuite/test/functionalities/stop-hook/multiple_threads/TestStopHookMultipleThreads.py100
-rw-r--r--packages/Python/lldbsuite/test/functionalities/tail_call_frames/ambiguous_tail_call_seq1/Makefile4
-rw-r--r--packages/Python/lldbsuite/test/functionalities/tail_call_frames/ambiguous_tail_call_seq1/TestAmbiguousTailCallSeq1.py5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/tail_call_frames/ambiguous_tail_call_seq1/main.cpp33
-rw-r--r--packages/Python/lldbsuite/test/functionalities/tail_call_frames/ambiguous_tail_call_seq2/Makefile4
-rw-r--r--packages/Python/lldbsuite/test/functionalities/tail_call_frames/ambiguous_tail_call_seq2/TestAmbiguousTailCallSeq2.py5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/tail_call_frames/ambiguous_tail_call_seq2/main.cpp38
-rw-r--r--packages/Python/lldbsuite/test/functionalities/tail_call_frames/disambiguate_call_site/Makefile4
-rw-r--r--packages/Python/lldbsuite/test/functionalities/tail_call_frames/disambiguate_call_site/TestDisambiguateCallSite.py5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/tail_call_frames/disambiguate_call_site/main.cpp32
-rw-r--r--packages/Python/lldbsuite/test/functionalities/tail_call_frames/disambiguate_paths_to_common_sink/Makefile4
-rw-r--r--packages/Python/lldbsuite/test/functionalities/tail_call_frames/disambiguate_paths_to_common_sink/TestDisambiguatePathsToCommonSink.py5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/tail_call_frames/disambiguate_paths_to_common_sink/main.cpp38
-rw-r--r--packages/Python/lldbsuite/test/functionalities/tail_call_frames/disambiguate_tail_call_seq/Makefile4
-rw-r--r--packages/Python/lldbsuite/test/functionalities/tail_call_frames/disambiguate_tail_call_seq/TestDisambiguateTailCallSeq.py5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/tail_call_frames/disambiguate_tail_call_seq/main.cpp31
-rw-r--r--packages/Python/lldbsuite/test/functionalities/tail_call_frames/inlining_and_tail_calls/Makefile4
-rw-r--r--packages/Python/lldbsuite/test/functionalities/tail_call_frames/inlining_and_tail_calls/TestInliningAndTailCalls.py5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/tail_call_frames/inlining_and_tail_calls/main.cpp50
-rw-r--r--packages/Python/lldbsuite/test/functionalities/tail_call_frames/sbapi_support/Makefile4
-rw-r--r--packages/Python/lldbsuite/test/functionalities/tail_call_frames/sbapi_support/TestTailCallFrameSBAPI.py73
-rw-r--r--packages/Python/lldbsuite/test/functionalities/tail_call_frames/sbapi_support/main.cpp25
-rw-r--r--packages/Python/lldbsuite/test/functionalities/tail_call_frames/thread_step_out_message/Makefile4
-rw-r--r--packages/Python/lldbsuite/test/functionalities/tail_call_frames/thread_step_out_message/TestArtificialFrameStepOutMessage.py5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/tail_call_frames/thread_step_out_message/main.cpp28
-rw-r--r--packages/Python/lldbsuite/test/functionalities/tail_call_frames/thread_step_out_or_return/Makefile4
-rw-r--r--packages/Python/lldbsuite/test/functionalities/tail_call_frames/thread_step_out_or_return/TestSteppingOutWithArtificialFrames.py95
-rw-r--r--packages/Python/lldbsuite/test/functionalities/tail_call_frames/thread_step_out_or_return/main.cpp25
-rw-r--r--packages/Python/lldbsuite/test/functionalities/tail_call_frames/unambiguous_sequence/Makefile4
-rw-r--r--packages/Python/lldbsuite/test/functionalities/tail_call_frames/unambiguous_sequence/TestUnambiguousTailCalls.py5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/tail_call_frames/unambiguous_sequence/main.cpp30
-rw-r--r--packages/Python/lldbsuite/test/functionalities/target_create_deps/Makefile16
-rw-r--r--packages/Python/lldbsuite/test/functionalities/target_create_deps/TestTargetCreateDeps.py100
-rw-r--r--packages/Python/lldbsuite/test/functionalities/target_create_deps/a.cpp13
-rw-r--r--packages/Python/lldbsuite/test/functionalities/target_create_deps/a.mk9
-rw-r--r--packages/Python/lldbsuite/test/functionalities/target_create_deps/main.cpp17
-rw-r--r--packages/Python/lldbsuite/test/functionalities/target_var/Makefile10
-rw-r--r--packages/Python/lldbsuite/test/functionalities/target_var/TestTargetVar.py23
-rw-r--r--packages/Python/lldbsuite/test/functionalities/target_var/globals.c6
-rw-r--r--packages/Python/lldbsuite/test/functionalities/target_var/globals.ll42
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/backtrace_limit/Makefile6
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/backtrace_limit/TestBacktraceLimit.py31
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/backtrace_limit/main.cpp13
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/crash_during_step/TestCrashDuringStep.py1
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/create_after_attach/TestCreateAfterAttach.py2
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/exit_during_break/TestExitDuringBreak.py3
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/exit_during_step/TestExitDuringStep.py3
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/jump/TestThreadJump.py1
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/multi_break/TestMultipleBreakpoints.py4
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/num_threads/TestNumThreads.py2
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/state/TestThreadStates.py25
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/step_out/TestThreadStepOut.py3
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/thread_exit/TestThreadExit.py2
-rw-r--r--packages/Python/lldbsuite/test/functionalities/watchpoint/multiple_hits/TestMultipleHits.py1
-rw-r--r--packages/Python/lldbsuite/test/help/TestHelp.py11
-rw-r--r--packages/Python/lldbsuite/test/lang/c/anonymous/TestAnonymous.py1
-rw-r--r--packages/Python/lldbsuite/test/lang/c/bitfields/TestBitfields.py32
-rw-r--r--packages/Python/lldbsuite/test/lang/c/bitfields/main.c15
-rw-r--r--packages/Python/lldbsuite/test/lang/c/conflicting-symbol/TestConflictingSymbol.py1
-rw-r--r--packages/Python/lldbsuite/test/lang/c/inlines/TestRedefinitionsInInlines.py10
-rw-r--r--packages/Python/lldbsuite/test/lang/c/local_variables/Makefile7
-rw-r--r--packages/Python/lldbsuite/test/lang/c/local_variables/TestLocalVariables.py55
-rw-r--r--packages/Python/lldbsuite/test/lang/c/local_variables/main.c19
-rw-r--r--packages/Python/lldbsuite/test/lang/c/shared_lib/TestSharedLib.py2
-rw-r--r--packages/Python/lldbsuite/test/lang/c/strings/TestCStrings.py1
-rw-r--r--packages/Python/lldbsuite/test/lang/c/struct_types/TestStructTypes.py5
-rw-r--r--packages/Python/lldbsuite/test/lang/c/unicode/TestUnicodeSymbols.py1
-rw-r--r--packages/Python/lldbsuite/test/lang/c/vla/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/lang/c/vla/TestVLA.py27
-rw-r--r--packages/Python/lldbsuite/test/lang/c/vla/main.c15
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/call-function/TestCallCPPFunction.py3
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/chained-calls/TestCppChainedCalls.py1
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/class-template-parameter-pack/TestClassTemplateParameterPack.py2
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/class_static/TestStaticVariables.py4
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/global_operators/TestCppGlobalOperators.py2
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/lambdas/TestLambdas.py5
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/llvm-style/TestLLVMStyle.py5
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/namespace/TestNamespaceLookup.py19
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/namespace_conflicts/TestNamespaceConflicts.py5
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/overloaded-functions/TestOverloadedFunctions.py3
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/rvalue-references/TestRvalueReferences.py3
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/scope/TestCppScope.py2
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/static_methods/TestCPPStaticMethods.py1
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/std-function-step-into-callable/Makefile7
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/std-function-step-into-callable/TestStdFunctionStepIntoCallable.py71
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/std-function-step-into-callable/main.cpp38
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/stl/TestSTL.py1
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/template/TestTemplateArgs.py3
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/type_lookup/TestCppTypeLookup.py24
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/type_lookup/main.cpp16
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/unicode-literals/TestUnicodeLiterals.py9
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/virtual/TestVirtual.py1
-rw-r--r--packages/Python/lldbsuite/test/lang/go/expressions/TestExpressions.py123
-rw-r--r--packages/Python/lldbsuite/test/lang/go/expressions/main.go21
-rw-r--r--packages/Python/lldbsuite/test/lang/go/formatters/TestGoFormatters.py76
-rw-r--r--packages/Python/lldbsuite/test/lang/go/formatters/main.go9
-rw-r--r--packages/Python/lldbsuite/test/lang/go/goroutines/TestGoroutines.py104
-rw-r--r--packages/Python/lldbsuite/test/lang/go/goroutines/main.go89
-rw-r--r--packages/Python/lldbsuite/test/lang/go/runtime/TestGoLanguageRuntime80
-rw-r--r--packages/Python/lldbsuite/test/lang/go/runtime/main.go38
-rw-r--r--packages/Python/lldbsuite/test/lang/go/types/TestGoASTContext.py145
-rw-r--r--packages/Python/lldbsuite/test/lang/go/types/main.go47
-rw-r--r--packages/Python/lldbsuite/test/lang/mixed/TestMixedLanguages.py2
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/exceptions/Makefile9
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/exceptions/TestObjCExceptions.py205
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/exceptions/main.mm63
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/modules-inline-functions/TestModulesInlineFunctions.py17
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/real-definition/Bar.h2
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/real-definition/Foo.h2
-rw-r--r--packages/Python/lldbsuite/test/lldbinline.py2
-rw-r--r--packages/Python/lldbsuite/test/lldbtest.py188
-rw-r--r--packages/Python/lldbsuite/test/lldbutil.py46
-rw-r--r--packages/Python/lldbsuite/test/macosx/function-starts/Makefile10
-rw-r--r--packages/Python/lldbsuite/test/macosx/function-starts/TestFunctionStarts.py76
-rw-r--r--packages/Python/lldbsuite/test/macosx/function-starts/main.cpp26
-rw-r--r--packages/Python/lldbsuite/test/macosx/load-kext/TestLoadKext.py38
-rw-r--r--packages/Python/lldbsuite/test/macosx/load-kext/mykext.yaml222
-rw-r--r--packages/Python/lldbsuite/test/macosx/nslog/TestDarwinNSLogOutput.py3
-rw-r--r--packages/Python/lldbsuite/test/macosx/queues/TestQueues.py18
-rw-r--r--packages/Python/lldbsuite/test/macosx/queues/main.c48
-rw-r--r--packages/Python/lldbsuite/test/macosx/safe-to-func-call/main.c1
-rw-r--r--packages/Python/lldbsuite/test/macosx/universal/Makefile18
-rw-r--r--packages/Python/lldbsuite/test/macosx/universal/TestUniversal.py100
-rw-r--r--packages/Python/lldbsuite/test/make/Makefile.rules91
-rw-r--r--packages/Python/lldbsuite/test/python_api/event/TestEvents.py2
-rw-r--r--packages/Python/lldbsuite/test/python_api/frame/TestFrames.py1
-rw-r--r--packages/Python/lldbsuite/test/python_api/hello_world/TestHelloWorld.py41
-rw-r--r--packages/Python/lldbsuite/test/python_api/hello_world/main.c24
-rw-r--r--packages/Python/lldbsuite/test/python_api/name_lookup/main.cpp2
-rw-r--r--packages/Python/lldbsuite/test/python_api/sbvalue_persist/main.cpp2
-rw-r--r--packages/Python/lldbsuite/test/python_api/value/TestValueAPI.py3
-rw-r--r--packages/Python/lldbsuite/test/python_api/watchpoint/watchlocation/TestTargetWatchAddress.py1
-rw-r--r--packages/Python/lldbsuite/test/settings/TestSettings.py6
-rw-r--r--packages/Python/lldbsuite/test/source-manager/TestSourceManager.py32
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-mi/interpreter/TestMiInterpreterExec.py8
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-mi/lldbmi_testcase.py10
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-mi/startup_options/TestMiStartupOptions.py23
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-mi/startup_options/start_script_error1
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-mi/syntax/TestMiSyntax.py2
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-server/TestAppleSimulatorOSType.py11
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteGPacket.py1
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-vscode/.categories1
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-vscode/attach/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-vscode/attach/TestVSCode_attach.py192
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-vscode/attach/main.c8
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-vscode/breakpoint/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-vscode/breakpoint/TestVSCode_setBreakpoints.py211
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-vscode/breakpoint/TestVSCode_setExceptionBreakpoints.py51
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-vscode/breakpoint/TestVSCode_setFunctionBreakpoints.py167
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-vscode/breakpoint/main.cpp27
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-vscode/launch/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-vscode/launch/TestVSCode_launch.py352
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-vscode/launch/main.c15
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-vscode/lldbvscode_testcase.py288
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-vscode/stackTrace/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-vscode/stackTrace/TestVSCode_stackTrace.py160
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-vscode/stackTrace/main.c13
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-vscode/step/Makefile (renamed from packages/Python/lldbsuite/test/functionalities/stop-hook/multiple_threads/Makefile)3
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-vscode/step/TestVSCode_step.py79
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-vscode/step/main.cpp16
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-vscode/variables/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-vscode/variables/TestVSCode_variables.py225
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-vscode/variables/main.cpp18
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-vscode/vscode.py1084
-rw-r--r--resources/LLDB-Info.plist.in24
-rw-r--r--scripts/CMakeLists.txt45
-rw-r--r--scripts/Python/python-extensions.swig82
-rw-r--r--scripts/Python/python-swigsafecast.swig23
-rw-r--r--scripts/Python/python-typemaps.swig269
-rw-r--r--scripts/Python/python-wrapper.swig143
-rw-r--r--scripts/Xcode/lldbbuild.py2
-rw-r--r--scripts/Xcode/package-clang-headers.py3
-rw-r--r--scripts/analyze-project-deps.py38
-rwxr-xr-xscripts/framework-header-fix.sh14
-rw-r--r--scripts/interface/SBBreakpoint.i7
-rw-r--r--scripts/interface/SBCommandInterpreter.i7
-rw-r--r--scripts/interface/SBDebugger.i54
-rw-r--r--scripts/interface/SBExpressionOptions.i8
-rw-r--r--scripts/interface/SBFrame.i11
-rw-r--r--scripts/interface/SBInitializerOptions.i24
-rw-r--r--scripts/interface/SBMemoryRegionInfo.i3
-rw-r--r--scripts/interface/SBModule.i3
-rw-r--r--scripts/interface/SBStructuredData.i2
-rw-r--r--scripts/interface/SBTarget.i85
-rw-r--r--scripts/interface/SBThread.i18
-rw-r--r--scripts/interface/SBThreadPlan.i3
-rw-r--r--scripts/interface/SBVariablesOptions.i8
-rw-r--r--scripts/lldb.swig11
-rw-r--r--scripts/utilsOsType.py5
-rw-r--r--source/API/CMakeLists.txt44
-rw-r--r--source/API/SBAddress.cpp7
-rw-r--r--source/API/SBAttachInfo.cpp9
-rw-r--r--source/API/SBBreakpoint.cpp47
-rw-r--r--source/API/SBBreakpointName.cpp8
-rw-r--r--source/API/SBBreakpointOptionCommon.cpp4
-rw-r--r--source/API/SBBroadcaster.cpp2
-rw-r--r--source/API/SBCommandInterpreter.cpp47
-rw-r--r--source/API/SBCommandReturnObject.cpp8
-rw-r--r--source/API/SBCompileUnit.cpp26
-rw-r--r--source/API/SBData.cpp2
-rw-r--r--source/API/SBDebugger.cpp43
-rw-r--r--source/API/SBDeclaration.cpp8
-rw-r--r--source/API/SBError.cpp20
-rw-r--r--source/API/SBEvent.cpp2
-rw-r--r--source/API/SBExpressionOptions.cpp9
-rw-r--r--source/API/SBFileSpec.cpp25
-rw-r--r--source/API/SBFileSpecList.cpp8
-rw-r--r--source/API/SBFrame.cpp71
-rw-r--r--source/API/SBHostOS.cpp6
-rw-r--r--source/API/SBInitializerOptions.cpp49
-rw-r--r--source/API/SBLaunchInfo.cpp7
-rw-r--r--source/API/SBLineEntry.cpp12
-rw-r--r--source/API/SBListener.cpp4
-rw-r--r--source/API/SBMemoryRegionInfoList.cpp34
-rw-r--r--source/API/SBModule.cpp43
-rw-r--r--source/API/SBModuleSpec.cpp3
-rw-r--r--source/API/SBPlatform.cpp18
-rw-r--r--source/API/SBProcess.cpp59
-rw-r--r--source/API/SBProcessInfo.cpp4
-rw-r--r--source/API/SBQueue.cpp6
-rw-r--r--source/API/SBSection.cpp3
-rw-r--r--source/API/SBSourceManager.cpp2
-rw-r--r--source/API/SBStream.cpp29
-rw-r--r--source/API/SBStringList.cpp2
-rw-r--r--source/API/SBStructuredData.cpp33
-rw-r--r--source/API/SBSymbolContext.cpp35
-rw-r--r--source/API/SBSymbolContextList.cpp12
-rw-r--r--source/API/SBTarget.cpp155
-rw-r--r--source/API/SBThread.cpp118
-rw-r--r--source/API/SBThreadPlan.cpp102
-rw-r--r--source/API/SBType.cpp41
-rw-r--r--source/API/SBTypeCategory.cpp4
-rw-r--r--source/API/SBTypeEnumMember.cpp4
-rw-r--r--source/API/SBTypeFilter.cpp6
-rw-r--r--source/API/SBTypeFormat.cpp6
-rw-r--r--source/API/SBTypeNameSpecifier.cpp6
-rw-r--r--source/API/SBTypeSummary.cpp10
-rw-r--r--source/API/SBTypeSynthetic.cpp6
-rw-r--r--source/API/SBValue.cpp7
-rw-r--r--source/API/SBValueList.cpp14
-rw-r--r--source/API/SBVariablesOptions.cpp29
-rw-r--r--source/API/SystemInitializerFull.cpp75
-rw-r--r--source/API/SystemInitializerFull.h2
-rw-r--r--source/Breakpoint/Breakpoint.cpp12
-rw-r--r--source/Breakpoint/BreakpointID.cpp4
-rw-r--r--source/Breakpoint/BreakpointIDList.cpp4
-rw-r--r--source/Breakpoint/BreakpointList.cpp173
-rw-r--r--source/Breakpoint/BreakpointLocation.cpp4
-rw-r--r--source/Breakpoint/BreakpointLocationCollection.cpp4
-rw-r--r--source/Breakpoint/BreakpointLocationList.cpp4
-rw-r--r--source/Breakpoint/BreakpointName.cpp4
-rw-r--r--source/Breakpoint/BreakpointOptions.cpp4
-rw-r--r--source/Breakpoint/BreakpointResolver.cpp277
-rw-r--r--source/Breakpoint/BreakpointResolverAddress.cpp10
-rw-r--r--source/Breakpoint/BreakpointResolverFileLine.cpp51
-rw-r--r--source/Breakpoint/BreakpointResolverFileRegex.cpp8
-rw-r--r--source/Breakpoint/BreakpointResolverName.cpp31
-rw-r--r--source/Breakpoint/BreakpointResolverScripted.cpp189
-rw-r--r--source/Breakpoint/BreakpointSite.cpp4
-rw-r--r--source/Breakpoint/BreakpointSiteList.cpp4
-rw-r--r--source/Breakpoint/CMakeLists.txt1
-rw-r--r--source/Breakpoint/Stoppoint.cpp4
-rw-r--r--source/Breakpoint/StoppointCallbackContext.cpp4
-rw-r--r--source/Breakpoint/StoppointLocation.cpp4
-rw-r--r--source/Breakpoint/Watchpoint.cpp9
-rw-r--r--source/Breakpoint/WatchpointList.cpp4
-rw-r--r--source/Breakpoint/WatchpointOptions.cpp4
-rw-r--r--source/Commands/CMakeLists.txt1
-rw-r--r--source/Commands/CommandCompletions.cpp56
-rw-r--r--source/Commands/CommandObjectApropos.cpp4
-rw-r--r--source/Commands/CommandObjectApropos.h4
-rw-r--r--source/Commands/CommandObjectBreakpoint.cpp228
-rw-r--r--source/Commands/CommandObjectBreakpoint.h4
-rw-r--r--source/Commands/CommandObjectBreakpointCommand.cpp31
-rw-r--r--source/Commands/CommandObjectBreakpointCommand.h4
-rw-r--r--source/Commands/CommandObjectBugreport.cpp13
-rw-r--r--source/Commands/CommandObjectBugreport.h4
-rw-r--r--source/Commands/CommandObjectCommands.cpp82
-rw-r--r--source/Commands/CommandObjectCommands.h4
-rw-r--r--source/Commands/CommandObjectDisassemble.cpp36
-rw-r--r--source/Commands/CommandObjectDisassemble.h1
-rw-r--r--source/Commands/CommandObjectExpression.cpp104
-rw-r--r--source/Commands/CommandObjectExpression.h9
-rw-r--r--source/Commands/CommandObjectFrame.cpp414
-rw-r--r--source/Commands/CommandObjectGUI.cpp4
-rw-r--r--source/Commands/CommandObjectGUI.h4
-rw-r--r--source/Commands/CommandObjectHelp.cpp21
-rw-r--r--source/Commands/CommandObjectHelp.h4
-rw-r--r--source/Commands/CommandObjectLanguage.h4
-rw-r--r--source/Commands/CommandObjectLog.cpp29
-rw-r--r--source/Commands/CommandObjectLog.h4
-rw-r--r--source/Commands/CommandObjectMemory.cpp101
-rw-r--r--source/Commands/CommandObjectMemory.h4
-rw-r--r--source/Commands/CommandObjectMultiword.cpp11
-rw-r--r--source/Commands/CommandObjectPlatform.cpp124
-rw-r--r--source/Commands/CommandObjectPlatform.h4
-rw-r--r--source/Commands/CommandObjectPlugin.cpp7
-rw-r--r--source/Commands/CommandObjectPlugin.h4
-rw-r--r--source/Commands/CommandObjectProcess.cpp62
-rw-r--r--source/Commands/CommandObjectProcess.h4
-rw-r--r--source/Commands/CommandObjectQuit.cpp15
-rw-r--r--source/Commands/CommandObjectQuit.h4
-rw-r--r--source/Commands/CommandObjectRegister.cpp12
-rw-r--r--source/Commands/CommandObjectRegister.h4
-rw-r--r--source/Commands/CommandObjectReproducer.cpp97
-rw-r--r--source/Commands/CommandObjectReproducer.h31
-rw-r--r--source/Commands/CommandObjectSettings.cpp240
-rw-r--r--source/Commands/CommandObjectSettings.h4
-rw-r--r--source/Commands/CommandObjectSource.cpp52
-rw-r--r--source/Commands/CommandObjectSource.h4
-rw-r--r--source/Commands/CommandObjectTarget.cpp376
-rw-r--r--source/Commands/CommandObjectThread.cpp187
-rw-r--r--source/Commands/CommandObjectThread.h4
-rw-r--r--source/Commands/CommandObjectType.cpp132
-rw-r--r--source/Commands/CommandObjectType.h4
-rw-r--r--source/Commands/CommandObjectVersion.cpp4
-rw-r--r--source/Commands/CommandObjectVersion.h4
-rw-r--r--source/Commands/CommandObjectWatchpoint.cpp26
-rw-r--r--source/Commands/CommandObjectWatchpoint.h4
-rw-r--r--source/Commands/CommandObjectWatchpointCommand.cpp25
-rw-r--r--source/Commands/CommandObjectWatchpointCommand.h4
-rw-r--r--source/Core/Address.cpp59
-rw-r--r--source/Core/AddressRange.cpp12
-rw-r--r--source/Core/AddressResolverFileLine.cpp24
-rw-r--r--source/Core/AddressResolverName.cpp28
-rw-r--r--source/Core/CMakeLists.txt12
-rw-r--r--source/Core/Communication.cpp28
-rw-r--r--source/Core/Debugger.cpp224
-rw-r--r--source/Core/Disassembler.cpp56
-rw-r--r--source/Core/DumpDataExtractor.cpp34
-rw-r--r--source/Core/DumpRegisterValue.cpp2
-rw-r--r--source/Core/DynamicLoader.cpp24
-rw-r--r--source/Core/EmulateInstruction.cpp20
-rw-r--r--source/Core/FileLineResolver.cpp13
-rw-r--r--source/Core/FileSpecList.cpp6
-rw-r--r--source/Core/FormatEntity.cpp75
-rw-r--r--source/Core/Highlighter.cpp81
-rw-r--r--source/Core/IOHandler.cpp88
-rw-r--r--source/Core/Mangled.cpp186
-rw-r--r--source/Core/Module.cpp196
-rw-r--r--source/Core/ModuleList.cpp108
-rw-r--r--source/Core/Opcode.cpp33
-rw-r--r--source/Core/PluginManager.cpp62
-rw-r--r--source/Core/RichManglingContext.cpp175
-rw-r--r--source/Core/SearchFilter.cpp119
-rw-r--r--source/Core/Section.cpp28
-rw-r--r--source/Core/SourceManager.cpp177
-rw-r--r--source/Core/StreamAsynchronousIO.cpp4
-rw-r--r--source/Core/StreamFile.cpp19
-rw-r--r--source/Core/UserSettingsController.cpp2
-rw-r--r--source/Core/Value.cpp62
-rw-r--r--source/Core/ValueObject.cpp153
-rw-r--r--source/Core/ValueObjectCast.cpp8
-rw-r--r--source/Core/ValueObjectChild.cpp36
-rw-r--r--source/Core/ValueObjectConstResult.cpp20
-rw-r--r--source/Core/ValueObjectConstResultChild.cpp7
-rw-r--r--source/Core/ValueObjectConstResultImpl.cpp24
-rw-r--r--source/Core/ValueObjectDynamicValue.cpp15
-rw-r--r--source/Core/ValueObjectList.cpp8
-rw-r--r--source/Core/ValueObjectMemory.cpp22
-rw-r--r--source/Core/ValueObjectRegister.cpp23
-rw-r--r--source/Core/ValueObjectSyntheticFilter.cpp16
-rw-r--r--source/Core/ValueObjectVariable.cpp31
-rw-r--r--source/DataFormatters/CXXFunctionPointer.cpp2
-rw-r--r--source/DataFormatters/DataVisualization.cpp8
-rw-r--r--source/DataFormatters/DumpValueObjectOptions.cpp6
-rw-r--r--source/DataFormatters/FormatCache.cpp4
-rw-r--r--source/DataFormatters/FormatClasses.cpp4
-rw-r--r--source/DataFormatters/FormatManager.cpp18
-rw-r--r--source/DataFormatters/FormattersHelpers.cpp4
-rw-r--r--source/DataFormatters/LanguageCategory.cpp4
-rw-r--r--source/DataFormatters/StringPrinter.cpp2
-rw-r--r--source/DataFormatters/TypeCategory.cpp9
-rw-r--r--source/DataFormatters/TypeCategoryMap.cpp7
-rw-r--r--source/DataFormatters/TypeFormat.cpp29
-rw-r--r--source/DataFormatters/TypeSummary.cpp6
-rw-r--r--source/DataFormatters/TypeSynthetic.cpp4
-rw-r--r--source/DataFormatters/TypeValidator.cpp4
-rw-r--r--source/DataFormatters/ValueObjectPrinter.cpp16
-rw-r--r--source/DataFormatters/VectorType.cpp22
-rw-r--r--source/Expression/DWARFExpression.cpp38
-rw-r--r--source/Expression/ExpressionSourceCode.cpp9
-rw-r--r--source/Expression/FunctionCaller.cpp6
-rw-r--r--source/Expression/IRDynamicChecks.cpp4
-rw-r--r--source/Expression/IRExecutionUnit.cpp21
-rw-r--r--source/Expression/IRInterpreter.cpp34
-rw-r--r--source/Expression/IRMemoryMap.cpp19
-rw-r--r--source/Expression/LLVMUserExpression.cpp3
-rw-r--r--source/Expression/Materializer.cpp21
-rw-r--r--source/Expression/REPL.cpp23
-rw-r--r--source/Expression/UtilityFunction.cpp2
-rw-r--r--source/Host/CMakeLists.txt13
-rw-r--r--source/Host/android/HostInfoAndroid.cpp21
-rw-r--r--source/Host/common/Editline.cpp58
-rw-r--r--source/Host/common/File.cpp132
-rw-r--r--source/Host/common/FileCache.cpp8
-rw-r--r--source/Host/common/FileSystem.cpp390
-rw-r--r--source/Host/common/Host.cpp19
-rw-r--r--source/Host/common/HostInfoBase.cpp7
-rw-r--r--source/Host/common/HostNativeThreadBase.cpp4
-rw-r--r--source/Host/common/HostThread.cpp2
-rw-r--r--source/Host/common/MainLoop.cpp4
-rw-r--r--source/Host/common/MonitoringProcessLauncher.cpp20
-rw-r--r--source/Host/common/NativeBreakpoint.cpp109
-rw-r--r--source/Host/common/NativeBreakpointList.cpp229
-rw-r--r--source/Host/common/NativeProcessProtocol.cpp312
-rw-r--r--source/Host/common/NativeRegisterContext.cpp2
-rw-r--r--source/Host/common/NativeThreadProtocol.cpp1
-rw-r--r--source/Host/common/ProcessRunLock.cpp2
-rw-r--r--source/Host/common/PseudoTerminal.cpp31
-rw-r--r--source/Host/common/SocketAddress.cpp4
-rw-r--r--source/Host/common/SoftwareBreakpoint.cpp350
-rw-r--r--source/Host/common/StringConvert.cpp4
-rw-r--r--source/Host/common/Symbols.cpp256
-rw-r--r--source/Host/common/TaskPool.cpp6
-rw-r--r--source/Host/common/XML.cpp11
-rw-r--r--source/Host/freebsd/Host.cpp10
-rw-r--r--source/Host/freebsd/HostInfoFreeBSD.cpp2
-rw-r--r--source/Host/linux/Host.cpp11
-rw-r--r--source/Host/linux/HostInfoLinux.cpp12
-rw-r--r--source/Host/macosx/Symbols.cpp72
-rw-r--r--source/Host/macosx/cfcpp/CFCMutableArray.cpp6
-rw-r--r--source/Host/macosx/cfcpp/CFCMutableSet.cpp6
-rw-r--r--source/Host/macosx/objcxx/Host.mm58
-rw-r--r--source/Host/macosx/objcxx/HostInfoMacOSX.mm20
-rw-r--r--source/Host/netbsd/Host.cpp6
-rw-r--r--source/Host/netbsd/HostInfoNetBSD.cpp2
-rw-r--r--source/Host/openbsd/Host.cpp4
-rw-r--r--source/Host/posix/ConnectionFileDescriptorPosix.cpp4
-rw-r--r--source/Host/posix/FileSystem.cpp9
-rw-r--r--source/Host/posix/HostInfoPosix.cpp4
-rw-r--r--source/Host/posix/HostProcessPosix.cpp2
-rw-r--r--source/Host/posix/PipePosix.cpp9
-rw-r--r--source/Host/posix/ProcessLauncherPosixFork.cpp2
-rw-r--r--source/Host/windows/FileSystem.cpp11
-rw-r--r--source/Host/windows/Host.cpp18
-rw-r--r--source/Host/windows/HostInfoWindows.cpp8
-rw-r--r--source/Host/windows/HostProcessWindows.cpp2
-rw-r--r--source/Host/windows/HostThreadWindows.cpp4
-rw-r--r--source/Host/windows/PipeWindows.cpp79
-rw-r--r--source/Host/windows/ProcessLauncherWindows.cpp3
-rw-r--r--source/Initialization/SystemInitializerCommon.cpp20
-rw-r--r--source/Initialization/SystemLifetimeManager.cpp10
-rw-r--r--source/Interpreter/CMakeLists.txt4
-rw-r--r--source/Interpreter/CommandAlias.cpp3
-rw-r--r--source/Interpreter/CommandInterpreter.cpp484
-rw-r--r--source/Interpreter/CommandObject.cpp15
-rw-r--r--source/Interpreter/CommandObjectRegexCommand.cpp4
-rw-r--r--source/Interpreter/CommandObjectScript.cpp4
-rw-r--r--source/Interpreter/CommandObjectScript.h4
-rw-r--r--source/Interpreter/CommandReturnObject.cpp4
-rw-r--r--source/Interpreter/OptionArgParser.cpp16
-rw-r--r--source/Interpreter/OptionGroupArchitecture.cpp4
-rw-r--r--source/Interpreter/OptionGroupBoolean.cpp6
-rw-r--r--source/Interpreter/OptionGroupFile.cpp8
-rw-r--r--source/Interpreter/OptionGroupFormat.cpp10
-rw-r--r--source/Interpreter/OptionGroupOutputFile.cpp10
-rw-r--r--source/Interpreter/OptionGroupPlatform.cpp22
-rw-r--r--source/Interpreter/OptionGroupString.cpp6
-rw-r--r--source/Interpreter/OptionGroupUInt64.cpp6
-rw-r--r--source/Interpreter/OptionGroupUUID.cpp8
-rw-r--r--source/Interpreter/OptionGroupValueObjectDisplay.cpp44
-rw-r--r--source/Interpreter/OptionGroupVariable.cpp33
-rw-r--r--source/Interpreter/OptionGroupWatchpoint.cpp26
-rw-r--r--source/Interpreter/OptionValue.cpp4
-rw-r--r--source/Interpreter/OptionValueArch.cpp6
-rw-r--r--source/Interpreter/OptionValueArgs.cpp4
-rw-r--r--source/Interpreter/OptionValueArray.cpp32
-rw-r--r--source/Interpreter/OptionValueBoolean.cpp4
-rw-r--r--source/Interpreter/OptionValueChar.cpp4
-rw-r--r--source/Interpreter/OptionValueDictionary.cpp20
-rw-r--r--source/Interpreter/OptionValueEnumeration.cpp24
-rw-r--r--source/Interpreter/OptionValueFileSpec.cpp12
-rw-r--r--source/Interpreter/OptionValueFileSpecLIst.cpp32
-rw-r--r--source/Interpreter/OptionValueFormat.cpp4
-rw-r--r--source/Interpreter/OptionValueFormatEntity.cpp24
-rw-r--r--source/Interpreter/OptionValueLanguage.cpp7
-rw-r--r--source/Interpreter/OptionValuePathMappings.cpp9
-rw-r--r--source/Interpreter/OptionValueProperties.cpp14
-rw-r--r--source/Interpreter/OptionValueRegex.cpp4
-rw-r--r--source/Interpreter/OptionValueSInt64.cpp4
-rw-r--r--source/Interpreter/OptionValueString.cpp4
-rw-r--r--source/Interpreter/OptionValueUInt64.cpp4
-rw-r--r--source/Interpreter/OptionValueUUID.cpp4
-rw-r--r--source/Interpreter/Options.cpp39
-rw-r--r--source/Interpreter/Property.cpp13
-rw-r--r--source/Plugins/ABI/MacOSX-arm/ABIMacOSX_arm.cpp46
-rw-r--r--source/Plugins/ABI/MacOSX-arm/ABIMacOSX_arm.h4
-rw-r--r--source/Plugins/ABI/MacOSX-arm64/ABIMacOSX_arm64.cpp218
-rw-r--r--source/Plugins/ABI/MacOSX-arm64/ABIMacOSX_arm64.h4
-rw-r--r--source/Plugins/ABI/MacOSX-i386/ABIMacOSX_i386.cpp35
-rw-r--r--source/Plugins/ABI/MacOSX-i386/ABIMacOSX_i386.h4
-rw-r--r--source/Plugins/ABI/SysV-arm/ABISysV_arm.cpp86
-rw-r--r--source/Plugins/ABI/SysV-arm/ABISysV_arm.h4
-rw-r--r--source/Plugins/ABI/SysV-arm64/ABISysV_arm64.cpp73
-rw-r--r--source/Plugins/ABI/SysV-arm64/ABISysV_arm64.h4
-rw-r--r--source/Plugins/ABI/SysV-hexagon/ABISysV_hexagon.cpp11
-rw-r--r--source/Plugins/ABI/SysV-hexagon/ABISysV_hexagon.h4
-rw-r--r--source/Plugins/ABI/SysV-i386/ABISysV_i386.cpp57
-rw-r--r--source/Plugins/ABI/SysV-i386/ABISysV_i386.h4
-rw-r--r--source/Plugins/ABI/SysV-mips/ABISysV_mips.cpp21
-rw-r--r--source/Plugins/ABI/SysV-mips/ABISysV_mips.h4
-rw-r--r--source/Plugins/ABI/SysV-mips64/ABISysV_mips64.cpp68
-rw-r--r--source/Plugins/ABI/SysV-mips64/ABISysV_mips64.h4
-rw-r--r--source/Plugins/ABI/SysV-ppc/ABISysV_ppc.cpp94
-rw-r--r--source/Plugins/ABI/SysV-ppc/ABISysV_ppc.h4
-rw-r--r--source/Plugins/ABI/SysV-ppc64/ABISysV_ppc64.cpp62
-rw-r--r--source/Plugins/ABI/SysV-ppc64/ABISysV_ppc64.h4
-rw-r--r--source/Plugins/ABI/SysV-s390x/ABISysV_s390x.cpp56
-rw-r--r--source/Plugins/ABI/SysV-s390x/ABISysV_s390x.h8
-rw-r--r--source/Plugins/ABI/SysV-x86_64/ABISysV_x86_64.cpp87
-rw-r--r--source/Plugins/ABI/SysV-x86_64/ABISysV_x86_64.h4
-rw-r--r--source/Plugins/Architecture/Arm/ArchitectureArm.cpp30
-rw-r--r--source/Plugins/Architecture/Arm/ArchitectureArm.h6
-rw-r--r--source/Plugins/Architecture/CMakeLists.txt1
-rw-r--r--source/Plugins/Architecture/Mips/ArchitectureMips.cpp241
-rw-r--r--source/Plugins/Architecture/Mips/ArchitectureMips.h52
-rw-r--r--source/Plugins/Architecture/Mips/CMakeLists.txt10
-rw-r--r--source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp123
-rw-r--r--source/Plugins/Disassembler/llvm/DisassemblerLLVMC.h16
-rw-r--r--source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp97
-rw-r--r--source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.h6
-rw-r--r--source/Plugins/DynamicLoader/Hexagon-DYLD/DynamicLoaderHexagonDYLD.cpp18
-rw-r--r--source/Plugins/DynamicLoader/Hexagon-DYLD/DynamicLoaderHexagonDYLD.h4
-rw-r--r--source/Plugins/DynamicLoader/Hexagon-DYLD/HexagonDYLDRendezvous.h5
-rw-r--r--source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderDarwin.cpp47
-rw-r--r--source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderDarwin.h6
-rw-r--r--source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOS.cpp47
-rw-r--r--source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOS.h13
-rw-r--r--source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.cpp19
-rw-r--r--source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.h8
-rw-r--r--source/Plugins/DynamicLoader/POSIX-DYLD/AuxVector.cpp2
-rw-r--r--source/Plugins/DynamicLoader/POSIX-DYLD/AuxVector.h3
-rw-r--r--source/Plugins/DynamicLoader/POSIX-DYLD/DYLDRendezvous.cpp16
-rw-r--r--source/Plugins/DynamicLoader/POSIX-DYLD/DYLDRendezvous.h3
-rw-r--r--source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp14
-rw-r--r--source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.h4
-rw-r--r--source/Plugins/DynamicLoader/Static/DynamicLoaderStatic.h4
-rw-r--r--source/Plugins/DynamicLoader/Windows-DYLD/DynamicLoaderWindowsDYLD.cpp36
-rw-r--r--source/Plugins/DynamicLoader/Windows-DYLD/DynamicLoaderWindowsDYLD.h4
-rw-r--r--source/Plugins/ExpressionParser/CMakeLists.txt1
-rw-r--r--source/Plugins/ExpressionParser/Clang/ASTResultSynthesizer.cpp3
-rw-r--r--source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp54
-rw-r--r--source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp2
-rw-r--r--source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.h10
-rw-r--r--source/Plugins/ExpressionParser/Clang/ClangExpressionHelper.h4
-rw-r--r--source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp352
-rw-r--r--source/Plugins/ExpressionParser/Clang/ClangExpressionParser.h38
-rw-r--r--source/Plugins/ExpressionParser/Clang/ClangExpressionVariable.h4
-rw-r--r--source/Plugins/ExpressionParser/Clang/ClangFunctionCaller.cpp6
-rw-r--r--source/Plugins/ExpressionParser/Clang/ClangFunctionCaller.h4
-rw-r--r--source/Plugins/ExpressionParser/Clang/ClangHost.cpp13
-rw-r--r--source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp9
-rw-r--r--source/Plugins/ExpressionParser/Clang/ClangPersistentVariables.h4
-rw-r--r--source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp146
-rw-r--r--source/Plugins/ExpressionParser/Clang/ClangUserExpression.h18
-rw-r--r--source/Plugins/ExpressionParser/Clang/ClangUtilityFunction.cpp2
-rw-r--r--source/Plugins/ExpressionParser/Clang/ClangUtilityFunction.h4
-rw-r--r--source/Plugins/ExpressionParser/Clang/IRForTarget.cpp42
-rw-r--r--source/Plugins/ExpressionParser/Go/CMakeLists.txt13
-rw-r--r--source/Plugins/ExpressionParser/Go/GoAST.h1977
-rw-r--r--source/Plugins/ExpressionParser/Go/GoLexer.cpp350
-rw-r--r--source/Plugins/ExpressionParser/Go/GoLexer.h181
-rw-r--r--source/Plugins/ExpressionParser/Go/GoParser.cpp886
-rw-r--r--source/Plugins/ExpressionParser/Go/GoParser.h145
-rw-r--r--source/Plugins/ExpressionParser/Go/GoUserExpression.cpp668
-rw-r--r--source/Plugins/ExpressionParser/Go/GoUserExpression.h94
-rw-r--r--source/Plugins/ExpressionParser/Go/gen_go_ast.py464
-rw-r--r--source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp96
-rw-r--r--source/Plugins/Instruction/ARM/EmulationStateARM.cpp4
-rw-r--r--source/Plugins/Instruction/ARM64/EmulateInstructionARM64.cpp18
-rw-r--r--source/Plugins/Instruction/ARM64/EmulateInstructionARM64.h4
-rw-r--r--source/Plugins/Instruction/MIPS/EmulateInstructionMIPS.cpp137
-rw-r--r--source/Plugins/Instruction/MIPS64/EmulateInstructionMIPS64.cpp130
-rw-r--r--source/Plugins/Instruction/MIPS64/EmulateInstructionMIPS64.h4
-rw-r--r--source/Plugins/Instruction/PPC64/EmulateInstructionPPC64.h4
-rw-r--r--source/Plugins/InstrumentationRuntime/ASan/ASanRuntime.h4
-rw-r--r--source/Plugins/InstrumentationRuntime/TSan/TSanRuntime.h4
-rw-r--r--source/Plugins/JITLoader/GDB/JITLoaderGDB.cpp8
-rw-r--r--source/Plugins/JITLoader/GDB/JITLoaderGDB.h4
-rw-r--r--source/Plugins/Language/CMakeLists.txt4
-rw-r--r--source/Plugins/Language/CPlusPlus/BlockPointer.cpp6
-rw-r--r--source/Plugins/Language/CPlusPlus/CMakeLists.txt5
-rw-r--r--source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp216
-rw-r--r--source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.h11
-rw-r--r--source/Plugins/Language/CPlusPlus/CPlusPlusNameParser.h4
-rw-r--r--source/Plugins/Language/CPlusPlus/CxxStringTypes.cpp14
-rw-r--r--source/Plugins/Language/CPlusPlus/LibCxx.cpp186
-rw-r--r--source/Plugins/Language/CPlusPlus/LibCxx.h31
-rw-r--r--source/Plugins/Language/CPlusPlus/LibCxxBitset.cpp19
-rw-r--r--source/Plugins/Language/CPlusPlus/LibCxxInitializerList.cpp15
-rw-r--r--source/Plugins/Language/CPlusPlus/LibCxxList.cpp4
-rw-r--r--source/Plugins/Language/CPlusPlus/LibCxxMap.cpp4
-rw-r--r--source/Plugins/Language/CPlusPlus/LibCxxOptional.cpp85
-rw-r--r--source/Plugins/Language/CPlusPlus/LibCxxUnorderedMap.cpp4
-rw-r--r--source/Plugins/Language/CPlusPlus/LibCxxVariant.cpp256
-rw-r--r--source/Plugins/Language/CPlusPlus/LibCxxVariant.h31
-rw-r--r--source/Plugins/Language/CPlusPlus/LibCxxVector.cpp38
-rw-r--r--source/Plugins/Language/CPlusPlus/LibStdcpp.cpp11
-rw-r--r--source/Plugins/Language/CPlusPlus/MSVCUndecoratedNameParser.cpp99
-rw-r--r--source/Plugins/Language/CPlusPlus/MSVCUndecoratedNameParser.h51
-rw-r--r--source/Plugins/Language/ClangCommon/CMakeLists.txt9
-rw-r--r--source/Plugins/Language/ClangCommon/ClangHighlighter.cpp237
-rw-r--r--source/Plugins/Language/ClangCommon/ClangHighlighter.h38
-rw-r--r--source/Plugins/Language/Go/CMakeLists.txt13
-rw-r--r--source/Plugins/Language/Go/GoFormatterFunctions.cpp152
-rw-r--r--source/Plugins/Language/Go/GoFormatterFunctions.h43
-rw-r--r--source/Plugins/Language/Go/GoLanguage.cpp127
-rw-r--r--source/Plugins/Language/Go/GoLanguage.h63
-rw-r--r--source/Plugins/Language/Java/CMakeLists.txt12
-rw-r--r--source/Plugins/Language/Java/JavaFormatterFunctions.cpp167
-rw-r--r--source/Plugins/Language/Java/JavaFormatterFunctions.h35
-rw-r--r--source/Plugins/Language/Java/JavaLanguage.cpp101
-rw-r--r--source/Plugins/Language/Java/JavaLanguage.h52
-rw-r--r--source/Plugins/Language/OCaml/CMakeLists.txt12
-rw-r--r--source/Plugins/Language/OCaml/OCamlLanguage.cpp63
-rw-r--r--source/Plugins/Language/OCaml/OCamlLanguage.h51
-rw-r--r--source/Plugins/Language/ObjC/CF.cpp2
-rw-r--r--source/Plugins/Language/ObjC/CMakeLists.txt1
-rw-r--r--source/Plugins/Language/ObjC/Cocoa.cpp67
-rw-r--r--source/Plugins/Language/ObjC/NSArray.cpp31
-rw-r--r--source/Plugins/Language/ObjC/NSDictionary.cpp4
-rw-r--r--source/Plugins/Language/ObjC/NSError.cpp4
-rw-r--r--source/Plugins/Language/ObjC/NSException.cpp158
-rw-r--r--source/Plugins/Language/ObjC/NSIndexPath.cpp10
-rw-r--r--source/Plugins/Language/ObjC/NSSet.cpp4
-rw-r--r--source/Plugins/Language/ObjC/NSString.cpp13
-rw-r--r--source/Plugins/Language/ObjC/ObjCLanguage.cpp20
-rw-r--r--source/Plugins/Language/ObjC/ObjCLanguage.h11
-rw-r--r--source/Plugins/Language/ObjCPlusPlus/CMakeLists.txt3
-rw-r--r--source/Plugins/Language/ObjCPlusPlus/ObjCPlusPlusLanguage.cpp9
-rw-r--r--source/Plugins/Language/ObjCPlusPlus/ObjCPlusPlusLanguage.h11
-rw-r--r--source/Plugins/LanguageRuntime/CMakeLists.txt2
-rw-r--r--source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.cpp188
-rw-r--r--source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.h7
-rw-r--r--source/Plugins/LanguageRuntime/Go/CMakeLists.txt2
-rw-r--r--source/Plugins/LanguageRuntime/Go/GoLanguageRuntime.cpp215
-rw-r--r--source/Plugins/LanguageRuntime/Go/GoLanguageRuntime.h86
-rw-r--r--source/Plugins/LanguageRuntime/Java/CMakeLists.txt10
-rw-r--r--source/Plugins/LanguageRuntime/Java/JavaLanguageRuntime.cpp157
-rw-r--r--source/Plugins/LanguageRuntime/Java/JavaLanguageRuntime.h78
-rw-r--r--source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCClassDescriptorV2.cpp15
-rw-r--r--source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCClassDescriptorV2.h4
-rw-r--r--source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCDeclVendor.cpp2
-rw-r--r--source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCDeclVendor.h4
-rw-r--r--source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.cpp124
-rw-r--r--source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.h12
-rw-r--r--source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV1.cpp9
-rw-r--r--source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV1.h4
-rw-r--r--source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp94
-rw-r--r--source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.h4
-rw-r--r--source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTrampolineHandler.cpp8
-rw-r--r--source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTrampolineHandler.h4
-rw-r--r--source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTypeEncodingParser.h4
-rw-r--r--source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleThreadPlanStepThroughObjCTrampoline.cpp15
-rw-r--r--source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleThreadPlanStepThroughObjCTrampoline.h4
-rw-r--r--source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptExpressionOpts.cpp4
-rw-r--r--source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptExpressionOpts.h4
-rw-r--r--source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp82
-rw-r--r--source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.h10
-rw-r--r--source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptx86ABIFixups.cpp4
-rw-r--r--source/Plugins/MemoryHistory/asan/MemoryHistoryASan.h4
-rw-r--r--source/Plugins/ObjectContainer/BSD-Archive/ObjectContainerBSDArchive.cpp9
-rw-r--r--source/Plugins/ObjectContainer/BSD-Archive/ObjectContainerBSDArchive.h3
-rw-r--r--source/Plugins/ObjectContainer/Universal-Mach-O/ObjectContainerUniversalMachO.h6
-rw-r--r--source/Plugins/ObjectFile/Breakpad/CMakeLists.txt11
-rw-r--r--source/Plugins/ObjectFile/Breakpad/ObjectFileBreakpad.cpp315
-rw-r--r--source/Plugins/ObjectFile/Breakpad/ObjectFileBreakpad.h109
-rw-r--r--source/Plugins/ObjectFile/CMakeLists.txt3
-rw-r--r--source/Plugins/ObjectFile/ELF/ELFHeader.cpp29
-rw-r--r--source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp735
-rw-r--r--source/Plugins/ObjectFile/ELF/ObjectFileELF.h28
-rw-r--r--source/Plugins/ObjectFile/JIT/ObjectFileJIT.cpp16
-rw-r--r--source/Plugins/ObjectFile/JIT/ObjectFileJIT.h8
-rw-r--r--source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp435
-rw-r--r--source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.h21
-rw-r--r--source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp441
-rw-r--r--source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.h19
-rw-r--r--source/Plugins/ObjectFile/PECOFF/WindowsMiniDump.cpp2
-rw-r--r--source/Plugins/OperatingSystem/CMakeLists.txt1
-rw-r--r--source/Plugins/OperatingSystem/Go/CMakeLists.txt10
-rw-r--r--source/Plugins/OperatingSystem/Go/OperatingSystemGo.cpp498
-rw-r--r--source/Plugins/OperatingSystem/Go/OperatingSystemGo.h90
-rw-r--r--source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp10
-rw-r--r--source/Plugins/OperatingSystem/Python/OperatingSystemPython.h4
-rw-r--r--source/Plugins/Platform/Android/AdbClient.cpp3
-rw-r--r--source/Plugins/Platform/Android/PlatformAndroid.cpp12
-rw-r--r--source/Plugins/Platform/Android/PlatformAndroid.h4
-rw-r--r--source/Plugins/Platform/Android/PlatformAndroidRemoteGDBServer.cpp1
-rw-r--r--source/Plugins/Platform/Android/PlatformAndroidRemoteGDBServer.h4
-rw-r--r--source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp14
-rw-r--r--source/Plugins/Platform/Kalimba/PlatformKalimba.cpp5
-rw-r--r--source/Plugins/Platform/Kalimba/PlatformKalimba.h4
-rw-r--r--source/Plugins/Platform/Linux/PlatformLinux.cpp16
-rw-r--r--source/Plugins/Platform/MacOSX/CMakeLists.txt1
-rw-r--r--source/Plugins/Platform/MacOSX/PlatformAppleSimulator.cpp9
-rw-r--r--source/Plugins/Platform/MacOSX/PlatformAppleSimulator.h4
-rw-r--r--source/Plugins/Platform/MacOSX/PlatformAppleTVSimulator.cpp37
-rw-r--r--source/Plugins/Platform/MacOSX/PlatformAppleTVSimulator.h4
-rw-r--r--source/Plugins/Platform/MacOSX/PlatformAppleWatchSimulator.cpp37
-rw-r--r--source/Plugins/Platform/MacOSX/PlatformAppleWatchSimulator.h4
-rw-r--r--source/Plugins/Platform/MacOSX/PlatformDarwin.cpp131
-rw-r--r--source/Plugins/Platform/MacOSX/PlatformDarwin.h21
-rw-r--r--source/Plugins/Platform/MacOSX/PlatformDarwinKernel.cpp127
-rw-r--r--source/Plugins/Platform/MacOSX/PlatformDarwinKernel.h31
-rw-r--r--source/Plugins/Platform/MacOSX/PlatformMacOSX.cpp23
-rw-r--r--source/Plugins/Platform/MacOSX/PlatformMacOSX.h4
-rw-r--r--source/Plugins/Platform/MacOSX/PlatformRemoteAppleBridge.cpp186
-rw-r--r--source/Plugins/Platform/MacOSX/PlatformRemoteAppleBridge.h73
-rw-r--r--source/Plugins/Platform/MacOSX/PlatformRemoteAppleTV.cpp6
-rw-r--r--source/Plugins/Platform/MacOSX/PlatformRemoteAppleTV.h4
-rw-r--r--source/Plugins/Platform/MacOSX/PlatformRemoteAppleWatch.cpp6
-rw-r--r--source/Plugins/Platform/MacOSX/PlatformRemoteAppleWatch.h4
-rw-r--r--source/Plugins/Platform/MacOSX/PlatformRemoteDarwinDevice.cpp99
-rw-r--r--source/Plugins/Platform/MacOSX/PlatformRemoteDarwinDevice.h12
-rw-r--r--source/Plugins/Platform/MacOSX/PlatformRemoteiOS.cpp8
-rw-r--r--source/Plugins/Platform/MacOSX/PlatformRemoteiOS.h4
-rw-r--r--source/Plugins/Platform/MacOSX/PlatformiOSSimulator.cpp37
-rw-r--r--source/Plugins/Platform/MacOSX/PlatformiOSSimulator.h4
-rw-r--r--source/Plugins/Platform/MacOSX/objcxx/PlatformiOSSimulatorCoreSimulatorSupport.h4
-rw-r--r--source/Plugins/Platform/MacOSX/objcxx/PlatformiOSSimulatorCoreSimulatorSupport.mm4
-rw-r--r--source/Plugins/Platform/NetBSD/PlatformNetBSD.cpp16
-rw-r--r--source/Plugins/Platform/OpenBSD/PlatformOpenBSD.cpp8
-rw-r--r--source/Plugins/Platform/POSIX/PlatformPOSIX.cpp39
-rw-r--r--source/Plugins/Platform/POSIX/PlatformPOSIX.h4
-rw-r--r--source/Plugins/Platform/Windows/PlatformWindows.cpp32
-rw-r--r--source/Plugins/Platform/Windows/PlatformWindows.h4
-rw-r--r--source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.cpp21
-rw-r--r--source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.h4
-rw-r--r--source/Plugins/Process/Darwin/NativeProcessDarwin.cpp13
-rw-r--r--source/Plugins/Process/Darwin/NativeProcessDarwin.h1
-rw-r--r--source/Plugins/Process/FreeBSD/FreeBSDThread.cpp8
-rw-r--r--source/Plugins/Process/FreeBSD/FreeBSDThread.h2
-rw-r--r--source/Plugins/Process/FreeBSD/ProcessFreeBSD.cpp31
-rw-r--r--source/Plugins/Process/FreeBSD/ProcessMonitor.cpp7
-rw-r--r--source/Plugins/Process/FreeBSD/ProcessMonitor.h3
-rw-r--r--source/Plugins/Process/FreeBSD/RegisterContextPOSIX.h3
-rw-r--r--source/Plugins/Process/FreeBSD/RegisterContextPOSIXProcessMonitor_arm.cpp2
-rw-r--r--source/Plugins/Process/FreeBSD/RegisterContextPOSIXProcessMonitor_arm64.cpp2
-rw-r--r--source/Plugins/Process/FreeBSD/RegisterContextPOSIXProcessMonitor_mips64.cpp2
-rw-r--r--source/Plugins/Process/FreeBSD/RegisterContextPOSIXProcessMonitor_powerpc.cpp2
-rw-r--r--source/Plugins/Process/FreeBSD/RegisterContextPOSIXProcessMonitor_x86.cpp2
-rw-r--r--source/Plugins/Process/Linux/NativeProcessLinux.cpp325
-rw-r--r--source/Plugins/Process/Linux/NativeProcessLinux.h16
-rw-r--r--source/Plugins/Process/Linux/NativeRegisterContextLinux.cpp2
-rw-r--r--source/Plugins/Process/Linux/NativeRegisterContextLinux_arm.cpp2
-rw-r--r--source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.cpp5
-rw-r--r--source/Plugins/Process/Linux/NativeRegisterContextLinux_mips64.cpp5
-rw-r--r--source/Plugins/Process/Linux/NativeRegisterContextLinux_ppc64le.cpp2
-rw-r--r--source/Plugins/Process/Linux/NativeRegisterContextLinux_s390x.cpp2
-rwxr-xr-xsource/Plugins/Process/Linux/NativeRegisterContextLinux_x86_64.cpp2
-rw-r--r--source/Plugins/Process/Linux/NativeThreadLinux.cpp2
-rw-r--r--source/Plugins/Process/MacOSX-Kernel/CommunicationKDP.cpp24
-rw-r--r--source/Plugins/Process/MacOSX-Kernel/CommunicationKDP.h8
-rw-r--r--source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp22
-rw-r--r--source/Plugins/Process/MacOSX-Kernel/ProcessKDP.h5
-rw-r--r--source/Plugins/Process/MacOSX-Kernel/RegisterContextKDP_arm.cpp4
-rw-r--r--source/Plugins/Process/MacOSX-Kernel/RegisterContextKDP_arm.h4
-rw-r--r--source/Plugins/Process/MacOSX-Kernel/RegisterContextKDP_arm64.cpp4
-rw-r--r--source/Plugins/Process/MacOSX-Kernel/RegisterContextKDP_arm64.h4
-rw-r--r--source/Plugins/Process/MacOSX-Kernel/RegisterContextKDP_i386.cpp4
-rw-r--r--source/Plugins/Process/MacOSX-Kernel/RegisterContextKDP_i386.h4
-rw-r--r--source/Plugins/Process/MacOSX-Kernel/RegisterContextKDP_x86_64.cpp4
-rw-r--r--source/Plugins/Process/MacOSX-Kernel/RegisterContextKDP_x86_64.h4
-rw-r--r--source/Plugins/Process/MacOSX-Kernel/ThreadKDP.cpp4
-rw-r--r--source/Plugins/Process/NetBSD/CMakeLists.txt1
-rw-r--r--source/Plugins/Process/NetBSD/NativeProcessNetBSD.cpp128
-rw-r--r--source/Plugins/Process/NetBSD/NativeProcessNetBSD.h15
-rw-r--r--source/Plugins/Process/NetBSD/NativeRegisterContextNetBSD_x86_64.cpp2
-rw-r--r--source/Plugins/Process/NetBSD/NativeThreadNetBSD.cpp4
-rw-r--r--source/Plugins/Process/POSIX/ProcessPOSIXLog.h4
-rw-r--r--source/Plugins/Process/Utility/ARMUtils.h2
-rw-r--r--source/Plugins/Process/Utility/CMakeLists.txt1
-rw-r--r--source/Plugins/Process/Utility/DynamicRegisterInfo.cpp4
-rw-r--r--source/Plugins/Process/Utility/DynamicRegisterInfo.h4
-rw-r--r--source/Plugins/Process/Utility/FreeBSDSignals.cpp4
-rw-r--r--source/Plugins/Process/Utility/FreeBSDSignals.h1
-rw-r--r--source/Plugins/Process/Utility/GDBRemoteSignals.cpp3
-rw-r--r--source/Plugins/Process/Utility/GDBRemoteSignals.h4
-rw-r--r--source/Plugins/Process/Utility/HistoryThread.h8
-rw-r--r--source/Plugins/Process/Utility/HistoryUnwind.h4
-rw-r--r--source/Plugins/Process/Utility/LinuxProcMaps.cpp113
-rw-r--r--source/Plugins/Process/Utility/LinuxProcMaps.h28
-rw-r--r--source/Plugins/Process/Utility/LinuxSignals.cpp3
-rw-r--r--source/Plugins/Process/Utility/LinuxSignals.h4
-rw-r--r--source/Plugins/Process/Utility/MipsLinuxSignals.cpp3
-rw-r--r--source/Plugins/Process/Utility/MipsLinuxSignals.h4
-rw-r--r--source/Plugins/Process/Utility/NetBSDSignals.cpp4
-rw-r--r--source/Plugins/Process/Utility/NetBSDSignals.h1
-rw-r--r--source/Plugins/Process/Utility/RegisterContextDarwin_arm.cpp9
-rw-r--r--source/Plugins/Process/Utility/RegisterContextDarwin_arm.h4
-rw-r--r--source/Plugins/Process/Utility/RegisterContextDarwin_arm64.cpp21
-rw-r--r--source/Plugins/Process/Utility/RegisterContextDarwin_arm64.h4
-rw-r--r--source/Plugins/Process/Utility/RegisterContextDarwin_i386.cpp10
-rw-r--r--source/Plugins/Process/Utility/RegisterContextDarwin_i386.h4
-rw-r--r--source/Plugins/Process/Utility/RegisterContextDarwin_x86_64.cpp12
-rw-r--r--source/Plugins/Process/Utility/RegisterContextDarwin_x86_64.h4
-rw-r--r--source/Plugins/Process/Utility/RegisterContextDummy.cpp2
-rw-r--r--source/Plugins/Process/Utility/RegisterContextDummy.h4
-rw-r--r--source/Plugins/Process/Utility/RegisterContextFreeBSD_powerpc.h4
-rw-r--r--source/Plugins/Process/Utility/RegisterContextHistory.cpp2
-rw-r--r--source/Plugins/Process/Utility/RegisterContextHistory.h4
-rw-r--r--source/Plugins/Process/Utility/RegisterContextLLDB.cpp180
-rw-r--r--source/Plugins/Process/Utility/RegisterContextLLDB.h11
-rw-r--r--source/Plugins/Process/Utility/RegisterContextMacOSXFrameBackchain.cpp8
-rw-r--r--source/Plugins/Process/Utility/RegisterContextMacOSXFrameBackchain.h4
-rw-r--r--source/Plugins/Process/Utility/RegisterContextMach_arm.cpp4
-rw-r--r--source/Plugins/Process/Utility/RegisterContextMach_arm.h4
-rw-r--r--source/Plugins/Process/Utility/RegisterContextMach_i386.cpp4
-rw-r--r--source/Plugins/Process/Utility/RegisterContextMach_i386.h4
-rw-r--r--source/Plugins/Process/Utility/RegisterContextMach_x86_64.cpp4
-rw-r--r--source/Plugins/Process/Utility/RegisterContextMach_x86_64.h4
-rw-r--r--source/Plugins/Process/Utility/RegisterContextMemory.cpp6
-rw-r--r--source/Plugins/Process/Utility/RegisterContextMemory.h4
-rw-r--r--source/Plugins/Process/Utility/RegisterContextPOSIX_arm.cpp4
-rw-r--r--source/Plugins/Process/Utility/RegisterContextPOSIX_arm.h4
-rw-r--r--source/Plugins/Process/Utility/RegisterContextPOSIX_arm64.cpp4
-rw-r--r--source/Plugins/Process/Utility/RegisterContextPOSIX_arm64.h4
-rw-r--r--source/Plugins/Process/Utility/RegisterContextPOSIX_mips64.cpp4
-rw-r--r--source/Plugins/Process/Utility/RegisterContextPOSIX_mips64.h4
-rw-r--r--source/Plugins/Process/Utility/RegisterContextPOSIX_powerpc.cpp4
-rw-r--r--source/Plugins/Process/Utility/RegisterContextPOSIX_powerpc.h4
-rw-r--r--source/Plugins/Process/Utility/RegisterContextPOSIX_ppc64le.cpp4
-rw-r--r--source/Plugins/Process/Utility/RegisterContextPOSIX_ppc64le.h4
-rw-r--r--source/Plugins/Process/Utility/RegisterContextPOSIX_s390x.cpp4
-rw-r--r--source/Plugins/Process/Utility/RegisterContextPOSIX_s390x.h4
-rw-r--r--source/Plugins/Process/Utility/RegisterContextPOSIX_x86.cpp6
-rw-r--r--source/Plugins/Process/Utility/RegisterContextPOSIX_x86.h4
-rw-r--r--source/Plugins/Process/Utility/RegisterContextThreadMemory.h4
-rw-r--r--source/Plugins/Process/Utility/RegisterContext_x86.h2
-rw-r--r--source/Plugins/Process/Utility/RegisterInfos_arm.h4
-rw-r--r--source/Plugins/Process/Utility/RegisterInfos_arm64.h4
-rw-r--r--source/Plugins/Process/Utility/RegisterInfos_i386.h1
-rw-r--r--source/Plugins/Process/Utility/RegisterInfos_mips.h4
-rw-r--r--source/Plugins/Process/Utility/RegisterInfos_mips64.h4
-rw-r--r--source/Plugins/Process/Utility/RegisterInfos_ppc64.h1
-rw-r--r--source/Plugins/Process/Utility/RegisterInfos_ppc64le.h1
-rw-r--r--source/Plugins/Process/Utility/RegisterInfos_s390x.h4
-rw-r--r--source/Plugins/Process/Utility/StopInfoMachException.cpp57
-rw-r--r--source/Plugins/Process/Utility/StopInfoMachException.h4
-rw-r--r--source/Plugins/Process/Utility/ThreadMemory.h4
-rw-r--r--source/Plugins/Process/Utility/UnwindLLDB.cpp23
-rw-r--r--source/Plugins/Process/Utility/UnwindLLDB.h4
-rw-r--r--source/Plugins/Process/Utility/UnwindMacOSXFrameBackchain.cpp4
-rw-r--r--source/Plugins/Process/Utility/UnwindMacOSXFrameBackchain.h4
-rw-r--r--source/Plugins/Process/Windows/Common/DebuggerThread.cpp16
-rw-r--r--source/Plugins/Process/Windows/Common/DebuggerThread.h2
-rw-r--r--source/Plugins/Process/Windows/Common/ForwardDecl.h2
-rw-r--r--source/Plugins/Process/Windows/Common/ProcessWindows.cpp104
-rw-r--r--source/Plugins/Process/Windows/Common/ProcessWindows.h4
-rw-r--r--source/Plugins/Process/Windows/Common/RegisterContextWindows.cpp7
-rw-r--r--source/Plugins/Process/Windows/Common/TargetThreadWindows.cpp2
-rw-r--r--source/Plugins/Process/Windows/Common/x64/RegisterContextWindows_x64.cpp14
-rw-r--r--source/Plugins/Process/Windows/Common/x86/RegisterContextWindows_x86.cpp2
-rw-r--r--source/Plugins/Process/elf-core/ProcessElfCore.cpp59
-rw-r--r--source/Plugins/Process/elf-core/ProcessElfCore.h10
-rw-r--r--source/Plugins/Process/elf-core/RegisterContextPOSIXCore_arm.cpp2
-rw-r--r--source/Plugins/Process/elf-core/RegisterContextPOSIXCore_arm64.cpp2
-rw-r--r--source/Plugins/Process/elf-core/RegisterContextPOSIXCore_mips64.cpp2
-rw-r--r--source/Plugins/Process/elf-core/RegisterContextPOSIXCore_powerpc.cpp2
-rw-r--r--source/Plugins/Process/elf-core/RegisterContextPOSIXCore_ppc64le.cpp2
-rw-r--r--source/Plugins/Process/elf-core/RegisterContextPOSIXCore_s390x.cpp2
-rw-r--r--source/Plugins/Process/elf-core/RegisterContextPOSIXCore_x86_64.cpp2
-rw-r--r--source/Plugins/Process/gdb-remote/CMakeLists.txt2
-rw-r--r--source/Plugins/Process/gdb-remote/GDBRemoteClientBase.cpp2
-rw-r--r--source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp212
-rw-r--r--source/Plugins/Process/gdb-remote/GDBRemoteCommunication.h98
-rw-r--r--source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp57
-rw-r--r--source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h2
-rw-r--r--source/Plugins/Process/gdb-remote/GDBRemoteCommunicationHistory.cpp143
-rw-r--r--source/Plugins/Process/gdb-remote/GDBRemoteCommunicationHistory.h156
-rw-r--r--source/Plugins/Process/gdb-remote/GDBRemoteCommunicationReplayServer.cpp204
-rw-r--r--source/Plugins/Process/gdb-remote/GDBRemoteCommunicationReplayServer.h83
-rw-r--r--source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp3
-rw-r--r--source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.h4
-rw-r--r--source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp51
-rw-r--r--source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.h4
-rw-r--r--source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp18
-rw-r--r--source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.h4
-rw-r--r--source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerPlatform.cpp18
-rw-r--r--source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerPlatform.h4
-rw-r--r--source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp12
-rw-r--r--source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.h4
-rw-r--r--source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp215
-rw-r--r--source/Plugins/Process/gdb-remote/ProcessGDBRemote.h12
-rw-r--r--source/Plugins/Process/gdb-remote/ProcessGDBRemoteLog.h4
-rw-r--r--source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp13
-rw-r--r--source/Plugins/Process/gdb-remote/ThreadGDBRemote.h4
-rw-r--r--source/Plugins/Process/mach-core/ProcessMachCore.cpp78
-rw-r--r--source/Plugins/Process/mach-core/ProcessMachCore.h4
-rw-r--r--source/Plugins/Process/mach-core/ThreadMachCore.cpp4
-rw-r--r--source/Plugins/Process/mach-core/ThreadMachCore.h4
-rw-r--r--source/Plugins/Process/minidump/CMakeLists.txt2
-rw-r--r--source/Plugins/Process/minidump/MinidumpParser.cpp354
-rw-r--r--source/Plugins/Process/minidump/MinidumpParser.h24
-rw-r--r--source/Plugins/Process/minidump/MinidumpTypes.cpp4
-rw-r--r--source/Plugins/Process/minidump/MinidumpTypes.h65
-rw-r--r--source/Plugins/Process/minidump/ProcessMinidump.cpp334
-rw-r--r--source/Plugins/Process/minidump/ProcessMinidump.h14
-rw-r--r--source/Plugins/Process/minidump/RegisterContextMinidump_ARM.cpp532
-rw-r--r--source/Plugins/Process/minidump/RegisterContextMinidump_ARM.h93
-rw-r--r--source/Plugins/Process/minidump/RegisterContextMinidump_ARM64.cpp834
-rw-r--r--source/Plugins/Process/minidump/RegisterContextMinidump_ARM64.h83
-rw-r--r--source/Plugins/Process/minidump/RegisterContextMinidump_x86_32.cpp2
-rw-r--r--source/Plugins/Process/minidump/RegisterContextMinidump_x86_32.h2
-rw-r--r--source/Plugins/Process/minidump/RegisterContextMinidump_x86_64.cpp2
-rw-r--r--source/Plugins/Process/minidump/RegisterContextMinidump_x86_64.h2
-rw-r--r--source/Plugins/Process/minidump/ThreadMinidump.cpp28
-rw-r--r--source/Plugins/Process/minidump/ThreadMinidump.h4
-rw-r--r--source/Plugins/ScriptInterpreter/None/ScriptInterpreterNone.h4
-rw-r--r--source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp11
-rw-r--r--source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h4
-rw-r--r--source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp177
-rw-r--r--source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h45
-rw-r--r--source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp42
-rw-r--r--source/Plugins/SymbolFile/Breakpad/CMakeLists.txt12
-rw-r--r--source/Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.cpp223
-rw-r--r--source/Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.h146
-rw-r--r--source/Plugins/SymbolFile/CMakeLists.txt2
-rw-r--r--source/Plugins/SymbolFile/DWARF/CMakeLists.txt3
-rw-r--r--source/Plugins/SymbolFile/DWARF/DWARFASTParser.h12
-rw-r--r--source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp308
-rw-r--r--source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.h37
-rw-r--r--source/Plugins/SymbolFile/DWARF/DWARFASTParserGo.cpp772
-rw-r--r--source/Plugins/SymbolFile/DWARF/DWARFASTParserGo.h84
-rw-r--r--source/Plugins/SymbolFile/DWARF/DWARFASTParserJava.cpp510
-rw-r--r--source/Plugins/SymbolFile/DWARF/DWARFASTParserJava.h81
-rw-r--r--source/Plugins/SymbolFile/DWARF/DWARFASTParserOCaml.cpp210
-rw-r--r--source/Plugins/SymbolFile/DWARF/DWARFASTParserOCaml.h59
-rw-r--r--source/Plugins/SymbolFile/DWARF/DWARFAbbreviationDeclaration.cpp6
-rw-r--r--source/Plugins/SymbolFile/DWARF/DWARFAbbreviationDeclaration.h17
-rw-r--r--source/Plugins/SymbolFile/DWARF/DWARFAttribute.cpp8
-rw-r--r--source/Plugins/SymbolFile/DWARF/DWARFAttribute.h11
-rw-r--r--source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.cpp31
-rw-r--r--source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.h4
-rw-r--r--source/Plugins/SymbolFile/DWARF/DWARFDIE.cpp4
-rw-r--r--source/Plugins/SymbolFile/DWARF/DWARFDIE.h5
-rw-r--r--source/Plugins/SymbolFile/DWARF/DWARFDataExtractor.h1
-rw-r--r--source/Plugins/SymbolFile/DWARF/DWARFDebugAranges.h2
-rw-r--r--source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp140
-rw-r--r--source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.h28
-rw-r--r--source/Plugins/SymbolFile/DWARF/DWARFDebugLine.cpp146
-rw-r--r--source/Plugins/SymbolFile/DWARF/DWARFDebugLine.h18
-rw-r--r--source/Plugins/SymbolFile/DWARF/DWARFDebugMacro.cpp2
-rw-r--r--source/Plugins/SymbolFile/DWARF/DWARFDebugRanges.cpp178
-rw-r--r--source/Plugins/SymbolFile/DWARF/DWARFDebugRanges.h46
-rw-r--r--source/Plugins/SymbolFile/DWARF/DWARFDeclContext.h4
-rw-r--r--source/Plugins/SymbolFile/DWARF/DWARFDefines.cpp4
-rw-r--r--source/Plugins/SymbolFile/DWARF/DWARFDefines.h2
-rw-r--r--source/Plugins/SymbolFile/DWARF/DWARFFormValue.cpp248
-rw-r--r--source/Plugins/SymbolFile/DWARF/DWARFFormValue.h8
-rw-r--r--source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp108
-rw-r--r--source/Plugins/SymbolFile/DWARF/DWARFUnit.h11
-rw-r--r--source/Plugins/SymbolFile/DWARF/DebugNamesDWARFIndex.cpp10
-rw-r--r--source/Plugins/SymbolFile/DWARF/HashedNameToDIE.cpp4
-rw-r--r--source/Plugins/SymbolFile/DWARF/LogChannelDWARF.h4
-rw-r--r--source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp397
-rw-r--r--source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h96
-rw-r--r--source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp182
-rw-r--r--source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.h55
-rw-r--r--source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwo.cpp39
-rw-r--r--source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwo.h10
-rw-r--r--source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwoDwp.h4
-rw-r--r--source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwp.cpp9
-rw-r--r--source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwp.h4
-rw-r--r--source/Plugins/SymbolFile/DWARF/UniqueDWARFASTType.cpp4
-rw-r--r--source/Plugins/SymbolFile/DWARF/UniqueDWARFASTType.h4
-rw-r--r--source/Plugins/SymbolFile/NativePDB/CMakeLists.txt21
-rw-r--r--source/Plugins/SymbolFile/NativePDB/CompileUnitIndex.cpp217
-rw-r--r--source/Plugins/SymbolFile/NativePDB/CompileUnitIndex.h95
-rw-r--r--source/Plugins/SymbolFile/NativePDB/DWARFLocationExpression.cpp673
-rw-r--r--source/Plugins/SymbolFile/NativePDB/DWARFLocationExpression.h42
-rw-r--r--source/Plugins/SymbolFile/NativePDB/PdbAstBuilder.cpp1348
-rw-r--r--source/Plugins/SymbolFile/NativePDB/PdbAstBuilder.h144
-rw-r--r--source/Plugins/SymbolFile/NativePDB/PdbIndex.cpp200
-rw-r--r--source/Plugins/SymbolFile/NativePDB/PdbIndex.h162
-rw-r--r--source/Plugins/SymbolFile/NativePDB/PdbSymUid.cpp161
-rw-r--r--source/Plugins/SymbolFile/NativePDB/PdbSymUid.h126
-rw-r--r--source/Plugins/SymbolFile/NativePDB/PdbUtil.cpp750
-rw-r--r--source/Plugins/SymbolFile/NativePDB/PdbUtil.h159
-rw-r--r--source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp1571
-rw-r--r--source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.h245
-rw-r--r--source/Plugins/SymbolFile/NativePDB/UdtRecordCompleter.cpp191
-rw-r--r--source/Plugins/SymbolFile/NativePDB/UdtRecordCompleter.h75
-rw-r--r--source/Plugins/SymbolFile/PDB/CMakeLists.txt1
-rw-r--r--source/Plugins/SymbolFile/PDB/PDBASTParser.cpp1005
-rw-r--r--source/Plugins/SymbolFile/PDB/PDBASTParser.h67
-rw-r--r--source/Plugins/SymbolFile/PDB/PDBLocationToDWARFExpression.cpp658
-rw-r--r--source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp591
-rw-r--r--source/Plugins/SymbolFile/PDB/SymbolFilePDB.h69
-rw-r--r--source/Plugins/SymbolFile/Symtab/SymbolFileSymtab.cpp38
-rw-r--r--source/Plugins/SymbolFile/Symtab/SymbolFileSymtab.h33
-rw-r--r--source/Plugins/SymbolVendor/ELF/SymbolVendorELF.cpp9
-rw-r--r--source/Plugins/SymbolVendor/ELF/SymbolVendorELF.h4
-rw-r--r--source/Plugins/SymbolVendor/MacOSX/SymbolVendorMacOSX.cpp26
-rw-r--r--source/Plugins/SystemRuntime/MacOSX/AppleGetItemInfoHandler.cpp7
-rw-r--r--source/Plugins/SystemRuntime/MacOSX/AppleGetItemInfoHandler.h4
-rw-r--r--source/Plugins/SystemRuntime/MacOSX/AppleGetPendingItemsHandler.cpp7
-rw-r--r--source/Plugins/SystemRuntime/MacOSX/AppleGetPendingItemsHandler.h4
-rw-r--r--source/Plugins/SystemRuntime/MacOSX/AppleGetQueuesHandler.cpp7
-rw-r--r--source/Plugins/SystemRuntime/MacOSX/AppleGetQueuesHandler.h4
-rw-r--r--source/Plugins/SystemRuntime/MacOSX/AppleGetThreadItemInfoHandler.cpp7
-rw-r--r--source/Plugins/SystemRuntime/MacOSX/AppleGetThreadItemInfoHandler.h4
-rw-r--r--source/Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.cpp9
-rw-r--r--source/Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.h3
-rw-r--r--source/Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.cpp2
-rw-r--r--source/Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.h6
-rw-r--r--source/Plugins/UnwindAssembly/x86/UnwindAssembly-x86.cpp8
-rw-r--r--source/Plugins/UnwindAssembly/x86/UnwindAssembly-x86.h4
-rw-r--r--source/Plugins/UnwindAssembly/x86/x86AssemblyInspectionEngine.cpp344
-rw-r--r--source/Plugins/UnwindAssembly/x86/x86AssemblyInspectionEngine.h7
-rw-r--r--source/Symbol/ArmUnwindInfo.cpp2
-rw-r--r--source/Symbol/Block.cpp27
-rw-r--r--source/Symbol/CMakeLists.txt6
-rw-r--r--source/Symbol/ClangASTContext.cpp751
-rw-r--r--source/Symbol/ClangASTImporter.cpp4
-rw-r--r--source/Symbol/ClangExternalASTSourceCallbacks.cpp3
-rw-r--r--source/Symbol/ClangUtil.cpp8
-rw-r--r--source/Symbol/CompactUnwindInfo.cpp42
-rw-r--r--source/Symbol/CompileUnit.cpp87
-rw-r--r--source/Symbol/CompilerType.cpp104
-rw-r--r--source/Symbol/DWARFCallFrameInfo.cpp13
-rw-r--r--source/Symbol/FuncUnwinders.cpp5
-rw-r--r--source/Symbol/Function.cpp117
-rw-r--r--source/Symbol/GoASTContext.cpp1444
-rw-r--r--source/Symbol/JavaASTContext.cpp1324
-rw-r--r--source/Symbol/LineEntry.cpp14
-rw-r--r--source/Symbol/OCamlASTContext.cpp670
-rw-r--r--source/Symbol/ObjectFile.cpp94
-rw-r--r--source/Symbol/Symbol.cpp2
-rw-r--r--source/Symbol/SymbolContext.cpp92
-rw-r--r--source/Symbol/SymbolFile.cpp29
-rw-r--r--source/Symbol/SymbolVendor.cpp89
-rw-r--r--source/Symbol/Symtab.cpp254
-rw-r--r--source/Symbol/Type.cpp29
-rw-r--r--source/Symbol/TypeList.cpp7
-rw-r--r--source/Symbol/TypeMap.cpp7
-rw-r--r--source/Symbol/TypeSystem.cpp6
-rw-r--r--source/Symbol/UnwindPlan.cpp36
-rw-r--r--source/Symbol/UnwindTable.cpp4
-rw-r--r--source/Symbol/Variable.cpp22
-rw-r--r--source/Target/ABI.cpp4
-rw-r--r--source/Target/CMakeLists.txt1
-rw-r--r--source/Target/CPPLanguageRuntime.cpp304
-rw-r--r--source/Target/ExecutionContext.cpp6
-rw-r--r--source/Target/InstrumentationRuntime.cpp4
-rw-r--r--source/Target/JITLoader.cpp4
-rw-r--r--source/Target/Language.cpp35
-rw-r--r--source/Target/LanguageRuntime.cpp8
-rw-r--r--source/Target/Memory.cpp6
-rw-r--r--source/Target/MemoryHistory.cpp4
-rw-r--r--source/Target/ModuleCache.cpp20
-rw-r--r--source/Target/ObjCLanguageRuntime.cpp3
-rw-r--r--source/Target/OperatingSystem.cpp4
-rw-r--r--source/Target/PathMappingList.cpp22
-rw-r--r--source/Target/Platform.cpp160
-rw-r--r--source/Target/Process.cpp125
-rw-r--r--source/Target/ProcessInfo.cpp16
-rw-r--r--source/Target/ProcessLaunchInfo.cpp162
-rw-r--r--source/Target/Queue.cpp4
-rw-r--r--source/Target/QueueItem.cpp2
-rw-r--r--source/Target/RegisterContext.cpp8
-rw-r--r--source/Target/RegisterNumber.cpp17
-rw-r--r--source/Target/SectionLoadHistory.cpp4
-rw-r--r--source/Target/SectionLoadList.cpp4
-rw-r--r--source/Target/StackFrame.cpp102
-rw-r--r--source/Target/StackFrameList.cpp768
-rw-r--r--source/Target/StackFrameRecognizer.cpp191
-rw-r--r--source/Target/StackID.cpp4
-rw-r--r--source/Target/StopInfo.cpp44
-rw-r--r--source/Target/SystemRuntime.cpp4
-rw-r--r--source/Target/Target.cpp708
-rw-r--r--source/Target/TargetList.cpp46
-rw-r--r--source/Target/Thread.cpp193
-rw-r--r--source/Target/ThreadList.cpp6
-rw-r--r--source/Target/ThreadPlan.cpp7
-rw-r--r--source/Target/ThreadPlanBase.cpp9
-rw-r--r--source/Target/ThreadPlanCallFunction.cpp4
-rw-r--r--source/Target/ThreadPlanCallFunctionUsingABI.cpp4
-rw-r--r--source/Target/ThreadPlanCallOnFunctionExit.cpp7
-rw-r--r--source/Target/ThreadPlanCallUserExpression.cpp4
-rw-r--r--source/Target/ThreadPlanPython.cpp24
-rw-r--r--source/Target/ThreadPlanRunToAddress.cpp14
-rw-r--r--source/Target/ThreadPlanShouldStopHere.cpp31
-rw-r--r--source/Target/ThreadPlanStepInRange.cpp36
-rw-r--r--source/Target/ThreadPlanStepInstruction.cpp17
-rw-r--r--source/Target/ThreadPlanStepOut.cpp61
-rw-r--r--source/Target/ThreadPlanStepOverBreakpoint.cpp4
-rw-r--r--source/Target/ThreadPlanStepOverRange.cpp41
-rw-r--r--source/Target/ThreadPlanStepRange.cpp22
-rw-r--r--source/Target/ThreadPlanStepThrough.cpp39
-rw-r--r--source/Target/ThreadPlanStepUntil.cpp19
-rw-r--r--source/Target/ThreadPlanTracer.cpp4
-rw-r--r--source/Target/ThreadSpec.cpp4
-rw-r--r--source/Target/UnixSignals.cpp6
-rw-r--r--source/Target/UnwindAssembly.cpp4
-rw-r--r--source/Utility/ArchSpec.cpp42
-rw-r--r--source/Utility/Broadcaster.cpp (renamed from source/Core/Broadcaster.cpp)20
-rw-r--r--source/Utility/CMakeLists.txt15
-rw-r--r--source/Utility/CompletionRequest.cpp43
-rw-r--r--source/Utility/ConstString.cpp66
-rw-r--r--source/Utility/DataBufferHeap.cpp4
-rw-r--r--source/Utility/DataBufferLLVM.cpp32
-rw-r--r--source/Utility/DataEncoder.cpp2
-rw-r--r--source/Utility/DataExtractor.cpp20
-rw-r--r--source/Utility/Event.cpp (renamed from source/Core/Event.cpp)10
-rw-r--r--source/Utility/FastDemangle.cpp2393
-rw-r--r--source/Utility/FileSpec.cpp220
-rw-r--r--source/Utility/JSON.cpp8
-rw-r--r--source/Utility/LLDBAssert.cpp20
-rw-r--r--source/Utility/Listener.cpp (renamed from source/Core/Listener.cpp)20
-rw-r--r--source/Utility/Log.cpp14
-rw-r--r--source/Utility/Logging.cpp4
-rw-r--r--source/Utility/Range.cpp76
-rw-r--r--source/Utility/RegisterValue.cpp (renamed from source/Core/RegisterValue.cpp)52
-rw-r--r--source/Utility/Reproducer.cpp225
-rw-r--r--source/Utility/Scalar.cpp (renamed from source/Core/Scalar.cpp)185
-rw-r--r--source/Utility/SelectHelper.cpp10
-rw-r--r--source/Utility/State.cpp (renamed from source/Core/State.cpp)6
-rw-r--r--source/Utility/Status.cpp43
-rw-r--r--source/Utility/Stream.cpp140
-rw-r--r--source/Utility/StreamGDBRemote.cpp4
-rw-r--r--source/Utility/StreamString.cpp7
-rw-r--r--source/Utility/StringExtractor.cpp4
-rw-r--r--source/Utility/StringExtractorGDBRemote.cpp2
-rw-r--r--source/Utility/StringList.cpp12
-rw-r--r--source/Utility/StructuredData.cpp19
-rw-r--r--source/Utility/TildeExpressionResolver.cpp12
-rw-r--r--source/Utility/Timer.cpp8
-rw-r--r--source/Utility/UUID.cpp7
-rw-r--r--source/Utility/VASprintf.cpp10
-rw-r--r--source/Utility/VMRange.cpp20
-rw-r--r--test/CMakeLists.txt22
-rw-r--r--test/use_lldb_suite.py4
-rw-r--r--third_party/Python/module/unittest2/unittest2/result.py4
-rw-r--r--tools/CMakeLists.txt15
-rw-r--r--tools/argdumper/CMakeLists.txt2
-rw-r--r--tools/darwin-debug/CMakeLists.txt2
-rw-r--r--tools/darwin-debug/darwin-debug.cpp2
-rw-r--r--tools/debugserver/CMakeLists.txt3
-rw-r--r--tools/debugserver/debugserver.xcodeproj/project.pbxproj95
-rw-r--r--tools/debugserver/source/CMakeLists.txt196
-rw-r--r--tools/debugserver/source/DNBRegisterInfo.cpp1
-rw-r--r--tools/debugserver/source/JSONGenerator.h6
-rw-r--r--tools/debugserver/source/MacOSX/Genealogy.cpp3
-rw-r--r--tools/debugserver/source/MacOSX/MachException.cpp55
-rw-r--r--tools/debugserver/source/MacOSX/MachProcess.mm16
-rw-r--r--tools/debugserver/source/MacOSX/MachTask.h4
-rw-r--r--tools/debugserver/source/MacOSX/MachThread.cpp4
-rw-r--r--tools/debugserver/source/MacOSX/MachVMRegion.cpp5
-rw-r--r--tools/debugserver/source/MacOSX/i386/DNBArchImplI386.cpp7
-rw-r--r--tools/debugserver/source/MacOSX/x86_64/DNBArchImplX86_64.cpp7
-rw-r--r--tools/debugserver/source/PThreadMutex.cpp4
-rw-r--r--tools/debugserver/source/RNBRemote.cpp141
-rw-r--r--tools/debugserver/source/RNBServices.cpp6
-rw-r--r--tools/debugserver/source/StdStringExtractor.cpp4
-rw-r--r--tools/debugserver/source/StdStringExtractor.h4
-rw-r--r--tools/debugserver/source/TTYState.h2
-rw-r--r--tools/debugserver/source/debugserver-entitlements.plist2
-rw-r--r--tools/debugserver/source/debugserver.cpp4
-rw-r--r--tools/debugserver/source/libdebugserver.cpp2
-rw-r--r--tools/driver/CMakeLists.txt23
-rw-r--r--tools/driver/Driver.cpp1109
-rw-r--r--tools/driver/Driver.h88
-rw-r--r--tools/driver/Options.td229
-rw-r--r--tools/driver/Platform.h3
-rw-r--r--tools/intel-features/intel-mpx/cli-wrapper-mpxtable.cpp1
-rw-r--r--tools/intel-features/intel-pt/Decoder.cpp2
-rw-r--r--tools/intel-features/intel-pt/Decoder.h1
-rw-r--r--tools/intel-features/intel-pt/PTDecoder.cpp1
-rw-r--r--tools/intel-features/intel-pt/PTDecoder.h1
-rw-r--r--tools/lldb-mi/CMakeLists.txt4
-rw-r--r--tools/lldb-mi/MICmdArgSet.h4
-rw-r--r--tools/lldb-mi/MICmdArgValBase.cpp4
-rw-r--r--tools/lldb-mi/MICmdArgValBase.h4
-rw-r--r--tools/lldb-mi/MICmdArgValConsume.cpp2
-rw-r--r--tools/lldb-mi/MICmdArgValFile.cpp5
-rw-r--r--tools/lldb-mi/MICmdArgValOptionLong.cpp5
-rw-r--r--tools/lldb-mi/MICmdArgValString.cpp7
-rw-r--r--tools/lldb-mi/MICmdArgValThreadGrp.cpp5
-rw-r--r--tools/lldb-mi/MICmdBase.h6
-rw-r--r--tools/lldb-mi/MICmdCmdBreak.cpp9
-rw-r--r--tools/lldb-mi/MICmdCmdData.cpp4
-rw-r--r--tools/lldb-mi/MICmdCmdGdbInfo.cpp2
-rw-r--r--tools/lldb-mi/MICmdCmdGdbSet.cpp53
-rw-r--r--tools/lldb-mi/MICmdCmdGdbSet.h1
-rw-r--r--tools/lldb-mi/MICmdCmdGdbShow.cpp40
-rw-r--r--tools/lldb-mi/MICmdCmdGdbShow.h1
-rw-r--r--tools/lldb-mi/MICmdCmdTarget.cpp59
-rw-r--r--tools/lldb-mi/MICmdFactory.cpp5
-rw-r--r--tools/lldb-mi/MICmnBase.cpp2
-rw-r--r--tools/lldb-mi/MICmnLLDBDebugSessionInfo.cpp8
-rw-r--r--tools/lldb-mi/MICmnLLDBDebuggerHandleEvents.cpp30
-rw-r--r--tools/lldb-mi/MICmnLog.cpp5
-rw-r--r--tools/lldb-mi/MICmnResources.cpp10
-rw-r--r--tools/lldb-mi/MICmnResources.h3
-rw-r--r--tools/lldb-mi/MICmnStreamStdin.cpp2
-rw-r--r--tools/lldb-mi/MIDataTypes.h2
-rw-r--r--tools/lldb-mi/MIDriver.cpp17
-rw-r--r--tools/lldb-mi/MIDriverMain.cpp6
-rw-r--r--tools/lldb-mi/MIDriverMgr.cpp20
-rw-r--r--tools/lldb-mi/MIUtilDebug.cpp19
-rw-r--r--tools/lldb-mi/MIUtilDebug.h1
-rw-r--r--tools/lldb-mi/MIUtilFileStd.cpp2
-rw-r--r--tools/lldb-mi/MIUtilMapIdToVariant.cpp5
-rw-r--r--tools/lldb-mi/MIUtilString.cpp32
-rw-r--r--tools/lldb-server/CMakeLists.txt2
-rw-r--r--tools/lldb-server/SystemInitializerLLGS.cpp9
-rw-r--r--tools/lldb-server/SystemInitializerLLGS.h4
-rw-r--r--tools/lldb-server/lldb-gdbserver.cpp31
-rw-r--r--tools/lldb-server/lldb-platform.cpp7
-rw-r--r--tools/lldb-server/lldb-server.cpp5
-rw-r--r--tools/lldb-test/FormatUtil.cpp47
-rw-r--r--tools/lldb-test/FormatUtil.h27
-rw-r--r--tools/lldb-test/SystemInitializerTest.cpp40
-rw-r--r--tools/lldb-test/SystemInitializerTest.h2
-rw-r--r--tools/lldb-test/lldb-test.cpp290
-rw-r--r--tools/lldb-vscode/BreakpointBase.cpp37
-rw-r--r--tools/lldb-vscode/BreakpointBase.h44
-rw-r--r--tools/lldb-vscode/CMakeLists.txt34
-rw-r--r--tools/lldb-vscode/ExceptionBreakpoint.cpp32
-rw-r--r--tools/lldb-vscode/ExceptionBreakpoint.h38
-rw-r--r--tools/lldb-vscode/FunctionBreakpoint.cpp28
-rw-r--r--tools/lldb-vscode/FunctionBreakpoint.h29
-rw-r--r--tools/lldb-vscode/JSONUtils.cpp892
-rw-r--r--tools/lldb-vscode/JSONUtils.h438
-rw-r--r--tools/lldb-vscode/LLDBUtils.cpp98
-rw-r--r--tools/lldb-vscode/LLDBUtils.h170
-rw-r--r--tools/lldb-vscode/README.md195
-rw-r--r--tools/lldb-vscode/SourceBreakpoint.cpp27
-rw-r--r--tools/lldb-vscode/SourceBreakpoint.h39
-rw-r--r--tools/lldb-vscode/SourceReference.h33
-rw-r--r--tools/lldb-vscode/VSCode.cpp349
-rw-r--r--tools/lldb-vscode/VSCode.h146
-rw-r--r--tools/lldb-vscode/VSCodeForward.h47
-rw-r--r--tools/lldb-vscode/lldb-vscode-Info.plist21
-rw-r--r--tools/lldb-vscode/lldb-vscode.cpp2706
-rw-r--r--tools/lldb-vscode/package.json242
-rw-r--r--unittests/CMakeLists.txt1
-rw-r--r--unittests/Core/CMakeLists.txt22
-rw-r--r--unittests/Core/Inputs/mangled-function-names.yaml116
-rw-r--r--unittests/Core/MangledTest.cpp137
-rw-r--r--unittests/Core/RangeMapTest.cpp55
-rw-r--r--unittests/Core/RangeTest.cpp330
-rw-r--r--unittests/Core/RichManglingContextTest.cpp140
-rw-r--r--unittests/Core/StateTest.cpp21
-rw-r--r--unittests/Disassembler/CMakeLists.txt13
-rw-r--r--unittests/Disassembler/TestArmv7Disassembly.cpp93
-rw-r--r--unittests/Editline/EditlineTest.cpp5
-rw-r--r--unittests/Expression/CMakeLists.txt2
-rw-r--r--unittests/Expression/ClangParserTest.cpp13
-rw-r--r--unittests/Expression/GoParserTest.cpp273
-rw-r--r--unittests/Host/CMakeLists.txt3
-rw-r--r--unittests/Host/FileSystemTest.cpp271
-rw-r--r--unittests/Host/HostInfoTest.cpp21
-rw-r--r--unittests/Host/NativeProcessProtocolTest.cpp225
-rw-r--r--unittests/Host/SocketTest.cpp19
-rw-r--r--unittests/Host/SymbolsTest.cpp30
-rw-r--r--unittests/Host/linux/HostTest.cpp11
-rw-r--r--unittests/Interpreter/TestCompletion.cpp95
-rw-r--r--unittests/Language/CMakeLists.txt1
-rw-r--r--unittests/Language/CPlusPlus/CPlusPlusLanguageTest.cpp11
-rw-r--r--unittests/Language/Highlighting/CMakeLists.txt8
-rw-r--r--unittests/Language/Highlighting/HighlighterTest.cpp293
-rw-r--r--unittests/ObjectFile/ELF/CMakeLists.txt1
-rw-r--r--unittests/ObjectFile/ELF/Inputs/debug-info-relocations.pcm.yaml183
-rw-r--r--unittests/ObjectFile/ELF/TestObjectFileELF.cpp78
-rw-r--r--unittests/Platform/PlatformDarwinTest.cpp25
-rw-r--r--unittests/Process/Linux/ProcessorTraceTest.cpp2
-rw-r--r--unittests/Process/gdb-remote/GDBRemoteClientBaseTest.cpp3
-rw-r--r--unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp13
-rw-r--r--unittests/Process/gdb-remote/GDBRemoteCommunicationTest.cpp3
-rw-r--r--unittests/Process/gdb-remote/GDBRemoteTestUtils.cpp37
-rw-r--r--unittests/Process/gdb-remote/GDBRemoteTestUtils.h4
-rw-r--r--unittests/Process/minidump/CMakeLists.txt24
-rw-r--r--unittests/Process/minidump/Inputs/dump-content.dmpbin0 -> 664 bytes
-rw-r--r--unittests/Process/minidump/Inputs/modules-dup-min-addr.dmpbin0 -> 420 bytes
-rw-r--r--unittests/Process/minidump/Inputs/modules-order.dmpbin0 -> 420 bytes
-rw-r--r--unittests/Process/minidump/Inputs/regions-linux-map.dmpbin0 -> 1379 bytes
-rw-r--r--unittests/Process/minidump/Inputs/regions-memlist.dmpbin0 -> 252 bytes
-rw-r--r--unittests/Process/minidump/Inputs/regions-memlist64.dmpbin0 -> 260 bytes
-rw-r--r--unittests/Process/minidump/MinidumpParserTest.cpp175
-rw-r--r--unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp6
-rw-r--r--unittests/ScriptInterpreter/Python/PythonTestSuite.cpp6
-rw-r--r--unittests/Symbol/TestClangASTContext.cpp48
-rw-r--r--unittests/Symbol/TestDWARFCallFrameInfo.cpp12
-rw-r--r--unittests/SymbolFile/DWARF/SymbolFileDWARFTests.cpp17
-rw-r--r--unittests/SymbolFile/PDB/Inputs/test-pdb-nested.h2
-rw-r--r--unittests/SymbolFile/PDB/Inputs/test-pdb-types.cpp9
-rw-r--r--unittests/SymbolFile/PDB/Inputs/test-pdb-types.exebin7168 -> 8192 bytes
-rw-r--r--unittests/SymbolFile/PDB/Inputs/test-pdb-types.pdbbin143360 -> 102400 bytes
-rw-r--r--unittests/SymbolFile/PDB/Inputs/test-pdb.h2
-rw-r--r--unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp181
-rw-r--r--unittests/Target/ModuleCacheTest.cpp18
-rw-r--r--unittests/Target/PathMappingListTest.cpp5
-rw-r--r--unittests/UnwindAssembly/x86/Testx86AssemblyInspectionEngine.cpp65
-rw-r--r--unittests/Utility/ArchSpecTest.cpp62
-rw-r--r--unittests/Utility/BroadcasterTest.cpp (renamed from unittests/Core/BroadcasterTest.cpp)10
-rw-r--r--unittests/Utility/CMakeLists.txt12
-rw-r--r--unittests/Utility/CompletionRequestTest.cpp100
-rw-r--r--unittests/Utility/ConstStringTest.cpp74
-rw-r--r--unittests/Utility/DataExtractorTest.cpp (renamed from unittests/Core/DataExtractorTest.cpp)0
-rw-r--r--unittests/Utility/EventTest.cpp (renamed from unittests/Core/EventTest.cpp)2
-rw-r--r--unittests/Utility/FileSpecTest.cpp83
-rw-r--r--unittests/Utility/ListenerTest.cpp (renamed from unittests/Core/ListenerTest.cpp)8
-rw-r--r--unittests/Utility/PredicateTest.cpp (renamed from unittests/Host/PredicateTest.cpp)2
-rw-r--r--unittests/Utility/RegisterValueTest.cpp23
-rw-r--r--unittests/Utility/ReproducerTest.cpp134
-rw-r--r--unittests/Utility/ScalarTest.cpp (renamed from unittests/Core/ScalarTest.cpp)48
-rw-r--r--unittests/Utility/StateTest.cpp31
-rw-r--r--unittests/Utility/StatusTest.cpp23
-rw-r--r--unittests/Utility/StreamTeeTest.cpp4
-rw-r--r--unittests/Utility/StreamTest.cpp130
-rw-r--r--unittests/Utility/StringLexerTest.cpp141
-rw-r--r--unittests/Utility/StringListTest.cpp512
-rw-r--r--unittests/Utility/StructuredDataTest.cpp4
-rw-r--r--unittests/tools/CMakeLists.txt2
-rw-r--r--unittests/tools/lldb-server/CMakeLists.txt2
-rw-r--r--unittests/tools/lldb-server/tests/MessageObjects.h2
-rw-r--r--unittests/tools/lldb-server/tests/TestBase.h6
-rw-r--r--utils/sync-source/README.txt2
-rwxr-xr-xwww/build.html25
-rwxr-xr-xwww/download.html19
-rwxr-xr-xwww/python-reference.html259
-rw-r--r--www/python_reference/epydoc.css2
-rwxr-xr-xwww/symbols.html27
2046 files changed, 64725 insertions, 37735 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 00ddcdc1488f..cdf22c4b0fc8 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -18,15 +18,6 @@ else()
add_definitions( -DLLDB_CONFIGURATION_RELEASE )
endif()
-if (CMAKE_SYSTEM_NAME MATCHES "Windows|Android")
- set(LLDB_DEFAULT_DISABLE_LIBEDIT 1)
-else()
- set(LLDB_DEFAULT_DISABLE_LIBEDIT 0)
-endif ()
-
-# We need libedit support to go down both the source and
-# the scripts directories.
-set(LLDB_DISABLE_LIBEDIT ${LLDB_DEFAULT_DISABLE_LIBEDIT} CACHE BOOL "Disables the use of editline.")
if (LLDB_DISABLE_LIBEDIT)
add_definitions( -DLLDB_DISABLE_LIBEDIT )
else()
@@ -37,65 +28,24 @@ if(APPLE)
add_definitions(-DLLDB_USE_OS_LOG)
endif()
-# lldb-suite is a dummy target that encompasses all the necessary tools and
-# libraries for building a fully-functioning liblldb.
-add_custom_target(lldb-suite)
-set(LLDB_SUITE_TARGET lldb-suite)
-
-option(LLDB_BUILD_FRAMEWORK "Build the Darwin LLDB.framework" Off)
-if(LLDB_BUILD_FRAMEWORK)
- if (CMAKE_VERSION VERSION_LESS 3.7)
- message(FATAL_ERROR "LLDB_BUILD_FRAMEWORK is not supported on CMake < 3.7")
- endif()
- if (NOT APPLE)
- message(FATAL_ERROR "LLDB.framework can only be generated when targeting Apple platforms")
- endif()
-
- # These are used to fill out LLDB-Info.plist. These are relevant when building
- # the framework, and must be defined before building liblldb.
- set(PRODUCT_NAME "LLDB")
- set(EXECUTABLE_NAME "LLDB")
- set(CURRENT_PROJECT_VERSION "360.99.0")
- set(LLDB_SUITE_TARGET lldb-framework)
-
- set(LLDB_FRAMEWORK_DIR
- ${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR}/${LLDB_FRAMEWORK_INSTALL_DIR})
-endif()
-
add_subdirectory(docs)
if (NOT LLDB_DISABLE_PYTHON)
- if(LLDB_USE_SYSTEM_SIX)
- set(SIX_EXTRA_ARGS "--useSystemSix")
- endif()
-
- set(LLDB_PYTHON_TARGET_DIR ${LLDB_BINARY_DIR}/scripts)
- set(LLDB_WRAP_PYTHON ${LLDB_BINARY_DIR}/scripts/LLDBWrapPython.cpp)
- if(LLDB_BUILD_FRAMEWORK)
- set(LLDB_PYTHON_TARGET_DIR ${LLDB_FRAMEWORK_DIR})
- set(LLDB_WRAP_PYTHON ${LLDB_PYTHON_TARGET_DIR}/LLDBWrapPython.cpp)
- else()
- # Don't set -m when building the framework.
- set(FINISH_EXTRA_ARGS "-m")
- endif()
-
-
add_subdirectory(scripts)
endif ()
-
add_subdirectory(source)
add_subdirectory(tools)
-option(LLDB_INCLUDE_TESTS "Generate build targets for the LLDB unit tests."
- ${LLVM_INCLUDE_TESTS})
+option(LLDB_INCLUDE_TESTS "Generate build targets for the LLDB unit tests." ${LLVM_INCLUDE_TESTS})
option(LLDB_TEST_USE_CUSTOM_C_COMPILER "Use the C compiler provided via LLDB_TEST_C_COMPILER for building test inferiors (instead of the just-built compiler). Defaults to OFF." OFF)
option(LLDB_TEST_USE_CUSTOM_CXX_COMPILER "Use the C++ compiler provided via LLDB_TEST_CXX_COMPILER for building test inferiors (instead of the just-built compiler). Defaults to OFF." OFF)
if(LLDB_INCLUDE_TESTS)
- # The difference between the following two paths is significant. The path to
- # LLDB will point to LLDB's binary directory, while the other will point to
- # LLVM's binary directory in case the two differ.
+ # Set the path to the default lldb test executable.
set(LLDB_DEFAULT_TEST_EXECUTABLE "${LLVM_RUNTIME_OUTPUT_INTDIR}/lldb${CMAKE_EXECUTABLE_SUFFIX}")
+
+ # Set the paths to default llvm tools.
set(LLDB_DEFAULT_TEST_DSYMUTIL "${LLVM_BINARY_DIR}/${CMAKE_CFG_INTDIR}/bin/dsymutil${CMAKE_EXECUTABLE_SUFFIX}")
+ set(LLDB_DEFAULT_TEST_FILECHECK "${LLVM_BINARY_DIR}/${CMAKE_CFG_INTDIR}/bin/FileCheck${CMAKE_EXECUTABLE_SUFFIX}")
if (NOT LLDB_TEST_USE_CUSTOM_C_COMPILER AND TARGET clang)
set(LLDB_DEFAULT_TEST_C_COMPILER "${LLVM_BINARY_DIR}/${CMAKE_CFG_INTDIR}/bin/clang${CMAKE_EXECUTABLE_SUFFIX}")
@@ -113,6 +63,7 @@ if(LLDB_INCLUDE_TESTS)
set(LLDB_TEST_C_COMPILER "${LLDB_DEFAULT_TEST_C_COMPILER}" CACHE PATH "C Compiler to use for building LLDB test inferiors")
set(LLDB_TEST_CXX_COMPILER "${LLDB_DEFAULT_TEST_CXX_COMPILER}" CACHE PATH "C++ Compiler to use for building LLDB test inferiors")
set(LLDB_TEST_DSYMUTIL "${LLDB_DEFAULT_TEST_DSYMUTIL}" CACHE PATH "dsymutil used for generating dSYM bundles")
+ set(LLDB_TEST_FILECHECK "${LLDB_DEFAULT_TEST_FILECHECK}" CACHE PATH "FileCheck used for testing purposes")
if (("${LLDB_TEST_C_COMPILER}" STREQUAL "") OR
("${LLDB_TEST_CXX_COMPILER}" STREQUAL ""))
@@ -131,9 +82,7 @@ if(LLDB_INCLUDE_TESTS)
endif()
if(TARGET debugserver)
- if(NOT CMAKE_HOST_APPLE OR LLDB_CODESIGN_IDENTITY)
- list(APPEND LLDB_TEST_DEPS debugserver)
- endif()
+ list(APPEND LLDB_TEST_DEPS debugserver)
endif()
if(TARGET lldb-mi)
@@ -148,8 +97,23 @@ if(LLDB_INCLUDE_TESTS)
list(APPEND LLDB_TEST_DEPS liblldb)
endif()
+ # Add dependencies if we test with the in-tree clang.
+ # This works with standalone builds as they import the clang target.
if(TARGET clang)
list(APPEND LLDB_TEST_DEPS clang)
+ if(APPLE)
+ # If we build clang, we should build libcxx.
+ # FIXME: Standalone builds should import the cxx target as well.
+ if(LLDB_BUILT_STANDALONE)
+ # For now check that the include directory exists.
+ set(cxx_dir "${LLVM_BINARY_DIR}/include/c++")
+ if(NOT EXISTS ${cxx_dir})
+ message(WARNING "LLDB test suite requires libc++ in llvm/projects/libcxx or an existing build symlinked to ${cxx_dir}")
+ endif()
+ else()
+ list(APPEND LLDB_TEST_DEPS cxx)
+ endif()
+ endif()
endif()
if(TARGET dsymutil)
@@ -162,46 +126,44 @@ if(LLDB_INCLUDE_TESTS)
add_subdirectory(utils/lldb-dotest)
endif()
-if (LLDB_BUILD_FRAMEWORK)
- add_custom_target(lldb-framework)
- include(LLDBFramework)
-endif()
-
if (NOT LLDB_DISABLE_PYTHON)
+ if(NOT LLDB_BUILD_FRAMEWORK)
+ set(use_python_wrapper_from_src_dir -m)
+ endif()
+ if(LLDB_USE_SYSTEM_SIX)
+ set(use_six_py_from_system --useSystemSix)
+ endif()
+ get_target_property(lldb_scripts_dir swig_wrapper BINARY_DIR)
+ get_target_property(liblldb_build_dir liblldb LIBRARY_OUTPUT_DIRECTORY)
+
# Add a Post-Build Event to copy over Python files and create the symlink
# to liblldb.so for the Python API(hardlink on Windows)
add_custom_target(finish_swig ALL
COMMAND
- ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/scripts/finishSwigWrapperClasses.py
+ ${PYTHON_EXECUTABLE} ${LLDB_SOURCE_DIR}/scripts/finishSwigWrapperClasses.py
--srcRoot=${LLDB_SOURCE_DIR}
- --targetDir=${LLDB_PYTHON_TARGET_DIR}
- --cfgBldDir=${LLDB_PYTHON_TARGET_DIR}
+ --targetDir=${liblldb_build_dir}
+ --cfgBldDir=${lldb_scripts_dir}
--prefix=${CMAKE_BINARY_DIR}
--cmakeBuildConfiguration=${CMAKE_CFG_INTDIR}
--lldbLibDir=lib${LLVM_LIBDIR_SUFFIX}
- ${SIX_EXTRA_ARGS}
- ${FINISH_EXTRA_ARGS}
+ ${use_python_wrapper_from_src_dir}
+ ${use_six_py_from_system}
VERBATIM
- DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/scripts/finishSwigWrapperClasses.py
- DEPENDS ${LLDB_PYTHON_TARGET_DIR}/lldb.py
+ DEPENDS ${LLDB_SOURCE_DIR}/scripts/finishSwigWrapperClasses.py
+ DEPENDS ${lldb_scripts_dir}/lldb.py
COMMENT "Python script sym-linking LLDB Python API")
- # We depend on liblldb and lldb-argdumper being built before we can do this step.
- add_dependencies(finish_swig ${LLDB_SUITE_TARGET})
-
- # If we build the readline module, we depend on that happening
- # first.
if (TARGET readline)
- add_dependencies(finish_swig readline)
+ set(readline_dep readline)
endif()
+ add_dependencies(finish_swig swig_wrapper liblldb lldb-argdumper ${readline_dep})
# Ensure we do the python post-build step when building lldb.
add_dependencies(lldb finish_swig)
- if (LLDB_BUILD_FRAMEWORK)
- # The target to install libLLDB needs to depend on finish_swig so that the
- # framework build properly copies over the Python files.
- add_dependencies(install-liblldb finish_swig)
+ if(LLDB_BUILD_FRAMEWORK)
+ add_dependencies(lldb-framework finish_swig)
endif()
# Add a Post-Build Event to copy the custom Python DLL to the lldb binaries dir so that Windows can find it when launching
diff --git a/cmake/modules/AddLLDB.cmake b/cmake/modules/AddLLDB.cmake
index 129a5ef7500d..f7cac3dad837 100644
--- a/cmake/modules/AddLLDB.cmake
+++ b/cmake/modules/AddLLDB.cmake
@@ -44,21 +44,32 @@ function(add_lldb_library name)
if (PARAM_OBJECT)
add_library(${name} ${libkind} ${srcs})
else()
- llvm_add_library(${name} ${libkind} ${srcs} LINK_LIBS
- ${PARAM_LINK_LIBS}
- DEPENDS ${PARAM_DEPENDS})
+ if(LLDB_NO_INSTALL_DEFAULT_RPATH)
+ set(pass_NO_INSTALL_RPATH NO_INSTALL_RPATH)
+ endif()
+
+ llvm_add_library(${name} ${libkind} ${srcs}
+ LINK_LIBS ${PARAM_LINK_LIBS}
+ DEPENDS ${PARAM_DEPENDS}
+ ${pass_NO_INSTALL_RPATH}
+ )
if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY OR ${name} STREQUAL "liblldb")
if (PARAM_SHARED)
- set(out_dir lib${LLVM_LIBDIR_SUFFIX})
if(${name} STREQUAL "liblldb" AND LLDB_BUILD_FRAMEWORK)
- set(out_dir ${LLDB_FRAMEWORK_INSTALL_DIR})
+ if(LLDB_FRAMEWORK_INSTALL_DIR)
+ set(install_dir ${LLDB_FRAMEWORK_INSTALL_DIR})
+ else()
+ set(install_dir ".")
+ endif()
+ else()
+ set(install_dir lib${LLVM_LIBDIR_SUFFIX})
endif()
install(TARGETS ${name}
COMPONENT ${name}
RUNTIME DESTINATION bin
- LIBRARY DESTINATION ${out_dir}
- ARCHIVE DESTINATION ${out_dir})
+ LIBRARY DESTINATION ${install_dir}
+ ARCHIVE DESTINATION ${install_dir})
else()
install(TARGETS ${name}
COMPONENT ${name}
@@ -67,12 +78,13 @@ function(add_lldb_library name)
endif()
if (NOT CMAKE_CONFIGURATION_TYPES)
add_llvm_install_targets(install-${name}
- DEPENDS ${name}
+ DEPENDS $<TARGET_FILE:${name}>
COMPONENT ${name})
endif()
endif()
endif()
+
# Hack: only some LLDB libraries depend on the clang autogenerated headers,
# but it is simple enough to make all of LLDB depend on some of those
# headers without negatively impacting much of anything.
@@ -86,59 +98,35 @@ endfunction(add_lldb_library)
function(add_lldb_executable name)
cmake_parse_arguments(ARG
- "INCLUDE_IN_SUITE;GENERATE_INSTALL"
- ""
+ "GENERATE_INSTALL"
+ "ENTITLEMENTS"
"LINK_LIBS;LINK_COMPONENTS"
${ARGN}
)
+ if(LLDB_NO_INSTALL_DEFAULT_RPATH)
+ set(pass_NO_INSTALL_RPATH NO_INSTALL_RPATH)
+ endif()
+
list(APPEND LLVM_LINK_COMPONENTS ${ARG_LINK_COMPONENTS})
- add_llvm_executable(${name} ${ARG_UNPARSED_ARGUMENTS})
+ add_llvm_executable(${name} ${ARG_UNPARSED_ARGUMENTS}
+ ENTITLEMENTS ${ARG_ENTITLEMENTS}
+ ${pass_NO_INSTALL_RPATH}
+ )
target_link_libraries(${name} PRIVATE ${ARG_LINK_LIBS})
- set_target_properties(${name} PROPERTIES
- FOLDER "lldb executables")
-
- if(ARG_INCLUDE_IN_SUITE)
- add_dependencies(lldb-suite ${name})
- if(LLDB_BUILD_FRAMEWORK)
- if(NOT IOS)
- set(resource_dir "/Resources")
- set(resource_dots "../")
- endif()
- string(REGEX REPLACE "[^/]+" ".." _dots ${LLDB_FRAMEWORK_INSTALL_DIR})
- set_target_properties(${name} PROPERTIES
- RUNTIME_OUTPUT_DIRECTORY $<TARGET_FILE_DIR:liblldb>${resource_dir}
- BUILD_WITH_INSTALL_RPATH On
- INSTALL_RPATH "@loader_path/../../../${resource_dots}${_dots}/${LLDB_FRAMEWORK_INSTALL_DIR}")
- endif()
- endif()
-
- if(LLDB_BUILD_FRAMEWORK AND NOT ARG_INCLUDE_IN_SUITE)
- set_target_properties(${name} PROPERTIES
- BUILD_WITH_INSTALL_RPATH On
- INSTALL_RPATH "@loader_path/../${LLDB_FRAMEWORK_INSTALL_DIR}")
- endif()
+ set_target_properties(${name} PROPERTIES FOLDER "lldb executables")
if(ARG_GENERATE_INSTALL)
- set(out_dir "bin")
- if (LLDB_BUILD_FRAMEWORK AND ARG_INCLUDE_IN_SUITE)
- set(out_dir ${LLDB_FRAMEWORK_INSTALL_DIR}/${LLDB_FRAMEWORK_RESOURCE_DIR})
- endif()
install(TARGETS ${name}
- COMPONENT ${name}
- RUNTIME DESTINATION ${out_dir})
+ COMPONENT ${name}
+ RUNTIME DESTINATION bin)
if (NOT CMAKE_CONFIGURATION_TYPES)
add_llvm_install_targets(install-${name}
DEPENDS ${name}
COMPONENT ${name})
endif()
endif()
-
- if(ARG_INCLUDE_IN_SUITE AND LLDB_BUILD_FRAMEWORK)
- add_llvm_tool_symlink(${name} ${name} ALWAYS_GENERATE SKIP_INSTALL
- OUTPUT_DIR ${LLVM_RUNTIME_OUTPUT_INTDIR})
- endif()
endfunction(add_lldb_executable)
function(add_lldb_tool name)
@@ -160,3 +148,40 @@ function(lldb_append_link_flags target_name new_link_flags)
# Now set them onto the target.
set_target_properties(${target_name} PROPERTIES LINK_FLAGS ${new_link_flags})
endfunction()
+
+# For tools that depend on liblldb, account for varying directory structures in
+# which LLDB.framework can be used and distributed: In the build-tree we find it
+# by its absolute target path. This is only relevant for running the test suite.
+# In the install step CMake will remove this entry and insert the final RPATHs.
+# These are relative to the file path from where the tool will be loaded on the
+# enduser system.
+#
+# Note that the LLVM install-tree doesn't match the enduser system structure
+# for LLDB.framework, so by default dependent tools will not be functional in
+# their install location. The LLDB_FRAMEWORK_INSTALL_DIR variable allows to fix
+# this. If specified, it causes the install-tree location of the framework to be
+# added as an extra RPATH below.
+#
+function(lldb_setup_framework_rpaths_in_tool name)
+ # In the build-tree, we know the exact path to the binary in the framework.
+ set(rpath_build_tree "$<TARGET_FILE:liblldb>")
+
+ # The installed framework is relocatable and can be in different locations.
+ set(rpaths_install_tree "@loader_path/../../../SharedFrameworks")
+ list(APPEND rpaths_install_tree "@loader_path/../../System/Library/PrivateFrameworks")
+ list(APPEND rpaths_install_tree "@loader_path/../../Library/PrivateFrameworks")
+
+ if(LLDB_FRAMEWORK_INSTALL_DIR)
+ set(rpaths_install_tree "@loader_path/../${LLDB_FRAMEWORK_INSTALL_DIR}")
+ endif()
+
+ # If LLDB_NO_INSTALL_DEFAULT_RPATH was NOT enabled (default), this overwrites
+ # the default settings from llvm_setup_rpath().
+ set_target_properties(${name} PROPERTIES
+ BUILD_WITH_INSTALL_RPATH OFF
+ BUILD_RPATH "${rpath_build_tree}"
+ INSTALL_RPATH "${rpaths_install_tree}"
+ )
+
+ add_dependencies(${name} lldb-framework)
+endfunction()
diff --git a/cmake/modules/LLDBConfig.cmake b/cmake/modules/LLDBConfig.cmake
index dae6e365da38..109c5132d3be 100644
--- a/cmake/modules/LLDBConfig.cmake
+++ b/cmake/modules/LLDBConfig.cmake
@@ -4,34 +4,74 @@ set(LLDB_PROJECT_ROOT ${CMAKE_CURRENT_SOURCE_DIR})
set(LLDB_SOURCE_ROOT "${CMAKE_CURRENT_SOURCE_DIR}/source")
set(LLDB_INCLUDE_ROOT "${CMAKE_CURRENT_SOURCE_DIR}/include")
+set(LLDB_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR})
+set(LLDB_BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR})
+
+if(CMAKE_SOURCE_DIR STREQUAL CMAKE_BINARY_DIR)
+ message(FATAL_ERROR
+ "In-source builds are not allowed. CMake would overwrite the makefiles "
+ "distributed with LLDB. Please create a directory and run cmake from "
+ "there, passing the path to this source directory as the last argument. "
+ "This process created the file `CMakeCache.txt' and the directory "
+ "`CMakeFiles'. Please delete them.")
+endif()
+
set(LLDB_LINKER_SUPPORTS_GROUPS OFF)
if (LLVM_COMPILER_IS_GCC_COMPATIBLE AND NOT "${CMAKE_SYSTEM_NAME}" MATCHES "Darwin")
# The Darwin linker doesn't understand --start-group/--end-group.
set(LLDB_LINKER_SUPPORTS_GROUPS ON)
endif()
-set(LLDB_DEFAULT_DISABLE_PYTHON 0)
-set(LLDB_DEFAULT_DISABLE_CURSES 0)
+set(default_disable_python OFF)
+set(default_disable_curses OFF)
+set(default_disable_libedit OFF)
-if ( CMAKE_SYSTEM_NAME MATCHES "Windows" )
- set(LLDB_DEFAULT_DISABLE_CURSES 1)
-elseif (CMAKE_SYSTEM_NAME MATCHES "Android" )
- set(LLDB_DEFAULT_DISABLE_PYTHON 1)
- set(LLDB_DEFAULT_DISABLE_CURSES 1)
-elseif(IOS)
- set(LLDB_DEFAULT_DISABLE_PYTHON 1)
+if(DEFINED LLVM_ENABLE_LIBEDIT AND NOT LLVM_ENABLE_LIBEDIT)
+ set(default_disable_libedit ON)
endif()
-set(LLDB_DISABLE_PYTHON ${LLDB_DEFAULT_DISABLE_PYTHON} CACHE BOOL
- "Disables the Python scripting integration.")
-set(LLDB_DISABLE_CURSES ${LLDB_DEFAULT_DISABLE_CURSES} CACHE BOOL
- "Disables the Curses integration.")
+if(CMAKE_SYSTEM_NAME MATCHES "Windows")
+ set(default_disable_curses ON)
+ set(default_disable_libedit ON)
+elseif(CMAKE_SYSTEM_NAME MATCHES "Android")
+ set(default_disable_python ON)
+ set(default_disable_curses ON)
+ set(default_disable_libedit ON)
+elseif(IOS)
+ set(default_disable_python ON)
+endif()
-set(LLDB_RELOCATABLE_PYTHON 0 CACHE BOOL
- "Causes LLDB to use the PYTHONHOME environment variable to locate Python.")
+option(LLDB_DISABLE_PYTHON "Disable Python scripting integration." ${default_disable_python})
+option(LLDB_DISABLE_CURSES "Disable Curses integration." ${default_disable_curses})
+option(LLDB_DISABLE_LIBEDIT "Disable the use of editline." ${default_disable_libedit})
+option(LLDB_RELOCATABLE_PYTHON "Use the PYTHONHOME environment variable to locate Python." OFF)
+option(LLDB_USE_SYSTEM_SIX "Use six.py shipped with system and do not install a copy of it" OFF)
+option(LLDB_USE_ENTITLEMENTS "When codesigning, use entitlements if available" ON)
+option(LLDB_BUILD_FRAMEWORK "Build LLDB.framework (Darwin only)" OFF)
+option(LLDB_NO_INSTALL_DEFAULT_RPATH "Disable default RPATH settings in binaries" OFF)
+
+if(LLDB_BUILD_FRAMEWORK)
+ if(NOT APPLE)
+ message(FATAL_ERROR "LLDB.framework can only be generated when targeting Apple platforms")
+ endif()
+ # CMake 3.6 did not correctly emit POST_BUILD commands for Apple Framework targets
+ if(CMAKE_VERSION VERSION_LESS 3.7)
+ message(FATAL_ERROR "LLDB_BUILD_FRAMEWORK is not supported on CMake < 3.7")
+ endif()
-set(LLDB_USE_SYSTEM_SIX 0 CACHE BOOL
- "Use six.py shipped with system and do not install a copy of it")
+ set(LLDB_FRAMEWORK_VERSION A CACHE STRING "LLDB.framework version (default is A)")
+ set(LLDB_FRAMEWORK_BUILD_DIR bin CACHE STRING "Output directory for LLDB.framework")
+ set(LLDB_FRAMEWORK_INSTALL_DIR Library/Frameworks CACHE STRING "Install directory for LLDB.framework")
+ set(LLDB_FRAMEWORK_TOOLS darwin-debug;debugserver;lldb-argdumper;lldb-server CACHE INTERNAL
+ "List of tools to include in LLDB.framework/Resources")
+
+ # Set designated directory for all dSYMs. Essentially, this emits the
+ # framework's dSYM outside of the framework directory.
+ if(LLVM_EXTERNALIZE_DEBUGINFO)
+ set(LLVM_EXTERNALIZE_DEBUGINFO_OUTPUT_DIR ${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR}/bin CACHE STRING
+ "Directory to emit dSYM files stripped from executables and libraries (Darwin Only)")
+ endif()
+endif()
if (NOT CMAKE_SYSTEM_NAME MATCHES "Windows")
set(LLDB_EXPORT_ALL_SYMBOLS 0 CACHE BOOL
@@ -243,6 +283,7 @@ if( MSVC )
-wd4018 # Suppress 'warning C4018: '>=' : signed/unsigned mismatch'
-wd4068 # Suppress 'warning C4068: unknown pragma'
-wd4150 # Suppress 'warning C4150: deletion of pointer to incomplete type'
+ -wd4201 # Suppress 'warning C4201: nonstandard extension used: nameless struct/union'
-wd4251 # Suppress 'warning C4251: T must have dll-interface to be used by clients of class U.'
-wd4521 # Suppress 'warning C4521: 'type' : multiple copy constructors specified'
-wd4530 # Suppress 'warning C4530: C++ exception handler used, but unwind semantics are not enabled.'
@@ -254,20 +295,20 @@ if (CMAKE_SYSTEM_NAME MATCHES "Windows")
add_definitions( -D_UNICODE -DUNICODE )
endif()
-set(LLDB_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR})
-set(LLDB_BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR})
-
-if (CMAKE_SOURCE_DIR STREQUAL CMAKE_BINARY_DIR)
- message(FATAL_ERROR "In-source builds are not allowed. CMake would overwrite "
-"the makefiles distributed with LLDB. Please create a directory and run cmake "
-"from there, passing the path to this source directory as the last argument. "
-"This process created the file `CMakeCache.txt' and the directory "
-"`CMakeFiles'. Please delete them.")
+# If LLDB_VERSION_* is specified, use it, if not use LLVM_VERSION_*.
+if(NOT DEFINED LLDB_VERSION_MAJOR)
+ set(LLDB_VERSION_MAJOR ${LLVM_VERSION_MAJOR})
endif()
-
-# Compute the LLDB version from the LLVM version.
-string(REGEX MATCH "[0-9]+\\.[0-9]+(\\.[0-9]+)?" LLDB_VERSION
- ${PACKAGE_VERSION})
+if(NOT DEFINED LLDB_VERSION_MINOR)
+ set(LLDB_VERSION_MINOR ${LLVM_VERSION_MINOR})
+endif()
+if(NOT DEFINED LLDB_VERSION_PATCH)
+ set(LLDB_VERSION_PATCH ${LLVM_VERSION_PATCH})
+endif()
+if(NOT DEFINED LLDB_VERSION_SUFFIX)
+ set(LLDB_VERSION_SUFFIX ${LLVM_VERSION_SUFFIX})
+endif()
+set(LLDB_VERSION "${LLDB_VERSION_MAJOR}.${LLDB_VERSION_MINOR}.${LLDB_VERSION_PATCH}${LLDB_VERSION_SUFFIX}")
message(STATUS "LLDB version: ${LLDB_VERSION}")
include_directories(BEFORE
@@ -304,11 +345,7 @@ if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY)
endif()
endif()
-if (NOT LIBXML2_FOUND AND NOT (CMAKE_SYSTEM_NAME MATCHES "Windows"))
- # Skip Libxml2 on Windows. In CMake 3.4 and higher, the algorithm for
- # finding libxml2 got "smarter", and it can now locate the version which is
- # in gnuwin32, even though that version does not contain the headers that
- # LLDB uses.
+if (NOT LIBXML2_FOUND)
find_package(LibXml2)
endif()
@@ -323,11 +360,6 @@ if (APPLE)
find_library(CORE_FOUNDATION_LIBRARY CoreFoundation)
find_library(SECURITY_LIBRARY Security)
- set(LLDB_FRAMEWORK_INSTALL_DIR Library/Frameworks CACHE STRING "Output directory for LLDB.framework")
- set(LLDB_FRAMEWORK_VERSION A CACHE STRING "LLDB.framework version (default is A)")
- set(LLDB_FRAMEWORK_RESOURCE_DIR
- LLDB.framework/Versions/${LLDB_FRAMEWORK_VERSION}/Resources)
-
add_definitions( -DLIBXML2_DEFINED )
list(APPEND system_libs xml2
${CURSES_LIBRARIES}
@@ -336,14 +368,11 @@ if (APPLE)
${CORE_SERVICES_LIBRARY}
${SECURITY_LIBRARY}
${DEBUG_SYMBOLS_LIBRARY})
-
-else()
- if (LIBXML2_FOUND)
- add_definitions( -DLIBXML2_DEFINED )
- list(APPEND system_libs ${LIBXML2_LIBRARIES})
- include_directories(${LIBXML2_INCLUDE_DIR})
- endif()
-
+ include_directories(${LIBXML2_INCLUDE_DIR})
+elseif(LIBXML2_FOUND AND LIBXML2_VERSION_STRING VERSION_GREATER 2.8)
+ add_definitions( -DLIBXML2_DEFINED )
+ list(APPEND system_libs ${LIBXML2_LIBRARIES})
+ include_directories(${LIBXML2_INCLUDE_DIR})
endif()
if( WIN32 AND NOT CYGWIN )
@@ -358,6 +387,8 @@ endif()
list(APPEND system_libs ${CMAKE_DL_LIBS})
+SET(SKIP_LLDB_SERVER_BUILD OFF CACHE BOOL "Skip building lldb-server")
+
# Figure out if lldb could use lldb-server. If so, then we'll
# ensure we build lldb-server when an lldb target is being built.
if (CMAKE_SYSTEM_NAME MATCHES "Android|Darwin|FreeBSD|Linux|NetBSD")
diff --git a/cmake/modules/LLDBFramework.cmake b/cmake/modules/LLDBFramework.cmake
index abacee89d9ac..0ccabd12a010 100644
--- a/cmake/modules/LLDBFramework.cmake
+++ b/cmake/modules/LLDBFramework.cmake
@@ -1,44 +1,107 @@
+# Path relative to the root binary directory
+get_filename_component(
+ framework_target_dir ${LLDB_FRAMEWORK_BUILD_DIR} ABSOLUTE
+ BASE_DIR ${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR}
+)
+
+message(STATUS "LLDB.framework: build path is '${framework_target_dir}'")
+message(STATUS "LLDB.framework: install path is '${LLDB_FRAMEWORK_INSTALL_DIR}'")
+message(STATUS "LLDB.framework: resources subdirectory is 'Versions/${LLDB_FRAMEWORK_VERSION}/Resources'")
+
+# Configure liblldb as a framework bundle
+set_target_properties(liblldb PROPERTIES
+ FRAMEWORK ON
+ FRAMEWORK_VERSION ${LLDB_FRAMEWORK_VERSION}
+
+ OUTPUT_NAME LLDB
+ VERSION ${LLDB_VERSION}
+ LIBRARY_OUTPUT_DIRECTORY ${framework_target_dir}
+
+ # Compatibility version
+ SOVERSION "1.0.0"
+
+ MACOSX_FRAMEWORK_IDENTIFIER com.apple.LLDB.framework
+ MACOSX_FRAMEWORK_BUNDLE_VERSION ${LLDB_VERSION}
+ MACOSX_FRAMEWORK_SHORT_VERSION_STRING ${LLDB_VERSION}
+ MACOSX_FRAMEWORK_INFO_PLIST ${LLDB_SOURCE_DIR}/resources/LLDB-Info.plist.in
+)
+
+# Affects the layout of the framework bundle (default is macOS layout).
+if(IOS)
+ set_target_properties(liblldb PROPERTIES
+ XCODE_ATTRIBUTE_IPHONEOS_DEPLOYMENT_TARGET "${IPHONEOS_DEPLOYMENT_TARGET}")
+else()
+ set_target_properties(liblldb PROPERTIES
+ XCODE_ATTRIBUTE_MACOSX_DEPLOYMENT_TARGET "${MACOSX_DEPLOYMENT_TARGET}")
+endif()
+
+# Target to capture extra steps for a fully functional framework bundle.
+add_custom_target(lldb-framework)
+add_dependencies(lldb-framework liblldb)
+
+# Dependencies are defined once tools are added (see AddLLDB.cmake)
+if(LLDB_FRAMEWORK_TOOLS)
+ foreach(tool ${LLDB_FRAMEWORK_TOOLS})
+ add_custom_command(TARGET lldb-framework POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E copy $<TARGET_FILE:${tool}> $<TARGET_FILE_DIR:liblldb>/Resources
+ COMMENT "LLDB.framework: copy additional tool ${tool}"
+ )
+ endforeach()
+else()
+ message(WARNING "LLDB.framework: no additional tools configured (set via LLDB_FRAMEWORK_TOOLS)")
+endif()
+
+# Apart from this one, CMake creates all required symlinks in the framework bundle.
+add_custom_command(TARGET lldb-framework POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E create_symlink
+ Versions/Current/Headers
+ ${framework_target_dir}/LLDB.framework/Headers
+ COMMENT "LLDB.framework: create Headers symlink"
+)
+
+# At configuration time, collect headers for the framework bundle and copy them
+# into a staging directory. Later we can copy over the entire folder.
file(GLOB public_headers ${LLDB_SOURCE_DIR}/include/lldb/API/*.h)
file(GLOB root_public_headers ${LLDB_SOURCE_DIR}/include/lldb/lldb-*.h)
file(GLOB root_private_headers ${LLDB_SOURCE_DIR}/include/lldb/lldb-private*.h)
list(REMOVE_ITEM root_public_headers ${root_private_headers})
+
+set(lldb_header_staging ${CMAKE_CURRENT_BINARY_DIR}/FrameworkHeaders)
foreach(header
${public_headers}
${root_public_headers}
${LLDB_SOURCE_DIR}/include/lldb/Utility/SharingPtr.h)
+
get_filename_component(basename ${header} NAME)
- add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/FrameworkHeaders/${basename}
- DEPENDS ${header}
- COMMAND ${CMAKE_COMMAND} -E copy ${header} ${CMAKE_CURRENT_BINARY_DIR}/FrameworkHeaders/${basename})
- list(APPEND framework_headers ${CMAKE_CURRENT_BINARY_DIR}/FrameworkHeaders/${basename})
+ set(staged_header ${lldb_header_staging}/${basename})
+
+ add_custom_command(
+ DEPENDS ${header} OUTPUT ${staged_header}
+ COMMAND ${CMAKE_COMMAND} -E copy ${header} ${staged_header}
+ COMMENT "LLDB.framework: collect framework header")
+
+ list(APPEND lldb_staged_headers ${staged_header})
endforeach()
-add_custom_target(lldb-framework-headers DEPENDS ${framework_headers})
+# Wrap output in a target, so lldb-framework can depend on it.
+add_custom_target(lldb-framework-headers DEPENDS ${lldb_staged_headers})
+add_dependencies(lldb-framework lldb-framework-headers)
-add_custom_command(TARGET lldb-framework POST_BUILD
- COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_CURRENT_BINARY_DIR}/FrameworkHeaders $<TARGET_FILE_DIR:liblldb>/Headers
+# At build time, copy the staged headers into the framework bundle (and do
+# some post-processing in-place).
+add_custom_command(TARGET lldb-framework-headers POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E copy_directory ${lldb_header_staging} $<TARGET_FILE_DIR:liblldb>/Headers
COMMAND ${LLDB_SOURCE_DIR}/scripts/framework-header-fix.sh $<TARGET_FILE_DIR:liblldb>/Headers ${LLDB_VERSION}
+ COMMENT "LLDB.framework: copy framework headers"
)
-if (NOT IOS)
- if (NOT LLDB_BUILT_STANDALONE)
- add_dependencies(lldb-framework clang-headers)
- endif()
+# Copy vendor-specific headers from clang (without staging).
+if(NOT IOS AND NOT LLDB_BUILT_STANDALONE)
+ add_dependencies(lldb-framework clang-headers)
add_custom_command(TARGET lldb-framework POST_BUILD
- COMMAND ${CMAKE_COMMAND} -E create_symlink Versions/Current/Headers ${LLDB_FRAMEWORK_DIR}/LLDB.framework/Headers
- COMMAND ${CMAKE_COMMAND} -E create_symlink ${LLDB_FRAMEWORK_VERSION} ${LLDB_FRAMEWORK_DIR}/LLDB.framework/Versions/Current
- COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_BINARY_DIR}/lib${LLVM_LIBDIR_SUFFIX}/clang/${LLDB_VERSION} $<TARGET_FILE_DIR:liblldb>/Resources/Clang
+ COMMAND ${CMAKE_COMMAND} -E copy_directory
+ $<TARGET_PROPERTY:clang-headers,RUNTIME_OUTPUT_DIRECTORY>
+ $<TARGET_FILE_DIR:liblldb>/Resources/Clang/include
+ COMMENT "LLDB.framework: copy clang vendor-specific headers"
)
endif()
-
-set_target_properties(liblldb PROPERTIES
- OUTPUT_NAME LLDB
- FRAMEWORK On
- FRAMEWORK_VERSION ${LLDB_FRAMEWORK_VERSION}
- MACOSX_FRAMEWORK_INFO_PLIST ${LLDB_SOURCE_DIR}/resources/LLDB-Info.plist
- LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/${LLDB_FRAMEWORK_INSTALL_DIR}
- PUBLIC_HEADER "${framework_headers}")
-
-add_dependencies(lldb-framework
- lldb-framework-headers
- lldb-suite)
diff --git a/cmake/modules/LLDBStandalone.cmake b/cmake/modules/LLDBStandalone.cmake
index 742c464036a4..e63b2694e6a4 100644
--- a/cmake/modules/LLDBStandalone.cmake
+++ b/cmake/modules/LLDBStandalone.cmake
@@ -83,6 +83,7 @@ if (CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
endif()
include(AddLLVM)
+ include(TableGen)
include(HandleLLVMOptions)
include(CheckAtomic)
@@ -100,17 +101,15 @@ if (CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
# Import CMake library targets from LLVM and Clang.
include("${LLVM_OBJ_ROOT}/lib${LLVM_LIBDIR_SUFFIX}/cmake/llvm/LLVMConfig.cmake")
- # cmake/clang/ClangConfig.cmake is not created when LLVM and Clang are built together.
if (EXISTS "${LLVM_OBJ_ROOT}/lib${LLVM_LIBDIR_SUFFIX}/cmake/clang/ClangConfig.cmake")
include("${LLVM_OBJ_ROOT}/lib${LLVM_LIBDIR_SUFFIX}/cmake/clang/ClangConfig.cmake")
endif()
set(PACKAGE_VERSION "${LLVM_PACKAGE_VERSION}")
-
- set(LLVM_BINARY_DIR ${CMAKE_BINARY_DIR})
+ set(LLVM_INCLUDE_TESTS ON CACHE INTERNAL "")
set(CMAKE_INCLUDE_CURRENT_DIR ON)
- include_directories("${LLVM_BINARY_DIR}/include" "${LLVM_MAIN_INCLUDE_DIR}")
+ include_directories("${CMAKE_BINARY_DIR}/include" "${LLVM_MAIN_INCLUDE_DIR}")
# Next three include directories are needed when llvm-config is located in build directory.
# LLVM and Clang are assumed to be built together
if (EXISTS "${LLVM_OBJ_ROOT}/include")
diff --git a/cmake/modules/debugserverConfig.cmake b/cmake/modules/debugserverConfig.cmake
new file mode 100644
index 000000000000..3b716ca87716
--- /dev/null
+++ b/cmake/modules/debugserverConfig.cmake
@@ -0,0 +1,3 @@
+# Duplicate options from LLDBConfig that are relevant for debugserver Standalone builds.
+
+option(LLDB_USE_ENTITLEMENTS "When code signing, use entitlements if available" ON)
diff --git a/docs/building-with-debug-llvm.txt b/docs/building-with-debug-llvm.txt
index f59ca410edb0..af1bcf8856b2 100644
--- a/docs/building-with-debug-llvm.txt
+++ b/docs/building-with-debug-llvm.txt
@@ -48,3 +48,4 @@ currently at a shell prompt in a checked-out LLDB repository.
the top left of the Xcode window.
6. Build lldb.xcodeproj.
+
diff --git a/docs/lldb-platform-packets.txt b/docs/lldb-platform-packets.txt
new file mode 100644
index 000000000000..3258e4c0dd88
--- /dev/null
+++ b/docs/lldb-platform-packets.txt
@@ -0,0 +1,404 @@
+Here is a brief overview of the packets that an lldb platform server
+needs to implement for the lldb testsuite to be run on a remote
+target device/system.
+
+These are almost all lldb extensions to the gdb-remote serial
+protocol. Many of the vFile: packets are described to the "Host
+I/O Packets" detailed in the gdb-remote protocol documentation,
+although the lldb platform extensions include packets that are not
+defined there (vFile:size:, vFile:mode:, vFile:symlink, vFile:chmod:).
+Most importantly, the flags that lldb passes to vFile:open: are
+incompatible with the flags that gdb specifies.
+
+
+//----------------------------------------------------------------------
+// QStartNoAckMode
+//
+// BRIEF
+// A request to stop sending ACK packets for each properly formatted packet.
+//
+// EXAMPLE
+// A platform session will typically start like this:
+//
+// receive: +$QStartNoAckMode#b0
+// send: + <-- ACKing the properly formatted QStartNoAckMode packet
+// send: $OK#9a
+// receive: + <-- Our OK packet getting ACKed
+//
+// ACK mode is now disabled.
+
+//----------------------------------------------------------------------
+// qHostInfo
+//
+// BRIEF
+// Describe the hardware and OS of the target system
+//
+// EXAMPLE
+//
+// receive: qHostInfo
+// send: cputype:16777228;cpusubtype:1;ostype:ios;watchpoint_exceptions_received:before;os_version:12.1;vendor:apple;default_packet_timeout:5;
+//
+// All numbers are base 10, os_version is a string that will be parsed as major.minor.patch.
+
+//----------------------------------------------------------------------
+// qModuleInfo
+//
+// BRIEF
+// Report information about a binary on the target system
+//
+// EXAMPLE
+// receive: qModuleInfo:2f62696e2f6c73;
+//
+// FIXME finish this packet description, v. GDBRemoteCommunicationServerCommon::Handle_qModuleInfo
+
+
+//----------------------------------------------------------------------
+// qGetWorkingDir
+//
+// BRIEF
+// Get the current working directory of the platform stub in
+// ASCII hex encoding.
+//
+// EXAMPLE
+//
+// receive: qGetWorkingDir
+// send: 2f4170706c65496e7465726e616c2f6c6c64622f73657474696e67732f342f5465737453657474696e67732e746573745f646973617373656d626c65725f73657474696e6773
+
+
+
+//----------------------------------------------------------------------
+// QSetWorkingDir:
+//
+// BRIEF
+// Set the current working directory of the platform stub in
+// ASCII hex encoding.
+//
+// EXAMPLE
+//
+// receive: QSetWorkingDir:2f4170706c65496e7465726e616c2f6c6c64622f73657474696e67732f342f5465737453657474696e67732e746573745f646973617373656d626c65725f73657474696e6773
+// send: OK
+
+//----------------------------------------------------------------------
+// qPlatform_mkdir:
+//
+// BRIEF
+// Create a directory on the target system.
+//
+// EXAMPLE
+//
+// receive: qPlatform_mkdir:000001fd,2f746d702f6131
+// send: F0
+//
+// request packet has the fields:
+// 1. mode bits in base 16
+// 2. file path in ascii-hex encoding
+//
+// response is F followed by the return value of the mkdir() call,
+// base 10 encoded.
+
+//----------------------------------------------------------------------
+// qPlatform_shell:
+//
+// BRIEF
+// Run a shell command on the target system, return the output.
+//
+// EXAMPLE
+//
+// receive: qPlatform_shell:6c73202f746d702f,0000000a
+// send: F,0,0,<OUTPUT>
+//
+// request packet has the fields:
+// 1. shell command ascii-hex encoded
+// 2. timeout
+// 3. {optional} working directory ascii-hex encoded
+//
+// Response is F followed by the return value of the command (base 16),
+// followed by a another number, followed by the output of the command
+/ in binary-escaped-data encoding.
+
+//----------------------------------------------------------------------
+// qLaunchGDBServer
+//
+// BRIEF
+// Start a gdbserver process (gdbserver, debugserver, lldb-server)
+// on the target system.
+//
+// EXAMPLE
+//
+// receive: qLaunchGDBServer;host:<HOSTNAME_LLDB_IS_ON>;
+// send: pid:1337;port:43001;
+//
+// request packet hostname field is not ascii-hex encoded. Hostnames
+// don't have $ or # characters in them.
+//
+// response to the packet is the pid of the newly launched gdbserver,
+// and the port it is listening for a connection on.
+//
+// When the testsuite is running, lldb may use the pid to kill off a
+// debugserver that doesn't seem to be responding, etc.
+
+//----------------------------------------------------------------------
+// qKillSpawnedProcess:
+//
+// BRIEF
+// Kill a process running on the target system.
+//
+// EXAMPLE
+//
+// receive: qKillSpawnedProcess:1337
+// send: OK
+//
+// The request packet has the process ID in base 10.
+
+//----------------------------------------------------------------------
+// qProcessInfoPID:
+//
+// BRIEF
+// Gather information about a process running on the target
+//
+// EXAMPLE
+//
+// receive: qProcessInfoPID:71964
+// send: pid:71964;name:612e6f7574;
+//
+// The request packet has the pid encoded in base 10.
+//
+// The reply has semicolon-separated name:value fields, two are
+// shown here. pid is base 10 encoded. name is ascii hex encoded.
+// lldb-server can reply with many additional fields, but I think
+// this is enough for the testsuite.
+
+//----------------------------------------------------------------------
+// qfProcessInfo:
+//
+// BRIEF
+// Search the process table for processes matching criteria,
+// respond with them in multiple packets.
+//
+// EXAMPLE
+//
+// receive: qfProcessInfo:name_match:equals;name:6e6f70726f6365737365786973747377697468746869736e616d65;
+// send: pid:3500;name:612e6f7574;
+//
+// The request packet has a criteria to search for, followed by
+// a specific name. Other name_match: values include
+// starts_with, ends_with, contains, regex. You can specify a pid
+// to search for, a uid, all_users, triple, etc etc. The testsuite
+// only ever searches for name_match:equals.
+//
+// The response should include any information about the process that
+// can be retrieved in semicolon-separated name:value fields.
+// In this example, pid is base 10, name is ascii-hex encoded.
+// The testsuite seems to only require these two.
+//
+// This packet only responds with one process. To get further matches to
+// the search, qsProcessInfo should be sent.
+//
+// If no process match is found, Exx should be returned.
+
+//----------------------------------------------------------------------
+// qsProcessInfo
+//
+// BRIEF
+// Return the next process info found by the most recent qfProcessInfo:
+// packet.
+//
+// EXAMPLE
+//
+// Continues to return the results of the qfProcessInfo. Once all matches
+// have been sent, Exx is returned to indicate end of matches.
+
+//----------------------------------------------------------------------
+// vFile:size:
+//
+// BRIEF
+// Get the size of a file on the target system, filename in ASCII hex.
+//
+// EXAMPLE
+//
+// receive: vFile:size:2f746d702f61
+// send: Fc008
+//
+// response is "F" followed by the file size in base 16.
+// "F-1,errno" with the errno if an error occurs.
+
+
+//----------------------------------------------------------------------
+// vFile:mode:
+//
+// BRIEF
+// Get the mode bits of a file on the target system, filename in ASCII hex.
+//
+// EXAMPLE
+//
+// receive: vFile:mode:2f746d702f61
+// send: F1ed
+//
+// response is "F" followed by the mode bits in base 16, this 0x1ed would
+// correspond to 0755 in octal.
+// "F-1,errno" with the errno if an error occurs.
+
+//----------------------------------------------------------------------
+// vFile:unlink:
+//
+// BRIEF
+// Remove a file on the target system.
+//
+// EXAMPLE
+//
+// receive: vFile:u