summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gnu/usr.bin/clang/Makefile43
-rw-r--r--gnu/usr.bin/clang/Makefile.inc7
-rw-r--r--gnu/usr.bin/clang/include/lldb/Host/Config.h29
-rw-r--r--gnu/usr.bin/clang/libLLVMDebugInfoCodeView/Makefile27
-rw-r--r--gnu/usr.bin/clang/libLLVMDebugInfoPDB/Makefile89
-rw-r--r--gnu/usr.bin/clang/libLLVMExecutionEngine/Makefile47
-rw-r--r--gnu/usr.bin/clang/libLLVMMCDisassembler/Makefile7
-rw-r--r--gnu/usr.bin/clang/libclangAST/Makefile3
-rw-r--r--gnu/usr.bin/clang/liblldbABI/Makefile43
-rw-r--r--gnu/usr.bin/clang/liblldbAPI/Makefile85
-rw-r--r--gnu/usr.bin/clang/liblldbBreakpoint/Makefile40
-rw-r--r--gnu/usr.bin/clang/liblldbCommands/Makefile48
-rw-r--r--gnu/usr.bin/clang/liblldbCore/Makefile64
-rw-r--r--gnu/usr.bin/clang/liblldbDataFormatters/Makefile34
-rw-r--r--gnu/usr.bin/clang/liblldbExpression/Makefile33
-rw-r--r--gnu/usr.bin/clang/liblldbHostCommon/Makefile51
-rw-r--r--gnu/usr.bin/clang/liblldbHostOpenBSD/Makefile20
-rw-r--r--gnu/usr.bin/clang/liblldbHostPOSIX/Makefile26
-rw-r--r--gnu/usr.bin/clang/liblldbInitialization/Makefile20
-rw-r--r--gnu/usr.bin/clang/liblldbInterpreter/Makefile61
-rw-r--r--gnu/usr.bin/clang/liblldbPluginArchitecture/Makefile18
-rw-r--r--gnu/usr.bin/clang/liblldbPluginDisassembler/Makefile18
-rw-r--r--gnu/usr.bin/clang/liblldbPluginDynamicLoader/Makefile31
-rw-r--r--gnu/usr.bin/clang/liblldbPluginExpressionParser/Makefile34
-rw-r--r--gnu/usr.bin/clang/liblldbPluginInstruction/Makefile25
-rw-r--r--gnu/usr.bin/clang/liblldbPluginInstrumentationRuntime/Makefile24
-rw-r--r--gnu/usr.bin/clang/liblldbPluginJITLoader/Makefile18
-rw-r--r--gnu/usr.bin/clang/liblldbPluginLanguage/Makefile57
-rw-r--r--gnu/usr.bin/clang/liblldbPluginLanguageRuntime/Makefile36
-rw-r--r--gnu/usr.bin/clang/liblldbPluginMemoryHistory/Makefile18
-rw-r--r--gnu/usr.bin/clang/liblldbPluginObjectContainer/Makefile20
-rw-r--r--gnu/usr.bin/clang/liblldbPluginObjectFile/Makefile26
-rw-r--r--gnu/usr.bin/clang/liblldbPluginOperatingSystem/Makefile20
-rw-r--r--gnu/usr.bin/clang/liblldbPluginPlatform/Makefile48
-rw-r--r--gnu/usr.bin/clang/liblldbPluginProcess/Makefile96
-rw-r--r--gnu/usr.bin/clang/liblldbPluginScriptInterpreter/Makefile18
-rw-r--r--gnu/usr.bin/clang/liblldbPluginStructuredData/Makefile18
-rw-r--r--gnu/usr.bin/clang/liblldbPluginSymbolFile/Makefile57
-rw-r--r--gnu/usr.bin/clang/liblldbPluginSymbolVendor/Makefile18
-rw-r--r--gnu/usr.bin/clang/liblldbPluginSystemRuntime/Makefile22
-rw-r--r--gnu/usr.bin/clang/liblldbPluginUnwindAssembly/Makefile21
-rw-r--r--gnu/usr.bin/clang/liblldbSymbol/Makefile54
-rw-r--r--gnu/usr.bin/clang/liblldbTarget/Makefile76
-rw-r--r--gnu/usr.bin/clang/liblldbUtility/Makefile56
-rw-r--r--gnu/usr.bin/clang/lldb/Makefile115
-rw-r--r--gnu/usr.bin/clang/lldb/lldb.1154
46 files changed, 1865 insertions, 10 deletions
diff --git a/gnu/usr.bin/clang/Makefile b/gnu/usr.bin/clang/Makefile
index 250fb1d64f5..bc098e3a804 100644
--- a/gnu/usr.bin/clang/Makefile
+++ b/gnu/usr.bin/clang/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.7 2018/04/06 14:44:04 patrick Exp $
+# $OpenBSD: Makefile,v 1.8 2018/10/04 11:43:29 patrick Exp $
.include <bsd.own.mk>
@@ -43,6 +43,8 @@ SUBDIR+=libLLVMCoverage
SUBDIR+=libLLVMDebugInfoCodeView
SUBDIR+=libLLVMDebugInfoDWARF
SUBDIR+=libLLVMDebugInfoMSF
+SUBDIR+=libLLVMDebugInfoPDB
+SUBDIR+=libLLVMExecutionEngine
SUBDIR+=libLLVMGlobalISel
SUBDIR+=libLLVMLTO
SUBDIR+=libLLVMPasses
@@ -86,5 +88,44 @@ SUBDIR+=liblldELF
SUBDIR+=lld
+SUBDIR+=liblldbABI
+SUBDIR+=liblldbAPI
+SUBDIR+=liblldbBreakpoint
+SUBDIR+=liblldbCommands
+SUBDIR+=liblldbCore
+SUBDIR+=liblldbDataFormatters
+SUBDIR+=liblldbExpression
+SUBDIR+=liblldbHostCommon
+SUBDIR+=liblldbHostOpenBSD
+SUBDIR+=liblldbHostPOSIX
+SUBDIR+=liblldbInitialization
+SUBDIR+=liblldbInterpreter
+SUBDIR+=liblldbPluginArchitecture
+SUBDIR+=liblldbPluginDisassembler
+SUBDIR+=liblldbPluginDynamicLoader
+SUBDIR+=liblldbPluginExpressionParser
+SUBDIR+=liblldbPluginInstruction
+SUBDIR+=liblldbPluginInstrumentationRuntime
+SUBDIR+=liblldbPluginJITLoader
+SUBDIR+=liblldbPluginLanguage
+SUBDIR+=liblldbPluginLanguageRuntime
+SUBDIR+=liblldbPluginMemoryHistory
+SUBDIR+=liblldbPluginObjectContainer
+SUBDIR+=liblldbPluginObjectFile
+SUBDIR+=liblldbPluginOperatingSystem
+SUBDIR+=liblldbPluginPlatform
+SUBDIR+=liblldbPluginProcess
+SUBDIR+=liblldbPluginScriptInterpreter
+SUBDIR+=liblldbPluginStructuredData
+SUBDIR+=liblldbPluginSymbolFile
+SUBDIR+=liblldbPluginSymbolVendor
+SUBDIR+=liblldbPluginSystemRuntime
+SUBDIR+=liblldbPluginUnwindAssembly
+SUBDIR+=liblldbSymbol
+SUBDIR+=liblldbTarget
+SUBDIR+=liblldbUtility
+
+SUBDIR+=lldb
+
.include <bsd.obj.mk>
.include <bsd.subdir.mk>
diff --git a/gnu/usr.bin/clang/Makefile.inc b/gnu/usr.bin/clang/Makefile.inc
index 0b99edce43d..1dde224fb60 100644
--- a/gnu/usr.bin/clang/Makefile.inc
+++ b/gnu/usr.bin/clang/Makefile.inc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.inc,v 1.7 2018/07/28 21:43:21 mortimer Exp $
+# $OpenBSD: Makefile.inc,v 1.8 2018/10/04 11:43:29 patrick Exp $
LLVM_SRCS?= ${.CURDIR}/../../../llvm
@@ -17,6 +17,8 @@ DEBUG=
NOPIE=
CLANG_INCLUDES= -I${LLVM_SRCS}/tools/clang/include
+LLDB_INCLUDES= -I${LLVM_SRCS}/tools/lldb/include \
+ -I${LLVM_SRCS}/tools/lldb/source
CPPFLAGS+= -I${LLVM_SRCS}/include -I${.CURDIR}/../include -I${.OBJDIR} \
-I${.OBJDIR}/../include
CPPFLAGS+= -DNDEBUG
@@ -42,6 +44,7 @@ CPPFLAGS+=-DLLVM_NATIVE_DISASSEMBLER=LLVMInitialize${LLVM_ARCH}Disassembler
CPPFLAGS+=-DLLVM_NATIVE_TARGET=LLVMInitialize${LLVM_ARCH}Target
CPPFLAGS+=-DLLVM_NATIVE_TARGETINFO=LLVMInitialize${LLVM_ARCH}TargetInfo
CPPFLAGS+=-DLLVM_NATIVE_TARGETMC=LLVMInitialize${LLVM_ARCH}TargetMC
+CPPFLAGS+=-DLLDB_DISABLE_PYTHON
# upstream defaults
CFLAGS+= -ffunction-sections
@@ -57,7 +60,9 @@ CXXFLAGS+= -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual \
-Wno-missing-field-initializers -pedantic -Wno-long-long \
-Wdelete-non-virtual-dtor -Wno-comment
+LDADD+=-Wl,--start-group
.for lib in ${LLVM_LIBDEPS}
DPADD+= ${.OBJDIR}/../lib${lib}/lib${lib}.a
LDADD+= ${.OBJDIR}/../lib${lib}/lib${lib}.a
.endfor
+LDADD+=-Wl,--end-group
diff --git a/gnu/usr.bin/clang/include/lldb/Host/Config.h b/gnu/usr.bin/clang/include/lldb/Host/Config.h
new file mode 100644
index 00000000000..1fc5396e2bb
--- /dev/null
+++ b/gnu/usr.bin/clang/include/lldb/Host/Config.h
@@ -0,0 +1,29 @@
+//===-- Config.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_HOST_CONFIG_H
+#define LLDB_HOST_CONFIG_H
+
+#define LLDB_CONFIG_TERMIOS_SUPPORTED
+
+/* #define LLDB_DISABLE_POSIX */
+
+#define HAVE_SYS_EVENT_H 1
+
+#define HAVE_PPOLL 1
+
+#define HAVE_SIGACTION 1
+
+#define HAVE_PROCESS_VM_READV 0
+
+#define HAVE_NR_PROCESS_VM_READV 0
+
+/* #define HAVE_LIBCOMPRESSION */
+
+#endif // #ifndef LLDB_HOST_CONFIG_H
diff --git a/gnu/usr.bin/clang/libLLVMDebugInfoCodeView/Makefile b/gnu/usr.bin/clang/libLLVMDebugInfoCodeView/Makefile
index fbd9cd29083..f9267e8544a 100644
--- a/gnu/usr.bin/clang/libLLVMDebugInfoCodeView/Makefile
+++ b/gnu/usr.bin/clang/libLLVMDebugInfoCodeView/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.5 2018/04/06 14:44:04 patrick Exp $
+# $OpenBSD: Makefile,v 1.6 2018/10/04 11:43:29 patrick Exp $
LIB= LLVMDebugInfoCodeView
NOPIC=
@@ -7,22 +7,41 @@ NOPROFILE=
CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/DebugInfo/CodeView
.include <bsd.own.mk>
-SRCS= CVTypeVisitor.cpp \
+SRCS= AppendingTypeTableBuilder.cpp \
CodeViewError.cpp \
CodeViewRecordIO.cpp \
ContinuationRecordBuilder.cpp \
+ CVSymbolVisitor.cpp \
+ CVTypeVisitor.cpp \
+ DebugChecksumsSubsection.cpp \
+ DebugCrossExSubsection.cpp \
+ DebugCrossImpSubsection.cpp \
+ DebugFrameDataSubsection.cpp \
+ DebugInlineeLinesSubsection.cpp \
+ DebugLinesSubsection.cpp \
+ DebugStringTableSubsection.cpp \
+ DebugSubsection.cpp \
+ DebugSubsectionRecord.cpp \
+ DebugSubsectionVisitor.cpp \
+ DebugSymbolRVASubsection.cpp \
+ DebugSymbolsSubsection.cpp \
+ EnumTables.cpp \
Formatters.cpp \
GlobalTypeTableBuilder.cpp \
+ LazyRandomTypeCollection.cpp \
Line.cpp \
+ MergingTypeTableBuilder.cpp \
RecordName.cpp \
RecordSerialization.cpp \
SimpleTypeSerializer.cpp \
- SymbolDumper.cpp \
+ StringsAndChecksums.cpp \
SymbolRecordMapping.cpp \
+ SymbolDumper.cpp \
+ SymbolSerializer.cpp \
TypeDumpVisitor.cpp \
- TypeHashing.cpp \
TypeIndex.cpp \
TypeIndexDiscovery.cpp \
+ TypeHashing.cpp \
TypeRecordMapping.cpp \
TypeStreamMerger.cpp \
TypeTableCollection.cpp
diff --git a/gnu/usr.bin/clang/libLLVMDebugInfoPDB/Makefile b/gnu/usr.bin/clang/libLLVMDebugInfoPDB/Makefile
new file mode 100644
index 00000000000..49ffc1e4db8
--- /dev/null
+++ b/gnu/usr.bin/clang/libLLVMDebugInfoPDB/Makefile
@@ -0,0 +1,89 @@
+# $OpenBSD: Makefile,v 1.1 2018/10/04 11:43:29 patrick Exp $
+
+LIB= LLVMDebugInfoPDB
+NOPIC=
+NOPROFILE=
+
+CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/DebugInfo/PDB
+
+.include <bsd.own.mk>
+SRCS= DbiModuleDescriptor.cpp \
+ DbiModuleDescriptorBuilder.cpp \
+ DbiModuleList.cpp \
+ DbiStream.cpp \
+ DbiStreamBuilder.cpp \
+ EnumTables.cpp \
+ GSIStreamBuilder.cpp \
+ GenericError.cpp \
+ GlobalsStream.cpp \
+ Hash.cpp \
+ HashTable.cpp \
+ IPDBSourceFile.cpp \
+ InfoStream.cpp \
+ InfoStreamBuilder.cpp \
+ ModuleDebugStream.cpp \
+ NamedStreamMap.cpp \
+ NativeBuiltinSymbol.cpp \
+ NativeCompilandSymbol.cpp \
+ NativeEnumModules.cpp \
+ NativeEnumSymbol.cpp \
+ NativeEnumTypes.cpp \
+ NativeExeSymbol.cpp \
+ NativeRawSymbol.cpp \
+ NativeSession.cpp \
+ PDB.cpp \
+ PDBContext.cpp \
+ PDBExtras.cpp \
+ PDBFile.cpp \
+ PDBFileBuilder.cpp \
+ PDBInterfaceAnchors.cpp \
+ PDBStringTable.cpp \
+ PDBStringTableBuilder.cpp \
+ PDBSymDumper.cpp \
+ PDBSymbol.cpp \
+ PDBSymbolAnnotation.cpp \
+ PDBSymbolBlock.cpp \
+ PDBSymbolCompiland.cpp \
+ PDBSymbolCompilandDetails.cpp \
+ PDBSymbolCompilandEnv.cpp \
+ PDBSymbolCustom.cpp \
+ PDBSymbolData.cpp \
+ PDBSymbolExe.cpp \
+ PDBSymbolFunc.cpp \
+ PDBSymbolFuncDebugEnd.cpp \
+ PDBSymbolFuncDebugStart.cpp \
+ PDBSymbolLabel.cpp \
+ PDBSymbolPublicSymbol.cpp \
+ PDBSymbolThunk.cpp \
+ PDBSymbolTypeArray.cpp \
+ PDBSymbolTypeBaseClass.cpp \
+ PDBSymbolTypeBuiltin.cpp \
+ PDBSymbolTypeCustom.cpp \
+ PDBSymbolTypeDimension.cpp \
+ PDBSymbolTypeEnum.cpp \
+ PDBSymbolTypeFriend.cpp \
+ PDBSymbolTypeFunctionArg.cpp \
+ PDBSymbolTypeFunctionSig.cpp \
+ PDBSymbolTypeManaged.cpp \
+ PDBSymbolTypePointer.cpp \
+ PDBSymbolTypeTypedef.cpp \
+ PDBSymbolTypeUDT.cpp \
+ PDBSymbolTypeVTable.cpp \
+ PDBSymbolTypeVTableShape.cpp \
+ PDBSymbolUnknown.cpp \
+ PDBSymbolUsingNamespace.cpp \
+ PublicsStream.cpp \
+ RawError.cpp \
+ SymbolStream.cpp \
+ TpiHashing.cpp \
+ TpiStream.cpp \
+ TpiStreamBuilder.cpp \
+ UDTLayout.cpp \
+
+.PATH: ${.CURDIR}/../../../llvm/lib/DebugInfo/PDB
+.PATH: ${.CURDIR}/../../../llvm/lib/DebugInfo/PDB/Native
+
+install:
+ @# Nothing here so far ...
+
+.include <bsd.lib.mk>
diff --git a/gnu/usr.bin/clang/libLLVMExecutionEngine/Makefile b/gnu/usr.bin/clang/libLLVMExecutionEngine/Makefile
new file mode 100644
index 00000000000..61372a3ec0d
--- /dev/null
+++ b/gnu/usr.bin/clang/libLLVMExecutionEngine/Makefile
@@ -0,0 +1,47 @@
+# $OpenBSD: Makefile,v 1.1 2018/10/04 11:43:29 patrick Exp $
+
+LIB= LLVMExecutionEngine
+NOPIC=
+NOPROFILE=
+
+CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/ExecutionEngine
+
+.include <bsd.own.mk>
+SRCS= Execution.cpp \
+ ExecutionEngine.cpp \
+ ExecutionEngineBindings.cpp \
+ ExecutionUtils.cpp \
+ ExternalFunctions.cpp \
+ GDBRegistrationListener.cpp \
+ IndirectionUtils.cpp \
+ Interpreter.cpp \
+ JITSymbol.cpp \
+ MCJIT.cpp \
+ NullResolver.cpp \
+ OrcABISupport.cpp \
+ OrcCBindings.cpp \
+ OrcError.cpp \
+ OrcMCJITReplacement.cpp \
+ RPCUtils.cpp \
+ RTDyldMemoryManager.cpp \
+ RuntimeDyld.cpp \
+ RuntimeDyldCOFF.cpp \
+ RuntimeDyldChecker.cpp \
+ RuntimeDyldELF.cpp \
+ RuntimeDyldELFMips.cpp \
+ RuntimeDyldMachO.cpp \
+ SectionMemoryManager.cpp \
+ TargetSelect.cpp \
+
+.PATH: ${.CURDIR}/../../../llvm/lib/ExecutionEngine
+.PATH: ${.CURDIR}/../../../llvm/lib/ExecutionEngine/Interpreter
+.PATH: ${.CURDIR}/../../../llvm/lib/ExecutionEngine/MCJIT
+.PATH: ${.CURDIR}/../../../llvm/lib/ExecutionEngine/Orc
+.PATH: ${.CURDIR}/../../../llvm/lib/ExecutionEngine/RuntimeDyld
+.PATH: ${.CURDIR}/../../../llvm/lib/ExecutionEngine/RuntimeDyld/Targets
+
+
+install:
+ @# Nothing here so far ...
+
+.include <bsd.lib.mk>
diff --git a/gnu/usr.bin/clang/libLLVMMCDisassembler/Makefile b/gnu/usr.bin/clang/libLLVMMCDisassembler/Makefile
index e982aa1d396..fa5e789fa2b 100644
--- a/gnu/usr.bin/clang/libLLVMMCDisassembler/Makefile
+++ b/gnu/usr.bin/clang/libLLVMMCDisassembler/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.2 2017/07/09 15:28:35 espie Exp $
+# $OpenBSD: Makefile,v 1.3 2018/10/04 11:43:29 patrick Exp $
LIB= LLVMMCDisassembler
NOPIC=
@@ -6,9 +6,10 @@ NOPROFILE=
.include <bsd.own.mk>
SRCS= Disassembler.cpp \
- MCRelocationInfo.cpp \
+ MCDisassembler.cpp \
MCExternalSymbolizer.cpp \
- MCDisassembler.cpp
+ MCRelocationInfo.cpp \
+ MCSymbolizer.cpp \
.PATH: ${.CURDIR}/../../../llvm/lib/MC/MCDisassembler
diff --git a/gnu/usr.bin/clang/libclangAST/Makefile b/gnu/usr.bin/clang/libclangAST/Makefile
index 849629f4e3c..9179d63c6ab 100644
--- a/gnu/usr.bin/clang/libclangAST/Makefile
+++ b/gnu/usr.bin/clang/libclangAST/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.4 2018/04/06 14:44:04 patrick Exp $
+# $OpenBSD: Makefile,v 1.5 2018/10/04 11:43:29 patrick Exp $
LIB= clangAST
NOPIC=
@@ -39,6 +39,7 @@ SRCS= APValue.cpp \
ExprCXX.cpp \
ExprObjC.cpp \
ExternalASTSource.cpp \
+ ExternalASTMerger.cpp \
InheritViz.cpp \
ItaniumCXXABI.cpp \
ItaniumMangle.cpp \
diff --git a/gnu/usr.bin/clang/liblldbABI/Makefile b/gnu/usr.bin/clang/liblldbABI/Makefile
new file mode 100644
index 00000000000..d2f5812e1a6
--- /dev/null
+++ b/gnu/usr.bin/clang/liblldbABI/Makefile
@@ -0,0 +1,43 @@
+# $OpenBSD: Makefile,v 1.1 2018/10/04 11:43:29 patrick Exp $
+
+LIB= lldbABI
+NOPIC=
+NOPROFILE=
+
+.include <bsd.own.mk>
+
+SRCS= ABIMacOSX_arm.cpp \
+ ABIMacOSX_arm64.cpp \
+ ABIMacOSX_i386.cpp \
+ ABISysV_arm.cpp \
+ ABISysV_arm64.cpp \
+ ABISysV_hexagon.cpp \
+ ABISysV_i386.cpp \
+ ABISysV_mips.cpp \
+ ABISysV_mips64.cpp \
+ ABISysV_ppc.cpp \
+ ABISysV_ppc64.cpp \
+ ABISysV_s390x.cpp \
+ ABISysV_x86_64.cpp \
+
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/ABI/MacOSX-arm
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/ABI/MacOSX-arm64
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/ABI/MacOSX-i386
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/ABI/SysV-arm
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/ABI/SysV-arm64
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/ABI/SysV-hexagon
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/ABI/SysV-i386
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/ABI/SysV-mips
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/ABI/SysV-mips64
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/ABI/SysV-ppc
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/ABI/SysV-ppc64
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/ABI/SysV-s390x
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/ABI/SysV-x86_64
+
+install:
+ @# Nothing here so far ...
+
+.include <bsd.lib.mk>
+
+CPPFLAGS+= ${LLDB_INCLUDES}
+CPPFLAGS+= ${CLANG_INCLUDES}
diff --git a/gnu/usr.bin/clang/liblldbAPI/Makefile b/gnu/usr.bin/clang/liblldbAPI/Makefile
new file mode 100644
index 00000000000..dd4c9965690
--- /dev/null
+++ b/gnu/usr.bin/clang/liblldbAPI/Makefile
@@ -0,0 +1,85 @@
+# $OpenBSD: Makefile,v 1.1 2018/10/04 11:43:29 patrick Exp $
+
+LIB= lldbAPI
+NOPIC=
+NOPROFILE=
+
+.include <bsd.own.mk>
+
+SRCS= SBAddress.cpp \
+ SBAttachInfo.cpp \
+ SBBlock.cpp \
+ SBBreakpoint.cpp \
+ SBBreakpointLocation.cpp \
+ SBBreakpointName.cpp \
+ SBBreakpointOptionCommon.cpp \
+ SBBroadcaster.cpp \
+ SBCommandInterpreter.cpp \
+ SBCommandReturnObject.cpp \
+ SBCommunication.cpp \
+ SBCompileUnit.cpp \
+ SBData.cpp \
+ SBDebugger.cpp \
+ SBDeclaration.cpp \
+ SBError.cpp \
+ SBEvent.cpp \
+ SBExecutionContext.cpp \
+ SBExpressionOptions.cpp \
+ SBFileSpec.cpp \
+ SBFileSpecList.cpp \
+ SBFrame.cpp \
+ SBFunction.cpp \
+ SBHostOS.cpp \
+ SBInstruction.cpp \
+ SBInstructionList.cpp \
+ SBLanguageRuntime.cpp \
+ SBLaunchInfo.cpp \
+ SBLineEntry.cpp \
+ SBListener.cpp \
+ SBMemoryRegionInfo.cpp \
+ SBMemoryRegionInfoList.cpp \
+ SBModule.cpp \
+ SBModuleSpec.cpp \
+ SBPlatform.cpp \
+ SBProcess.cpp \
+ SBProcessInfo.cpp \
+ SBQueue.cpp \
+ SBQueueItem.cpp \
+ SBSection.cpp \
+ SBSourceManager.cpp \
+ SBStream.cpp \
+ SBStringList.cpp \
+ SBStructuredData.cpp \
+ SBSymbol.cpp \
+ SBSymbolContext.cpp \
+ SBSymbolContextList.cpp \
+ SBTarget.cpp \
+ SBThread.cpp \
+ SBThreadCollection.cpp \
+ SBThreadPlan.cpp \
+ SBTrace.cpp \
+ SBTraceOptions.cpp \
+ SBType.cpp \
+ SBTypeCategory.cpp \
+ SBTypeEnumMember.cpp \
+ SBTypeFilter.cpp \
+ SBTypeFormat.cpp \
+ SBTypeNameSpecifier.cpp \
+ SBTypeSummary.cpp \
+ SBTypeSynthetic.cpp \
+ SBUnixSignals.cpp \
+ SBValue.cpp \
+ SBValueList.cpp \
+ SBVariablesOptions.cpp \
+ SBWatchpoint.cpp \
+ SystemInitializerFull.cpp
+
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/API
+
+install:
+ @# Nothing here so far ...
+
+.include <bsd.lib.mk>
+
+CPPFLAGS+= ${LLDB_INCLUDES}
+CPPFLAGS+= ${CLANG_INCLUDES}
diff --git a/gnu/usr.bin/clang/liblldbBreakpoint/Makefile b/gnu/usr.bin/clang/liblldbBreakpoint/Makefile
new file mode 100644
index 00000000000..9483a56aa0d
--- /dev/null
+++ b/gnu/usr.bin/clang/liblldbBreakpoint/Makefile
@@ -0,0 +1,40 @@
+# $OpenBSD: Makefile,v 1.1 2018/10/04 11:43:29 patrick Exp $
+
+LIB= lldbBreakpoint
+NOPIC=
+NOPROFILE=
+
+.include <bsd.own.mk>
+
+SRCS= Breakpoint.cpp \
+ BreakpointID.cpp \
+ BreakpointIDList.cpp \
+ BreakpointList.cpp \
+ BreakpointLocation.cpp \
+ BreakpointLocationCollection.cpp \
+ BreakpointLocationList.cpp \
+ BreakpointName.cpp \
+ BreakpointOptions.cpp \
+ BreakpointResolver.cpp \
+ BreakpointResolverAddress.cpp \
+ BreakpointResolverFileLine.cpp \
+ BreakpointResolverFileRegex.cpp \
+ BreakpointResolverName.cpp \
+ BreakpointSite.cpp \
+ BreakpointSiteList.cpp \
+ Stoppoint.cpp \
+ StoppointCallbackContext.cpp \
+ StoppointLocation.cpp \
+ Watchpoint.cpp \
+ WatchpointList.cpp \
+ WatchpointOptions.cpp \
+
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Breakpoint
+
+install:
+ @# Nothing here so far ...
+
+.include <bsd.lib.mk>
+
+CPPFLAGS+= ${LLDB_INCLUDES}
+CPPFLAGS+= ${CLANG_INCLUDES}
diff --git a/gnu/usr.bin/clang/liblldbCommands/Makefile b/gnu/usr.bin/clang/liblldbCommands/Makefile
new file mode 100644
index 00000000000..debe5685ca1
--- /dev/null
+++ b/gnu/usr.bin/clang/liblldbCommands/Makefile
@@ -0,0 +1,48 @@
+# $OpenBSD: Makefile,v 1.1 2018/10/04 11:43:29 patrick Exp $
+
+LIB= lldbCommands
+NOPIC=
+NOPROFILE=
+
+.include <bsd.own.mk>
+
+SRCS= CommandCompletions.cpp \
+ CommandObjectApropos.cpp \
+ CommandObjectArgs.cpp \
+ CommandObjectBreakpoint.cpp \
+ CommandObjectBreakpointCommand.cpp \
+ CommandObjectBugreport.cpp \
+ CommandObjectCommands.cpp \
+ CommandObjectDisassemble.cpp \
+ CommandObjectExpression.cpp \
+ CommandObjectFrame.cpp \
+ CommandObjectGUI.cpp \
+ CommandObjectHelp.cpp \
+ CommandObjectLog.cpp \
+ CommandObjectMemory.cpp \
+ CommandObjectMultiword.cpp \
+ CommandObjectPlatform.cpp \
+ CommandObjectPlugin.cpp \
+ CommandObjectProcess.cpp \
+ CommandObjectQuit.cpp \
+ CommandObjectRegister.cpp \
+ CommandObjectSettings.cpp \
+ CommandObjectSource.cpp \
+ CommandObjectSyntax.cpp \
+ CommandObjectTarget.cpp \
+ CommandObjectThread.cpp \
+ CommandObjectType.cpp \
+ CommandObjectVersion.cpp \
+ CommandObjectWatchpoint.cpp \
+ CommandObjectWatchpointCommand.cpp \
+ CommandObjectLanguage.cpp \
+
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Commands
+
+install:
+ @# Nothing here so far ...
+
+.include <bsd.lib.mk>
+
+CPPFLAGS+= ${LLDB_INCLUDES}
+CPPFLAGS+= ${CLANG_INCLUDES}
diff --git a/gnu/usr.bin/clang/liblldbCore/Makefile b/gnu/usr.bin/clang/liblldbCore/Makefile
new file mode 100644
index 00000000000..765a146ea76
--- /dev/null
+++ b/gnu/usr.bin/clang/liblldbCore/Makefile
@@ -0,0 +1,64 @@
+# $OpenBSD: Makefile,v 1.1 2018/10/04 11:43:29 patrick Exp $
+
+LIB= lldbCore
+NOPIC=
+NOPROFILE=
+
+.include <bsd.own.mk>
+SRCS= Address.cpp \
+ AddressRange.cpp \
+ AddressResolver.cpp \
+ AddressResolverFileLine.cpp \
+ AddressResolverName.cpp \
+ Broadcaster.cpp \
+ Communication.cpp \
+ Debugger.cpp \
+ Disassembler.cpp \
+ DumpDataExtractor.cpp \
+ DynamicLoader.cpp \
+ EmulateInstruction.cpp \
+ Event.cpp \
+ FileLineResolver.cpp \
+ FileSpecList.cpp \
+ FormatEntity.cpp \
+ IOHandler.cpp \
+ Listener.cpp \
+ Mangled.cpp \
+ Module.cpp \
+ ModuleChild.cpp \
+ ModuleList.cpp \
+ Opcode.cpp \
+ PluginManager.cpp \
+ RegisterValue.cpp \
+ Scalar.cpp \
+ SearchFilter.cpp \
+ Section.cpp \
+ SourceManager.cpp \
+ State.cpp \
+ StreamAsynchronousIO.cpp \
+ StreamFile.cpp \
+ UserSettingsController.cpp \
+ Value.cpp \
+ ValueObject.cpp \
+ ValueObjectCast.cpp \
+ ValueObjectChild.cpp \
+ ValueObjectConstResult.cpp \
+ ValueObjectConstResultCast.cpp \
+ ValueObjectConstResultChild.cpp \
+ ValueObjectConstResultImpl.cpp \
+ ValueObjectDynamicValue.cpp \
+ ValueObjectList.cpp \
+ ValueObjectMemory.cpp \
+ ValueObjectRegister.cpp \
+ ValueObjectSyntheticFilter.cpp \
+ ValueObjectVariable.cpp \
+
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Core
+
+install:
+ @# Nothing here so far ...
+
+.include <bsd.lib.mk>
+
+CPPFLAGS+= ${LLDB_INCLUDES}
+CPPFLAGS+= ${CLANG_INCLUDES}
diff --git a/gnu/usr.bin/clang/liblldbDataFormatters/Makefile b/gnu/usr.bin/clang/liblldbDataFormatters/Makefile
new file mode 100644
index 00000000000..4b3535ccd34
--- /dev/null
+++ b/gnu/usr.bin/clang/liblldbDataFormatters/Makefile
@@ -0,0 +1,34 @@
+# $OpenBSD: Makefile,v 1.1 2018/10/04 11:43:29 patrick Exp $
+
+LIB= lldbDataFormatters
+NOPIC=
+NOPROFILE=
+
+.include <bsd.own.mk>
+SRCS= CXXFunctionPointer.cpp \
+ DataVisualization.cpp \
+ DumpValueObjectOptions.cpp \
+ FormatCache.cpp \
+ FormatClasses.cpp \
+ FormatManager.cpp \
+ FormattersHelpers.cpp \
+ LanguageCategory.cpp \
+ StringPrinter.cpp \
+ TypeCategory.cpp \
+ TypeCategoryMap.cpp \
+ TypeFormat.cpp \
+ TypeSummary.cpp \
+ TypeSynthetic.cpp \
+ TypeValidator.cpp \
+ ValueObjectPrinter.cpp \
+ VectorType.cpp \
+
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/DataFormatters
+
+install:
+ @# Nothing here so far ...
+
+.include <bsd.lib.mk>
+
+CPPFLAGS+= ${LLDB_INCLUDES}
+CPPFLAGS+= ${CLANG_INCLUDES}
diff --git a/gnu/usr.bin/clang/liblldbExpression/Makefile b/gnu/usr.bin/clang/liblldbExpression/Makefile
new file mode 100644
index 00000000000..cec66d0e58c
--- /dev/null
+++ b/gnu/usr.bin/clang/liblldbExpression/Makefile
@@ -0,0 +1,33 @@
+# $OpenBSD: Makefile,v 1.1 2018/10/04 11:43:29 patrick Exp $
+
+LIB= lldbExpression
+NOPIC=
+NOPROFILE=
+
+.include <bsd.own.mk>
+
+SRCS= DiagnosticManager.cpp \
+ DWARFExpression.cpp \
+ Expression.cpp \
+ ExpressionSourceCode.cpp \
+ ExpressionVariable.cpp \
+ FunctionCaller.cpp \
+ IRDynamicChecks.cpp \
+ IRExecutionUnit.cpp \
+ IRInterpreter.cpp \
+ IRMemoryMap.cpp \
+ LLVMUserExpression.cpp \
+ Materializer.cpp \
+ REPL.cpp \
+ UserExpression.cpp \
+ UtilityFunction.cpp \
+
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Expression
+
+install:
+ @# Nothing here so far ...
+
+.include <bsd.lib.mk>
+
+CPPFLAGS+= ${LLDB_INCLUDES}
+CPPFLAGS+= ${CLANG_INCLUDES}
diff --git a/gnu/usr.bin/clang/liblldbHostCommon/Makefile b/gnu/usr.bin/clang/liblldbHostCommon/Makefile
new file mode 100644
index 00000000000..4e3bcda7ff0
--- /dev/null
+++ b/gnu/usr.bin/clang/liblldbHostCommon/Makefile
@@ -0,0 +1,51 @@
+# $OpenBSD: Makefile,v 1.1 2018/10/04 11:43:29 patrick Exp $
+
+LIB= lldbHostCommon
+NOPIC=
+NOPROFILE=
+
+.include <bsd.own.mk>
+SRCS= Editline.cpp \
+ File.cpp \
+ FileCache.cpp \
+ FileSystem.cpp \
+ GetOptInc.cpp \
+ Host.cpp \
+ HostInfoBase.cpp \
+ HostNativeThreadBase.cpp \
+ HostProcess.cpp \
+ HostThread.cpp \
+ LockFileBase.cpp \
+ MainLoop.cpp \
+ MonitoringProcessLauncher.cpp \
+ NativeBreakpoint.cpp \
+ NativeBreakpointList.cpp \
+ NativeWatchpointList.cpp \
+ NativeProcessProtocol.cpp \
+ NativeRegisterContext.cpp \
+ NativeThreadProtocol.cpp \
+ OptionParser.cpp \
+ PipeBase.cpp \
+ ProcessRunLock.cpp \
+ PseudoTerminal.cpp \
+ Socket.cpp \
+ SocketAddress.cpp \
+ SoftwareBreakpoint.cpp \
+ StringConvert.cpp \
+ Symbols.cpp \
+ TaskPool.cpp \
+ TCPSocket.cpp \
+ Terminal.cpp \
+ ThreadLauncher.cpp \
+ XML.cpp \
+ UDPSocket.cpp \
+
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Host/common
+
+install:
+ @# Nothing here so far ...
+
+.include <bsd.lib.mk>
+
+CPPFLAGS+= ${LLDB_INCLUDES}
+CPPFLAGS+= ${CLANG_INCLUDES}
diff --git a/gnu/usr.bin/clang/liblldbHostOpenBSD/Makefile b/gnu/usr.bin/clang/liblldbHostOpenBSD/Makefile
new file mode 100644
index 00000000000..3f27f3ee5a0
--- /dev/null
+++ b/gnu/usr.bin/clang/liblldbHostOpenBSD/Makefile
@@ -0,0 +1,20 @@
+# $OpenBSD: Makefile,v 1.1 2018/10/04 11:43:29 patrick Exp $
+
+LIB= lldbHostOpenBSD
+NOPIC=
+NOPROFILE=
+
+.include <bsd.own.mk>
+
+SRCS= Host.cpp \
+ HostInfoOpenBSD.cpp
+
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Host/openbsd
+
+install:
+ @# Nothing here so far ...
+
+.include <bsd.lib.mk>
+
+CPPFLAGS+= ${LLDB_INCLUDES}
+CPPFLAGS+= ${CLANG_INCLUDES}
diff --git a/gnu/usr.bin/clang/liblldbHostPOSIX/Makefile b/gnu/usr.bin/clang/liblldbHostPOSIX/Makefile
new file mode 100644
index 00000000000..3497ddf0531
--- /dev/null
+++ b/gnu/usr.bin/clang/liblldbHostPOSIX/Makefile
@@ -0,0 +1,26 @@
+# $OpenBSD: Makefile,v 1.1 2018/10/04 11:43:29 patrick Exp $
+
+LIB= lldbHostPOSIX
+NOPIC=
+NOPROFILE=
+
+.include <bsd.own.mk>
+SRCS= ConnectionFileDescriptorPosix.cpp \
+ DomainSocket.cpp \
+ FileSystem.cpp \
+ HostInfoPosix.cpp \
+ HostProcessPosix.cpp \
+ HostThreadPosix.cpp \
+ LockFilePosix.cpp \
+ PipePosix.cpp \
+ ProcessLauncherPosixFork.cpp \
+
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Host/posix
+
+install:
+ @# Nothing here so far ...
+
+.include <bsd.lib.mk>
+
+CPPFLAGS+= ${LLDB_INCLUDES}
+CPPFLAGS+= ${CLANG_INCLUDES}
diff --git a/gnu/usr.bin/clang/liblldbInitialization/Makefile b/gnu/usr.bin/clang/liblldbInitialization/Makefile
new file mode 100644
index 00000000000..9f96a2cd3ca
--- /dev/null
+++ b/gnu/usr.bin/clang/liblldbInitialization/Makefile
@@ -0,0 +1,20 @@
+# $OpenBSD: Makefile,v 1.1 2018/10/04 11:43:29 patrick Exp $
+
+LIB= lldbInitialization
+NOPIC=
+NOPROFILE=
+
+.include <bsd.own.mk>
+SRCS= SystemInitializerCommon.cpp \
+ SystemInitializer.cpp \
+ SystemLifetimeManager.cpp \
+
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Initialization
+
+install:
+ @# Nothing here so far ...
+
+.include <bsd.lib.mk>
+
+CPPFLAGS+= ${LLDB_INCLUDES}
+CPPFLAGS+= ${CLANG_INCLUDES}
diff --git a/gnu/usr.bin/clang/liblldbInterpreter/Makefile b/gnu/usr.bin/clang/liblldbInterpreter/Makefile
new file mode 100644
index 00000000000..32304ed5175
--- /dev/null
+++ b/gnu/usr.bin/clang/liblldbInterpreter/Makefile
@@ -0,0 +1,61 @@
+# $OpenBSD: Makefile,v 1.1 2018/10/04 11:43:29 patrick Exp $
+
+LIB= lldbInterpreter
+NOPIC=
+NOPROFILE=
+
+.include <bsd.own.mk>
+SRCS= Args.cpp \
+ CommandAlias.cpp \
+ CommandHistory.cpp \
+ CommandInterpreter.cpp \
+ CommandObject.cpp \
+ CommandObjectRegexCommand.cpp \
+ CommandObjectScript.cpp \
+ CommandOptionValidators.cpp \
+ CommandReturnObject.cpp \
+ OptionGroupArchitecture.cpp \
+ OptionGroupBoolean.cpp \
+ OptionGroupFile.cpp \
+ OptionGroupFormat.cpp \
+ OptionGroupOutputFile.cpp \
+ OptionGroupPlatform.cpp \
+ OptionGroupString.cpp \
+ OptionGroupUInt64.cpp \
+ OptionGroupUUID.cpp \
+ OptionGroupValueObjectDisplay.cpp \
+ OptionValue.cpp \
+ OptionValueArch.cpp \
+ OptionValueArgs.cpp \
+ OptionValueArray.cpp \
+ OptionValueBoolean.cpp \
+ OptionValueChar.cpp \
+ OptionValueDictionary.cpp \
+ OptionValueEnumeration.cpp \
+ OptionValueFileSpec.cpp \
+ OptionValueFileSpecLIst.cpp \
+ OptionValueFormat.cpp \
+ OptionValueFormatEntity.cpp \
+ OptionValueLanguage.cpp \
+ OptionValuePathMappings.cpp \
+ OptionValueProperties.cpp \
+ OptionValueRegex.cpp \
+ OptionValueSInt64.cpp \
+ OptionValueString.cpp \
+ OptionValueUInt64.cpp \
+ OptionValueUUID.cpp \
+ OptionGroupVariable.cpp \
+ OptionGroupWatchpoint.cpp \
+ Options.cpp \
+ Property.cpp \
+ ScriptInterpreter.cpp \
+
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Interpreter
+
+install:
+ @# Nothing here so far ...
+
+.include <bsd.lib.mk>
+
+CPPFLAGS+= ${LLDB_INCLUDES}
+CPPFLAGS+= ${CLANG_INCLUDES}
diff --git a/gnu/usr.bin/clang/liblldbPluginArchitecture/Makefile b/gnu/usr.bin/clang/liblldbPluginArchitecture/Makefile
new file mode 100644
index 00000000000..07179352516
--- /dev/null
+++ b/gnu/usr.bin/clang/liblldbPluginArchitecture/Makefile
@@ -0,0 +1,18 @@
+# $OpenBSD: Makefile,v 1.1 2018/10/04 11:43:29 patrick Exp $
+
+LIB= lldbPluginArchitecture
+NOPIC=
+NOPROFILE=
+
+.include <bsd.own.mk>
+SRCS= ArchitectureArm.cpp
+
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/Architecture/Arm
+
+install:
+ @# Nothing here so far ...
+
+.include <bsd.lib.mk>
+
+CPPFLAGS+= ${LLDB_INCLUDES}
+CPPFLAGS+= ${CLANG_INCLUDES}
diff --git a/gnu/usr.bin/clang/liblldbPluginDisassembler/Makefile b/gnu/usr.bin/clang/liblldbPluginDisassembler/Makefile
new file mode 100644
index 00000000000..9e196abcb20
--- /dev/null
+++ b/gnu/usr.bin/clang/liblldbPluginDisassembler/Makefile
@@ -0,0 +1,18 @@
+# $OpenBSD: Makefile,v 1.1 2018/10/04 11:43:29 patrick Exp $
+
+LIB= lldbPluginDisassembler
+NOPIC=
+NOPROFILE=
+
+.include <bsd.own.mk>
+SRCS= DisassemblerLLVMC.cpp
+
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/Disassembler/llvm
+
+install:
+ @# Nothing here so far ...
+
+.include <bsd.lib.mk>
+
+CPPFLAGS+= ${LLDB_INCLUDES}
+CPPFLAGS+= ${CLANG_INCLUDES}
diff --git a/gnu/usr.bin/clang/liblldbPluginDynamicLoader/Makefile b/gnu/usr.bin/clang/liblldbPluginDynamicLoader/Makefile
new file mode 100644
index 00000000000..d6142835fab
--- /dev/null
+++ b/gnu/usr.bin/clang/liblldbPluginDynamicLoader/Makefile
@@ -0,0 +1,31 @@
+# $OpenBSD: Makefile,v 1.1 2018/10/04 11:43:29 patrick Exp $
+
+LIB= lldbPluginDynamicLoader
+NOPIC=
+NOPROFILE=
+
+.include <bsd.own.mk>
+SRCS= AuxVector.cpp \
+ DYLDRendezvous.cpp \
+ DynamicLoaderDarwin.cpp \
+ DynamicLoaderHexagonDYLD.cpp \
+ DynamicLoaderMacOS.cpp \
+ DynamicLoaderMacOSXDYLD.cpp \
+ DynamicLoaderPOSIXDYLD.cpp \
+ DynamicLoaderStatic.cpp \
+ DynamicLoaderWindowsDYLD.cpp \
+ HexagonDYLDRendezvous.cpp \
+
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/DynamicLoader/Hexagon-DYLD
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/DynamicLoader/POSIX-DYLD
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/DynamicLoader/Static
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/DynamicLoader/Windows-DYLD
+
+install:
+ @# Nothing here so far ...
+
+.include <bsd.lib.mk>
+
+CPPFLAGS+= ${LLDB_INCLUDES}
+CPPFLAGS+= ${CLANG_INCLUDES}
diff --git a/gnu/usr.bin/clang/liblldbPluginExpressionParser/Makefile b/gnu/usr.bin/clang/liblldbPluginExpressionParser/Makefile
new file mode 100644
index 00000000000..a3a186b37e2
--- /dev/null
+++ b/gnu/usr.bin/clang/liblldbPluginExpressionParser/Makefile
@@ -0,0 +1,34 @@
+# $OpenBSD: Makefile,v 1.1 2018/10/04 11:43:29 patrick Exp $
+
+LIB= lldbPluginExpressionParser
+NOPIC=
+NOPROFILE=
+
+.include <bsd.own.mk>
+SRCS= ASTDumper.cpp \
+ ASTResultSynthesizer.cpp \
+ ASTStructExtractor.cpp \
+ ClangASTSource.cpp \
+ ClangExpressionDeclMap.cpp \
+ ClangExpressionParser.cpp \
+ ClangExpressionVariable.cpp \
+ ClangFunctionCaller.cpp \
+ ClangModulesDeclVendor.cpp \
+ ClangPersistentVariables.cpp \
+ ClangUserExpression.cpp \
+ ClangUtilityFunction.cpp \
+ GoLexer.cpp \
+ GoParser.cpp \
+ GoUserExpression.cpp \
+ IRForTarget.cpp \
+
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/ExpressionParser/Clang
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/ExpressionParser/Go
+
+install:
+ @# Nothing here so far ...
+
+.include <bsd.lib.mk>
+
+CPPFLAGS+= ${LLDB_INCLUDES}
+CPPFLAGS+= ${CLANG_INCLUDES}
diff --git a/gnu/usr.bin/clang/liblldbPluginInstruction/Makefile b/gnu/usr.bin/clang/liblldbPluginInstruction/Makefile
new file mode 100644
index 00000000000..91be390671b
--- /dev/null
+++ b/gnu/usr.bin/clang/liblldbPluginInstruction/Makefile
@@ -0,0 +1,25 @@
+# $OpenBSD: Makefile,v 1.1 2018/10/04 11:43:29 patrick Exp $
+
+LIB= lldbPluginInstruction
+NOPIC=
+NOPROFILE=
+
+.include <bsd.own.mk>
+SRCS= EmulateInstructionARM.cpp \
+ EmulateInstructionARM64.cpp \
+ EmulateInstructionMIPS.cpp \
+ EmulateInstructionMIPS64.cpp \
+ EmulationStateARM.cpp \
+
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/Instruction/ARM
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/Instruction/ARM64
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/Instruction/MIPS
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/Instruction/MIPS64
+
+install:
+ @# Nothing here so far ...
+
+.include <bsd.lib.mk>
+
+CPPFLAGS+= ${LLDB_INCLUDES}
+CPPFLAGS+= ${CLANG_INCLUDES}
diff --git a/gnu/usr.bin/clang/liblldbPluginInstrumentationRuntime/Makefile b/gnu/usr.bin/clang/liblldbPluginInstrumentationRuntime/Makefile
new file mode 100644
index 00000000000..8dd18140985
--- /dev/null
+++ b/gnu/usr.bin/clang/liblldbPluginInstrumentationRuntime/Makefile
@@ -0,0 +1,24 @@
+# $OpenBSD: Makefile,v 1.1 2018/10/04 11:43:29 patrick Exp $
+
+LIB= lldbPluginInstrumentationRuntime
+NOPIC=
+NOPROFILE=
+
+.include <bsd.own.mk>
+SRCS= ASanRuntime.cpp \
+ MainThreadCheckerRuntime.cpp \
+ TSanRuntime.cpp \
+ UBSanRuntime.cpp \
+
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/InstrumentationRuntime/ASan
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/InstrumentationRuntime/MainThreadChecker
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/InstrumentationRuntime/TSan
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/InstrumentationRuntime/UBSan
+
+install:
+ @# Nothing here so far ...
+
+.include <bsd.lib.mk>
+
+CPPFLAGS+= ${LLDB_INCLUDES}
+CPPFLAGS+= ${CLANG_INCLUDES}
diff --git a/gnu/usr.bin/clang/liblldbPluginJITLoader/Makefile b/gnu/usr.bin/clang/liblldbPluginJITLoader/Makefile
new file mode 100644
index 00000000000..494466a5396
--- /dev/null
+++ b/gnu/usr.bin/clang/liblldbPluginJITLoader/Makefile
@@ -0,0 +1,18 @@
+# $OpenBSD: Makefile,v 1.1 2018/10/04 11:43:29 patrick Exp $
+
+LIB= lldbPluginJITLoader
+NOPIC=
+NOPROFILE=
+
+.include <bsd.own.mk>
+SRCS= JITLoaderGDB.cpp
+
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/JITLoader/GDB
+
+install:
+ @# Nothing here so far ...
+
+.include <bsd.lib.mk>
+
+CPPFLAGS+= ${LLDB_INCLUDES}
+CPPFLAGS+= ${CLANG_INCLUDES}
diff --git a/gnu/usr.bin/clang/liblldbPluginLanguage/Makefile b/gnu/usr.bin/clang/liblldbPluginLanguage/Makefile
new file mode 100644
index 00000000000..ad5b9c92d9f
--- /dev/null
+++ b/gnu/usr.bin/clang/liblldbPluginLanguage/Makefile
@@ -0,0 +1,57 @@
+# $OpenBSD: Makefile,v 1.1 2018/10/04 11:43:29 patrick Exp $
+
+LIB= lldbPluginLanguage
+NOPIC=
+NOPROFILE=
+
+.include <bsd.own.mk>
+SRCS= BlockPointer.cpp \
+ CF.cpp \
+ CPlusPlusLanguage.cpp \
+ CPlusPlusNameParser.cpp \
+ Cocoa.cpp \
+ CoreMedia.cpp \
+ CxxStringTypes.cpp \
+ GoFormatterFunctions.cpp \
+ GoLanguage.cpp \
+ JavaFormatterFunctions.cpp \
+ JavaLanguage.cpp \
+ LibCxx.cpp \
+ LibCxxAtomic.cpp \
+ LibCxxBitset.cpp \
+ LibCxxInitializerList.cpp \
+ LibCxxList.cpp \
+ LibCxxMap.cpp \
+ LibCxxQueue.cpp \
+ LibCxxTuple.cpp \
+ LibCxxUnorderedMap.cpp \
+ LibCxxVector.cpp \
+ LibStdcpp.cpp \
+ LibStdcpp.h \
+ LibStdcppTuple.cpp \
+ LibStdcppUniquePointer.cpp \
+ NSArray.cpp \
+ NSDictionary.cpp \
+ NSError.cpp \
+ NSException.cpp \
+ NSIndexPath.cpp \
+ NSSet.cpp \
+ NSString.cpp \
+ OCamlLanguage.cpp \
+ ObjCLanguage.cpp \
+ ObjCPlusPlusLanguage.cpp \
+
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/Language/CPlusPlus
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/Language/Go
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/Language/Java
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/Language/ObjC
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/Language/ObjCPlusPlus
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/Language/OCaml
+
+install:
+ @# Nothing here so far ...
+
+.include <bsd.lib.mk>
+
+CPPFLAGS+= ${LLDB_INCLUDES}
+CPPFLAGS+= ${CLANG_INCLUDES}
diff --git a/gnu/usr.bin/clang/liblldbPluginLanguageRuntime/Makefile b/gnu/usr.bin/clang/liblldbPluginLanguageRuntime/Makefile
new file mode 100644
index 00000000000..108c1eab903
--- /dev/null
+++ b/gnu/usr.bin/clang/liblldbPluginLanguageRuntime/Makefile
@@ -0,0 +1,36 @@
+# $OpenBSD: Makefile,v 1.1 2018/10/04 11:43:29 patrick Exp $
+
+LIB= lldbPluginLanguageRuntime
+NOPIC=
+NOPROFILE=
+
+.include <bsd.own.mk>
+SRCS= AppleObjCClassDescriptorV2.cpp \
+ AppleObjCDeclVendor.cpp \
+ AppleObjCRuntime.cpp \
+ AppleObjCRuntimeV1.cpp \
+ AppleObjCRuntimeV2.cpp \
+ AppleObjCTrampolineHandler.cpp \
+ AppleObjCTypeEncodingParser.cpp \
+ AppleThreadPlanStepThroughObjCTrampoline.cpp \
+ GoLanguageRuntime.cpp \
+ ItaniumABILanguageRuntime.cpp \
+ JavaLanguageRuntime.cpp \
+ RenderScriptExpressionOpts.cpp \
+ RenderScriptRuntime.cpp \
+ RenderScriptScriptGroup.cpp \
+ RenderScriptx86ABIFixups.cpp \
+
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/LanguageRuntime/Go
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/LanguageRuntime/Java
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime
+
+install:
+ @# Nothing here so far ...
+
+.include <bsd.lib.mk>
+
+CPPFLAGS+= ${LLDB_INCLUDES}
+CPPFLAGS+= ${CLANG_INCLUDES}
diff --git a/gnu/usr.bin/clang/liblldbPluginMemoryHistory/Makefile b/gnu/usr.bin/clang/liblldbPluginMemoryHistory/Makefile
new file mode 100644
index 00000000000..87002cab519
--- /dev/null
+++ b/gnu/usr.bin/clang/liblldbPluginMemoryHistory/Makefile
@@ -0,0 +1,18 @@
+# $OpenBSD: Makefile,v 1.1 2018/10/04 11:43:29 patrick Exp $
+
+LIB= lldbPluginMemoryHistory
+NOPIC=
+NOPROFILE=
+
+.include <bsd.own.mk>
+SRCS= MemoryHistoryASan.cpp
+
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/MemoryHistory/asan
+
+install:
+ @# Nothing here so far ...
+
+.include <bsd.lib.mk>
+
+CPPFLAGS+= ${LLDB_INCLUDES}
+CPPFLAGS+= ${CLANG_INCLUDES}
diff --git a/gnu/usr.bin/clang/liblldbPluginObjectContainer/Makefile b/gnu/usr.bin/clang/liblldbPluginObjectContainer/Makefile
new file mode 100644
index 00000000000..36a33b2634e
--- /dev/null
+++ b/gnu/usr.bin/clang/liblldbPluginObjectContainer/Makefile
@@ -0,0 +1,20 @@
+# $OpenBSD: Makefile,v 1.1 2018/10/04 11:43:29 patrick Exp $
+
+LIB= lldbPluginObjectContainer
+NOPIC=
+NOPROFILE=
+
+.include <bsd.own.mk>
+SRCS= ObjectContainerBSDArchive.cpp \
+ ObjectContainerUniversalMachO.cpp \
+
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/ObjectContainer/BSD-Archive
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/ObjectContainer/Universal-Mach-O
+
+install:
+ @# Nothing here so far ...
+
+.include <bsd.lib.mk>
+
+CPPFLAGS+= ${LLDB_INCLUDES}
+CPPFLAGS+= ${CLANG_INCLUDES}
diff --git a/gnu/usr.bin/clang/liblldbPluginObjectFile/Makefile b/gnu/usr.bin/clang/liblldbPluginObjectFile/Makefile
new file mode 100644
index 00000000000..9a27b07c68f
--- /dev/null
+++ b/gnu/usr.bin/clang/liblldbPluginObjectFile/Makefile
@@ -0,0 +1,26 @@
+# $OpenBSD: Makefile,v 1.1 2018/10/04 11:43:29 patrick Exp $
+
+LIB= lldbPluginObjectFile
+NOPIC=
+NOPROFILE=
+
+.include <bsd.own.mk>
+SRCS= ELFHeader.cpp \
+ ObjectFileELF.cpp \
+ ObjectFileJIT.cpp \
+ ObjectFileMachO.cpp \
+ ObjectFilePECOFF.cpp \
+ WindowsMiniDump.cpp \
+
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/ObjectFile/ELF
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/ObjectFile/JIT
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/ObjectFile/Mach-O
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/ObjectFile/PECOFF
+
+install:
+ @# Nothing here so far ...
+
+.include <bsd.lib.mk>
+
+CPPFLAGS+= ${LLDB_INCLUDES}
+CPPFLAGS+= ${CLANG_INCLUDES}
diff --git a/gnu/usr.bin/clang/liblldbPluginOperatingSystem/Makefile b/gnu/usr.bin/clang/liblldbPluginOperatingSystem/Makefile
new file mode 100644
index 00000000000..a53e137a504
--- /dev/null
+++ b/gnu/usr.bin/clang/liblldbPluginOperatingSystem/Makefile
@@ -0,0 +1,20 @@
+# $OpenBSD: Makefile,v 1.1 2018/10/04 11:43:29 patrick Exp $
+
+LIB= lldbPluginOperatingSystem
+NOPIC=
+NOPROFILE=
+
+.include <bsd.own.mk>
+SRCS= OperatingSystemGo.cpp \
+ OperatingSystemPython.cpp \
+
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/OperatingSystem/Go
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/OperatingSystem/Python
+
+install:
+ @# Nothing here so far ...
+
+.include <bsd.lib.mk>
+
+CPPFLAGS+= ${LLDB_INCLUDES}
+CPPFLAGS+= ${CLANG_INCLUDES}
diff --git a/gnu/usr.bin/clang/liblldbPluginPlatform/Makefile b/gnu/usr.bin/clang/liblldbPluginPlatform/Makefile
new file mode 100644
index 00000000000..910636c7373
--- /dev/null
+++ b/gnu/usr.bin/clang/liblldbPluginPlatform/Makefile
@@ -0,0 +1,48 @@
+# $OpenBSD: Makefile,v 1.1 2018/10/04 11:43:29 patrick Exp $
+
+LIB= lldbPluginPlatform
+NOPIC=
+NOPROFILE=
+
+.include <bsd.own.mk>
+SRCS= AdbClient.cpp \
+ PlatformAndroid.cpp \
+ PlatformAndroidRemoteGDBServer.cpp \
+ PlatformAppleSimulator.cpp \
+ PlatformAppleTVSimulator.cpp \
+ PlatformAppleWatchSimulator.cpp \
+ PlatformDarwin.cpp \
+ PlatformDarwinKernel.cpp \
+ PlatformFreeBSD.cpp \
+ PlatformKalimba.cpp \
+ PlatformLinux.cpp \
+ PlatformMacOSX.cpp \
+ PlatformNetBSD.cpp \
+ PlatformOpenBSD.cpp \
+ PlatformPOSIX.cpp \
+ PlatformRemoteAppleTV.cpp \
+ PlatformRemoteAppleWatch.cpp \
+ PlatformRemoteDarwinDevice.cpp \
+ PlatformRemoteGDBServer.cpp \
+ PlatformRemoteiOS.cpp \
+ PlatformWindows.cpp \
+ PlatformiOSSimulator.cpp \
+
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/Platform/Android
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/Platform/FreeBSD
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/Platform/Kalimba
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/Platform/Linux
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/Platform/MacOSX
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/Platform/NetBSD
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/Platform/OpenBSD
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/Platform/POSIX
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/Platform/Windows
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/Platform/gdb-server
+
+install:
+ @# Nothing here so far ...
+
+.include <bsd.lib.mk>
+
+CPPFLAGS+= ${LLDB_INCLUDES}
+CPPFLAGS+= ${CLANG_INCLUDES}
diff --git a/gnu/usr.bin/clang/liblldbPluginProcess/Makefile b/gnu/usr.bin/clang/liblldbPluginProcess/Makefile
new file mode 100644
index 00000000000..9d3338a76cc
--- /dev/null
+++ b/gnu/usr.bin/clang/liblldbPluginProcess/Makefile
@@ -0,0 +1,96 @@
+# $OpenBSD: Makefile,v 1.1 2018/10/04 11:43:29 patrick Exp $
+
+LIB= lldbPluginProcess
+NOPIC=
+NOPROFILE=
+
+.include <bsd.own.mk>
+SRCS= DynamicRegisterInfo.cpp \
+ FreeBSDSignals.cpp \
+ GDBRemoteClientBase.cpp \
+ GDBRemoteCommunication.cpp \
+ GDBRemoteCommunicationClient.cpp \
+ GDBRemoteCommunicationServer.cpp \
+ GDBRemoteCommunicationServerCommon.cpp \
+ GDBRemoteCommunicationServerLLGS.cpp \
+ GDBRemoteCommunicationServerPlatform.cpp \
+ GDBRemoteRegisterContext.cpp \
+ GDBRemoteSignals.cpp \
+ HistoryThread.cpp \
+ HistoryUnwind.cpp \
+ InferiorCallPOSIX.cpp \
+ LinuxSignals.cpp \
+ MinidumpParser.cpp \
+ MinidumpTypes.cpp \
+ MipsLinuxSignals.cpp \
+ NativeRegisterContextRegisterInfo.cpp \
+ NetBSDSignals.cpp \
+ ProcessElfCore.cpp \
+ ProcessGDBRemote.cpp \
+ ProcessGDBRemoteLog.cpp \
+ ProcessMinidump.cpp \
+ RegisterContextDarwin_arm.cpp \
+ RegisterContextDarwin_arm64.cpp \
+ RegisterContextDarwin_i386.cpp \
+ RegisterContextDarwin_x86_64.cpp \
+ RegisterContextDummy.cpp \
+ RegisterContextFreeBSD_i386.cpp \
+ RegisterContextFreeBSD_mips64.cpp \
+ RegisterContextFreeBSD_powerpc.cpp \
+ RegisterContextFreeBSD_x86_64.cpp \
+ RegisterContextHistory.cpp \
+ RegisterContextLLDB.cpp \
+ RegisterContextLinux_i386.cpp \
+ RegisterContextLinux_mips.cpp \
+ RegisterContextLinux_mips64.cpp \
+ RegisterContextLinux_s390x.cpp \
+ RegisterContextLinux_x86_64.cpp \
+ RegisterContextMacOSXFrameBackchain.cpp \
+ RegisterContextMach_arm.cpp \
+ RegisterContextMach_i386.cpp \
+ RegisterContextMach_x86_64.cpp \
+ RegisterContextMemory.cpp \
+ RegisterContextMinidump_x86_32.cpp \
+ RegisterContextMinidump_x86_64.cpp \
+ RegisterContextNetBSD_x86_64.cpp \
+ RegisterContextOpenBSD_i386.cpp \
+ RegisterContextOpenBSD_x86_64.cpp \
+ RegisterContextPOSIXCore_arm.cpp \
+ RegisterContextPOSIXCore_arm64.cpp \
+ RegisterContextPOSIXCore_mips64.cpp \
+ RegisterContextPOSIXCore_powerpc.cpp \
+ RegisterContextPOSIXCore_ppc64le.cpp \
+ RegisterContextPOSIXCore_s390x.cpp \
+ RegisterContextPOSIXCore_x86_64.cpp \
+ RegisterContextPOSIX_arm.cpp \
+ RegisterContextPOSIX_arm64.cpp \
+ RegisterContextPOSIX_mips64.cpp \
+ RegisterContextPOSIX_powerpc.cpp \
+ RegisterContextPOSIX_ppc64le.cpp \
+ RegisterContextPOSIX_s390x.cpp \
+ RegisterContextPOSIX_x86.cpp \
+ RegisterContextThreadMemory.cpp \
+ RegisterInfoPOSIX_arm.cpp \
+ RegisterInfoPOSIX_arm64.cpp \
+ RegisterInfoPOSIX_ppc64le.cpp \
+ RegisterUtilities.cpp \
+ StopInfoMachException.cpp \
+ ThreadElfCore.cpp \
+ ThreadGDBRemote.cpp \
+ ThreadMemory.cpp \
+ ThreadMinidump.cpp \
+ UnwindLLDB.cpp \
+ UnwindMacOSXFrameBackchain.cpp \
+
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/Process/Utility
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/Process/elf-core
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/Process/gdb-remote
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/Process/minidump
+
+install:
+ @# Nothing here so far ...
+
+.include <bsd.lib.mk>
+
+CPPFLAGS+= ${LLDB_INCLUDES}
+CPPFLAGS+= ${CLANG_INCLUDES}
diff --git a/gnu/usr.bin/clang/liblldbPluginScriptInterpreter/Makefile b/gnu/usr.bin/clang/liblldbPluginScriptInterpreter/Makefile
new file mode 100644
index 00000000000..a5e937c1898
--- /dev/null
+++ b/gnu/usr.bin/clang/liblldbPluginScriptInterpreter/Makefile
@@ -0,0 +1,18 @@
+# $OpenBSD: Makefile,v 1.1 2018/10/04 11:43:29 patrick Exp $
+
+LIB= lldbPluginScriptInterpreter
+NOPIC=
+NOPROFILE=
+
+.include <bsd.own.mk>
+SRCS= ScriptInterpreterNone.cpp
+
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/ScriptInterpreter/None
+
+install:
+ @# Nothing here so far ...
+
+.include <bsd.lib.mk>
+
+CPPFLAGS+= ${LLDB_INCLUDES}
+CPPFLAGS+= ${CLANG_INCLUDES}
diff --git a/gnu/usr.bin/clang/liblldbPluginStructuredData/Makefile b/gnu/usr.bin/clang/liblldbPluginStructuredData/Makefile
new file mode 100644
index 00000000000..6d4474db466
--- /dev/null
+++ b/gnu/usr.bin/clang/liblldbPluginStructuredData/Makefile
@@ -0,0 +1,18 @@
+# $OpenBSD: Makefile,v 1.1 2018/10/04 11:43:29 patrick Exp $
+
+LIB= lldbPluginStructuredData
+NOPIC=
+NOPROFILE=
+
+.include <bsd.own.mk>
+SRCS= StructuredDataDarwinLog.cpp
+
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/StructuredData/DarwinLog
+
+install:
+ @# Nothing here so far ...
+
+.include <bsd.lib.mk>
+
+CPPFLAGS+= ${LLDB_INCLUDES}
+CPPFLAGS+= ${CLANG_INCLUDES}
diff --git a/gnu/usr.bin/clang/liblldbPluginSymbolFile/Makefile b/gnu/usr.bin/clang/liblldbPluginSymbolFile/Makefile
new file mode 100644
index 00000000000..91ecc0cb485
--- /dev/null
+++ b/gnu/usr.bin/clang/liblldbPluginSymbolFile/Makefile
@@ -0,0 +1,57 @@
+# $OpenBSD: Makefile,v 1.1 2018/10/04 11:43:29 patrick Exp $
+
+LIB= lldbPluginSymbolFile
+NOPIC=
+NOPROFILE=
+
+.include <bsd.own.mk>
+SRCS= DIERef.cpp \
+ DWARFASTParserClang.cpp \
+ DWARFASTParserGo.cpp \
+ DWARFASTParserJava.cpp \
+ DWARFASTParserOCaml.cpp \
+ DWARFAbbreviationDeclaration.cpp \
+ DWARFAttribute.cpp \
+ DWARFCompileUnit.cpp \
+ DWARFDIE.cpp \
+ DWARFDIECollection.cpp \
+ DWARFDataExtractor.cpp \
+ DWARFDebugAbbrev.cpp \
+ DWARFDebugArangeSet.cpp \
+ DWARFDebugAranges.cpp \
+ DWARFDebugInfo.cpp \
+ DWARFDebugInfoEntry.cpp \
+ DWARFDebugLine.cpp \
+ DWARFDebugMacinfo.cpp \
+ DWARFDebugMacinfoEntry.cpp \
+ DWARFDebugMacro.cpp \
+ DWARFDebugPubnames.cpp \
+ DWARFDebugPubnamesSet.cpp \
+ DWARFDebugRanges.cpp \
+ DWARFDeclContext.cpp \
+ DWARFDefines.cpp \
+ DWARFFormValue.cpp \
+ HashedNameToDIE.cpp \
+ LogChannelDWARF.cpp \
+ NameToDIE.cpp \
+ PDBASTParser.cpp \
+ SymbolFileDWARF.cpp \
+ SymbolFileDWARFDebugMap.cpp \
+ SymbolFileDWARFDwo.cpp \
+ SymbolFileDWARFDwoDwp.cpp \
+ SymbolFileDWARFDwp.cpp \
+ SymbolFilePDB.cpp \
+ SymbolFileSymtab.cpp \
+ UniqueDWARFASTType.cpp \
+
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/SymbolFile/DWARF
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/SymbolFile/PDB
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/SymbolFile/Symtab
+
+install:
+ @# Nothing here so far ...
+
+.include <bsd.lib.mk>
+
+CPPFLAGS+= ${LLDB_INCLUDES}
+CPPFLAGS+= ${CLANG_INCLUDES}
diff --git a/gnu/usr.bin/clang/liblldbPluginSymbolVendor/Makefile b/gnu/usr.bin/clang/liblldbPluginSymbolVendor/Makefile
new file mode 100644
index 00000000000..66809a0ef3f
--- /dev/null
+++ b/gnu/usr.bin/clang/liblldbPluginSymbolVendor/Makefile
@@ -0,0 +1,18 @@
+# $OpenBSD: Makefile,v 1.1 2018/10/04 11:43:29 patrick Exp $
+
+LIB= lldbPluginSymbolVendor
+NOPIC=
+NOPROFILE=
+
+.include <bsd.own.mk>
+SRCS= SymbolVendorELF.cpp
+
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/SymbolVendor/ELF
+
+install:
+ @# Nothing here so far ...
+
+.include <bsd.lib.mk>
+
+CPPFLAGS+= ${LLDB_INCLUDES}
+CPPFLAGS+= ${CLANG_INCLUDES}
diff --git a/gnu/usr.bin/clang/liblldbPluginSystemRuntime/Makefile b/gnu/usr.bin/clang/liblldbPluginSystemRuntime/Makefile
new file mode 100644
index 00000000000..2ed46b912d8
--- /dev/null
+++ b/gnu/usr.bin/clang/liblldbPluginSystemRuntime/Makefile
@@ -0,0 +1,22 @@
+# $OpenBSD: Makefile,v 1.1 2018/10/04 11:43:29 patrick Exp $
+
+LIB= lldbPluginSystemRuntime
+NOPIC=
+NOPROFILE=
+
+.include <bsd.own.mk>
+SRCS= AppleGetItemInfoHandler.cpp \
+ AppleGetPendingItemsHandler.cpp \
+ AppleGetQueuesHandler.cpp \
+ AppleGetThreadItemInfoHandler.cpp \
+ SystemRuntimeMacOSX.cpp \
+
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/SystemRuntime/MacOSX
+
+install:
+ @# Nothing here so far ...
+
+.include <bsd.lib.mk>
+
+CPPFLAGS+= ${LLDB_INCLUDES}
+CPPFLAGS+= ${CLANG_INCLUDES}
diff --git a/gnu/usr.bin/clang/liblldbPluginUnwindAssembly/Makefile b/gnu/usr.bin/clang/liblldbPluginUnwindAssembly/Makefile
new file mode 100644
index 00000000000..8510b8c60b4
--- /dev/null
+++ b/gnu/usr.bin/clang/liblldbPluginUnwindAssembly/Makefile
@@ -0,0 +1,21 @@
+# $OpenBSD: Makefile,v 1.1 2018/10/04 11:43:29 patrick Exp $
+
+LIB= lldbPluginUnwindAssembly
+NOPIC=
+NOPROFILE=
+
+.include <bsd.own.mk>
+SRCS= UnwindAssembly-x86.cpp \
+ UnwindAssemblyInstEmulation.cpp \
+ x86AssemblyInspectionEngine.cpp \
+
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/UnwindAssembly/InstEmulation
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/UnwindAssembly/x86
+
+install:
+ @# Nothing here so far ...
+
+.include <bsd.lib.mk>
+
+CPPFLAGS+= ${LLDB_INCLUDES}
+CPPFLAGS+= ${CLANG_INCLUDES}
diff --git a/gnu/usr.bin/clang/liblldbSymbol/Makefile b/gnu/usr.bin/clang/liblldbSymbol/Makefile
new file mode 100644
index 00000000000..d304fed07bf
--- /dev/null
+++ b/gnu/usr.bin/clang/liblldbSymbol/Makefile
@@ -0,0 +1,54 @@
+# $OpenBSD: Makefile,v 1.1 2018/10/04 11:43:29 patrick Exp $
+
+LIB= lldbSymbol
+NOPIC=
+NOPROFILE=
+
+.include <bsd.own.mk>
+SRCS= ArmUnwindInfo.cpp \
+ Block.cpp \
+ ClangASTContext.cpp \
+ ClangASTImporter.cpp \
+ ClangExternalASTSourceCallbacks.cpp \
+ ClangExternalASTSourceCommon.cpp \
+ ClangUtil.cpp \
+ CompilerDecl.cpp \
+ CompilerDeclContext.cpp \
+ CompilerType.cpp \
+ CompileUnit.cpp \
+ CompactUnwindInfo.cpp \
+ DebugMacros.cpp \
+ Declaration.cpp \
+ DWARFCallFrameInfo.cpp \
+ Function.cpp \
+ FuncUnwinders.cpp \
+ GoASTContext.cpp \
+ JavaASTContext.cpp \
+ LineEntry.cpp \
+ LineTable.cpp \
+ ObjectFile.cpp \
+ OCamlASTContext.cpp \
+ Symbol.cpp \
+ SymbolContext.cpp \
+ SymbolFile.cpp \
+ SymbolVendor.cpp \
+ Symtab.cpp \
+ Type.cpp \
+ TypeList.cpp \
+ TypeMap.cpp \
+ TypeSystem.cpp \
+ UnwindPlan.cpp \
+ UnwindTable.cpp \
+ Variable.cpp \
+ VariableList.cpp \
+ VerifyDecl.cpp \
+
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Symbol
+
+install:
+ @# Nothing here so far ...
+
+.include <bsd.lib.mk>
+
+CPPFLAGS+= ${LLDB_INCLUDES}
+CPPFLAGS+= ${CLANG_INCLUDES}
diff --git a/gnu/usr.bin/clang/liblldbTarget/Makefile b/gnu/usr.bin/clang/liblldbTarget/Makefile
new file mode 100644
index 00000000000..8f27c0c3236
--- /dev/null
+++ b/gnu/usr.bin/clang/liblldbTarget/Makefile
@@ -0,0 +1,76 @@
+# $OpenBSD: Makefile,v 1.1 2018/10/04 11:43:29 patrick Exp $
+
+LIB= lldbTarget
+NOPIC=
+NOPROFILE=
+
+.include <bsd.own.mk>
+SRCS= ABI.cpp \
+ CPPLanguageRuntime.cpp \
+ ExecutionContext.cpp \
+ FileAction.cpp \
+ JITLoader.cpp \
+ JITLoaderList.cpp \
+ InstrumentationRuntime.cpp \
+ InstrumentationRuntimeStopInfo.cpp \
+ Language.cpp \
+ LanguageRuntime.cpp \
+ Memory.cpp \
+ MemoryHistory.cpp \
+ ModuleCache.cpp \
+ ObjCLanguageRuntime.cpp \
+ OperatingSystem.cpp \
+ PathMappingList.cpp \
+ Platform.cpp \
+ Process.cpp \
+ ProcessInfo.cpp \
+ ProcessLaunchInfo.cpp \
+ Queue.cpp \
+ QueueItem.cpp \
+ QueueList.cpp \
+ RegisterContext.cpp \
+ RegisterNumber.cpp \
+ SectionLoadHistory.cpp \
+ SectionLoadList.cpp \
+ StackFrame.cpp \
+ StackFrameList.cpp \
+ StackID.cpp \
+ StopInfo.cpp \
+ StructuredDataPlugin.cpp \
+ SystemRuntime.cpp \
+ Target.cpp \
+ TargetList.cpp \
+ Thread.cpp \
+ ThreadCollection.cpp \
+ ThreadList.cpp \
+ ThreadPlan.cpp \
+ ThreadPlanBase.cpp \
+ ThreadPlanCallFunction.cpp \
+ ThreadPlanCallFunctionUsingABI.cpp \
+ ThreadPlanCallOnFunctionExit.cpp \
+ ThreadPlanCallUserExpression.cpp \
+ ThreadPlanPython.cpp \
+ ThreadPlanRunToAddress.cpp \
+ ThreadPlanShouldStopHere.cpp \
+ ThreadPlanStepInRange.cpp \
+ ThreadPlanStepInstruction.cpp \
+ ThreadPlanStepOut.cpp \
+ ThreadPlanStepOverBreakpoint.cpp \
+ ThreadPlanStepOverRange.cpp \
+ ThreadPlanStepRange.cpp \
+ ThreadPlanStepThrough.cpp \
+ ThreadPlanStepUntil.cpp \
+ ThreadPlanTracer.cpp \
+ ThreadSpec.cpp \
+ UnixSignals.cpp \
+ UnwindAssembly.cpp \
+
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Target
+
+install:
+ @# Nothing here so far ...
+
+.include <bsd.lib.mk>
+
+CPPFLAGS+= ${LLDB_INCLUDES}
+CPPFLAGS+= ${CLANG_INCLUDES}
diff --git a/gnu/usr.bin/clang/liblldbUtility/Makefile b/gnu/usr.bin/clang/liblldbUtility/Makefile
new file mode 100644
index 00000000000..8c17fdbb459
--- /dev/null
+++ b/gnu/usr.bin/clang/liblldbUtility/Makefile
@@ -0,0 +1,56 @@
+# $OpenBSD: Makefile,v 1.1 2018/10/04 11:43:29 patrick Exp $
+
+LIB= lldbUtility
+NOPIC=
+NOPROFILE=
+
+.include <bsd.own.mk>
+
+SRCS= ArchSpec.cpp \
+ Baton.cpp \
+ Connection.cpp \
+ ConstString.cpp \
+ DataBufferHeap.cpp \
+ DataBufferLLVM.cpp \
+ DataEncoder.cpp \
+ DataExtractor.cpp \
+ FastDemangle.cpp \
+ FileSpec.cpp \
+ History.cpp \
+ IOObject.cpp \
+ JSON.cpp \
+ LLDBAssert.cpp \
+ Log.cpp \
+ Logging.cpp \
+ NameMatches.cpp \
+ Range.cpp \
+ RegularExpression.cpp \
+ SelectHelper.cpp \
+ SharingPtr.cpp \
+ Status.cpp \
+ Stream.cpp \
+ StreamCallback.cpp \
+ StreamGDBRemote.cpp \
+ StreamString.cpp \
+ StringExtractor.cpp \
+ StringExtractorGDBRemote.cpp \
+ StringLexer.cpp \
+ StringList.cpp \
+ StructuredData.cpp \
+ TildeExpressionResolver.cpp \
+ Timer.cpp \
+ UserID.cpp \
+ UriParser.cpp \
+ UUID.cpp \
+ VASprintf.cpp \
+ VMRange.cpp \
+
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source/Utility
+
+install:
+ @# Nothing here so far ...
+
+.include <bsd.lib.mk>
+
+CPPFLAGS+= ${LLDB_INCLUDES}
+CPPFLAGS+= ${CLANG_INCLUDES}
diff --git a/gnu/usr.bin/clang/lldb/Makefile b/gnu/usr.bin/clang/lldb/Makefile
new file mode 100644
index 00000000000..09b0efea3d8
--- /dev/null
+++ b/gnu/usr.bin/clang/lldb/Makefile
@@ -0,0 +1,115 @@
+# $OpenBSD: Makefile,v 1.1 2018/10/04 11:43:29 patrick Exp $
+
+.include <bsd.own.mk>
+
+PROG= lldb
+BINDIR= /usr/bin
+LIBEXECDIR=/usr/libexec
+SRCS= Driver.cpp \
+ Platform.cpp \
+ lldb.cpp
+
+LDADD+= -lcurses -ledit -lpanel
+
+CPPFLAGS+= ${LLDB_INCLUDES}
+CPPFLAGS+= ${CLANG_INCLUDES}
+
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/source
+.PATH: ${.CURDIR}/../../../llvm/tools/lldb/tools/driver
+
+LLVM_LIBDEPS= ${BACKEND_ASMPARSER} \
+ ${BACKEND_ASMPRINTER} \
+ ${BACKEND_CODEGEN} \
+ ${BACKEND_DESC} \
+ ${BACKEND_DISASSEMBLER} \
+ ${BACKEND_INFO} \
+ ${BACKEND_UTILS} \
+ LLVMAnalysis \
+ LLVMAsmParser \
+ LLVMAsmPrinter \
+ LLVMBinaryFormat \
+ LLVMBitReader \
+ LLVMBitWriter \
+ LLVMCodeGen \
+ LLVMCore \
+ LLVMCoroutines \
+ LLVMCoverage \
+ LLVMDebugInfoCodeView \
+ LLVMDebugInfoDWARF \
+ LLVMDebugInfoMSF \
+ LLVMDebugInfoPDB \
+ LLVMDemangle \
+ LLVMExecutionEngine \
+ LLVMGlobalISel \
+ LLVMIRReader \
+ LLVMInstCombine \
+ LLVMInstrumentation \
+ LLVMLTO \
+ LLVMLinker \
+ LLVMMC \
+ LLVMMCDisassembler \
+ LLVMMCParser \
+ LLVMObjCARCOpts \
+ LLVMObject \
+ LLVMOption \
+ LLVMPasses \
+ LLVMProfileData \
+ LLVMScalarOpts \
+ LLVMSelectionDAG \
+ LLVMSupport \
+ LLVMTarget \
+ LLVMTransformUtils \
+ LLVMVectorize \
+ LLVMipo \
+ clangAST \
+ clangAnalysis \
+ clangBasic \
+ clangBasicTargets \
+ clangCodeGen \
+ clangDriver \
+ clangEdit \
+ clangFrontend \
+ clangLex \
+ clangParse \
+ clangRewrite \
+ clangRewriteFrontend \
+ clangSema \
+ clangSerialization \
+ lldbABI \
+ lldbAPI \
+ lldbBreakpoint \
+ lldbCommands \
+ lldbCore \
+ lldbDataFormatters \
+ lldbExpression \
+ lldbHostCommon \
+ lldbHostOpenBSD \
+ lldbHostPOSIX \
+ lldbInitialization \
+ lldbInterpreter \
+ lldbPluginArchitecture \
+ lldbPluginDisassembler \
+ lldbPluginDynamicLoader \
+ lldbPluginExpressionParser \
+ lldbPluginInstruction \
+ lldbPluginInstrumentationRuntime \
+ lldbPluginJITLoader \
+ lldbPluginLanguage \
+ lldbPluginLanguageRuntime \
+ lldbPluginMemoryHistory \
+ lldbPluginObjectContainer \
+ lldbPluginObjectFile \
+ lldbPluginOperatingSystem \
+ lldbPluginPlatform \
+ lldbPluginProcess \
+ lldbPluginScriptInterpreter \
+ lldbPluginStructuredData \
+ lldbPluginSymbolFile \
+ lldbPluginSymbolVendor \
+ lldbPluginSystemRuntime \
+ lldbPluginUnwindAssembly \
+ lldbSymbol \
+ lldbTarget \
+ lldbUtility \
+
+.include <bsd.prog.mk>
diff --git a/gnu/usr.bin/clang/lldb/lldb.1 b/gnu/usr.bin/clang/lldb/lldb.1
new file mode 100644
index 00000000000..a28cabe7acc
--- /dev/null
+++ b/gnu/usr.bin/clang/lldb/lldb.1
@@ -0,0 +1,154 @@
+.Dd December 16, 2015 \" DATE
+.Dt LLDB 1 \" Program name and manual section number
+.Os
+.Sh NAME \" Section Header - required - do not modify
+.Nm lldb
+.Nd The debugger
+.Sh SYNOPSIS \" Section Header - required - do not modify
+.Nm lldb
+.Op Fl hvdexw
+.Op Fl a Ar arch
+.Op Fl c Ar core-file
+.Op Fl l Ar script-language
+.Op Fl s Ar lldb-commands
+.Op Fl n Ar process-name
+.Op Fl p Ar pid
+.Ar [[--] <PROGRAM-ARG1> <PROGRAM-ARG2> ...]
+.Sh DESCRIPTION \" Section Header - required - do not modify
+.Nm
+is the command line interface for the LLDB debugger library.
+.Nm
+can debug C, C++, Objective-C, and Objective-C++ programs.
+.Pp
+The following options are available:
+.Bl -tag -width indent
+.It Fl h, -help
+Prints out the usage information for the
+.Nm
+debugger.
+The
+.Fl -help
+text may be more up-to-date and
+authoritative than the command line options described in this man
+page.
+.It Fl v, -version
+Prints out the version number of the
+.Nm
+debugger.
+.It Fl a, -arch Ar arch
+Specifies which architecture
+.Nm
+will use when launching the specified program (assuming the provided
+executable is built for multiple architectures.)
+.It Fl f, -file Ar filename
+Specifies the executable file that
+.Nm
+will be launching / attaching to.
+.It Fl n, -attach-name Ar process-name
+Specifies the name of a currently-running process to attach to.
+(or the name of a process to wait for if
+.Fl w
+is used.)
+.It Fl w, -wait-for
+When used in concert with
+.Fl n Ar process-name ,
+indicates that
+.Nm
+should wait for a new process of that name to be started -- and attach
+to it as early in the process-launch as possible.
+.It Fl p, -attach-pid Ar pid
+Specifies a currently running process that
+.Nm
+should attach to.
+.It Fl c, -core Ar core-file
+Specifies the core file to examine.
+.It Fl l, -script-language Ar language
+Tells the debugger to use the specified scripting language for
+user-defined scripts, rather than the default.
+Valid scripting
+languages that can be specified include Python, Perl, Ruby and Tcl.
+Currently only the Python extensions have been implemented.
+.It Fl d, -debug
+Tells the debugger to print out extra information for debugging itself.
+.It Fl s, -source Ar filename
+Tells
+.Nm
+to read in and execute the file
+.Qq Ar filename ,
+which should contain
+.Nm
+commands.
+.It Fl e, -editor
+Instructs
+.Nm
+to open source files using the host's "external editor" mechanism.
+.It Fl x, -no-lldbinit
+Do not automatically parse any '.lldbinit' files.
+.Pp
+(If you do not provide -f then the first argument will be the file to
+be debugged
+so 'lldb -- <filename> [<ARG1> [<ARG2>]]' also works.
+Remember to end the options with "--" if any of your arguments have
+a "-" in them.)
+.El
+.Sh USING LLDB
+In
+.Nm
+there is a
+.Cm help
+command which can be used to find descriptions and examples of all
+.Nm
+commands.
+To get help on
+.Qq Cm breakpoint set
+you would type
+.Qq Cm help breakpoint set .
+.Pp
+There is also an
+.Cm apropos
+command which will search the help text of all commands
+for a given term -- this is useful for locating a command by topic.
+For instance,
+.Qq Cm apropos breakpoint
+will list any command that has the word
+.Qq Cm breakpoint
+in its help text.
+.Sh FILES
+.Nm
+will read settings/aliases/commands from three files at startup, if they exist.
+.Pp
+First, it will read a
+.Pa ~/.lldbinit-debugger
+command file.
+If you are using the
+.Nm
+command line interface, this is
+.Pa ~/.lldbinit-lldb .
+If you are using
+.Nm
+inside a GUI debugger like
+.Nm Xcode
+this will be
+.Pa ~/.lldbinit-Xcode .
+This is a useful place to put settings that you want to apply only when a given
+.Nm
+command interpreter is used.
+.Pp
+Second,
+.Pa ~/.lldbinit
+is read.
+.Pp
+Third, an
+.Pa .lldbinit
+file in the current working directory (where
+.Nm
+is started) will be read.
+.Sh SEE ALSO
+The LLDB project page http://lldb.llvm.org/ has many different resources for
+.Nm
+users -- the gdb/lldb command equivalence page http://lldb.llvm.org/lldb-gdb.html can
+be especially helpful for users coming from gdb.
+.Sh BUGS
+To report bugs, please visit http://llvm.org/bugs/
+.Sh AUTHOR
+Maintained by the LLDB Team, http://lldb.llvm.org/