diff options
author | emaste <emaste@FreeBSD.org> | 2015-07-04 01:02:43 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2015-07-04 01:02:43 +0000 |
commit | cea4c167517a0678c7dbf92a0324088dcbac1035 (patch) | |
tree | 02de7f7c9d5a08ae1c4d3b4c98a565ff96cd52e6 /lib/clang | |
parent | 1756896fd2b99ede7ebeb8019d4004bdfeed3bbe (diff) | |
parent | 8037fa4ee916fa20b3c63cbf531f4ee7e1c76138 (diff) | |
download | FreeBSD-src-cea4c167517a0678c7dbf92a0324088dcbac1035.zip FreeBSD-src-cea4c167517a0678c7dbf92a0324088dcbac1035.tar.gz |
Update LLDB snapshot to upstream r241361
Notable upstream commits (upstream revision in parens):
- Add a JSON producer to LLDB (228636)
- Don't crash on bad DWARF expression (228729)
- Add support of DWARFv3 DW_OP_form_tls_address (231342)
- Assembly profiler for MIPS64 (232619)
- Handle FreeBSD/arm64 core files (233273)
- Read/Write register for MIPS64 (233685)
- Rework LLDB system initialization (233758)
- SysV ABI for aarch64 (236098)
- MIPS software single stepping (236696)
- FreeBSD/arm live debugging support (237303)
- Assembly profiler for mips32 (237420)
- Parse function name from DWARF DW_AT_abstract_origin (238307)
- Improve LLDB prompt handling (238313)
- Add real time signals support to FreeBSDSignals (238316)
- Fix race in IOHandlerProcessSTDIO (238423)
- MIPS64 Branch instruction emulation for SW single stepping (238820)
- Improve OSType initialization in elf object file's arch_spec (239148)
- Emulation of MIPS64 floating-point branch instructions (239996)
- ABI Plugin for MIPS32 (239997)
- ABI Plugin for MIPS64 (240123)
- MIPS32 branch emulation and single stepping (240373)
- Improve instruction emulation based stack unwinding on ARM (240533)
- Add branch emulation to aarch64 instruction emulator (240769)
Diffstat (limited to 'lib/clang')
24 files changed, 183 insertions, 16 deletions
diff --git a/lib/clang/Makefile b/lib/clang/Makefile index 9bcde20..cd0bcdd 100644 --- a/lib/clang/Makefile +++ b/lib/clang/Makefile @@ -124,11 +124,17 @@ SUBDIR+=liblldb \ liblldbHostCommon \ liblldbHostFreeBSD \ liblldbHostPOSIX \ + liblldbInitialization \ liblldbInterpreter \ liblldbSymbol \ liblldbTarget \ liblldbUtility \ \ + liblldbPluginABISysV_arm \ + liblldbPluginABISysV_arm64 \ + liblldbPluginABISysV_i386 \ + liblldbPluginABISysV_mips \ + liblldbPluginABISysV_mips64 \ liblldbPluginABISysV_ppc \ liblldbPluginABISysV_ppc64 \ liblldbPluginABISysV_x86_64 \ @@ -138,6 +144,8 @@ SUBDIR+=liblldb \ liblldbPluginDynamicLoaderPosixDYLD \ liblldbPluginInstructionARM \ liblldbPluginInstructionARM64 \ + liblldbPluginInstructionMIPS \ + liblldbPluginInstructionMIPS64 \ liblldbPluginInstrumentationRuntimeAddressSanitizer \ liblldbPluginJITLoaderGDB \ liblldbPluginMemoryHistoryASan \ diff --git a/lib/clang/liblldb/Makefile b/lib/clang/liblldb/Makefile index 1306cdf..dc1726a 100644 --- a/lib/clang/liblldb/Makefile +++ b/lib/clang/liblldb/Makefile @@ -7,8 +7,8 @@ LIB= lldb CFLAGS+=-I${.CURDIR}/../../../contrib/llvm/tools/lldb/source/Plugins/Process/POSIX SRCDIR= tools/lldb/source -SRCS= lldb.cpp \ - lldb-log.cpp +SRCS= lldb.cpp + TGHDRS= AttrList \ Attrs \ diff --git a/lib/clang/liblldbAPI/Makefile b/lib/clang/liblldbAPI/Makefile index 44addca..0ecf54a 100644 --- a/lib/clang/liblldbAPI/Makefile +++ b/lib/clang/liblldbAPI/Makefile @@ -6,6 +6,7 @@ LIB= lldbAPI SRCDIR= tools/lldb/source/API SRCS= SBAddress.cpp \ + SBAttachInfo.cpp \ SBBlock.cpp \ SBBreakpoint.cpp \ SBBreakpointLocation.cpp \ @@ -28,6 +29,8 @@ SRCS= SBAddress.cpp \ SBHostOS.cpp \ SBInstruction.cpp \ SBInstructionList.cpp \ + SBLanguageRuntime.cpp \ + SBLaunchInfo.cpp \ SBLineEntry.cpp \ SBListener.cpp \ SBModule.cpp \ @@ -57,8 +60,10 @@ SRCS= SBAddress.cpp \ SBTypeSynthetic.cpp \ SBUnixSignals.cpp \ SBValue.cpp \ + SBVariablesOptions.cpp \ SBValueList.cpp \ - SBWatchpoint.cpp + SBWatchpoint.cpp \ + SystemInitializerFull.cpp TGHDRS= AttrList \ Attrs \ diff --git a/lib/clang/liblldbCommands/Makefile b/lib/clang/liblldbCommands/Makefile index 833c8a8..d554be9 100644 --- a/lib/clang/liblldbCommands/Makefile +++ b/lib/clang/liblldbCommands/Makefile @@ -10,12 +10,14 @@ SRCS= CommandCompletions.cpp \ CommandObjectArgs.cpp \ CommandObjectBreakpoint.cpp \ CommandObjectBreakpointCommand.cpp \ + CommandObjectBugreport.cpp \ CommandObjectCommands.cpp \ CommandObjectDisassemble.cpp \ CommandObjectExpression.cpp \ CommandObjectFrame.cpp \ CommandObjectGUI.cpp \ CommandObjectHelp.cpp \ + CommandObjectLanguage.cpp \ CommandObjectLog.cpp \ CommandObjectMemory.cpp \ CommandObjectMultiword.cpp \ diff --git a/lib/clang/liblldbCore/Makefile b/lib/clang/liblldbCore/Makefile index 7d9e86b..86bff4d 100644 --- a/lib/clang/liblldbCore/Makefile +++ b/lib/clang/liblldbCore/Makefile @@ -18,6 +18,7 @@ SRCS= Address.cpp \ ConnectionMachPort.cpp \ ConnectionSharedMemory.cpp \ ConstString.cpp \ + CxaDemangle.cpp \ DataBufferHeap.cpp \ DataBufferMemoryMap.cpp \ DataEncoder.cpp \ @@ -31,11 +32,13 @@ SRCS= Address.cpp \ FastDemangle.cpp \ FileLineResolver.cpp \ FileSpecList.cpp \ + FormatEntity.cpp \ History.cpp \ IOHandler.cpp \ Language.cpp \ Listener.cpp \ Log.cpp \ + Logging.cpp \ Mangled.cpp \ Module.cpp \ ModuleChild.cpp \ diff --git a/lib/clang/liblldbDataFormatters/Makefile b/lib/clang/liblldbDataFormatters/Makefile index df34f00..8814697 100644 --- a/lib/clang/liblldbDataFormatters/Makefile +++ b/lib/clang/liblldbDataFormatters/Makefile @@ -30,7 +30,8 @@ SRCS= CF.cpp \ TypeSummary.cpp \ TypeSynthetic.cpp \ TypeValidator.cpp \ - ValueObjectPrinter.cpp + ValueObjectPrinter.cpp \ + VectorType.cpp TGHDRS= AttrList \ Attrs \ diff --git a/lib/clang/liblldbHostCommon/Makefile b/lib/clang/liblldbHostCommon/Makefile index af3c053..f463c9c 100644 --- a/lib/clang/liblldbHostCommon/Makefile +++ b/lib/clang/liblldbHostCommon/Makefile @@ -9,25 +9,30 @@ SRCS= Condition.cpp \ Editline.cpp \ File.cpp \ FileSpec.cpp \ + FileSystem.cpp \ Host.cpp \ HostInfoBase.cpp \ HostNativeThreadBase.cpp \ HostProcess.cpp \ HostThread.cpp \ IOObject.cpp \ + LockFileBase.cpp \ MonitoringProcessLauncher.cpp \ Mutex.cpp \ + NativeRegisterContext.cpp \ OptionParser.cpp \ PipeBase.cpp \ ProcessRunLock.cpp \ Socket.cpp \ SocketAddress.cpp \ SoftwareBreakpoint.cpp \ + StringConvert.cpp \ Symbols.cpp \ Terminal.cpp \ ThisThread.cpp \ ThreadLauncher.cpp \ - TimeValue.cpp + TimeValue.cpp \ + XML.cpp TGHDRS= AttrList \ Attrs \ diff --git a/lib/clang/liblldbHostPOSIX/Makefile b/lib/clang/liblldbHostPOSIX/Makefile index 6fe660a..a46dbca 100644 --- a/lib/clang/liblldbHostPOSIX/Makefile +++ b/lib/clang/liblldbHostPOSIX/Makefile @@ -10,6 +10,7 @@ SRCS= ConnectionFileDescriptorPosix.cpp \ HostInfoPosix.cpp \ HostProcessPosix.cpp \ HostThreadPosix.cpp \ + LockFilePosix.cpp \ PipePosix.cpp \ ProcessLauncherPosix.cpp diff --git a/lib/clang/liblldbInitialization/Makefile b/lib/clang/liblldbInitialization/Makefile new file mode 100644 index 0000000..9507b6e --- /dev/null +++ b/lib/clang/liblldbInitialization/Makefile @@ -0,0 +1,19 @@ +# $FreeBSD$ + +.include <bsd.own.mk> + +LIB= lldbInitialization + +SRCDIR= tools/lldb/source/Initialization +SRCS= SystemInitializer.cpp \ + SystemInitializerCommon.cpp \ + SystemLifetimeManager.cpp + +#TGHDRS= AttrList \ +# Attrs \ +# DiagnosticCommonKinds \ +# DeclNodes \ +# StmtNodes \ +# CommentCommandList + +.include "../lldb.lib.mk" diff --git a/lib/clang/liblldbInterpreter/Makefile b/lib/clang/liblldbInterpreter/Makefile index f707d9b..2ef5d6e 100644 --- a/lib/clang/liblldbInterpreter/Makefile +++ b/lib/clang/liblldbInterpreter/Makefile @@ -34,6 +34,8 @@ SRCS= Args.cpp \ OptionValueFileSpec.cpp \ OptionValueFileSpecLIst.cpp \ OptionValueFormat.cpp \ + OptionValueFormatEntity.cpp \ + OptionValueLanguage.cpp \ OptionValuePathMappings.cpp \ OptionValueProperties.cpp \ OptionValueRegex.cpp \ diff --git a/lib/clang/liblldbPluginABISysV_arm/Makefile b/lib/clang/liblldbPluginABISysV_arm/Makefile new file mode 100644 index 0000000..9e59f5b --- /dev/null +++ b/lib/clang/liblldbPluginABISysV_arm/Makefile @@ -0,0 +1,15 @@ +# $FreeBSD$ + +.include <bsd.own.mk> + +LIB= lldbPluginABISysV_arm + +SRCDIR= tools/lldb/source/Plugins/ABI/SysV-arm +SRCS= ABISysV_arm.cpp + +TGHDRS= DiagnosticCommonKinds \ + DeclNodes \ + StmtNodes \ + CommentCommandList + +.include "../lldb.lib.mk" diff --git a/lib/clang/liblldbPluginABISysV_arm64/Makefile b/lib/clang/liblldbPluginABISysV_arm64/Makefile new file mode 100644 index 0000000..c5dbee6 --- /dev/null +++ b/lib/clang/liblldbPluginABISysV_arm64/Makefile @@ -0,0 +1,15 @@ +# $FreeBSD$ + +.include <bsd.own.mk> + +LIB= lldbPluginABISysV_arm64 + +SRCDIR= tools/lldb/source/Plugins/ABI/SysV-arm64 +SRCS= ABISysV_arm64.cpp + +TGHDRS= DiagnosticCommonKinds \ + DeclNodes \ + StmtNodes \ + CommentCommandList + +.include "../lldb.lib.mk" diff --git a/lib/clang/liblldbPluginABISysV_i386/Makefile b/lib/clang/liblldbPluginABISysV_i386/Makefile new file mode 100644 index 0000000..ecc26a1 --- /dev/null +++ b/lib/clang/liblldbPluginABISysV_i386/Makefile @@ -0,0 +1,15 @@ +# $FreeBSD$ + +.include <bsd.own.mk> + +LIB= lldbPluginABISysV_i386 + +SRCDIR= tools/lldb/source/Plugins/ABI/SysV-i386 +SRCS= ABISysV_i386.cpp + +TGHDRS= DiagnosticCommonKinds \ + DeclNodes \ + StmtNodes \ + CommentCommandList + +.include "../lldb.lib.mk" diff --git a/lib/clang/liblldbPluginABISysV_mips/Makefile b/lib/clang/liblldbPluginABISysV_mips/Makefile new file mode 100644 index 0000000..f80d87d --- /dev/null +++ b/lib/clang/liblldbPluginABISysV_mips/Makefile @@ -0,0 +1,15 @@ +# $FreeBSD$ + +.include <bsd.own.mk> + +LIB= lldbPluginABISysV_mips + +SRCDIR= tools/lldb/source/Plugins/ABI/SysV-mips +SRCS= ABISysV_mips.cpp + +TGHDRS= DiagnosticCommonKinds \ + DeclNodes \ + StmtNodes \ + CommentCommandList + +.include "../lldb.lib.mk" diff --git a/lib/clang/liblldbPluginABISysV_mips64/Makefile b/lib/clang/liblldbPluginABISysV_mips64/Makefile new file mode 100644 index 0000000..293435f --- /dev/null +++ b/lib/clang/liblldbPluginABISysV_mips64/Makefile @@ -0,0 +1,15 @@ +# $FreeBSD$ + +.include <bsd.own.mk> + +LIB= lldbPluginABISysV_mips64 + +SRCDIR= tools/lldb/source/Plugins/ABI/SysV-mips64 +SRCS= ABISysV_mips64.cpp + +TGHDRS= DiagnosticCommonKinds \ + DeclNodes \ + StmtNodes \ + CommentCommandList + +.include "../lldb.lib.mk" diff --git a/lib/clang/liblldbPluginInstructionMIPS/Makefile b/lib/clang/liblldbPluginInstructionMIPS/Makefile new file mode 100644 index 0000000..5fdbcd1 --- /dev/null +++ b/lib/clang/liblldbPluginInstructionMIPS/Makefile @@ -0,0 +1,15 @@ +# $FreeBSD$ + +.include <bsd.own.mk> + +LIB= lldbPluginInstructionMIPS + +SRCDIR= tools/lldb/source/Plugins/Instruction/MIPS +SRCS= EmulateInstructionMIPS.cpp + +TGHDRS= DiagnosticCommonKinds \ + DeclNodes \ + StmtNodes \ + CommentCommandList + +.include "../lldb.lib.mk" diff --git a/lib/clang/liblldbPluginInstructionMIPS64/Makefile b/lib/clang/liblldbPluginInstructionMIPS64/Makefile new file mode 100644 index 0000000..3779562 --- /dev/null +++ b/lib/clang/liblldbPluginInstructionMIPS64/Makefile @@ -0,0 +1,15 @@ +# $FreeBSD$ + +.include <bsd.own.mk> + +LIB= lldbPluginInstructionMIPS64 + +SRCDIR= tools/lldb/source/Plugins/Instruction/MIPS64 +SRCS= EmulateInstructionMIPS64.cpp + +TGHDRS= DiagnosticCommonKinds \ + DeclNodes \ + StmtNodes \ + CommentCommandList + +.include "../lldb.lib.mk" diff --git a/lib/clang/liblldbPluginProcessElfCore/Makefile b/lib/clang/liblldbPluginProcessElfCore/Makefile index 66852dd..e8fc698 100644 --- a/lib/clang/liblldbPluginProcessElfCore/Makefile +++ b/lib/clang/liblldbPluginProcessElfCore/Makefile @@ -10,6 +10,8 @@ CFLAGS+=-I${.CURDIR}/../../../contrib/llvm/tools/lldb/source/Plugins/Process/Uti SRCDIR= tools/lldb/source/Plugins/Process/elf-core SRCS= ProcessElfCore.cpp \ ThreadElfCore.cpp \ + RegisterContextPOSIXCore_arm.cpp \ + RegisterContextPOSIXCore_arm64.cpp \ RegisterContextPOSIXCore_mips64.cpp \ RegisterContextPOSIXCore_powerpc.cpp \ RegisterContextPOSIXCore_x86_64.cpp diff --git a/lib/clang/liblldbPluginProcessFreeBSD/Makefile b/lib/clang/liblldbPluginProcessFreeBSD/Makefile index 2002b7d..2af488b 100644 --- a/lib/clang/liblldbPluginProcessFreeBSD/Makefile +++ b/lib/clang/liblldbPluginProcessFreeBSD/Makefile @@ -11,7 +11,15 @@ CFLAGS+=-I${.CURDIR}/../../../contrib/llvm/tools/lldb/source/Plugins/Process/POS SRCDIR= tools/lldb/source/Plugins/Process/FreeBSD SRCS= FreeBSDThread.cpp \ ProcessFreeBSD.cpp \ - ProcessMonitor.cpp + ProcessMonitor.cpp \ + POSIXStopInfo.cpp \ + POSIXThread.cpp \ + ProcessPOSIX.cpp \ + RegisterContextPOSIXProcessMonitor_arm.cpp \ + RegisterContextPOSIXProcessMonitor_arm64.cpp \ + RegisterContextPOSIXProcessMonitor_mips64.cpp \ + RegisterContextPOSIXProcessMonitor_powerpc.cpp \ + RegisterContextPOSIXProcessMonitor_x86.cpp TGHDRS= DiagnosticCommonKinds \ DeclNodes \ diff --git a/lib/clang/liblldbPluginProcessGDBRemote/Makefile b/lib/clang/liblldbPluginProcessGDBRemote/Makefile index 5bbb40f..ec59e3c 100644 --- a/lib/clang/liblldbPluginProcessGDBRemote/Makefile +++ b/lib/clang/liblldbPluginProcessGDBRemote/Makefile @@ -8,6 +8,9 @@ SRCDIR= tools/lldb/source/Plugins/Process/gdb-remote SRCS= GDBRemoteCommunication.cpp \ GDBRemoteCommunicationClient.cpp \ GDBRemoteCommunicationServer.cpp \ + GDBRemoteCommunicationServerCommon.cpp \ + GDBRemoteCommunicationServerLLGS.cpp \ + GDBRemoteCommunicationServerPlatform.cpp \ GDBRemoteRegisterContext.cpp \ ProcessGDBRemote.cpp \ ProcessGDBRemoteLog.cpp \ diff --git a/lib/clang/liblldbPluginProcessPOSIX/Makefile b/lib/clang/liblldbPluginProcessPOSIX/Makefile index ddd902a..8c73930 100644 --- a/lib/clang/liblldbPluginProcessPOSIX/Makefile +++ b/lib/clang/liblldbPluginProcessPOSIX/Makefile @@ -10,15 +10,9 @@ CFLAGS+=-I${.CURDIR}/../../../contrib/llvm/tools/lldb/source/Plugins/Process/Uti CFLAGS+=-I${.CURDIR}/../../../contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD SRCDIR= tools/lldb/source/Plugins/Process/POSIX -SRCS= POSIXStopInfo.cpp \ - POSIXThread.cpp \ +SRCS= CrashReason.cpp \ ProcessMessage.cpp \ - ProcessPOSIX.cpp \ - ProcessPOSIXLog.cpp \ - RegisterContextPOSIXProcessMonitor_arm64.cpp \ - RegisterContextPOSIXProcessMonitor_mips64.cpp \ - RegisterContextPOSIXProcessMonitor_powerpc.cpp \ - RegisterContextPOSIXProcessMonitor_x86.cpp + ProcessPOSIXLog.cpp TGHDRS= AttrList \ Attrs \ diff --git a/lib/clang/liblldbPluginProcessUtility/Makefile b/lib/clang/liblldbPluginProcessUtility/Makefile index d43396f..f130841 100644 --- a/lib/clang/liblldbPluginProcessUtility/Makefile +++ b/lib/clang/liblldbPluginProcessUtility/Makefile @@ -11,18 +11,23 @@ SRCS= DynamicRegisterInfo.cpp \ HistoryUnwind.cpp \ InferiorCallPOSIX.cpp \ LinuxSignals.cpp \ + MipsLinuxSignals.cpp \ RegisterContextDarwin_arm.cpp \ RegisterContextDarwin_arm64.cpp \ RegisterContextDarwin_i386.cpp \ RegisterContextDarwin_x86_64.cpp \ RegisterContextDummy.cpp \ + RegisterContextFreeBSD_arm.cpp \ + RegisterContextFreeBSD_arm64.cpp \ RegisterContextFreeBSD_i386.cpp \ RegisterContextFreeBSD_mips64.cpp \ RegisterContextFreeBSD_powerpc.cpp \ RegisterContextFreeBSD_x86_64.cpp \ RegisterContextHistory.cpp \ + RegisterContextLinux_arm.cpp \ RegisterContextLinux_arm64.cpp \ RegisterContextLinux_i386.cpp \ + RegisterContextLinux_mips.cpp \ RegisterContextLinux_x86_64.cpp \ RegisterContextLLDB.cpp \ RegisterContextMach_arm.cpp \ @@ -30,6 +35,7 @@ SRCS= DynamicRegisterInfo.cpp \ RegisterContextMach_x86_64.cpp \ RegisterContextMacOSXFrameBackchain.cpp \ RegisterContextMemory.cpp \ + RegisterContextPOSIX_arm.cpp \ RegisterContextPOSIX_arm64.cpp \ RegisterContextPOSIX_mips64.cpp \ RegisterContextPOSIX_powerpc.cpp \ diff --git a/lib/clang/liblldbTarget/Makefile b/lib/clang/liblldbTarget/Makefile index 95ced8d..8163ad5 100644 --- a/lib/clang/liblldbTarget/Makefile +++ b/lib/clang/liblldbTarget/Makefile @@ -18,8 +18,6 @@ SRCS= ABI.cpp \ LanguageRuntime.cpp \ Memory.cpp \ MemoryHistory.cpp \ - NativeRegisterContext.cpp \ - NativeRegisterContextRegisterInfo.cpp \ ObjCLanguageRuntime.cpp \ OperatingSystem.cpp \ PathMappingList.cpp \ diff --git a/lib/clang/liblldbUtility/Makefile b/lib/clang/liblldbUtility/Makefile index 13ed72d..918cfab 100644 --- a/lib/clang/liblldbUtility/Makefile +++ b/lib/clang/liblldbUtility/Makefile @@ -7,7 +7,12 @@ LIB= lldbUtility SRCDIR= tools/lldb/source/Utility SRCS= ARM64_DWARF_Registers.cpp \ ARM_DWARF_Registers.cpp \ + ConvertEnum.cpp \ + JSON.cpp \ KQueue.cpp \ + LLDBAssert.cpp \ + ModuleCache.cpp \ + NameMatches.cpp \ PseudoTerminal.cpp \ Range.cpp \ RegisterNumber.cpp \ |