Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Feb 2014 16:09:55 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r262528 - in head: 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/lldb/Cor...
Message-ID:  <201402261609.s1QG9tjR083240@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Wed Feb 26 16:09:54 2014
New Revision: 262528
URL: http://svnweb.freebsd.org/changeset/base/262528

Log:
  Update LLDB snapshot to upstream r202189
  
  Highlights include (upstream revs in parens):
  
  - Improvements to the remote GDB protocol client
    (r196610, r197579, r197857, r200072, and others)
  
  - Bug fixes for big-endian targets
    (r196808)
  
  - Initial support for libdispatch (GCD) queues in the debuggee
    (r197190)
  
  - Add "step-avoid-libraries" setting
    (r199943)
  
  - IO subsystem improvements (including initial work on a curses gui)
    (r200263)
  
  - Support hardware watchpoints on FreeBSD
    (r201706)
  
  - Improved unwinding through hand-written assembly functions
    (r201839)
  
  - Handle DW_TAG_unspecified_parameters for variadic functions
    (r202061)
  
  - Fix Ctrl+C interrupting a running inferior process
    (r202086, r202154)
  
  - Various bug fixes for memory leaks, LLDB segfaults, the C++ demangler,
    ELF core files, DWARF debug info, and others.
  
  Sponsored by:	DARPA, AFRL

Added:
  head/contrib/llvm/tools/lldb/include/lldb/API/SBQueue.h
     - copied unchanged from r262527, projects/lldb-r201577/contrib/llvm/tools/lldb/include/lldb/API/SBQueue.h
  head/contrib/llvm/tools/lldb/include/lldb/API/SBQueueItem.h
     - copied unchanged from r262527, projects/lldb-r201577/contrib/llvm/tools/lldb/include/lldb/API/SBQueueItem.h
  head/contrib/llvm/tools/lldb/include/lldb/Core/IOHandler.h
     - copied unchanged from r262527, projects/lldb-r201577/contrib/llvm/tools/lldb/include/lldb/Core/IOHandler.h
  head/contrib/llvm/tools/lldb/include/lldb/DataFormatters/FormattersContainer.h
     - copied unchanged from r262527, projects/lldb-r201577/contrib/llvm/tools/lldb/include/lldb/DataFormatters/FormattersContainer.h
  head/contrib/llvm/tools/lldb/include/lldb/Host/Editline.h
     - copied unchanged from r262527, projects/lldb-r201577/contrib/llvm/tools/lldb/include/lldb/Host/Editline.h
  head/contrib/llvm/tools/lldb/include/lldb/Host/HostGetOpt.h
     - copied unchanged from r262527, projects/lldb-r201577/contrib/llvm/tools/lldb/include/lldb/Host/HostGetOpt.h
  head/contrib/llvm/tools/lldb/include/lldb/Target/Queue.h
     - copied unchanged from r262527, projects/lldb-r201577/contrib/llvm/tools/lldb/include/lldb/Target/Queue.h
  head/contrib/llvm/tools/lldb/include/lldb/Target/QueueItem.h
     - copied unchanged from r262527, projects/lldb-r201577/contrib/llvm/tools/lldb/include/lldb/Target/QueueItem.h
  head/contrib/llvm/tools/lldb/include/lldb/Target/QueueList.h
     - copied unchanged from r262527, projects/lldb-r201577/contrib/llvm/tools/lldb/include/lldb/Target/QueueList.h
  head/contrib/llvm/tools/lldb/include/lldb/Target/SectionLoadHistory.h
     - copied unchanged from r262527, projects/lldb-r201577/contrib/llvm/tools/lldb/include/lldb/Target/SectionLoadHistory.h
  head/contrib/llvm/tools/lldb/source/API/SBQueue.cpp
     - copied unchanged from r262527, projects/lldb-r201577/contrib/llvm/tools/lldb/source/API/SBQueue.cpp
  head/contrib/llvm/tools/lldb/source/API/SBQueueItem.cpp
     - copied unchanged from r262527, projects/lldb-r201577/contrib/llvm/tools/lldb/source/API/SBQueueItem.cpp
  head/contrib/llvm/tools/lldb/source/Commands/CommandObjectGUI.cpp
     - copied unchanged from r262527, projects/lldb-r201577/contrib/llvm/tools/lldb/source/Commands/CommandObjectGUI.cpp
  head/contrib/llvm/tools/lldb/source/Commands/CommandObjectGUI.h
     - copied unchanged from r262527, projects/lldb-r201577/contrib/llvm/tools/lldb/source/Commands/CommandObjectGUI.h
  head/contrib/llvm/tools/lldb/source/Core/IOHandler.cpp
     - copied unchanged from r262527, projects/lldb-r201577/contrib/llvm/tools/lldb/source/Core/IOHandler.cpp
  head/contrib/llvm/tools/lldb/source/Host/common/Editline.cpp
     - copied unchanged from r262527, projects/lldb-r201577/contrib/llvm/tools/lldb/source/Host/common/Editline.cpp
  head/contrib/llvm/tools/lldb/source/Target/Queue.cpp
     - copied unchanged from r262527, projects/lldb-r201577/contrib/llvm/tools/lldb/source/Target/Queue.cpp
  head/contrib/llvm/tools/lldb/source/Target/QueueItem.cpp
     - copied unchanged from r262527, projects/lldb-r201577/contrib/llvm/tools/lldb/source/Target/QueueItem.cpp
  head/contrib/llvm/tools/lldb/source/Target/QueueList.cpp
     - copied unchanged from r262527, projects/lldb-r201577/contrib/llvm/tools/lldb/source/Target/QueueList.cpp
  head/contrib/llvm/tools/lldb/source/Target/SectionLoadHistory.cpp
     - copied unchanged from r262527, projects/lldb-r201577/contrib/llvm/tools/lldb/source/Target/SectionLoadHistory.cpp
  head/contrib/llvm/tools/lldb/tools/lldb-platform/exports
     - copied unchanged from r262527, projects/lldb-r201577/contrib/llvm/tools/lldb/tools/lldb-platform/exports
Replaced:
  head/contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD/FreeBSDThread.cpp
     - copied unchanged from r262527, projects/lldb-r201577/contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD/FreeBSDThread.cpp
  head/contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD/FreeBSDThread.h
     - copied unchanged from r262527, projects/lldb-r201577/contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD/FreeBSDThread.h
Deleted:
  head/contrib/llvm/tools/lldb/include/lldb/API/SBInputReader.h
  head/contrib/llvm/tools/lldb/include/lldb/Core/InputReader.h
  head/contrib/llvm/tools/lldb/include/lldb/Core/InputReaderEZ.h
  head/contrib/llvm/tools/lldb/include/lldb/Core/InputReaderStack.h
  head/contrib/llvm/tools/lldb/include/lldb/DataFormatters/FormatNavigator.h
  head/contrib/llvm/tools/lldb/source/API/SBInputReader.cpp
  head/contrib/llvm/tools/lldb/source/Core/InputReader.cpp
  head/contrib/llvm/tools/lldb/source/Core/InputReaderEZ.cpp
  head/contrib/llvm/tools/lldb/source/Core/InputReaderStack.cpp
  head/contrib/llvm/tools/lldb/tools/driver/ELWrapper.cpp
  head/contrib/llvm/tools/lldb/tools/driver/ELWrapper.h
  head/contrib/llvm/tools/lldb/tools/driver/GetOptWrapper.cpp
  head/contrib/llvm/tools/lldb/tools/driver/GetOptWrapper.h
  head/contrib/llvm/tools/lldb/tools/driver/IOChannel.cpp
  head/contrib/llvm/tools/lldb/tools/driver/IOChannel.h
Modified:
  head/contrib/llvm/tools/lldb/include/lldb/API/LLDB.h
  head/contrib/llvm/tools/lldb/include/lldb/API/SBAddress.h
  head/contrib/llvm/tools/lldb/include/lldb/API/SBCommandInterpreter.h
  head/contrib/llvm/tools/lldb/include/lldb/API/SBDebugger.h
  head/contrib/llvm/tools/lldb/include/lldb/API/SBDefines.h
  head/contrib/llvm/tools/lldb/include/lldb/API/SBError.h
  head/contrib/llvm/tools/lldb/include/lldb/API/SBModule.h
  head/contrib/llvm/tools/lldb/include/lldb/API/SBProcess.h
  head/contrib/llvm/tools/lldb/include/lldb/API/SBTarget.h
  head/contrib/llvm/tools/lldb/include/lldb/API/SBThread.h
  head/contrib/llvm/tools/lldb/include/lldb/API/SBType.h
  head/contrib/llvm/tools/lldb/include/lldb/API/SBTypeFormat.h
  head/contrib/llvm/tools/lldb/include/lldb/Breakpoint/Breakpoint.h
  head/contrib/llvm/tools/lldb/include/lldb/Breakpoint/BreakpointLocation.h
  head/contrib/llvm/tools/lldb/include/lldb/Breakpoint/BreakpointLocationList.h
  head/contrib/llvm/tools/lldb/include/lldb/Core/ArchSpec.h
  head/contrib/llvm/tools/lldb/include/lldb/Core/Communication.h
  head/contrib/llvm/tools/lldb/include/lldb/Core/ConnectionFileDescriptor.h
  head/contrib/llvm/tools/lldb/include/lldb/Core/Debugger.h
  head/contrib/llvm/tools/lldb/include/lldb/Core/Disassembler.h
  head/contrib/llvm/tools/lldb/include/lldb/Core/MappedHash.h
  head/contrib/llvm/tools/lldb/include/lldb/Core/Module.h
  head/contrib/llvm/tools/lldb/include/lldb/Core/Opcode.h
  head/contrib/llvm/tools/lldb/include/lldb/Core/SourceManager.h
  head/contrib/llvm/tools/lldb/include/lldb/Core/StreamAsynchronousIO.h
  head/contrib/llvm/tools/lldb/include/lldb/Core/StringList.h
  head/contrib/llvm/tools/lldb/include/lldb/Core/ValueObject.h
  head/contrib/llvm/tools/lldb/include/lldb/Core/ValueObjectList.h
  head/contrib/llvm/tools/lldb/include/lldb/DataFormatters/CXXFormatterFunctions.h
  head/contrib/llvm/tools/lldb/include/lldb/DataFormatters/FormatManager.h
  head/contrib/llvm/tools/lldb/include/lldb/DataFormatters/TypeCategory.h
  head/contrib/llvm/tools/lldb/include/lldb/DataFormatters/TypeCategoryMap.h
  head/contrib/llvm/tools/lldb/include/lldb/DataFormatters/TypeFormat.h
  head/contrib/llvm/tools/lldb/include/lldb/DataFormatters/TypeSynthetic.h
  head/contrib/llvm/tools/lldb/include/lldb/DataFormatters/ValueObjectPrinter.h
  head/contrib/llvm/tools/lldb/include/lldb/Expression/ClangFunction.h
  head/contrib/llvm/tools/lldb/include/lldb/Expression/IRForTarget.h
  head/contrib/llvm/tools/lldb/include/lldb/Host/File.h
  head/contrib/llvm/tools/lldb/include/lldb/Host/FileSpec.h
  head/contrib/llvm/tools/lldb/include/lldb/Host/Host.h
  head/contrib/llvm/tools/lldb/include/lldb/Host/SocketAddress.h
  head/contrib/llvm/tools/lldb/include/lldb/Interpreter/CommandInterpreter.h
  head/contrib/llvm/tools/lldb/include/lldb/Interpreter/PythonDataObjects.h
  head/contrib/llvm/tools/lldb/include/lldb/Interpreter/ScriptInterpreter.h
  head/contrib/llvm/tools/lldb/include/lldb/Interpreter/ScriptInterpreterPython.h
  head/contrib/llvm/tools/lldb/include/lldb/Symbol/FuncUnwinders.h
  head/contrib/llvm/tools/lldb/include/lldb/Symbol/Function.h
  head/contrib/llvm/tools/lldb/include/lldb/Symbol/ObjectFile.h
  head/contrib/llvm/tools/lldb/include/lldb/Symbol/Symbol.h
  head/contrib/llvm/tools/lldb/include/lldb/Symbol/SymbolContext.h
  head/contrib/llvm/tools/lldb/include/lldb/Symbol/Type.h
  head/contrib/llvm/tools/lldb/include/lldb/Symbol/UnwindTable.h
  head/contrib/llvm/tools/lldb/include/lldb/Symbol/VariableList.h
  head/contrib/llvm/tools/lldb/include/lldb/Target/DynamicLoader.h
  head/contrib/llvm/tools/lldb/include/lldb/Target/ExecutionContext.h
  head/contrib/llvm/tools/lldb/include/lldb/Target/Platform.h
  head/contrib/llvm/tools/lldb/include/lldb/Target/Process.h
  head/contrib/llvm/tools/lldb/include/lldb/Target/SectionLoadList.h
  head/contrib/llvm/tools/lldb/include/lldb/Target/SystemRuntime.h
  head/contrib/llvm/tools/lldb/include/lldb/Target/Target.h
  head/contrib/llvm/tools/lldb/include/lldb/Target/Thread.h
  head/contrib/llvm/tools/lldb/include/lldb/Target/ThreadList.h
  head/contrib/llvm/tools/lldb/include/lldb/Target/ThreadPlanStepInRange.h
  head/contrib/llvm/tools/lldb/include/lldb/Target/UnwindAssembly.h
  head/contrib/llvm/tools/lldb/include/lldb/Utility/Iterable.h
  head/contrib/llvm/tools/lldb/include/lldb/lldb-enumerations.h
  head/contrib/llvm/tools/lldb/include/lldb/lldb-forward.h
  head/contrib/llvm/tools/lldb/include/lldb/lldb-private-enumerations.h
  head/contrib/llvm/tools/lldb/include/lldb/lldb-private-log.h
  head/contrib/llvm/tools/lldb/source/API/SBBreakpoint.cpp
  head/contrib/llvm/tools/lldb/source/API/SBCommandInterpreter.cpp
  head/contrib/llvm/tools/lldb/source/API/SBDebugger.cpp
  head/contrib/llvm/tools/lldb/source/API/SBFrame.cpp
  head/contrib/llvm/tools/lldb/source/API/SBModule.cpp
  head/contrib/llvm/tools/lldb/source/API/SBProcess.cpp
  head/contrib/llvm/tools/lldb/source/API/SBTarget.cpp
  head/contrib/llvm/tools/lldb/source/API/SBType.cpp
  head/contrib/llvm/tools/lldb/source/API/SBTypeCategory.cpp
  head/contrib/llvm/tools/lldb/source/API/SBTypeFormat.cpp
  head/contrib/llvm/tools/lldb/source/API/SBValue.cpp
  head/contrib/llvm/tools/lldb/source/Breakpoint/Breakpoint.cpp
  head/contrib/llvm/tools/lldb/source/Breakpoint/BreakpointLocation.cpp
  head/contrib/llvm/tools/lldb/source/Breakpoint/BreakpointLocationList.cpp
  head/contrib/llvm/tools/lldb/source/Breakpoint/BreakpointResolverName.cpp
  head/contrib/llvm/tools/lldb/source/Commands/CommandObjectBreakpointCommand.cpp
  head/contrib/llvm/tools/lldb/source/Commands/CommandObjectBreakpointCommand.h
  head/contrib/llvm/tools/lldb/source/Commands/CommandObjectCommands.cpp
  head/contrib/llvm/tools/lldb/source/Commands/CommandObjectDisassemble.cpp
  head/contrib/llvm/tools/lldb/source/Commands/CommandObjectExpression.cpp
  head/contrib/llvm/tools/lldb/source/Commands/CommandObjectExpression.h
  head/contrib/llvm/tools/lldb/source/Commands/CommandObjectMultiword.cpp
  head/contrib/llvm/tools/lldb/source/Commands/CommandObjectProcess.cpp
  head/contrib/llvm/tools/lldb/source/Commands/CommandObjectQuit.cpp
  head/contrib/llvm/tools/lldb/source/Commands/CommandObjectRegister.cpp
  head/contrib/llvm/tools/lldb/source/Commands/CommandObjectSource.cpp
  head/contrib/llvm/tools/lldb/source/Commands/CommandObjectTarget.cpp
  head/contrib/llvm/tools/lldb/source/Commands/CommandObjectType.cpp
  head/contrib/llvm/tools/lldb/source/Commands/CommandObjectWatchpointCommand.cpp
  head/contrib/llvm/tools/lldb/source/Commands/CommandObjectWatchpointCommand.h
  head/contrib/llvm/tools/lldb/source/Core/Address.cpp
  head/contrib/llvm/tools/lldb/source/Core/ArchSpec.cpp
  head/contrib/llvm/tools/lldb/source/Core/Broadcaster.cpp
  head/contrib/llvm/tools/lldb/source/Core/Communication.cpp
  head/contrib/llvm/tools/lldb/source/Core/ConnectionFileDescriptor.cpp
  head/contrib/llvm/tools/lldb/source/Core/DataExtractor.cpp
  head/contrib/llvm/tools/lldb/source/Core/Debugger.cpp
  head/contrib/llvm/tools/lldb/source/Core/Disassembler.cpp
  head/contrib/llvm/tools/lldb/source/Core/DynamicLoader.cpp
  head/contrib/llvm/tools/lldb/source/Core/Log.cpp
  head/contrib/llvm/tools/lldb/source/Core/Mangled.cpp
  head/contrib/llvm/tools/lldb/source/Core/Module.cpp
  head/contrib/llvm/tools/lldb/source/Core/Opcode.cpp
  head/contrib/llvm/tools/lldb/source/Core/Section.cpp
  head/contrib/llvm/tools/lldb/source/Core/SourceManager.cpp
  head/contrib/llvm/tools/lldb/source/Core/StreamAsynchronousIO.cpp
  head/contrib/llvm/tools/lldb/source/Core/StringList.cpp
  head/contrib/llvm/tools/lldb/source/Core/Value.cpp
  head/contrib/llvm/tools/lldb/source/Core/ValueObject.cpp
  head/contrib/llvm/tools/lldb/source/Core/ValueObjectChild.cpp
  head/contrib/llvm/tools/lldb/source/Core/ValueObjectVariable.cpp
  head/contrib/llvm/tools/lldb/source/DataFormatters/DataVisualization.cpp
  head/contrib/llvm/tools/lldb/source/DataFormatters/FormatManager.cpp
  head/contrib/llvm/tools/lldb/source/DataFormatters/LibCxx.cpp
  head/contrib/llvm/tools/lldb/source/DataFormatters/LibCxxUnorderedMap.cpp
  head/contrib/llvm/tools/lldb/source/DataFormatters/TypeCategory.cpp
  head/contrib/llvm/tools/lldb/source/DataFormatters/TypeFormat.cpp
  head/contrib/llvm/tools/lldb/source/DataFormatters/ValueObjectPrinter.cpp
  head/contrib/llvm/tools/lldb/source/Expression/ClangASTSource.cpp
  head/contrib/llvm/tools/lldb/source/Expression/ClangExpressionDeclMap.cpp
  head/contrib/llvm/tools/lldb/source/Expression/ClangExpressionParser.cpp
  head/contrib/llvm/tools/lldb/source/Expression/ClangUserExpression.cpp
  head/contrib/llvm/tools/lldb/source/Expression/DWARFExpression.cpp
  head/contrib/llvm/tools/lldb/source/Expression/IRDynamicChecks.cpp
  head/contrib/llvm/tools/lldb/source/Expression/IRExecutionUnit.cpp
  head/contrib/llvm/tools/lldb/source/Expression/IRForTarget.cpp
  head/contrib/llvm/tools/lldb/source/Expression/Materializer.cpp
  head/contrib/llvm/tools/lldb/source/Host/common/File.cpp
  head/contrib/llvm/tools/lldb/source/Host/common/Host.cpp
  head/contrib/llvm/tools/lldb/source/Host/common/OptionParser.cpp
  head/contrib/llvm/tools/lldb/source/Host/common/SocketAddress.cpp
  head/contrib/llvm/tools/lldb/source/Interpreter/CommandInterpreter.cpp
  head/contrib/llvm/tools/lldb/source/Interpreter/CommandObject.cpp
  head/contrib/llvm/tools/lldb/source/Interpreter/Options.cpp
  head/contrib/llvm/tools/lldb/source/Interpreter/PythonDataObjects.cpp
  head/contrib/llvm/tools/lldb/source/Interpreter/ScriptInterpreterNone.cpp
  head/contrib/llvm/tools/lldb/source/Interpreter/ScriptInterpreterPython.cpp
  head/contrib/llvm/tools/lldb/source/Interpreter/embedded_interpreter.py
  head/contrib/llvm/tools/lldb/source/Plugins/ABI/MacOSX-i386/ABIMacOSX_i386.cpp
  head/contrib/llvm/tools/lldb/source/Plugins/ABI/MacOSX-i386/ABIMacOSX_i386.h
  head/contrib/llvm/tools/lldb/source/Plugins/ABI/SysV-x86_64/ABISysV_x86_64.h
  head/contrib/llvm/tools/lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp
  head/contrib/llvm/tools/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp
  head/contrib/llvm/tools/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.h
  head/contrib/llvm/tools/lldb/source/Plugins/DynamicLoader/Static/DynamicLoaderStatic.cpp
  head/contrib/llvm/tools/lldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp
  head/contrib/llvm/tools/lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.cpp
  head/contrib/llvm/tools/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
  head/contrib/llvm/tools/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h
  head/contrib/llvm/tools/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp
  head/contrib/llvm/tools/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.h
  head/contrib/llvm/tools/lldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp
  head/contrib/llvm/tools/lldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.h
  head/contrib/llvm/tools/lldb/source/Plugins/Platform/POSIX/PlatformPOSIX.cpp
  head/contrib/llvm/tools/lldb/source/Plugins/Platform/POSIX/PlatformPOSIX.h
  head/contrib/llvm/tools/lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.cpp
  head/contrib/llvm/tools/lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.h
  head/contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD/ProcessFreeBSD.cpp
  head/contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD/ProcessFreeBSD.h
  head/contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD/ProcessMonitor.cpp
  head/contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD/ProcessMonitor.h
  head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/POSIXThread.cpp
  head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/POSIXThread.h
  head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/ProcessPOSIX.cpp
  head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/ProcessPOSIX.h
  head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextFreeBSD_i386.cpp
  head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextFreeBSD_x86_64.cpp
  head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIX.h
  head/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIXProcessMonitor_x86.cpp
  head/contrib/llvm/tools/lldb/source/Plugins/Process/Utility/HistoryThread.cpp
  head/contrib/llvm/tools/lldb/source/Plugins/Process/Utility/HistoryThread.h
  head/contrib/llvm/tools/lldb/source/Plugins/Process/Utility/InferiorCallPOSIX.cpp
  head/contrib/llvm/tools/lldb/source/Plugins/Process/Utility/RegisterContextLLDB.cpp
  head/contrib/llvm/tools/lldb/source/Plugins/Process/Utility/RegisterContextLLDB.h
  head/contrib/llvm/tools/lldb/source/Plugins/Process/Utility/UnwindLLDB.cpp
  head/contrib/llvm/tools/lldb/source/Plugins/Process/Utility/UnwindLLDB.h
  head/contrib/llvm/tools/lldb/source/Plugins/Process/elf-core/ProcessElfCore.cpp
  head/contrib/llvm/tools/lldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_x86_64.cpp
  head/contrib/llvm/tools/lldb/source/Plugins/Process/elf-core/ThreadElfCore.cpp
  head/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
  head/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.h
  head/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
  head/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h
  head/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp
  head/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.h
  head/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp
  head/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
  head/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
  head/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp
  head/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFFormValue.h
  head/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
  head/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
  head/contrib/llvm/tools/lldb/source/Plugins/SymbolVendor/ELF/SymbolVendorELF.cpp
  head/contrib/llvm/tools/lldb/source/Symbol/ClangASTContext.cpp
  head/contrib/llvm/tools/lldb/source/Symbol/ClangASTType.cpp
  head/contrib/llvm/tools/lldb/source/Symbol/FuncUnwinders.cpp
  head/contrib/llvm/tools/lldb/source/Symbol/Function.cpp
  head/contrib/llvm/tools/lldb/source/Symbol/Symbol.cpp
  head/contrib/llvm/tools/lldb/source/Symbol/Type.cpp
  head/contrib/llvm/tools/lldb/source/Symbol/Variable.cpp
  head/contrib/llvm/tools/lldb/source/Symbol/VariableList.cpp
  head/contrib/llvm/tools/lldb/source/Target/ExecutionContext.cpp
  head/contrib/llvm/tools/lldb/source/Target/LanguageRuntime.cpp
  head/contrib/llvm/tools/lldb/source/Target/Platform.cpp
  head/contrib/llvm/tools/lldb/source/Target/Process.cpp
  head/contrib/llvm/tools/lldb/source/Target/SectionLoadList.cpp
  head/contrib/llvm/tools/lldb/source/Target/StopInfo.cpp
  head/contrib/llvm/tools/lldb/source/Target/SystemRuntime.cpp
  head/contrib/llvm/tools/lldb/source/Target/Target.cpp
  head/contrib/llvm/tools/lldb/source/Target/Thread.cpp
  head/contrib/llvm/tools/lldb/source/Target/ThreadList.cpp
  head/contrib/llvm/tools/lldb/source/Target/ThreadPlanStepInRange.cpp
  head/contrib/llvm/tools/lldb/source/Target/ThreadPlanStepThrough.cpp
  head/contrib/llvm/tools/lldb/source/Target/ThreadPlanTracer.cpp
  head/contrib/llvm/tools/lldb/source/Target/UnwindAssembly.cpp
  head/contrib/llvm/tools/lldb/source/Utility/StringExtractorGDBRemote.cpp
  head/contrib/llvm/tools/lldb/source/Utility/StringExtractorGDBRemote.h
  head/contrib/llvm/tools/lldb/source/lldb-log.cpp
  head/contrib/llvm/tools/lldb/source/lldb.cpp
  head/contrib/llvm/tools/lldb/tools/driver/Driver.cpp
  head/contrib/llvm/tools/lldb/tools/driver/Driver.h
  head/contrib/llvm/tools/lldb/tools/driver/Platform.h
  head/contrib/llvm/tools/lldb/tools/lldb-platform/lldb-platform.cpp
  head/lib/clang/liblldbAPI/Makefile
  head/lib/clang/liblldbCommands/Makefile
  head/lib/clang/liblldbCore/Makefile
  head/lib/clang/liblldbHostCommon/Makefile
  head/lib/clang/liblldbTarget/Makefile
  head/usr.bin/clang/lldb/Makefile
Directory Properties:
  head/   (props changed)
  head/contrib/llvm/   (props changed)
  head/contrib/llvm/tools/lldb/   (props changed)

Modified: head/contrib/llvm/tools/lldb/include/lldb/API/LLDB.h
==============================================================================
--- head/contrib/llvm/tools/lldb/include/lldb/API/LLDB.h	Wed Feb 26 11:29:07 2014	(r262527)
+++ head/contrib/llvm/tools/lldb/include/lldb/API/LLDB.h	Wed Feb 26 16:09:54 2014	(r262528)
@@ -33,13 +33,14 @@
 #include "lldb/API/SBFrame.h"
 #include "lldb/API/SBFunction.h"
 #include "lldb/API/SBHostOS.h"
-#include "lldb/API/SBInputReader.h"
 #include "lldb/API/SBInstruction.h"
 #include "lldb/API/SBInstructionList.h"
 #include "lldb/API/SBLineEntry.h"
 #include "lldb/API/SBListener.h"
 #include "lldb/API/SBModule.h"
 #include "lldb/API/SBProcess.h"
+#include "lldb/API/SBQueue.h"
+#include "lldb/API/SBQueueItem.h"
 #include "lldb/API/SBSourceManager.h"
 #include "lldb/API/SBStream.h"
 #include "lldb/API/SBStringList.h"

Modified: head/contrib/llvm/tools/lldb/include/lldb/API/SBAddress.h
==============================================================================
--- head/contrib/llvm/tools/lldb/include/lldb/API/SBAddress.h	Wed Feb 26 11:29:07 2014	(r262527)
+++ head/contrib/llvm/tools/lldb/include/lldb/API/SBAddress.h	Wed Feb 26 16:09:54 2014	(r262528)
@@ -118,6 +118,7 @@ protected:
     friend class SBTarget;
     friend class SBThread;
     friend class SBValue;
+    friend class SBQueueItem;
 
     lldb_private::Address *
     operator->();

Modified: head/contrib/llvm/tools/lldb/include/lldb/API/SBCommandInterpreter.h
==============================================================================
--- head/contrib/llvm/tools/lldb/include/lldb/API/SBCommandInterpreter.h	Wed Feb 26 11:29:07 2014	(r262527)
+++ head/contrib/llvm/tools/lldb/include/lldb/API/SBCommandInterpreter.h	Wed Feb 26 16:09:54 2014	(r262528)
@@ -122,6 +122,36 @@ public:
     
     SBCommandInterpreter (lldb_private::CommandInterpreter *interpreter_ptr = NULL);   // Access using SBDebugger::GetCommandInterpreter();
     
+    //----------------------------------------------------------------------
+    /// Return true if the command interpreter is the active IO handler.
+    ///
+    /// This indicates that any input coming into the debugger handles will
+    /// go to the command interpreter and will result in LLDB command line
+    /// commands being executed.
+    //----------------------------------------------------------------------
+    bool
+    IsActive ();
+    
+    //----------------------------------------------------------------------
+    /// Get the string that needs to be written to the debugger stdin file
+    /// handle when a control character is typed.
+    ///
+    /// Some GUI programs will intercept "control + char" sequences and want
+    /// to have them do what normally would happen when using a real
+    /// terminal, so this function allows GUI programs to emulate this
+    /// functionality.
+    ///
+    /// @param[in] ch
+    ///     The character that was typed along with the control key
+    ///
+    /// @return
+    ///     The string that should be written into the file handle that is
+    ///     feeding the input stream for the debugger, or NULL if there is
+    ///     no string for this control key.
+    //----------------------------------------------------------------------
+    const char *
+    GetIOHandlerControlSequence(char ch);
+
 protected:
 
     lldb_private::CommandInterpreter &

Modified: head/contrib/llvm/tools/lldb/include/lldb/API/SBDebugger.h
==============================================================================
--- head/contrib/llvm/tools/lldb/include/lldb/API/SBDebugger.h	Wed Feb 26 11:29:07 2014	(r262527)
+++ head/contrib/llvm/tools/lldb/include/lldb/API/SBDebugger.h	Wed Feb 26 16:09:54 2014	(r262528)
@@ -17,6 +17,16 @@
 
 namespace lldb {
 
+    
+class SBInputReader
+{
+public:
+    SBInputReader();
+    ~SBInputReader();
+    SBError Initialize(lldb::SBDebugger&, unsigned long (*)(void*, lldb::SBInputReader*, lldb::InputReaderAction, char const*, unsigned long), void*, lldb::InputReaderGranularity, char const*, char const*, bool);
+    void SetIsDone(bool);
+    bool IsActive() const;
+};
 class SBDebugger
 {
 public:
@@ -231,12 +241,6 @@ public:
     void
     PushInputReader (lldb::SBInputReader &reader);
 
-    void
-    NotifyTopInputReader (lldb::InputReaderAction notification);
-
-    bool
-    InputReaderIsTopReader (const lldb::SBInputReader &reader);
-
     const char *
     GetInstanceName  ();
 
@@ -313,6 +317,10 @@ public:
     GetSyntheticForType (SBTypeNameSpecifier);
 #endif
 
+    void
+    RunCommandInterpreter (bool auto_handle_events,
+                           bool spawn_thread);
+
 private:
 
     friend class SBCommandInterpreter;

Modified: head/contrib/llvm/tools/lldb/include/lldb/API/SBDefines.h
==============================================================================
--- head/contrib/llvm/tools/lldb/include/lldb/API/SBDefines.h	Wed Feb 26 11:29:07 2014	(r262527)
+++ head/contrib/llvm/tools/lldb/include/lldb/API/SBDefines.h	Wed Feb 26 16:09:54 2014	(r262528)
@@ -48,7 +48,6 @@ class SBFileSpecList;
 class SBFrame;
 class SBFunction;
 class SBHostOS;
-class SBInputReader;
 class SBInstruction;
 class SBInstructionList;
 class SBLineEntry;

Modified: head/contrib/llvm/tools/lldb/include/lldb/API/SBError.h
==============================================================================
--- head/contrib/llvm/tools/lldb/include/lldb/API/SBError.h	Wed Feb 26 11:29:07 2014	(r262527)
+++ head/contrib/llvm/tools/lldb/include/lldb/API/SBError.h	Wed Feb 26 16:09:54 2014	(r262528)
@@ -71,7 +71,6 @@ protected:
     friend class SBDebugger;
     friend class SBCommunication;
     friend class SBHostOS;
-    friend class SBInputReader;
     friend class SBPlatform;
     friend class SBProcess;
     friend class SBThread;

Modified: head/contrib/llvm/tools/lldb/include/lldb/API/SBModule.h
==============================================================================
--- head/contrib/llvm/tools/lldb/include/lldb/API/SBModule.h	Wed Feb 26 11:29:07 2014	(r262527)
+++ head/contrib/llvm/tools/lldb/include/lldb/API/SBModule.h	Wed Feb 26 16:09:54 2014	(r262528)
@@ -235,6 +235,25 @@ public:
     lldb::SBTypeList
     FindTypes (const char* type);
     
+    //------------------------------------------------------------------
+    /// Get a type using its type ID.
+    ///
+    /// Each symbol file reader will assign different user IDs to their
+    /// types, but it is sometimes useful when debugging type issues to
+    /// be able to grab a type using its type ID.
+    ///
+    /// For DWARF debug info, the type ID is the DIE offset.
+    ///
+    /// @param[in] uid
+    ///     The type user ID.
+    ///
+    /// @return
+    ///     An SBType for the given type ID, or an empty SBType if the
+    ///     type was not found.
+    //------------------------------------------------------------------
+    lldb::SBType
+    GetTypeByID (lldb::user_id_t uid);
+
     lldb::SBType
     GetBasicType(lldb::BasicType type);
 

Modified: head/contrib/llvm/tools/lldb/include/lldb/API/SBProcess.h
==============================================================================
--- head/contrib/llvm/tools/lldb/include/lldb/API/SBProcess.h	Wed Feb 26 11:29:07 2014	(r262527)
+++ head/contrib/llvm/tools/lldb/include/lldb/API/SBProcess.h	Wed Feb 26 16:09:54 2014	(r262528)
@@ -13,6 +13,7 @@
 #include "lldb/API/SBDefines.h"
 #include "lldb/API/SBError.h"
 #include "lldb/API/SBTarget.h"
+#include "lldb/API/SBQueue.h"
 #include <stdio.h>
 
 namespace lldb {
@@ -142,6 +143,15 @@ public:
     SetSelectedThreadByIndexID (uint32_t index_id);
 
     //------------------------------------------------------------------
+    // Queue related functions
+    //------------------------------------------------------------------
+    uint32_t
+    GetNumQueues ();
+
+    lldb::SBQueue
+    GetQueueAtIndex (size_t index);
+
+    //------------------------------------------------------------------
     // Stepping related functions
     //------------------------------------------------------------------
 
@@ -312,6 +322,7 @@ protected:
     friend class SBTarget;
     friend class SBThread;
     friend class SBValue;
+    friend class lldb_private::QueueImpl;
 
     lldb::ProcessSP
     GetSP() const;

Copied: head/contrib/llvm/tools/lldb/include/lldb/API/SBQueue.h (from r262527, projects/lldb-r201577/contrib/llvm/tools/lldb/include/lldb/API/SBQueue.h)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/contrib/llvm/tools/lldb/include/lldb/API/SBQueue.h	Wed Feb 26 16:09:54 2014	(r262528, copy of r262527, projects/lldb-r201577/contrib/llvm/tools/lldb/include/lldb/API/SBQueue.h)
@@ -0,0 +1,83 @@
+//===-- SBQueue.h -----------------------------------------------*- C++ -*-===//
+//
+//                     The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLDB_SBQueue_h_
+#define LLDB_SBQueue_h_
+
+#include <vector>
+
+#include "lldb/lldb-forward.h"
+#include "lldb/API/SBDefines.h"
+#include "lldb/API/SBQueueItem.h"
+
+namespace lldb {
+
+class SBQueue
+{
+public:
+    SBQueue ();
+
+    SBQueue (const QueueSP& queue_sp);
+    
+    SBQueue (const SBQueue& rhs);
+
+    const SBQueue &
+    operator= (const lldb::SBQueue& rhs);
+
+   ~SBQueue();
+
+    bool
+    IsValid() const;
+
+    void
+    Clear ();
+
+    lldb::SBProcess
+    GetProcess ();
+
+    lldb::queue_id_t
+    GetQueueID () const;
+
+    const char *
+    GetName () const;
+
+    uint32_t
+    GetIndexID () const;
+
+    uint32_t
+    GetNumThreads ();
+
+    lldb::SBThread
+    GetThreadAtIndex (uint32_t);
+
+    uint32_t
+    GetNumPendingItems ();
+
+    lldb::SBQueueItem
+    GetPendingItemAtIndex (uint32_t);
+
+protected:
+    friend class SBProcess;
+
+    void
+    SetQueue (const lldb::QueueSP& queue_sp);
+
+    void
+    FetchThreads ();
+
+    void
+    FetchItems ();
+
+private:
+    std::shared_ptr<lldb_private::QueueImpl> m_opaque_sp;
+};
+
+} // namespace lldb
+
+#endif  // LLDB_SBQueue_h_

Copied: head/contrib/llvm/tools/lldb/include/lldb/API/SBQueueItem.h (from r262527, projects/lldb-r201577/contrib/llvm/tools/lldb/include/lldb/API/SBQueueItem.h)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/contrib/llvm/tools/lldb/include/lldb/API/SBQueueItem.h	Wed Feb 26 16:09:54 2014	(r262528, copy of r262527, projects/lldb-r201577/contrib/llvm/tools/lldb/include/lldb/API/SBQueueItem.h)
@@ -0,0 +1,58 @@
+//===-- SBQueueItem.h -------------------------------------------*- C++ -*-===//
+//
+//                     The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLDB_SBQueueItem_h_
+#define LLDB_SBQueueItem_h_
+
+#include "lldb/API/SBDefines.h"
+#include "lldb/API/SBAddress.h"
+#include "lldb/API/SBThread.h"
+
+namespace lldb {
+
+class SBQueueItem
+{
+public:
+    SBQueueItem ();
+
+    SBQueueItem (const lldb::QueueItemSP& queue_item_sp);
+    
+   ~SBQueueItem();
+
+    bool
+    IsValid() const;
+
+    void
+    Clear ();
+
+    lldb::QueueItemKind
+    GetKind () const;
+
+    void
+    SetKind (lldb::QueueItemKind kind);
+
+    lldb::SBAddress
+    GetAddress () const;
+
+    void
+    SetAddress (lldb::SBAddress addr);
+
+    void
+    SetQueueItem (const lldb::QueueItemSP& queue_item_sp);
+
+    SBThread
+    GetExtendedBacktraceThread (const char *type);
+
+private:
+    lldb::QueueItemSP           m_queue_item_sp;
+};
+
+} // namespace lldb
+
+#endif  // LLDB_SBQueueItem_h_

Modified: head/contrib/llvm/tools/lldb/include/lldb/API/SBTarget.h
==============================================================================
--- head/contrib/llvm/tools/lldb/include/lldb/API/SBTarget.h	Wed Feb 26 11:29:07 2014	(r262527)
+++ head/contrib/llvm/tools/lldb/include/lldb/API/SBTarget.h	Wed Feb 26 16:09:54 2014	(r262528)
@@ -646,9 +646,47 @@ public:
     void
     Clear ();
 
+    //------------------------------------------------------------------
+    /// Resolve a current load address into a section offset address.
+    ///
+    /// @param[in] vm_addr
+    ///     A virtual address from the current process state that is to
+    ///     be translated into a section offset address.
+    ///
+    /// @return
+    ///     An SBAddress which will be valid if \a vm_addr was
+    ///     successfully resolved into a section offset address, or an
+    ///     invalid SBAddress if \a vm_addr doesn't resolve to a section
+    ///     in a module.
+    //------------------------------------------------------------------
     lldb::SBAddress
     ResolveLoadAddress (lldb::addr_t vm_addr);
 
+    //------------------------------------------------------------------
+    /// Resolve a current load address into a section offset address
+    /// using the process stop ID to identify a time in the past.
+    ///
+    /// @param[in] stop_id
+    ///     Each time a process stops, the process stop ID integer gets
+    ///     incremented. These stop IDs are used to identify past times
+    ///     and can be used in history objects as a cheap way to store
+    ///     the time at which the sample was taken. Specifying
+    ///     UINT32_MAX will always resolve the address using the
+    ///     currently loaded sections.
+    ///
+    /// @param[in] vm_addr
+    ///     A virtual address from the current process state that is to
+    ///     be translated into a section offset address.
+    ///
+    /// @return
+    ///     An SBAddress which will be valid if \a vm_addr was
+    ///     successfully resolved into a section offset address, or an
+    ///     invalid SBAddress if \a vm_addr doesn't resolve to a section
+    ///     in a module.
+    //------------------------------------------------------------------
+    lldb::SBAddress
+    ResolvePastLoadAddress (uint32_t stop_id, lldb::addr_t vm_addr);
+
     SBSymbolContext
     ResolveSymbolContextForAddress (const SBAddress& addr, 
                                     uint32_t resolve_scope);

Modified: head/contrib/llvm/tools/lldb/include/lldb/API/SBThread.h
==============================================================================
--- head/contrib/llvm/tools/lldb/include/lldb/API/SBThread.h	Wed Feb 26 11:29:07 2014	(r262527)
+++ head/contrib/llvm/tools/lldb/include/lldb/API/SBThread.h	Wed Feb 26 16:09:54 2014	(r262528)
@@ -214,6 +214,8 @@ protected:
     friend class SBProcess;
     friend class SBDebugger;
     friend class SBValue;
+    friend class lldb_private::QueueImpl;
+    friend class SBQueueItem;
 
     void
     SetThread (const lldb::ThreadSP& lldb_object_sp);

Modified: head/contrib/llvm/tools/lldb/include/lldb/API/SBType.h
==============================================================================
--- head/contrib/llvm/tools/lldb/include/lldb/API/SBType.h	Wed Feb 26 11:29:07 2014	(r262527)
+++ head/contrib/llvm/tools/lldb/include/lldb/API/SBType.h	Wed Feb 26 16:09:54 2014	(r262528)
@@ -106,6 +106,9 @@ public:
     GetReferenceType();
     
     lldb::SBType
+    GetTypedefedType();
+
+    lldb::SBType
     GetDereferencedType();
 
     lldb::SBType

Modified: head/contrib/llvm/tools/lldb/include/lldb/API/SBTypeFormat.h
==============================================================================
--- head/contrib/llvm/tools/lldb/include/lldb/API/SBTypeFormat.h	Wed Feb 26 11:29:07 2014	(r262527)
+++ head/contrib/llvm/tools/lldb/include/lldb/API/SBTypeFormat.h	Wed Feb 26 16:09:54 2014	(r262528)
@@ -22,6 +22,9 @@ public:
     
     SBTypeFormat (lldb::Format format,
                   uint32_t options = 0); // see lldb::eTypeOption values
+
+    SBTypeFormat (const char* type,
+                  uint32_t options = 0); // see lldb::eTypeOption values
     
     SBTypeFormat (const lldb::SBTypeFormat &rhs);
     
@@ -33,6 +36,9 @@ public:
     lldb::Format
     GetFormat ();
     
+    const char*
+    GetTypeName ();
+    
     uint32_t
     GetOptions();
     
@@ -40,6 +46,9 @@ public:
     SetFormat (lldb::Format);
     
     void
+    SetTypeName (const char*);
+    
+    void
     SetOptions (uint32_t);
     
     bool
@@ -73,8 +82,15 @@ protected:
     
     SBTypeFormat (const lldb::TypeFormatImplSP &);
     
+    enum class Type
+    {
+        eTypeKeepSame,
+        eTypeFormat,
+        eTypeEnum
+    };
+    
     bool
-    CopyOnWrite_Impl();
+    CopyOnWrite_Impl(Type);
     
 };
 

Modified: head/contrib/llvm/tools/lldb/include/lldb/Breakpoint/Breakpoint.h
==============================================================================
--- head/contrib/llvm/tools/lldb/include/lldb/Breakpoint/Breakpoint.h	Wed Feb 26 11:29:07 2014	(r262527)
+++ head/contrib/llvm/tools/lldb/include/lldb/Breakpoint/Breakpoint.h	Wed Feb 26 16:09:54 2014	(r262528)
@@ -612,12 +612,30 @@ protected:
     /// Only the Target can make a breakpoint, and it owns the breakpoint lifespans.
     /// The constructor takes a filter and a resolver.  Up in Target there are convenience
     /// variants that make breakpoints for some common cases.
+    ///
+    /// @param[in] target
+    ///    The target in which the breakpoint will be set.
+    ///
+    /// @param[in] filter_sp
+    ///    Shared pointer to the search filter that restricts the search domain of the breakpoint.
+    ///
+    /// @param[in] resolver_sp
+    ///    Shared pointer to the resolver object that will determine breakpoint matches.
+    ///
+    /// @param hardware
+    ///    If true, request a hardware breakpoint to be used to implement the breakpoint locations.
+    ///
+    /// @param resolve_indirect_symbols
+    ///    If true, and the address of a given breakpoint location in this breakpoint is set on an
+    ///    indirect symbol (i.e. Symbol::IsIndirect returns true) then the actual breakpoint site will
+    ///    be set on the target of the indirect symbol.
     //------------------------------------------------------------------
     // This is the generic constructor
     Breakpoint(Target &target,
                lldb::SearchFilterSP &filter_sp,
                lldb::BreakpointResolverSP &resolver_sp,
-               bool hardware);
+               bool hardware,
+               bool resolve_indirect_symbols = true);
     
     friend class BreakpointLocation;  // To call the following two when determining whether to stop.
 
@@ -643,6 +661,7 @@ private:
     BreakpointOptions m_options;              // Settable breakpoint options
     BreakpointLocationList m_locations;       // The list of locations currently found for this breakpoint.
     std::string m_kind_description;
+    bool m_resolve_indirect_symbols;
     
     void
     SendBreakpointChangedEvent (lldb::BreakpointEventType eventKind);

Modified: head/contrib/llvm/tools/lldb/include/lldb/Breakpoint/BreakpointLocation.h
==============================================================================
--- head/contrib/llvm/tools/lldb/include/lldb/Breakpoint/BreakpointLocation.h	Wed Feb 26 11:29:07 2014	(r262527)
+++ head/contrib/llvm/tools/lldb/include/lldb/Breakpoint/BreakpointLocation.h	Wed Feb 26 16:09:54 2014	(r262528)
@@ -321,7 +321,59 @@ public:
     //------------------------------------------------------------------
     bool
     InvokeCallback (StoppointCallbackContext *context);
+    
+    //------------------------------------------------------------------
+    /// Returns whether we should resolve Indirect functions in setting the breakpoint site
+    /// for this location.
+    ///
+    /// @return
+    ///     \b true if the breakpoint SITE for this location should be set on the
+    ///     resolved location for Indirect functions.
+    //------------------------------------------------------------------
+    bool
+    ShouldResolveIndirectFunctions ()
+    {
+        return m_should_resolve_indirect_functions;
+    }
 
+    //------------------------------------------------------------------
+    /// Returns whether the address set in the breakpoint site for this location was found by resolving
+    /// an indirect symbol.
+    ///
+    /// @return
+    ///     \b true or \b false as given in the description above.
+    //------------------------------------------------------------------
+    bool
+    IsIndirect ()
+    {
+        return m_is_indirect;
+    }
+    
+    void
+    SetIsIndirect (bool is_indirect)
+    {
+        m_is_indirect = is_indirect;
+    }
+    
+    //------------------------------------------------------------------
+    /// Returns whether the address set in the breakpoint location was re-routed to the target of a
+    /// re-exported symbol.
+    ///
+    /// @return
+    ///     \b true or \b false as given in the description above.
+    //------------------------------------------------------------------
+    bool
+    IsReExported ()
+    {
+        return m_is_reexported;
+    }
+    
+    void
+    SetIsReExported (bool is_reexported)
+    {
+        m_is_reexported = is_reexported;
+    }
+    
 protected:
     friend class BreakpointLocationList;
     friend class Process;
@@ -375,12 +427,16 @@ private:
                         Breakpoint &owner,
                         const Address &addr,
                         lldb::tid_t tid,
-                        bool hardware);
-
+                        bool hardware,
+                        bool check_for_resolver = true);
+    
     //------------------------------------------------------------------
     // Data members:
     //------------------------------------------------------------------
     bool m_being_created;
+    bool m_should_resolve_indirect_functions;
+    bool m_is_reexported;
+    bool m_is_indirect;
     Address m_address; ///< The address defining this location.
     Breakpoint &m_owner; ///< The breakpoint that produced this object.
     std::unique_ptr<BreakpointOptions> m_options_ap; ///< Breakpoint options pointer, NULL if we're using our breakpoint's options.
@@ -390,6 +446,12 @@ private:
     size_t m_condition_hash; ///< For testing whether the condition source code changed.
 
     void
+    SetShouldResolveIndirectFunctions (bool do_resolve)
+    {
+        m_should_resolve_indirect_functions = do_resolve;
+    }
+    
+    void
     SendBreakpointLocationChangedEvent (lldb::BreakpointEventType eventKind);
     
     DISALLOW_COPY_AND_ASSIGN (BreakpointLocation);

Modified: head/contrib/llvm/tools/lldb/include/lldb/Breakpoint/BreakpointLocationList.h
==============================================================================
--- head/contrib/llvm/tools/lldb/include/lldb/Breakpoint/BreakpointLocationList.h	Wed Feb 26 11:29:07 2014	(r262527)
+++ head/contrib/llvm/tools/lldb/include/lldb/Breakpoint/BreakpointLocationList.h	Wed Feb 26 16:09:54 2014	(r262528)
@@ -236,7 +236,7 @@ protected:
     ///     Returns breakpoint location id.
     //------------------------------------------------------------------
     lldb::BreakpointLocationSP
-    Create (const Address &addr);
+    Create (const Address &addr, bool resolve_indirect_symbols);
     
     void
     StartRecordingNewLocations(BreakpointLocationCollection &new_locations);
@@ -246,6 +246,7 @@ protected:
     
     lldb::BreakpointLocationSP
     AddLocation (const Address &addr,
+                 bool resolve_indirect_symbols,
                  bool *new_location = NULL);
 
     bool

Modified: head/contrib/llvm/tools/lldb/include/lldb/Core/ArchSpec.h
==============================================================================
--- head/contrib/llvm/tools/lldb/include/lldb/Core/ArchSpec.h	Wed Feb 26 11:29:07 2014	(r262527)
+++ head/contrib/llvm/tools/lldb/include/lldb/Core/ArchSpec.h	Wed Feb 26 16:09:54 2014	(r262528)
@@ -13,6 +13,7 @@
 #if defined(__cplusplus)
 
 #include "lldb/lldb-private.h"
+#include "lldb/Core/ConstString.h"
 #include "llvm/ADT/StringRef.h"
 #include "llvm/ADT/Triple.h"
 
@@ -90,6 +91,11 @@ public:
         eCore_x86_32_i486sx,
         
         eCore_x86_64_x86_64,
+        eCore_x86_64_x86_64h, // Haswell enabled x86_64
+        eCore_hexagon_generic,
+        eCore_hexagon_hexagonv4,
+        eCore_hexagon_hexagonv5,
+
         eCore_uknownMach32,
         eCore_uknownMach64,
         kNumCores,
@@ -101,6 +107,7 @@ public:
         kCore_ppc_any,
         kCore_ppc64_any,
         kCore_x86_32_any,
+        kCore_hexagon_any,
 
         kCore_arm_first     = eCore_arm_generic,
         kCore_arm_last      = eCore_arm_xscale,
@@ -115,7 +122,10 @@ public:
         kCore_ppc64_last    = eCore_ppc64_ppc970_64,
 
         kCore_x86_32_first  = eCore_x86_32_i386,
-        kCore_x86_32_last   = eCore_x86_32_i486sx
+        kCore_x86_32_last   = eCore_x86_32_i486sx,
+
+        kCore_hexagon_first  = eCore_hexagon_generic,
+        kCore_hexagon_last   = eCore_hexagon_hexagonv5
     };
 
     //------------------------------------------------------------------
@@ -203,6 +213,27 @@ public:
     GetMachine () const;
 
     //------------------------------------------------------------------
+    /// Returns the distribution id of the architecture.
+    ///
+    /// This will be something like "ubuntu", "fedora", etc. on Linux.
+    ///
+    /// @return A ConstString ref containing the distribution id,
+    ///         potentially empty.
+    //------------------------------------------------------------------
+    const ConstString&
+    GetDistributionId () const;
+
+    //------------------------------------------------------------------
+    /// Set the distribution id of the architecture.
+    ///
+    /// This will be something like "ubuntu", "fedora", etc. on Linux.
+    /// This should be the same value returned by
+    /// Host::GetDistributionId ().
+    ///------------------------------------------------------------------
+    void
+    SetDistributionId (const char* distribution_id);
+
+    //------------------------------------------------------------------
     /// Tests if this ArchSpec is valid.
     ///
     /// @return True if the current architecture is valid, false
@@ -400,6 +431,8 @@ protected:
     Core m_core;
     lldb::ByteOrder m_byte_order;
 
+    ConstString m_distribution_id;
+
     // Called when m_def or m_entry are changed.  Fills in all remaining
     // members with default values.
     void

Modified: head/contrib/llvm/tools/lldb/include/lldb/Core/Communication.h
==============================================================================
--- head/contrib/llvm/tools/lldb/include/lldb/Core/Communication.h	Wed Feb 26 11:29:07 2014	(r262527)
+++ head/contrib/llvm/tools/lldb/include/lldb/Core/Communication.h	Wed Feb 26 16:09:54 2014	(r262528)
@@ -286,6 +286,8 @@ public:
     virtual bool
     StopReadThread (Error *error_ptr = NULL);
 
+    virtual bool
+    JoinReadThread (Error *error_ptr = NULL);
     //------------------------------------------------------------------
     /// Checks if there is a currently running read thread.
     ///

Modified: head/contrib/llvm/tools/lldb/include/lldb/Core/ConnectionFileDescriptor.h
==============================================================================
--- head/contrib/llvm/tools/lldb/include/lldb/Core/ConnectionFileDescriptor.h	Wed Feb 26 11:29:07 2014	(r262527)
+++ head/contrib/llvm/tools/lldb/include/lldb/Core/ConnectionFileDescriptor.h	Wed Feb 26 16:09:54 2014	(r262528)
@@ -11,9 +11,7 @@
 #define liblldb_ConnectionFileDescriptor_h_
 
 // C Includes
-#ifdef _WIN32
-typedef unsigned short in_port_t;
-#else
+#ifndef _WIN32
 #include <sys/socket.h>
 #include <sys/types.h>
 #include <netinet/in.h>
@@ -68,14 +66,17 @@ public:
 
     // If the read file descriptor is a socket, then return
     // the port number that is being used by the socket.
-    in_port_t
+    uint16_t
     GetReadPort () const;
     
     // If the write file descriptor is a socket, then return
     // the port number that is being used by the socket.
-    in_port_t
+    uint16_t
     GetWritePort () const;
 
+    uint16_t
+    GetBoundPort (uint32_t timeout_sec);
+
 protected:
 
     typedef enum
@@ -95,7 +96,7 @@ protected:
     BytesAvailable (uint32_t timeout_usec, Error *error_ptr);
     
     lldb::ConnectionStatus
-    SocketListen (uint16_t listen_port_num, Error *error_ptr);
+    SocketListen (const char *host_and_port, Error *error_ptr);
 
     lldb::ConnectionStatus
     ConnectTCP (const char *host_and_port, Error *error_ptr);
@@ -117,15 +118,16 @@ protected:
     FDType m_fd_send_type;
     FDType m_fd_recv_type;
     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
     int m_pipe_write;           // m_fd_recv so we can force ourselves out of the select.
-    Mutex m_mutex;          
+    Mutex m_mutex;
+    Predicate<uint16_t> m_port_predicate; // Used when binding to port zero to wait for the thread that creates the socket, binds and listens to resolve the port number
+    bool m_should_close_fd;     // True if this class should close the file descriptor when it goes away.
     bool m_shutting_down;       // This marks that we are shutting down so if we get woken up from BytesAvailable
                                 // to disconnect, we won't try to read again.
     
-    static in_port_t
+    static uint16_t
     GetSocketPort (int fd);
 
     static int

Modified: head/contrib/llvm/tools/lldb/include/lldb/Core/Debugger.h
==============================================================================
--- head/contrib/llvm/tools/lldb/include/lldb/Core/Debugger.h	Wed Feb 26 11:29:07 2014	(r262527)
+++ head/contrib/llvm/tools/lldb/include/lldb/Core/Debugger.h	Wed Feb 26 16:09:54 2014	(r262528)
@@ -19,9 +19,8 @@
 #include "lldb/lldb-public.h"
 #include "lldb/Core/Broadcaster.h"
 #include "lldb/Core/Communication.h"
-#include "lldb/Core/InputReaderStack.h"
+#include "lldb/Core/IOHandler.h"
 #include "lldb/Core/Listener.h"
-#include "lldb/Core/StreamFile.h"
 #include "lldb/Core/SourceManager.h"
 #include "lldb/Core/UserID.h"
 #include "lldb/Core/UserSettingsController.h"
@@ -91,23 +90,25 @@ public:
     void
     SetAsyncExecution (bool async);
 
-    File &
+    lldb::StreamFileSP
     GetInputFile ()
     {
-        return m_input_file.GetFile();
+        return m_input_file_sp;
     }
 
-    File &
+    lldb::StreamFileSP
     GetOutputFile ()
     {
-        return m_output_file.GetFile();
+        return m_output_file_sp;
     }
 
-    File &
+    lldb::StreamFileSP
     GetErrorFile ()
     {
-        return m_error_file.GetFile();
+        return m_error_file_sp;
     }
+
+    
     
     void
     SetInputFileHandle (FILE *fh, bool tranfer_ownership);
@@ -124,18 +125,6 @@ public:
     void
     RestoreInputTerminalState();
 
-    Stream&
-    GetOutputStream ()
-    {
-        return m_output_file;
-    }
-
-    Stream&
-    GetErrorStream ()
-    {
-        return m_error_file;
-    }
-
     lldb::StreamSP
     GetAsyncOutputStream ();
     
@@ -200,24 +189,38 @@ public:
     void
     DispatchInputEndOfFile ();
 
+    //------------------------------------------------------------------
+    // If any of the streams are not set, set them to the in/out/err
+    // stream of the top most input reader to ensure they at least have
+    // something
+    //------------------------------------------------------------------
     void
-    DispatchInput (const char *bytes, size_t bytes_len);
+    AdoptTopIOHandlerFilesIfInvalid (lldb::StreamFileSP &in,
+                                     lldb::StreamFileSP &out,
+                                     lldb::StreamFileSP &err);
 
     void
-    WriteToDefaultReader (const char *bytes, size_t bytes_len);
+    PushIOHandler (const lldb::IOHandlerSP& reader_sp);
 
+    bool
+    PopIOHandler (const lldb::IOHandlerSP& reader_sp);
+    
+    // Synchronously run an input reader until it is done
     void
-    PushInputReader (const lldb::InputReaderSP& reader_sp);
+    RunIOHandler (const lldb::IOHandlerSP& reader_sp);
+    
+    bool
+    IsTopIOHandler (const lldb::IOHandlerSP& reader_sp);
+
+    ConstString
+    GetTopIOHandlerControlSequence(char ch);
 
     bool
-    PopInputReader (const lldb::InputReaderSP& reader_sp);
+    HideTopIOHandler();
 
     void
-    NotifyTopInputReader (lldb::InputReaderAction notification);
+    RefreshTopIOHandler();
 
-    bool
-    InputReaderIsTopReader (const lldb::InputReaderSP& reader_sp);
-    
     static lldb::DebuggerSP
     FindDebuggerWithID (lldb::user_id_t id);
     
@@ -240,7 +243,7 @@ public:
 
 
     void
-    CleanUpInputReaders ();
+    ClearIOHandlers ();
 
     static int
     TestDebuggerRefCount ();
@@ -338,29 +341,65 @@ public:
     bool
     LoadPlugin (const FileSpec& spec, Error& error);
 
+    void
+    ExecuteIOHanders();
+    
+    bool
+    IsForwardingEvents ();
+
+    void
+    EnableForwardEvents (const lldb::ListenerSP &listener_sp);
+
+    void
+    CancelForwardEvents (const lldb::ListenerSP &listener_sp);
 protected:
 
-    static void
-    DispatchInputCallback (void *baton, const void *bytes, size_t bytes_len);
+    friend class CommandInterpreter;
+
+    bool
+    StartEventHandlerThread();
 
-    lldb::InputReaderSP
-    GetCurrentInputReader ();
-    
     void
-    ActivateInputReader (const lldb::InputReaderSP &reader_sp);
+    StopEventHandlerThread();
+
+    static lldb::thread_result_t
+    EventHandlerThread (lldb::thread_arg_t arg);
 
     bool
-    CheckIfTopInputReaderIsDone ();
+    StartIOHandlerThread();
+    
+    void
+    StopIOHandlerThread();
     
+    static lldb::thread_result_t
+    IOHandlerThread (lldb::thread_arg_t arg);
+
+    void
+    DefaultEventHandler();
+
+    void
+    HandleBreakpointEvent (const lldb::EventSP &event_sp);
+    
+    void
+    HandleProcessEvent (const lldb::EventSP &event_sp);
+
+    void
+    HandleThreadEvent (const lldb::EventSP &event_sp);
+
+    size_t
+    GetProcessSTDOUT (Process *process, Stream *stream);
+    
+    size_t
+    GetProcessSTDERR (Process *process, Stream *stream);
+
     SourceManager::SourceFileCache &
     GetSourceFileCache ()
     {
         return m_source_file_cache;
     }
-    Communication m_input_comm;
-    StreamFile m_input_file;
-    StreamFile m_output_file;
-    StreamFile m_error_file;
+    lldb::StreamFileSP m_input_file_sp;
+    lldb::StreamFileSP m_output_file_sp;
+    lldb::StreamFileSP m_error_file_sp;
     TerminalState m_terminal_state;
     TargetList m_target_list;
     PlatformList m_platform_list;
@@ -370,8 +409,7 @@ protected:
                                                         // source file cache.
     std::unique_ptr<CommandInterpreter> m_command_interpreter_ap;
 
-    InputReaderStack m_input_reader_stack;
-    std::string m_input_reader_data;
+    IOHandlerStack m_input_reader_stack;
     typedef std::map<std::string, lldb::StreamWP> LogStreamMap;
     LogStreamMap m_log_streams;
     lldb::StreamSP m_log_callback_stream_sp;
@@ -379,7 +417,10 @@ protected:
     static LoadPluginCallbackType g_load_plugin_callback;
     typedef std::vector<lldb::DynamicLibrarySP> LoadedPluginsList;
     LoadedPluginsList m_loaded_plugins;
-    
+    lldb::thread_t m_event_handler_thread;
+    lldb::thread_t m_io_handler_thread;
+    lldb::ListenerSP m_forward_listener_sp;
+    bool m_event_handler_thread_alive;
     void
     InstanceInitialize ();
     

Modified: head/contrib/llvm/tools/lldb/include/lldb/Core/Disassembler.h
==============================================================================
--- head/contrib/llvm/tools/lldb/include/lldb/Core/Disassembler.h	Wed Feb 26 11:29:07 2014	(r262527)
+++ head/contrib/llvm/tools/lldb/include/lldb/Core/Disassembler.h	Wed Feb 26 16:09:54 2014	(r262528)
@@ -175,6 +175,9 @@ public:
     uint32_t
     GetIndexOfInstructionAtLoadAddress (lldb::addr_t load_addr, Target &target);
 
+    uint32_t
+    GetIndexOfInstructionAtAddress (const Address &addr);
+
     void
     Clear();
 

Copied: head/contrib/llvm/tools/lldb/include/lldb/Core/IOHandler.h (from r262527, projects/lldb-r201577/contrib/llvm/tools/lldb/include/lldb/Core/IOHandler.h)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)

*** DIFF OUTPUT TRUNCATED AT 1000 LINES ***



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402261609.s1QG9tjR083240>