Date: Wed, 19 Mar 2014 13:11:36 +0000 (UTC) From: Ed Maste <emaste@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r263363 - in stable/10: contrib/llvm/tools/lldb/include/lldb contrib/llvm/tools/lldb/include/lldb/API contrib/llvm/tools/lldb/include/lldb/Breakpoint contrib/llvm/tools/lldb/include/lld... Message-ID: <201403191311.s2JDBaPK045202@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: emaste Date: Wed Mar 19 13:11:35 2014 New Revision: 263363 URL: http://svnweb.freebsd.org/changeset/base/263363 Log: MFC r258054: Update LLDB to upstream r194122 snapshot Inludes minor changes relative to upstream, for compatibility with FreeBSD's in-tree LLVM 3.3: - Reverted LLDB r191806, restoring use of previous API. - Reverted part of LLDB r189317, restoring previous enum names. - Work around missing LLVM r192504, using previous registerEHFrames API (limited functionality). - Removed PlatformWindows header include and init/terminate calls. Sponsored by: DARPA, AFRL Added: stable/10/contrib/llvm/tools/lldb/include/lldb/Core/StreamGDBRemote.h - copied unchanged from r258054, head/contrib/llvm/tools/lldb/include/lldb/Core/StreamGDBRemote.h stable/10/contrib/llvm/tools/lldb/include/lldb/DataFormatters/ValueObjectPrinter.h - copied unchanged from r258054, head/contrib/llvm/tools/lldb/include/lldb/DataFormatters/ValueObjectPrinter.h stable/10/contrib/llvm/tools/lldb/include/lldb/Host/OptionParser.h - copied unchanged from r258054, head/contrib/llvm/tools/lldb/include/lldb/Host/OptionParser.h stable/10/contrib/llvm/tools/lldb/include/lldb/Target/SystemRuntime.h - copied unchanged from r258054, head/contrib/llvm/tools/lldb/include/lldb/Target/SystemRuntime.h stable/10/contrib/llvm/tools/lldb/source/Core/StreamGDBRemote.cpp - copied unchanged from r258054, head/contrib/llvm/tools/lldb/source/Core/StreamGDBRemote.cpp stable/10/contrib/llvm/tools/lldb/source/DataFormatters/LibCxxUnorderedMap.cpp - copied unchanged from r258054, head/contrib/llvm/tools/lldb/source/DataFormatters/LibCxxUnorderedMap.cpp stable/10/contrib/llvm/tools/lldb/source/DataFormatters/ValueObjectPrinter.cpp - copied unchanged from r258054, head/contrib/llvm/tools/lldb/source/DataFormatters/ValueObjectPrinter.cpp stable/10/contrib/llvm/tools/lldb/source/Host/common/OptionParser.cpp - copied unchanged from r258054, head/contrib/llvm/tools/lldb/source/Host/common/OptionParser.cpp stable/10/contrib/llvm/tools/lldb/source/Host/common/ProcessRunLock.cpp - copied unchanged from r258054, head/contrib/llvm/tools/lldb/source/Host/common/ProcessRunLock.cpp stable/10/contrib/llvm/tools/lldb/source/Plugins/Platform/POSIX/ - copied from r258054, head/contrib/llvm/tools/lldb/source/Plugins/Platform/POSIX/ stable/10/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextFreeBSD_i386.cpp - copied unchanged from r258054, head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextFreeBSD_i386.cpp stable/10/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextFreeBSD_i386.h - copied unchanged from r258054, head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextFreeBSD_i386.h stable/10/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextFreeBSD_mips64.cpp - copied unchanged from r258054, head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextFreeBSD_mips64.cpp stable/10/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextFreeBSD_mips64.h - copied unchanged from r258054, head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextFreeBSD_mips64.h stable/10/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextLinux_i386.cpp - copied unchanged from r258054, head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextLinux_i386.cpp stable/10/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextLinux_i386.h - copied unchanged from r258054, head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextLinux_i386.h stable/10/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIXProcessMonitor_mips64.cpp - copied unchanged from r258054, head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIXProcessMonitor_mips64.cpp stable/10/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIXProcessMonitor_mips64.h - copied unchanged from r258054, head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIXProcessMonitor_mips64.h stable/10/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIXProcessMonitor_x86.cpp - copied unchanged from r258054, head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIXProcessMonitor_x86.cpp stable/10/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIXProcessMonitor_x86.h - copied unchanged from r258054, head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIXProcessMonitor_x86.h stable/10/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIX_mips64.cpp - copied unchanged from r258054, head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIX_mips64.cpp stable/10/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIX_mips64.h - copied unchanged from r258054, head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIX_mips64.h stable/10/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIX_x86.cpp - copied unchanged from r258054, head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIX_x86.cpp stable/10/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIX_x86.h - copied unchanged from r258054, head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIX_x86.h stable/10/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContext_mips64.h - copied unchanged from r258054, head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContext_mips64.h stable/10/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterInfos_i386.h - copied unchanged from r258054, head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterInfos_i386.h stable/10/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterInfos_mips64.h - copied unchanged from r258054, head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterInfos_mips64.h stable/10/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterInfos_x86_64.h - copied unchanged from r258054, head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterInfos_x86_64.h stable/10/contrib/llvm/tools/lldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_mips64.cpp - copied unchanged from r258054, head/contrib/llvm/tools/lldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_mips64.cpp stable/10/contrib/llvm/tools/lldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_mips64.h - copied unchanged from r258054, head/contrib/llvm/tools/lldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_mips64.h stable/10/contrib/llvm/tools/lldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_x86_64.cpp - copied unchanged from r258054, head/contrib/llvm/tools/lldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_x86_64.cpp stable/10/contrib/llvm/tools/lldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_x86_64.h - copied unchanged from r258054, head/contrib/llvm/tools/lldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_x86_64.h stable/10/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDataExtractor.cpp - copied unchanged from r258054, head/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDataExtractor.cpp stable/10/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDataExtractor.h - copied unchanged from r258054, head/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDataExtractor.h stable/10/contrib/llvm/tools/lldb/source/Target/SystemRuntime.cpp - copied unchanged from r258054, head/contrib/llvm/tools/lldb/source/Target/SystemRuntime.cpp stable/10/contrib/llvm/tools/lldb/tools/driver/ELWrapper.cpp - copied unchanged from r258054, head/contrib/llvm/tools/lldb/tools/driver/ELWrapper.cpp stable/10/contrib/llvm/tools/lldb/tools/driver/ELWrapper.h - copied unchanged from r258054, head/contrib/llvm/tools/lldb/tools/driver/ELWrapper.h stable/10/contrib/llvm/tools/lldb/tools/driver/GetOptWrapper.cpp - copied unchanged from r258054, head/contrib/llvm/tools/lldb/tools/driver/GetOptWrapper.cpp stable/10/contrib/llvm/tools/lldb/tools/driver/GetOptWrapper.h - copied unchanged from r258054, head/contrib/llvm/tools/lldb/tools/driver/GetOptWrapper.h stable/10/contrib/llvm/tools/lldb/tools/driver/Platform.cpp - copied unchanged from r258054, head/contrib/llvm/tools/lldb/tools/driver/Platform.cpp stable/10/contrib/llvm/tools/lldb/tools/driver/Platform.h - copied unchanged from r258054, head/contrib/llvm/tools/lldb/tools/driver/Platform.h stable/10/contrib/llvm/tools/lldb/tools/lldb-platform/ - copied from r258054, head/contrib/llvm/tools/lldb/tools/lldb-platform/ Deleted: stable/10/contrib/llvm/tools/lldb/include/lldb/Utility/RefCounter.h stable/10/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContext_i386.cpp stable/10/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContext_i386.h stable/10/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContext_x86_64.cpp stable/10/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContext_x86_64.h stable/10/contrib/llvm/tools/lldb/source/Plugins/Process/elf-core/RegisterContextCoreFreeBSD_x86_64.cpp stable/10/contrib/llvm/tools/lldb/source/Plugins/Process/elf-core/RegisterContextCoreFreeBSD_x86_64.h stable/10/contrib/llvm/tools/lldb/source/Plugins/Process/elf-core/RegisterContextCoreLinux_x86_64.cpp stable/10/contrib/llvm/tools/lldb/source/Plugins/Process/elf-core/RegisterContextCoreLinux_x86_64.h stable/10/contrib/llvm/tools/lldb/source/Utility/RefCounter.cpp Modified: stable/10/contrib/llvm/tools/lldb/include/lldb/API/SBHostOS.h stable/10/contrib/llvm/tools/lldb/include/lldb/API/SBProcess.h stable/10/contrib/llvm/tools/lldb/include/lldb/API/SBTarget.h stable/10/contrib/llvm/tools/lldb/include/lldb/API/SBThread.h stable/10/contrib/llvm/tools/lldb/include/lldb/Breakpoint/Breakpoint.h stable/10/contrib/llvm/tools/lldb/include/lldb/Breakpoint/BreakpointList.h stable/10/contrib/llvm/tools/lldb/include/lldb/Breakpoint/BreakpointLocation.h stable/10/contrib/llvm/tools/lldb/include/lldb/Breakpoint/BreakpointResolver.h stable/10/contrib/llvm/tools/lldb/include/lldb/Breakpoint/BreakpointSiteList.h stable/10/contrib/llvm/tools/lldb/include/lldb/Breakpoint/StoppointLocation.h stable/10/contrib/llvm/tools/lldb/include/lldb/Core/Address.h stable/10/contrib/llvm/tools/lldb/include/lldb/Core/ArchSpec.h stable/10/contrib/llvm/tools/lldb/include/lldb/Core/ConnectionFileDescriptor.h stable/10/contrib/llvm/tools/lldb/include/lldb/Core/ConnectionMachPort.h stable/10/contrib/llvm/tools/lldb/include/lldb/Core/ConstString.h stable/10/contrib/llvm/tools/lldb/include/lldb/Core/DataExtractor.h stable/10/contrib/llvm/tools/lldb/include/lldb/Core/Debugger.h stable/10/contrib/llvm/tools/lldb/include/lldb/Core/Disassembler.h stable/10/contrib/llvm/tools/lldb/include/lldb/Core/EmulateInstruction.h stable/10/contrib/llvm/tools/lldb/include/lldb/Core/Error.h stable/10/contrib/llvm/tools/lldb/include/lldb/Core/Flags.h stable/10/contrib/llvm/tools/lldb/include/lldb/Core/Log.h stable/10/contrib/llvm/tools/lldb/include/lldb/Core/Module.h stable/10/contrib/llvm/tools/lldb/include/lldb/Core/ModuleList.h stable/10/contrib/llvm/tools/lldb/include/lldb/Core/ModuleSpec.h stable/10/contrib/llvm/tools/lldb/include/lldb/Core/Opcode.h stable/10/contrib/llvm/tools/lldb/include/lldb/Core/PluginManager.h stable/10/contrib/llvm/tools/lldb/include/lldb/Core/RangeMap.h stable/10/contrib/llvm/tools/lldb/include/lldb/Core/RegularExpression.h stable/10/contrib/llvm/tools/lldb/include/lldb/Core/UUID.h stable/10/contrib/llvm/tools/lldb/include/lldb/Core/Value.h stable/10/contrib/llvm/tools/lldb/include/lldb/Core/ValueObject.h stable/10/contrib/llvm/tools/lldb/include/lldb/Core/ValueObjectDynamicValue.h stable/10/contrib/llvm/tools/lldb/include/lldb/Core/dwarf.h stable/10/contrib/llvm/tools/lldb/include/lldb/DataFormatters/CXXFormatterFunctions.h stable/10/contrib/llvm/tools/lldb/include/lldb/DataFormatters/DataVisualization.h stable/10/contrib/llvm/tools/lldb/include/lldb/DataFormatters/FormatCache.h stable/10/contrib/llvm/tools/lldb/include/lldb/DataFormatters/FormatClasses.h stable/10/contrib/llvm/tools/lldb/include/lldb/DataFormatters/FormatManager.h stable/10/contrib/llvm/tools/lldb/include/lldb/DataFormatters/FormatNavigator.h stable/10/contrib/llvm/tools/lldb/include/lldb/DataFormatters/TypeCategory.h stable/10/contrib/llvm/tools/lldb/include/lldb/DataFormatters/TypeCategoryMap.h stable/10/contrib/llvm/tools/lldb/include/lldb/DataFormatters/TypeSummary.h stable/10/contrib/llvm/tools/lldb/include/lldb/DataFormatters/TypeSynthetic.h stable/10/contrib/llvm/tools/lldb/include/lldb/Expression/ClangExpressionDeclMap.h stable/10/contrib/llvm/tools/lldb/include/lldb/Expression/ClangFunction.h stable/10/contrib/llvm/tools/lldb/include/lldb/Expression/ClangUserExpression.h stable/10/contrib/llvm/tools/lldb/include/lldb/Expression/DWARFExpression.h stable/10/contrib/llvm/tools/lldb/include/lldb/Expression/IRExecutionUnit.h stable/10/contrib/llvm/tools/lldb/include/lldb/Expression/IRForTarget.h stable/10/contrib/llvm/tools/lldb/include/lldb/Host/Condition.h stable/10/contrib/llvm/tools/lldb/include/lldb/Host/Config.h stable/10/contrib/llvm/tools/lldb/include/lldb/Host/File.h stable/10/contrib/llvm/tools/lldb/include/lldb/Host/FileSpec.h stable/10/contrib/llvm/tools/lldb/include/lldb/Host/Host.h stable/10/contrib/llvm/tools/lldb/include/lldb/Host/Mutex.h stable/10/contrib/llvm/tools/lldb/include/lldb/Host/ProcessRunLock.h stable/10/contrib/llvm/tools/lldb/include/lldb/Host/SocketAddress.h stable/10/contrib/llvm/tools/lldb/include/lldb/Host/Symbols.h stable/10/contrib/llvm/tools/lldb/include/lldb/Host/Terminal.h stable/10/contrib/llvm/tools/lldb/include/lldb/Host/TimeValue.h stable/10/contrib/llvm/tools/lldb/include/lldb/Interpreter/Args.h stable/10/contrib/llvm/tools/lldb/include/lldb/Interpreter/CommandObject.h stable/10/contrib/llvm/tools/lldb/include/lldb/Interpreter/OptionGroupValueObjectDisplay.h stable/10/contrib/llvm/tools/lldb/include/lldb/Interpreter/OptionValueBoolean.h stable/10/contrib/llvm/tools/lldb/include/lldb/Interpreter/OptionValueEnumeration.h stable/10/contrib/llvm/tools/lldb/include/lldb/Interpreter/Options.h stable/10/contrib/llvm/tools/lldb/include/lldb/Interpreter/PythonDataObjects.h stable/10/contrib/llvm/tools/lldb/include/lldb/Interpreter/ScriptInterpreter.h stable/10/contrib/llvm/tools/lldb/include/lldb/Interpreter/ScriptInterpreterPython.h stable/10/contrib/llvm/tools/lldb/include/lldb/Symbol/Block.h stable/10/contrib/llvm/tools/lldb/include/lldb/Symbol/ClangASTImporter.h stable/10/contrib/llvm/tools/lldb/include/lldb/Symbol/ClangASTType.h stable/10/contrib/llvm/tools/lldb/include/lldb/Symbol/ClangNamespaceDecl.h stable/10/contrib/llvm/tools/lldb/include/lldb/Symbol/ObjectFile.h stable/10/contrib/llvm/tools/lldb/include/lldb/Symbol/Symbol.h stable/10/contrib/llvm/tools/lldb/include/lldb/Symbol/SymbolContext.h stable/10/contrib/llvm/tools/lldb/include/lldb/Symbol/Symtab.h stable/10/contrib/llvm/tools/lldb/include/lldb/Symbol/Type.h stable/10/contrib/llvm/tools/lldb/include/lldb/Symbol/TypeList.h stable/10/contrib/llvm/tools/lldb/include/lldb/Target/DynamicLoader.h stable/10/contrib/llvm/tools/lldb/include/lldb/Target/ExecutionContext.h stable/10/contrib/llvm/tools/lldb/include/lldb/Target/Platform.h stable/10/contrib/llvm/tools/lldb/include/lldb/Target/Process.h stable/10/contrib/llvm/tools/lldb/include/lldb/Target/RegisterContext.h stable/10/contrib/llvm/tools/lldb/include/lldb/Target/StackFrame.h stable/10/contrib/llvm/tools/lldb/include/lldb/Target/StackFrameList.h stable/10/contrib/llvm/tools/lldb/include/lldb/Target/StackID.h stable/10/contrib/llvm/tools/lldb/include/lldb/Target/Target.h stable/10/contrib/llvm/tools/lldb/include/lldb/Target/Thread.h stable/10/contrib/llvm/tools/lldb/include/lldb/Target/ThreadPlanCallFunction.h stable/10/contrib/llvm/tools/lldb/include/lldb/Target/ThreadPlanStepOverRange.h stable/10/contrib/llvm/tools/lldb/include/lldb/Utility/SharingPtr.h stable/10/contrib/llvm/tools/lldb/include/lldb/lldb-defines.h stable/10/contrib/llvm/tools/lldb/include/lldb/lldb-enumerations.h stable/10/contrib/llvm/tools/lldb/include/lldb/lldb-forward.h stable/10/contrib/llvm/tools/lldb/include/lldb/lldb-private-enumerations.h stable/10/contrib/llvm/tools/lldb/include/lldb/lldb-private-interfaces.h stable/10/contrib/llvm/tools/lldb/include/lldb/lldb-private-log.h stable/10/contrib/llvm/tools/lldb/include/lldb/lldb-private.h stable/10/contrib/llvm/tools/lldb/include/lldb/lldb-types.h stable/10/contrib/llvm/tools/lldb/include/lldb/lldb-versioning.h stable/10/contrib/llvm/tools/lldb/source/API/SBCommandInterpreter.cpp stable/10/contrib/llvm/tools/lldb/source/API/SBData.cpp stable/10/contrib/llvm/tools/lldb/source/API/SBDebugger.cpp stable/10/contrib/llvm/tools/lldb/source/API/SBFileSpec.cpp stable/10/contrib/llvm/tools/lldb/source/API/SBFunction.cpp stable/10/contrib/llvm/tools/lldb/source/API/SBHostOS.cpp stable/10/contrib/llvm/tools/lldb/source/API/SBModuleSpec.cpp stable/10/contrib/llvm/tools/lldb/source/API/SBProcess.cpp stable/10/contrib/llvm/tools/lldb/source/API/SBSymbol.cpp stable/10/contrib/llvm/tools/lldb/source/API/SBTarget.cpp stable/10/contrib/llvm/tools/lldb/source/API/SBThread.cpp stable/10/contrib/llvm/tools/lldb/source/API/SBType.cpp stable/10/contrib/llvm/tools/lldb/source/API/SBTypeCategory.cpp stable/10/contrib/llvm/tools/lldb/source/API/SBTypeNameSpecifier.cpp stable/10/contrib/llvm/tools/lldb/source/API/SBValue.cpp stable/10/contrib/llvm/tools/lldb/source/Breakpoint/Breakpoint.cpp stable/10/contrib/llvm/tools/lldb/source/Breakpoint/BreakpointList.cpp stable/10/contrib/llvm/tools/lldb/source/Breakpoint/BreakpointLocation.cpp stable/10/contrib/llvm/tools/lldb/source/Breakpoint/BreakpointLocationList.cpp stable/10/contrib/llvm/tools/lldb/source/Breakpoint/BreakpointResolver.cpp stable/10/contrib/llvm/tools/lldb/source/Breakpoint/BreakpointResolverFileLine.cpp stable/10/contrib/llvm/tools/lldb/source/Breakpoint/BreakpointResolverFileRegex.cpp stable/10/contrib/llvm/tools/lldb/source/Breakpoint/BreakpointResolverName.cpp stable/10/contrib/llvm/tools/lldb/source/Breakpoint/StoppointLocation.cpp stable/10/contrib/llvm/tools/lldb/source/Commands/CommandCompletions.cpp stable/10/contrib/llvm/tools/lldb/source/Commands/CommandObjectArgs.cpp stable/10/contrib/llvm/tools/lldb/source/Commands/CommandObjectBreakpoint.cpp stable/10/contrib/llvm/tools/lldb/source/Commands/CommandObjectBreakpointCommand.cpp stable/10/contrib/llvm/tools/lldb/source/Commands/CommandObjectCommands.cpp stable/10/contrib/llvm/tools/lldb/source/Commands/CommandObjectDisassemble.cpp stable/10/contrib/llvm/tools/lldb/source/Commands/CommandObjectExpression.cpp stable/10/contrib/llvm/tools/lldb/source/Commands/CommandObjectExpression.h stable/10/contrib/llvm/tools/lldb/source/Commands/CommandObjectFrame.cpp stable/10/contrib/llvm/tools/lldb/source/Commands/CommandObjectHelp.cpp stable/10/contrib/llvm/tools/lldb/source/Commands/CommandObjectLog.cpp stable/10/contrib/llvm/tools/lldb/source/Commands/CommandObjectMemory.cpp stable/10/contrib/llvm/tools/lldb/source/Commands/CommandObjectPlatform.cpp stable/10/contrib/llvm/tools/lldb/source/Commands/CommandObjectProcess.cpp stable/10/contrib/llvm/tools/lldb/source/Commands/CommandObjectRegister.cpp stable/10/contrib/llvm/tools/lldb/source/Commands/CommandObjectSettings.cpp stable/10/contrib/llvm/tools/lldb/source/Commands/CommandObjectSource.cpp stable/10/contrib/llvm/tools/lldb/source/Commands/CommandObjectTarget.cpp stable/10/contrib/llvm/tools/lldb/source/Commands/CommandObjectThread.cpp stable/10/contrib/llvm/tools/lldb/source/Commands/CommandObjectType.cpp stable/10/contrib/llvm/tools/lldb/source/Commands/CommandObjectWatchpoint.cpp stable/10/contrib/llvm/tools/lldb/source/Commands/CommandObjectWatchpointCommand.cpp stable/10/contrib/llvm/tools/lldb/source/Core/Address.cpp stable/10/contrib/llvm/tools/lldb/source/Core/ArchSpec.cpp stable/10/contrib/llvm/tools/lldb/source/Core/Communication.cpp stable/10/contrib/llvm/tools/lldb/source/Core/ConnectionFileDescriptor.cpp stable/10/contrib/llvm/tools/lldb/source/Core/ConnectionMachPort.cpp stable/10/contrib/llvm/tools/lldb/source/Core/ConnectionSharedMemory.cpp stable/10/contrib/llvm/tools/lldb/source/Core/ConstString.cpp stable/10/contrib/llvm/tools/lldb/source/Core/DataBufferMemoryMap.cpp stable/10/contrib/llvm/tools/lldb/source/Core/DataExtractor.cpp stable/10/contrib/llvm/tools/lldb/source/Core/Debugger.cpp stable/10/contrib/llvm/tools/lldb/source/Core/Disassembler.cpp stable/10/contrib/llvm/tools/lldb/source/Core/Error.cpp stable/10/contrib/llvm/tools/lldb/source/Core/FileLineResolver.cpp stable/10/contrib/llvm/tools/lldb/source/Core/Log.cpp stable/10/contrib/llvm/tools/lldb/source/Core/Mangled.cpp stable/10/contrib/llvm/tools/lldb/source/Core/Module.cpp stable/10/contrib/llvm/tools/lldb/source/Core/ModuleList.cpp stable/10/contrib/llvm/tools/lldb/source/Core/Opcode.cpp stable/10/contrib/llvm/tools/lldb/source/Core/PluginManager.cpp stable/10/contrib/llvm/tools/lldb/source/Core/SearchFilter.cpp stable/10/contrib/llvm/tools/lldb/source/Core/SourceManager.cpp stable/10/contrib/llvm/tools/lldb/source/Core/Timer.cpp stable/10/contrib/llvm/tools/lldb/source/Core/Value.cpp stable/10/contrib/llvm/tools/lldb/source/Core/ValueObject.cpp stable/10/contrib/llvm/tools/lldb/source/Core/ValueObjectDynamicValue.cpp stable/10/contrib/llvm/tools/lldb/source/Core/ValueObjectSyntheticFilter.cpp stable/10/contrib/llvm/tools/lldb/source/Core/ValueObjectVariable.cpp stable/10/contrib/llvm/tools/lldb/source/DataFormatters/CXXFormatterFunctions.cpp stable/10/contrib/llvm/tools/lldb/source/DataFormatters/DataVisualization.cpp stable/10/contrib/llvm/tools/lldb/source/DataFormatters/FormatCache.cpp stable/10/contrib/llvm/tools/lldb/source/DataFormatters/FormatManager.cpp stable/10/contrib/llvm/tools/lldb/source/DataFormatters/TypeCategory.cpp stable/10/contrib/llvm/tools/lldb/source/DataFormatters/TypeCategoryMap.cpp stable/10/contrib/llvm/tools/lldb/source/DataFormatters/TypeFormat.cpp stable/10/contrib/llvm/tools/lldb/source/DataFormatters/TypeSummary.cpp stable/10/contrib/llvm/tools/lldb/source/Expression/ClangASTSource.cpp stable/10/contrib/llvm/tools/lldb/source/Expression/ClangExpressionDeclMap.cpp stable/10/contrib/llvm/tools/lldb/source/Expression/ClangExpressionParser.cpp stable/10/contrib/llvm/tools/lldb/source/Expression/ClangFunction.cpp stable/10/contrib/llvm/tools/lldb/source/Expression/ClangUserExpression.cpp stable/10/contrib/llvm/tools/lldb/source/Expression/DWARFExpression.cpp stable/10/contrib/llvm/tools/lldb/source/Expression/IRForTarget.cpp stable/10/contrib/llvm/tools/lldb/source/Expression/IRInterpreter.cpp stable/10/contrib/llvm/tools/lldb/source/Expression/IRMemoryMap.cpp stable/10/contrib/llvm/tools/lldb/source/Expression/Materializer.cpp stable/10/contrib/llvm/tools/lldb/source/Host/common/Condition.cpp stable/10/contrib/llvm/tools/lldb/source/Host/common/File.cpp stable/10/contrib/llvm/tools/lldb/source/Host/common/FileSpec.cpp stable/10/contrib/llvm/tools/lldb/source/Host/common/Host.cpp stable/10/contrib/llvm/tools/lldb/source/Host/common/Mutex.cpp stable/10/contrib/llvm/tools/lldb/source/Host/common/SocketAddress.cpp stable/10/contrib/llvm/tools/lldb/source/Host/common/Terminal.cpp stable/10/contrib/llvm/tools/lldb/source/Host/common/TimeValue.cpp stable/10/contrib/llvm/tools/lldb/source/Host/freebsd/Host.cpp stable/10/contrib/llvm/tools/lldb/source/Interpreter/Args.cpp stable/10/contrib/llvm/tools/lldb/source/Interpreter/CommandInterpreter.cpp stable/10/contrib/llvm/tools/lldb/source/Interpreter/CommandObject.cpp stable/10/contrib/llvm/tools/lldb/source/Interpreter/OptionGroupArchitecture.cpp stable/10/contrib/llvm/tools/lldb/source/Interpreter/OptionGroupBoolean.cpp stable/10/contrib/llvm/tools/lldb/source/Interpreter/OptionGroupFile.cpp stable/10/contrib/llvm/tools/lldb/source/Interpreter/OptionGroupFormat.cpp stable/10/contrib/llvm/tools/lldb/source/Interpreter/OptionGroupOutputFile.cpp stable/10/contrib/llvm/tools/lldb/source/Interpreter/OptionGroupPlatform.cpp stable/10/contrib/llvm/tools/lldb/source/Interpreter/OptionGroupString.cpp stable/10/contrib/llvm/tools/lldb/source/Interpreter/OptionGroupUInt64.cpp stable/10/contrib/llvm/tools/lldb/source/Interpreter/OptionGroupUUID.cpp stable/10/contrib/llvm/tools/lldb/source/Interpreter/OptionGroupValueObjectDisplay.cpp stable/10/contrib/llvm/tools/lldb/source/Interpreter/OptionGroupVariable.cpp stable/10/contrib/llvm/tools/lldb/source/Interpreter/OptionGroupWatchpoint.cpp stable/10/contrib/llvm/tools/lldb/source/Interpreter/OptionValueFileSpec.cpp stable/10/contrib/llvm/tools/lldb/source/Interpreter/OptionValueProperties.cpp stable/10/contrib/llvm/tools/lldb/source/Interpreter/Options.cpp stable/10/contrib/llvm/tools/lldb/source/Interpreter/PythonDataObjects.cpp stable/10/contrib/llvm/tools/lldb/source/Interpreter/ScriptInterpreter.cpp stable/10/contrib/llvm/tools/lldb/source/Interpreter/ScriptInterpreterPython.cpp stable/10/contrib/llvm/tools/lldb/source/Plugins/ABI/MacOSX-arm/ABIMacOSX_arm.cpp stable/10/contrib/llvm/tools/lldb/source/Plugins/ABI/MacOSX-i386/ABIMacOSX_i386.cpp stable/10/contrib/llvm/tools/lldb/source/Plugins/ABI/MacOSX-i386/ABIMacOSX_i386.h stable/10/contrib/llvm/tools/lldb/source/Plugins/ABI/SysV-x86_64/ABISysV_x86_64.cpp stable/10/contrib/llvm/tools/lldb/source/Plugins/ABI/SysV-x86_64/ABISysV_x86_64.h stable/10/contrib/llvm/tools/lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp stable/10/contrib/llvm/tools/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/AuxVector.cpp stable/10/contrib/llvm/tools/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DYLDRendezvous.cpp stable/10/contrib/llvm/tools/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DYLDRendezvous.h stable/10/contrib/llvm/tools/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp stable/10/contrib/llvm/tools/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.h stable/10/contrib/llvm/tools/lldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp stable/10/contrib/llvm/tools/lldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.h stable/10/contrib/llvm/tools/lldb/source/Plugins/Instruction/ARM/EmulationStateARM.h stable/10/contrib/llvm/tools/lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.cpp stable/10/contrib/llvm/tools/lldb/source/Plugins/ObjectContainer/BSD-Archive/ObjectContainerBSDArchive.cpp stable/10/contrib/llvm/tools/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp stable/10/contrib/llvm/tools/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h stable/10/contrib/llvm/tools/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp stable/10/contrib/llvm/tools/lldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp stable/10/contrib/llvm/tools/lldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.h stable/10/contrib/llvm/tools/lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.cpp stable/10/contrib/llvm/tools/lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.h stable/10/contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD/ProcessFreeBSD.cpp stable/10/contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD/ProcessFreeBSD.h stable/10/contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD/ProcessMonitor.cpp stable/10/contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD/ProcessMonitor.h stable/10/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/POSIXThread.cpp stable/10/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/POSIXThread.h stable/10/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/ProcessMessage.cpp stable/10/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/ProcessMessage.h stable/10/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/ProcessPOSIX.cpp stable/10/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/ProcessPOSIX.h stable/10/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextFreeBSD_x86_64.cpp stable/10/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextFreeBSD_x86_64.h stable/10/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextLinux_x86_64.cpp stable/10/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextLinux_x86_64.h stable/10/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIX.h stable/10/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContext_x86.h stable/10/contrib/llvm/tools/lldb/source/Plugins/Process/Utility/DynamicRegisterInfo.cpp stable/10/contrib/llvm/tools/lldb/source/Plugins/Process/Utility/DynamicRegisterInfo.h stable/10/contrib/llvm/tools/lldb/source/Plugins/Process/Utility/InferiorCallPOSIX.cpp stable/10/contrib/llvm/tools/lldb/source/Plugins/Process/Utility/RegisterContextLLDB.cpp stable/10/contrib/llvm/tools/lldb/source/Plugins/Process/Utility/RegisterContextMacOSXFrameBackchain.cpp stable/10/contrib/llvm/tools/lldb/source/Plugins/Process/Utility/UnwindLLDB.cpp stable/10/contrib/llvm/tools/lldb/source/Plugins/Process/elf-core/ProcessElfCore.cpp stable/10/contrib/llvm/tools/lldb/source/Plugins/Process/elf-core/ThreadElfCore.cpp stable/10/contrib/llvm/tools/lldb/source/Plugins/Process/elf-core/ThreadElfCore.h stable/10/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp stable/10/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp stable/10/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h stable/10/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp stable/10/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.h stable/10/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp stable/10/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.h stable/10/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp stable/10/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h stable/10/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp stable/10/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.h stable/10/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFAbbreviationDeclaration.cpp stable/10/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFAbbreviationDeclaration.h stable/10/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFAttribute.h stable/10/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.cpp stable/10/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.h stable/10/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugAbbrev.cpp stable/10/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugAbbrev.h stable/10/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugArangeSet.cpp stable/10/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugArangeSet.h stable/10/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugAranges.cpp stable/10/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugAranges.h stable/10/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfo.cpp stable/10/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp stable/10/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.h stable/10/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugLine.cpp stable/10/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugLine.h stable/10/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugMacinfo.cpp stable/10/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugMacinfo.h stable/10/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugMacinfoEntry.cpp stable/10/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugMacinfoEntry.h stable/10/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugPubnames.cpp stable/10/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugPubnames.h stable/10/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugPubnamesSet.cpp stable/10/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugPubnamesSet.h stable/10/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugRanges.cpp stable/10/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugRanges.h stable/10/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDeclContext.h stable/10/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDefines.h stable/10/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFFormValue.cpp stable/10/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFFormValue.h stable/10/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFLocationDescription.cpp stable/10/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFLocationDescription.h stable/10/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFLocationList.cpp stable/10/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFLocationList.h stable/10/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/HashedNameToDIE.h stable/10/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/LogChannelDWARF.cpp stable/10/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/NameToDIE.cpp stable/10/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp stable/10/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h stable/10/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp stable/10/contrib/llvm/tools/lldb/source/Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.cpp stable/10/contrib/llvm/tools/lldb/source/Plugins/UnwindAssembly/x86/UnwindAssembly-x86.cpp stable/10/contrib/llvm/tools/lldb/source/Symbol/ClangASTImporter.cpp stable/10/contrib/llvm/tools/lldb/source/Symbol/ClangASTType.cpp stable/10/contrib/llvm/tools/lldb/source/Symbol/CompileUnit.cpp stable/10/contrib/llvm/tools/lldb/source/Symbol/DWARFCallFrameInfo.cpp stable/10/contrib/llvm/tools/lldb/source/Symbol/FuncUnwinders.cpp stable/10/contrib/llvm/tools/lldb/source/Symbol/LineEntry.cpp stable/10/contrib/llvm/tools/lldb/source/Symbol/ObjectFile.cpp stable/10/contrib/llvm/tools/lldb/source/Symbol/Symbol.cpp stable/10/contrib/llvm/tools/lldb/source/Symbol/SymbolContext.cpp stable/10/contrib/llvm/tools/lldb/source/Symbol/Symtab.cpp stable/10/contrib/llvm/tools/lldb/source/Symbol/Type.cpp stable/10/contrib/llvm/tools/lldb/source/Symbol/UnwindTable.cpp stable/10/contrib/llvm/tools/lldb/source/Symbol/Variable.cpp stable/10/contrib/llvm/tools/lldb/source/Target/ExecutionContext.cpp stable/10/contrib/llvm/tools/lldb/source/Target/LanguageRuntime.cpp stable/10/contrib/llvm/tools/lldb/source/Target/Platform.cpp stable/10/contrib/llvm/tools/lldb/source/Target/Process.cpp stable/10/contrib/llvm/tools/lldb/source/Target/RegisterContext.cpp stable/10/contrib/llvm/tools/lldb/source/Target/StackFrame.cpp stable/10/contrib/llvm/tools/lldb/source/Target/StackFrameList.cpp stable/10/contrib/llvm/tools/lldb/source/Target/StopInfo.cpp stable/10/contrib/llvm/tools/lldb/source/Target/Target.cpp stable/10/contrib/llvm/tools/lldb/source/Target/TargetList.cpp stable/10/contrib/llvm/tools/lldb/source/Target/Thread.cpp stable/10/contrib/llvm/tools/lldb/source/Target/ThreadPlanRunToAddress.cpp stable/10/contrib/llvm/tools/lldb/source/Target/ThreadPlanStepOut.cpp stable/10/contrib/llvm/tools/lldb/source/Target/ThreadPlanStepOverRange.cpp stable/10/contrib/llvm/tools/lldb/source/Target/ThreadPlanStepRange.cpp stable/10/contrib/llvm/tools/lldb/source/Target/ThreadPlanStepThrough.cpp stable/10/contrib/llvm/tools/lldb/source/Target/ThreadPlanStepUntil.cpp stable/10/contrib/llvm/tools/lldb/source/Target/UnixSignals.cpp stable/10/contrib/llvm/tools/lldb/source/Utility/PseudoTerminal.cpp stable/10/contrib/llvm/tools/lldb/source/Utility/SharingPtr.cpp stable/10/contrib/llvm/tools/lldb/source/Utility/StringExtractor.cpp stable/10/contrib/llvm/tools/lldb/source/Utility/StringExtractor.h stable/10/contrib/llvm/tools/lldb/source/Utility/StringExtractorGDBRemote.cpp stable/10/contrib/llvm/tools/lldb/source/Utility/StringExtractorGDBRemote.h stable/10/contrib/llvm/tools/lldb/source/lldb-log.cpp stable/10/contrib/llvm/tools/lldb/source/lldb.cpp stable/10/contrib/llvm/tools/lldb/tools/driver/Driver.cpp stable/10/contrib/llvm/tools/lldb/tools/driver/Driver.h stable/10/contrib/llvm/tools/lldb/tools/driver/IOChannel.cpp stable/10/contrib/llvm/tools/lldb/tools/driver/IOChannel.h stable/10/lib/clang/liblldbCore/Makefile stable/10/lib/clang/liblldbDataFormatters/Makefile stable/10/lib/clang/liblldbHostCommon/Makefile stable/10/lib/clang/liblldbPluginProcessElfCore/Makefile stable/10/lib/clang/liblldbPluginProcessPOSIX/Makefile stable/10/lib/clang/liblldbPluginSymbolFileDWARF/Makefile stable/10/lib/clang/liblldbTarget/Makefile stable/10/lib/clang/liblldbUtility/Makefile Directory Properties: stable/10/ (props changed) Modified: stable/10/contrib/llvm/tools/lldb/include/lldb/API/SBHostOS.h ============================================================================== --- stable/10/contrib/llvm/tools/lldb/include/lldb/API/SBHostOS.h Wed Mar 19 13:10:25 2014 (r263362) +++ stable/10/contrib/llvm/tools/lldb/include/lldb/API/SBHostOS.h Wed Mar 19 13:11:35 2014 (r263363) @@ -30,7 +30,7 @@ public: static lldb::thread_t ThreadCreate (const char *name, - void *(*thread_function)(void *), + thread_func_t thread_function, void *thread_arg, lldb::SBError *err); @@ -43,7 +43,7 @@ public: lldb::SBError *err); static bool ThreadJoin (lldb::thread_t thread, - void **result, + thread_result_t *result, lldb::SBError *err); Modified: stable/10/contrib/llvm/tools/lldb/include/lldb/API/SBProcess.h ============================================================================== --- stable/10/contrib/llvm/tools/lldb/include/lldb/API/SBProcess.h Wed Mar 19 13:10:25 2014 (r263362) +++ stable/10/contrib/llvm/tools/lldb/include/lldb/API/SBProcess.h Wed Mar 19 13:11:35 2014 (r263363) @@ -269,6 +269,38 @@ public: lldb::SBError UnloadImage (uint32_t image_token); + //------------------------------------------------------------------ + /// Return the number of different thread-origin extended backtraces + /// this process can support. + /// + /// When the process is stopped and you have an SBThread, lldb may be + /// able to show a backtrace of when that thread was originally created, + /// or the work item was enqueued to it (in the case of a libdispatch + /// queue). + /// + /// @return + /// The number of thread-origin extended backtrace types that may be + /// available. + //------------------------------------------------------------------ + uint32_t + GetNumExtendedBacktraceTypes (); + + //------------------------------------------------------------------ + /// Return the name of one of the thread-origin extended backtrace + /// methods. + /// + /// @param [in] idx + /// The index of the name to return. They will be returned in + /// the order that the user will most likely want to see them. + /// e.g. if the type at index 0 is not available for a thread, + /// see if the type at index 1 provides an extended backtrace. + /// + /// @return + /// The name at that index. + //------------------------------------------------------------------ + const char * + GetExtendedBacktraceTypeAtIndex (uint32_t idx); + protected: friend class SBAddress; friend class SBBreakpoint; Modified: stable/10/contrib/llvm/tools/lldb/include/lldb/API/SBTarget.h ============================================================================== --- stable/10/contrib/llvm/tools/lldb/include/lldb/API/SBTarget.h Wed Mar 19 13:10:25 2014 (r263362) +++ stable/10/contrib/llvm/tools/lldb/include/lldb/API/SBTarget.h Wed Mar 19 13:11:35 2014 (r263363) @@ -747,6 +747,9 @@ public: lldb::SBType GetBasicType(lldb::BasicType type); + lldb::SBValue + CreateValueFromAddress (const char *name, lldb::SBAddress addr, lldb::SBType type); + SBSourceManager GetSourceManager(); Modified: stable/10/contrib/llvm/tools/lldb/include/lldb/API/SBThread.h ============================================================================== --- stable/10/contrib/llvm/tools/lldb/include/lldb/API/SBThread.h Wed Mar 19 13:10:25 2014 (r263362) +++ stable/10/contrib/llvm/tools/lldb/include/lldb/API/SBThread.h Wed Mar 19 13:11:35 2014 (r263363) @@ -94,6 +94,9 @@ public: const char * GetQueueName() const; + lldb::queue_id_t + GetQueueID() const; + void StepOver (lldb::RunMode stop_other_threads = lldb::eOnlyDuringStepping); @@ -117,6 +120,9 @@ public: lldb::SBFileSpec &file_spec, uint32_t line); + SBError + JumpToLine (lldb::SBFileSpec &file_spec, uint32_t line); + void RunToAddress (lldb::addr_t addr); @@ -195,6 +201,9 @@ public: bool GetStatus (lldb::SBStream &status) const; + SBThread + GetExtendedBacktrace (const char *type); + protected: friend class SBBreakpoint; friend class SBBreakpointLocation; Modified: stable/10/contrib/llvm/tools/lldb/include/lldb/Breakpoint/Breakpoint.h ============================================================================== --- stable/10/contrib/llvm/tools/lldb/include/lldb/Breakpoint/Breakpoint.h Wed Mar 19 13:10:25 2014 (r263362) +++ stable/10/contrib/llvm/tools/lldb/include/lldb/Breakpoint/Breakpoint.h Wed Mar 19 13:11:35 2014 (r263363) @@ -576,6 +576,12 @@ public: InvokeCallback (StoppointCallbackContext *context, lldb::break_id_t bp_loc_id); + bool + IsHardware() const + { + return m_hardware; + } + protected: friend class Target; //------------------------------------------------------------------ @@ -590,7 +596,10 @@ protected: /// variants that make breakpoints for some common cases. //------------------------------------------------------------------ // This is the generic constructor - Breakpoint(Target &target, lldb::SearchFilterSP &filter_sp, lldb::BreakpointResolverSP &resolver_sp); + Breakpoint(Target &target, + lldb::SearchFilterSP &filter_sp, + lldb::BreakpointResolverSP &resolver_sp, + bool hardware); friend class BreakpointLocation; // To call the following two when determining whether to stop. @@ -609,12 +618,13 @@ private: // For Breakpoint only //------------------------------------------------------------------ bool m_being_created; + bool m_hardware; // If this breakpoint is required to use a hardware breakpoint Target &m_target; // The target that holds this breakpoint. lldb::SearchFilterSP m_filter_sp; // The filter that constrains the breakpoint's domain. lldb::BreakpointResolverSP m_resolver_sp; // The resolver that defines this breakpoint. BreakpointOptions m_options; // Settable breakpoint options BreakpointLocationList m_locations; // The list of locations currently found for this breakpoint. - std::string m_kind_description; + std::string m_kind_description; void SendBreakpointChangedEvent (lldb::BreakpointEventType eventKind); Modified: stable/10/contrib/llvm/tools/lldb/include/lldb/Breakpoint/BreakpointList.h ============================================================================== --- stable/10/contrib/llvm/tools/lldb/include/lldb/Breakpoint/BreakpointList.h Wed Mar 19 13:10:25 2014 (r263362) +++ stable/10/contrib/llvm/tools/lldb/include/lldb/Breakpoint/BreakpointList.h Wed Mar 19 13:11:35 2014 (r263363) @@ -149,11 +149,17 @@ public: /// @param[in] module_list /// The module list that has changed. /// - /// @param[in] added + /// @param[in] load /// \b true if the modules are loaded, \b false if unloaded. + /// + /// @param[in] delete_locations + /// If \a load is \b false, then delete breakpoint locations when + /// when updating breakpoints. //------------------------------------------------------------------ void - UpdateBreakpoints (ModuleList &module_list, bool added); + UpdateBreakpoints (ModuleList &module_list, + bool load, + bool delete_locations); void UpdateBreakpointsWhenModuleIsReplaced (lldb::ModuleSP old_module_sp, lldb::ModuleSP new_module_sp); Modified: stable/10/contrib/llvm/tools/lldb/include/lldb/Breakpoint/BreakpointLocation.h ============================================================================== --- stable/10/contrib/llvm/tools/lldb/include/lldb/Breakpoint/BreakpointLocation.h Wed Mar 19 13:10:25 2014 (r263362) +++ stable/10/contrib/llvm/tools/lldb/include/lldb/Breakpoint/BreakpointLocation.h Wed Mar 19 13:11:35 2014 (r263363) @@ -324,7 +324,6 @@ public: protected: friend class BreakpointLocationList; - friend class CommandObjectBreakpointCommandAdd; friend class Process; //------------------------------------------------------------------ @@ -375,8 +374,8 @@ private: BreakpointLocation (lldb::break_id_t bid, Breakpoint &owner, const Address &addr, - lldb::tid_t tid = LLDB_INVALID_THREAD_ID, - bool hardware = false); + lldb::tid_t tid, + bool hardware); //------------------------------------------------------------------ // Data members: Modified: stable/10/contrib/llvm/tools/lldb/include/lldb/Breakpoint/BreakpointResolver.h ============================================================================== --- stable/10/contrib/llvm/tools/lldb/include/lldb/Breakpoint/BreakpointResolver.h Wed Mar 19 13:10:25 2014 (r263362) +++ stable/10/contrib/llvm/tools/lldb/include/lldb/Breakpoint/BreakpointResolver.h Wed Mar 19 13:11:35 2014 (r263363) @@ -134,6 +134,13 @@ public: } protected: + //------------------------------------------------------------------ + /// SetSCMatchesByLine - Takes a symbol context list of matches which supposedly represent the same file and + /// line number in a CU, and find the nearest actual line number that matches, and then filter down the + /// matching addresses to unique entries, and skip the prologue if asked to do so, and then set + /// breakpoint locations in this breakpoint for all the resultant addresses. + void SetSCMatchesByLine (SearchFilter &filter, SymbolContextList &sc_list, bool skip_prologue, const char *log_ident); + Breakpoint *m_breakpoint; // This is the breakpoint we add locations to. private: Modified: stable/10/contrib/llvm/tools/lldb/include/lldb/Breakpoint/BreakpointSiteList.h ============================================================================== --- stable/10/contrib/llvm/tools/lldb/include/lldb/Breakpoint/BreakpointSiteList.h Wed Mar 19 13:10:25 2014 (r263362) +++ stable/10/contrib/llvm/tools/lldb/include/lldb/Breakpoint/BreakpointSiteList.h Wed Mar 19 13:11:35 2014 (r263363) @@ -13,6 +13,7 @@ // C Includes // C++ Includes #include <map> +#include <functional> // Other libraries and framework includes // Project includes #include "lldb/Breakpoint/BreakpointSite.h" Modified: stable/10/contrib/llvm/tools/lldb/include/lldb/Breakpoint/StoppointLocation.h ============================================================================== --- stable/10/contrib/llvm/tools/lldb/include/lldb/Breakpoint/StoppointLocation.h Wed Mar 19 13:10:25 2014 (r263362) +++ stable/10/contrib/llvm/tools/lldb/include/lldb/Breakpoint/StoppointLocation.h Wed Mar 19 13:11:35 2014 (r263363) @@ -72,20 +72,20 @@ public: uint32_t GetHardwareIndex () const { - return m_hw_index; + return m_hardware_index; } bool - HardwarePreferred () const + HardwareRequired () const { - return m_hw_preferred; + return m_hardware; } virtual bool IsHardware () const { - return m_hw_index != LLDB_INVALID_INDEX32; + return m_hardware_index != LLDB_INVALID_INDEX32; } @@ -103,7 +103,7 @@ public: void SetHardwareIndex (uint32_t index) { - m_hw_index = index; + m_hardware_index = index; } @@ -120,8 +120,8 @@ protected: lldb::break_id_t m_loc_id; // Stoppoint location ID lldb::addr_t m_addr; // The load address of this stop point. The base Stoppoint doesn't // store a full Address since that's not needed for the breakpoint sites. - bool m_hw_preferred; // 1 if this point has been requested to be set using hardware (which may fail due to lack of resources) - uint32_t m_hw_index; // The hardware resource index for this breakpoint/watchpoint + bool m_hardware; // True if this point has been is required to use hardware (which may fail due to lack of resources) + uint32_t m_hardware_index; // The hardware resource index for this breakpoint/watchpoint uint32_t m_byte_size; // The size in bytes of stop location. e.g. the length of the trap opcode for // software breakpoints, or the optional length in bytes for // hardware breakpoints, or the length of the watchpoint. Modified: stable/10/contrib/llvm/tools/lldb/include/lldb/Core/Address.h ============================================================================== --- stable/10/contrib/llvm/tools/lldb/include/lldb/Core/Address.h Wed Mar 19 13:10:25 2014 (r263362) +++ stable/10/contrib/llvm/tools/lldb/include/lldb/Core/Address.h Wed Mar 19 13:11:35 2014 (r263363) @@ -540,6 +540,18 @@ protected: //------------------------------------------------------------------ lldb::SectionWP m_section_wp; ///< The section for the address, can be NULL. std::atomic<lldb::addr_t> m_offset; ///< Offset into section if \a m_section_wp is valid... + + //------------------------------------------------------------------ + // Returns true if the m_section_wp once had a reference to a valid + // section shared pointer, but no longer does. This can happen if + // we have an address from a module that gets unloaded and deleted. + // This function should only be called if GetSection() returns an + // empty shared pointer and you want to know if this address used to + // have a valid section. + //------------------------------------------------------------------ + bool + SectionWasDeleted() const; + }; Modified: stable/10/contrib/llvm/tools/lldb/include/lldb/Core/ArchSpec.h ============================================================================== --- stable/10/contrib/llvm/tools/lldb/include/lldb/Core/ArchSpec.h Wed Mar 19 13:10:25 2014 (r263362) +++ stable/10/contrib/llvm/tools/lldb/include/lldb/Core/ArchSpec.h Wed Mar 19 13:11:35 2014 (r263363) @@ -41,6 +41,7 @@ public: eCore_arm_armv5e, eCore_arm_armv5t, eCore_arm_armv6, + eCore_arm_armv6m, eCore_arm_armv7, eCore_arm_armv7f, eCore_arm_armv7s, @@ -53,6 +54,7 @@ public: eCore_thumbv5, eCore_thumbv5e, eCore_thumbv6, + eCore_thumbv6m, eCore_thumbv7, eCore_thumbv7f, eCore_thumbv7s, @@ -60,6 +62,8 @@ public: eCore_thumbv7m, eCore_thumbv7em, + eCore_mips64, + eCore_ppc_generic, eCore_ppc_ppc601, eCore_ppc_ppc602, Modified: stable/10/contrib/llvm/tools/lldb/include/lldb/Core/ConnectionFileDescriptor.h ============================================================================== --- stable/10/contrib/llvm/tools/lldb/include/lldb/Core/ConnectionFileDescriptor.h Wed Mar 19 13:10:25 2014 (r263362) +++ stable/10/contrib/llvm/tools/lldb/include/lldb/Core/ConnectionFileDescriptor.h Wed Mar 19 13:11:35 2014 (r263363) @@ -11,20 +11,27 @@ #define liblldb_ConnectionFileDescriptor_h_ // C Includes +#ifdef _WIN32 +typedef unsigned short in_port_t; +#else #include <sys/socket.h> #include <sys/types.h> #include <netinet/in.h> +#endif // C++ Includes +#include <memory> + // Other libraries and framework includes // Project includes #include "lldb/Core/Connection.h" #include "lldb/Host/Mutex.h" #include "lldb/Host/Predicate.h" -#include "lldb/Host/SocketAddress.h" namespace lldb_private { +class SocketAddress; + class ConnectionFileDescriptor : public Connection { @@ -70,6 +77,13 @@ public: GetWritePort () const; protected: + + typedef enum + { + eFDTypeFile, // Other FD requireing read/write + eFDTypeSocket, // Socket requiring send/recv + eFDTypeSocketUDP // Unconnected UDP socket requiring sendto/recvfrom + } FDType; void OpenCommandPipe (); @@ -96,20 +110,13 @@ protected: NamedSocketConnect (const char *socket_name, Error *error_ptr); lldb::ConnectionStatus - Close (int& fd, Error *error); - - typedef enum - { - eFDTypeFile, // Other FD requireing read/write - eFDTypeSocket, // Socket requiring send/recv - eFDTypeSocketUDP // Unconnected UDP socket requiring sendto/recvfrom - } FDType; + Close (int& fd, FDType type, Error *error); int m_fd_send; int m_fd_recv; FDType m_fd_send_type; FDType m_fd_recv_type; - SocketAddress m_udp_send_sockaddr; + std::unique_ptr<SocketAddress> m_udp_send_sockaddr; bool m_should_close_fd; // True if this class should close the file descriptor when it goes away. uint32_t m_socket_timeout_usec; int m_pipe_read; // A pipe that we select on the reading end of along with Modified: stable/10/contrib/llvm/tools/lldb/include/lldb/Core/ConnectionMachPort.h ============================================================================== --- stable/10/contrib/llvm/tools/lldb/include/lldb/Core/ConnectionMachPort.h Wed Mar 19 13:10:25 2014 (r263362) +++ stable/10/contrib/llvm/tools/lldb/include/lldb/Core/ConnectionMachPort.h Wed Mar 19 13:11:35 2014 (r263363) @@ -12,7 +12,8 @@ #define liblldb_ConnectionMachPort_h_ // C Includes -#include <mach/mach.h> +#include <mach/port.h> +#include <mach/kern_return.h> // C++ Includes #include <string> Modified: stable/10/contrib/llvm/tools/lldb/include/lldb/Core/ConstString.h ============================================================================== --- stable/10/contrib/llvm/tools/lldb/include/lldb/Core/ConstString.h Wed Mar 19 13:10:25 2014 (r263362) +++ stable/10/contrib/llvm/tools/lldb/include/lldb/Core/ConstString.h Wed Mar 19 13:11:35 2014 (r263363) @@ -86,7 +86,7 @@ public: /// @param[in] cstr /// A pointer to the first character in the C string. The C /// string can be NULL terminated in a buffer that contains - /// more characters than the length of the stirng, or the + /// more characters than the length of the string, or the /// string can be part of another string and a new substring /// can be created. /// @@ -148,11 +148,11 @@ public: /// /b True this object contains a valid non-empty C string, \b /// false otherwise. //------------------------------------------------------------------ - operator bool() const + explicit operator bool() const { return m_string && m_string[0]; } - + //------------------------------------------------------------------ /// Assignment operator /// Modified: stable/10/contrib/llvm/tools/lldb/include/lldb/Core/DataExtractor.h ============================================================================== --- stable/10/contrib/llvm/tools/lldb/include/lldb/Core/DataExtractor.h Wed Mar 19 13:10:25 2014 (r263362) +++ stable/10/contrib/llvm/tools/lldb/include/lldb/Core/DataExtractor.h Wed Mar 19 13:11:35 2014 (r263363) @@ -468,6 +468,27 @@ public: } //------------------------------------------------------------------ + /// Copy \a length bytes from \a *offset, without swapping bytes. + /// + /// @param[in] offset + /// The offset into this data from which to start copying + /// + /// @param[in] length + /// The length of the data to copy from this object + /// + /// @param[out] dst + /// The buffer to place the output data. + /// + /// @return + /// Returns the number of bytes that were copied, or zero if + /// anything goes wrong. + //------------------------------------------------------------------ + lldb::offset_t + CopyData (lldb::offset_t offset, + lldb::offset_t length, + void *dst) const; + + //------------------------------------------------------------------ /// Copy \a dst_len bytes from \a *offset_ptr and ensure the copied /// data is treated as a value that can be swapped to match the /// specified byte order. Modified: stable/10/contrib/llvm/tools/lldb/include/lldb/Core/Debugger.h ============================================================================== --- stable/10/contrib/llvm/tools/lldb/include/lldb/Core/Debugger.h Wed Mar 19 13:10:25 2014 (r263362) +++ stable/10/contrib/llvm/tools/lldb/include/lldb/Core/Debugger.h Wed Mar 19 13:11:35 2014 (r263363) @@ -13,7 +13,6 @@ #include <stdint.h> -#include <unistd.h> #include <stack> @@ -323,6 +322,9 @@ public: GetDisassemblyLineCount () const; bool + GetAutoOneLineSummaries () const; + + bool GetNotifyVoid () const; Modified: stable/10/contrib/llvm/tools/lldb/include/lldb/Core/Disassembler.h ============================================================================== --- stable/10/contrib/llvm/tools/lldb/include/lldb/Core/Disassembler.h Wed Mar 19 13:10:25 2014 (r263362) +++ stable/10/contrib/llvm/tools/lldb/include/lldb/Core/Disassembler.h Wed Mar 19 13:11:35 2014 (r263363) @@ -270,7 +270,8 @@ public: const char *plugin_name, const char *flavor, const ExecutionContext &exe_ctx, - const AddressRange &disasm_range); + const AddressRange &disasm_range, + bool prefer_file_cache); static lldb::DisassemblerSP DisassembleBytes (const ArchSpec &arch, Modified: stable/10/contrib/llvm/tools/lldb/include/lldb/Core/EmulateInstruction.h ============================================================================== --- stable/10/contrib/llvm/tools/lldb/include/lldb/Core/EmulateInstruction.h Wed Mar 19 13:10:25 2014 (r263362) +++ stable/10/contrib/llvm/tools/lldb/include/lldb/Core/EmulateInstruction.h Wed Mar 19 13:11:35 2014 (r263363) @@ -69,14 +69,14 @@ /// debugging. The current debugging model is "process centric" where /// all threads must be stopped when any thread is stopped; when /// hitting software breakpoints we must disable the breakpoint by -/// restoring the original breakpoint opcde, single stepping and +/// restoring the original breakpoint opcode, single stepping and /// restoring the breakpoint trap. If all threads were allowed to run /// then other threads could miss the breakpoint. /// /// This class centralizes the code that usually is done in separate /// code paths in a debugger (single step prediction, finding save /// restore locations of registers for unwinding stack frame variables) -/// and emulating the intruction is just a bonus. +/// and emulating the instruction is just a bonus. //---------------------------------------------------------------------- namespace lldb_private { @@ -394,7 +394,7 @@ public: // Mandatory overrides //---------------------------------------------------------------------- virtual bool - SupportsEmulatingIntructionsOfType (InstructionType inst_type) = 0; + SupportsEmulatingInstructionsOfType (InstructionType inst_type) = 0; virtual bool SetTargetTriple (const ArchSpec &arch) = 0; Modified: stable/10/contrib/llvm/tools/lldb/include/lldb/Core/Error.h ============================================================================== --- stable/10/contrib/llvm/tools/lldb/include/lldb/Core/Error.h Wed Mar 19 13:10:25 2014 (r263362) +++ stable/10/contrib/llvm/tools/lldb/include/lldb/Core/Error.h Wed Mar 19 13:11:35 2014 (r263363) @@ -11,11 +11,10 @@ #define __DCError_h__ #if defined(__cplusplus) -#if defined (__APPLE__) -#include <mach/mach.h> -#endif -#include <stdint.h> -#include <stdio.h> +#include "llvm/Support/DataTypes.h" + +#include <cstdarg> +#include <cstdio> #include <string> #include "lldb/lldb-private.h" @@ -70,7 +69,7 @@ public: Error (ValueType err, lldb::ErrorType type = lldb::eErrorTypeGeneric); explicit - Error (const char* err_str); + Error (const char *format, ...) __attribute__ ((format (printf, 2, 3))); Error (const Error &rhs); //------------------------------------------------------------------ Modified: stable/10/contrib/llvm/tools/lldb/include/lldb/Core/Flags.h ============================================================================== --- stable/10/contrib/llvm/tools/lldb/include/lldb/Core/Flags.h Wed Mar 19 13:10:25 2014 (r263362) +++ stable/10/contrib/llvm/tools/lldb/include/lldb/Core/Flags.h Wed Mar 19 13:11:35 2014 (r263363) @@ -13,7 +13,6 @@ #include <stdint.h> -#include <unistd.h> namespace lldb_private { Modified: stable/10/contrib/llvm/tools/lldb/include/lldb/Core/Log.h ============================================================================== --- stable/10/contrib/llvm/tools/lldb/include/lldb/Core/Log.h Wed Mar 19 13:10:25 2014 (r263362) +++ stable/10/contrib/llvm/tools/lldb/include/lldb/Core/Log.h Wed Mar 19 13:11:35 2014 (r263363) @@ -11,11 +11,10 @@ #define liblldb_Log_h_ // C Includes -#include <stdbool.h> +#include <stdarg.h> #include <stdint.h> #include <signal.h> #include <stdio.h> -#include <unistd.h> // C++ Includes // Other libraries and framework includes Modified: stable/10/contrib/llvm/tools/lldb/include/lldb/Core/Module.h ============================================================================== --- stable/10/contrib/llvm/tools/lldb/include/lldb/Core/Module.h Wed Mar 19 13:10:25 2014 (r263362) +++ stable/10/contrib/llvm/tools/lldb/include/lldb/Core/Module.h Wed Mar 19 13:11:35 2014 (r263363) @@ -347,6 +347,32 @@ public: SymbolContextList& sc_list); //------------------------------------------------------------------ + /// Find addresses by file/line + /// + /// @param[in] target_sp + /// The target the addresses are desired for. + /// + /// @param[in] file + /// Source file to locate. + /// + /// @param[in] line + /// Source line to locate. + /// + /// @param[in] function + /// Optional filter function. Addresses within this function will be + /// added to the 'local' list. All others will be added to the 'extern' list. + /// + /// @param[out] output_local + /// All matching addresses within 'function' + /// + /// @param[out] output_extern + /// All matching addresses not within 'function' + void FindAddressesForLine (const lldb::TargetSP target_sp, + const FileSpec &file, uint32_t line, + Function *function, + std::vector<Address> &output_local, std::vector<Address> &output_extern); + + //------------------------------------------------------------------ /// Find global and static variables by name. /// /// @param[in] name @@ -723,8 +749,49 @@ public: bool ResolveFileAddress (lldb::addr_t vm_addr, Address& so_addr); + //------------------------------------------------------------------ + /// Resolve the symbol context for the given address. + /// + /// Tries to resolve the matching symbol context based on a lookup + /// from the current symbol vendor. If the lazy lookup fails, + /// an attempt is made to parse the eh_frame section to handle + /// stripped symbols. If this fails, an attempt is made to resolve + /// the symbol to the previous address to handle the case of a + /// function with a tail call. + /// + /// Use properties of the modified SymbolContext to inspect any + /// resolved target, module, compilation unit, symbol, function, + /// function block or line entry. Use the return value to determine + /// which of these properties have been modified. + /// + /// @param[in] so_addr + /// A load address to resolve. + /// + /// @param[in] resolve_scope + /// The scope that should be resolved (see SymbolContext::Scope). + /// A combination of flags from the enumeration SymbolContextItem + /// requesting a resolution depth. Note that the flags that are + /// actually resolved may be a superset of the requested flags. + /// For instance, eSymbolContextSymbol requires resolution of + /// eSymbolContextModule, and eSymbolContextFunction requires + /// eSymbolContextSymbol. + /// + /// @param[out] sc + /// The SymbolContext that is modified based on symbol resolution. + /// + /// @param[in] resolve_tail_call_address + /// Determines if so_addr should resolve to a symbol in the case + /// of a function whose last instruction is a call. In this case, + /// the PC can be one past the address range of the function. + /// + /// @return + /// The scope that has been resolved (see SymbolContext::Scope). + /// + /// @see SymbolContext::Scope + //------------------------------------------------------------------ uint32_t - ResolveSymbolContextForAddress (const Address& so_addr, uint32_t resolve_scope, SymbolContext& sc); + ResolveSymbolContextForAddress (const Address& so_addr, uint32_t resolve_scope, + SymbolContext& sc, bool resolve_tail_call_address = false); //------------------------------------------------------------------ /// Resolve items in the symbol context for a given file and line. Modified: stable/10/contrib/llvm/tools/lldb/include/lldb/Core/ModuleList.h ============================================================================== --- stable/10/contrib/llvm/tools/lldb/include/lldb/Core/ModuleList.h Wed Mar 19 13:10:25 2014 (r263362) +++ stable/10/contrib/llvm/tools/lldb/include/lldb/Core/ModuleList.h Wed Mar 19 13:11:35 2014 (r263363) @@ -439,7 +439,35 @@ public: bool FindSourceFile (const FileSpec &orig_spec, FileSpec &new_spec) const; - + + + //------------------------------------------------------------------ + /// Find addresses by file/line + /// + /// @param[in] target_sp + /// The target the addresses are desired for. + /// + /// @param[in] file + /// Source file to locate. + /// + /// @param[in] line + /// Source line to locate. + /// + /// @param[in] function + /// Optional filter function. Addresses within this function will be + /// added to the 'local' list. All others will be added to the 'extern' list. + /// + /// @param[out] output_local + /// All matching addresses within 'function' + /// + /// @param[out] output_extern + /// All matching addresses not within 'function' + void FindAddressesForLine (const lldb::TargetSP target_sp, + const FileSpec &file, uint32_t line, + Function *function, + std::vector<Address> &output_local, std::vector<Address> &output_extern); + + bool Remove (const lldb::ModuleSP &module_sp); Modified: stable/10/contrib/llvm/tools/lldb/include/lldb/Core/ModuleSpec.h ============================================================================== --- stable/10/contrib/llvm/tools/lldb/include/lldb/Core/ModuleSpec.h Wed Mar 19 13:10:25 2014 (r263362) +++ stable/10/contrib/llvm/tools/lldb/include/lldb/Core/ModuleSpec.h Wed Mar 19 13:11:35 2014 (r263363) @@ -288,7 +288,7 @@ public: } - operator bool () const + explicit operator bool () const { if (m_file) return true; Modified: stable/10/contrib/llvm/tools/lldb/include/lldb/Core/Opcode.h ============================================================================== --- stable/10/contrib/llvm/tools/lldb/include/lldb/Core/Opcode.h Wed Mar 19 13:10:25 2014 (r263362) +++ stable/10/contrib/llvm/tools/lldb/include/lldb/Core/Opcode.h Wed Mar 19 13:11:35 2014 (r263363) @@ -38,7 +38,7 @@ namespace lldb_private { eType64, eTypeBytes }; - + Opcode () : m_type (eTypeInvalid) { } @@ -78,7 +78,7 @@ namespace lldb_private { { return m_type; } - + uint8_t GetOpcode8 (uint8_t invalid_opcode = UINT8_MAX) const { @@ -91,7 +91,6 @@ namespace lldb_private { case Opcode::eType32: break; case Opcode::eType64: break; case Opcode::eTypeBytes: break; - break; } return invalid_opcode; } @@ -157,7 +156,7 @@ namespace lldb_private { m_type = eType16; m_data.inst16 = inst; } - + void SetOpcode16_2 (uint32_t inst) { @@ -206,7 +205,7 @@ namespace lldb_private { return m_data.inst.bytes; return NULL; } - + uint32_t GetByteSize () const { @@ -222,7 +221,7 @@ namespace lldb_private { } return 0; } - + // Get the opcode exactly as it would be laid out in memory. uint32_t GetData (DataExtractor &data) const; @@ -246,7 +245,7 @@ namespace lldb_private { } return NULL; } - + lldb::ByteOrder GetDataByteOrder () const; @@ -257,7 +256,7 @@ namespace lldb_private { uint16_t inst16; uint32_t inst32; uint64_t inst64; - struct + struct { uint8_t bytes[16]; // This must be big enough to handle any opcode for any supported target. uint8_t length; Modified: stable/10/contrib/llvm/tools/lldb/include/lldb/Core/PluginManager.h ============================================================================== --- stable/10/contrib/llvm/tools/lldb/include/lldb/Core/PluginManager.h Wed Mar 19 13:10:25 2014 (r263362) +++ stable/10/contrib/llvm/tools/lldb/include/lldb/Core/PluginManager.h Wed Mar 19 13:11:35 2014 (r263363) @@ -132,6 +132,24 @@ public: //------------------------------------------------------------------ + // SystemRuntime + //------------------------------------------------------------------ + static bool + RegisterPlugin (const ConstString &name, + const char *description, + SystemRuntimeCreateInstance create_callback); + + static bool + UnregisterPlugin (SystemRuntimeCreateInstance create_callback); + + static SystemRuntimeCreateInstance + GetSystemRuntimeCreateCallbackAtIndex (uint32_t idx); + + static SystemRuntimeCreateInstance + GetSystemRuntimeCreateCallbackForPluginName (const ConstString &name); + + + //------------------------------------------------------------------ // ObjectFile //------------------------------------------------------------------ static bool Modified: stable/10/contrib/llvm/tools/lldb/include/lldb/Core/RangeMap.h ============================================================================== --- stable/10/contrib/llvm/tools/lldb/include/lldb/Core/RangeMap.h Wed Mar 19 13:10:25 2014 (r263362) +++ stable/10/contrib/llvm/tools/lldb/include/lldb/Core/RangeMap.h Wed Mar 19 13:11:35 2014 (r263363) @@ -592,7 +592,7 @@ namespace lldb_private { void Reserve (typename Collection::size_type size) { - m_entries.resize (size); + m_entries.reserve (size); } bool @@ -1229,16 +1229,11 @@ namespace lldb_private { typename Collection::const_iterator end = m_entries.end(); typename Collection::const_iterator pos = std::lower_bound (begin, end, entry, BaseLessThan); + while(pos != begin && pos[-1].Contains(addr)) + --pos; + if (pos != end && pos->Contains(addr)) - { return std::distance (begin, pos); - } - else if (pos != begin) - { - --pos; - if (pos->Contains(addr)) - return std::distance (begin, pos); - } } return UINT32_MAX; } @@ -1257,19 +1252,12 @@ namespace lldb_private { typename Collection::iterator begin = m_entries.begin(); typename Collection::iterator end = m_entries.end(); typename Collection::iterator pos = std::lower_bound (begin, end, entry, BaseLessThan); + + while(pos != begin && pos[-1].Contains(addr)) + --pos; if (pos != end && pos->Contains(addr)) - { return &(*pos); - } - else if (pos != begin) - { - --pos; - if (pos->Contains(addr)) - { - return &(*pos); - } - } } return NULL; } @@ -1288,18 +1276,11 @@ namespace lldb_private { typename Collection::const_iterator end = m_entries.end(); typename Collection::const_iterator pos = std::lower_bound (begin, end, entry, BaseLessThan); - if (pos != end && pos->Contains(addr)) - { - return &(*pos); - } - else if (pos != begin) - { + while(pos != begin && pos[-1].Contains(addr)) --pos; - if (pos->Contains(addr)) - { - return &(*pos); - } - } + + if (pos != end && pos->Contains(addr)) + return &(*pos); } return NULL; } @@ -1316,18 +1297,11 @@ namespace lldb_private { typename Collection::const_iterator end = m_entries.end(); typename Collection::const_iterator pos = std::lower_bound (begin, end, range, BaseLessThan); - if (pos != end && pos->Contains(range)) - { - return &(*pos); - } - else if (pos != begin) - { + while(pos != begin && pos[-1].Contains(range)) --pos; - if (pos->Contains(range)) - { - return &(*pos); - } - } + + if (pos != end && pos->Contains(range)) + return &(*pos); } return NULL; } @@ -1501,12 +1475,15 @@ namespace lldb_private { typename Collection::iterator end = m_entries.end(); typename Collection::iterator pos = std::lower_bound (begin, end, entry, BaseLessThan); + while(pos != begin && pos[-1].addr == addr) + --pos; + if (pos != end) { if (pos->addr == addr || !exact_match_only) return &(*pos); } - } + } return NULL; } Modified: stable/10/contrib/llvm/tools/lldb/include/lldb/Core/RegularExpression.h ============================================================================== --- stable/10/contrib/llvm/tools/lldb/include/lldb/Core/RegularExpression.h Wed Mar 19 13:10:25 2014 (r263362) +++ stable/10/contrib/llvm/tools/lldb/include/lldb/Core/RegularExpression.h Wed Mar 19 13:11:35 2014 (r263363) @@ -11,7 +11,36 @@ #define liblldb_DBRegex_h_ #if defined(__cplusplus) +#ifdef _WIN32 +#include "../lib/Support/regex_impl.h" + +typedef llvm_regmatch_t regmatch_t; +typedef llvm_regex_t regex_t; + +inline int regcomp(llvm_regex_t * a, const char *b, int c) +{ + return llvm_regcomp(a, b, c); +} + +inline size_t regerror(int a, const llvm_regex_t *b, char *c, size_t d) +{ + return llvm_regerror(a, b, c, d); +} + +inline int regexec(const llvm_regex_t * a, const char * b, size_t c, + llvm_regmatch_t d [], int e) +{ + return llvm_regexec(a, b, c, d, e); +} + +inline void regfree(llvm_regex_t * a) +{ + llvm_regfree(a); +} + +#else #include <regex.h> +#endif #include <stdint.h> #include <string> Copied: stable/10/contrib/llvm/tools/lldb/include/lldb/Core/StreamGDBRemote.h (from r258054, head/contrib/llvm/tools/lldb/include/lldb/Core/StreamGDBRemote.h) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ stable/10/contrib/llvm/tools/lldb/include/lldb/Core/StreamGDBRemote.h Wed Mar 19 13:11:35 2014 (r263363, copy of r258054, head/contrib/llvm/tools/lldb/include/lldb/Core/StreamGDBRemote.h) @@ -0,0 +1,54 @@ +//===-- StreamGDBRemote.h ----------------------------------------*- C++ -*-===// +// +// The LLVM Compiler Infrastructure +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + +#ifndef liblldb_StreamGDBRemote_h_ +#define liblldb_StreamGDBRemote_h_ + +// C Includes +// C++ Includes + +// Other libraries and framework includes +// Project includes + +#include "lldb/Core/StreamString.h" + +namespace lldb_private { + + class StreamGDBRemote : public StreamString + { + public: + StreamGDBRemote (); + + StreamGDBRemote (uint32_t flags, + uint32_t addr_size, + lldb::ByteOrder byte_order); + + virtual + ~StreamGDBRemote (); + + //------------------------------------------------------------------ + /// Output a block of data to the stream performing GDB-remote escaping. + /// + /// @param[in] s + /// A block of data. + /// + /// @param[in] src_len + /// The amount of data to write. + /// + /// @return + /// Number of bytes written. + //------------------------------------------------------------------ + int *** DIFF OUTPUT TRUNCATED AT 1000 LINES ***
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403191311.s2JDBaPK045202>