pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

*: Rename {llvm,clang,lldb}-git-netbsd to llvm,clang,lldb}-netbsd



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Sat Dec 17 01:57:10 2016 +0100
Changeset:	2f77aa7f6a43dcb54d6028d93b79bff280bb70fd

Added Files:
	clang-netbsd/DESCR
	clang-netbsd/Makefile
	clang-netbsd/Makefile.common
	clang-netbsd/PLIST
	clang-netbsd/TODO
	clang-netbsd/buildlink3.mk
	clang-netbsd/distinfo
	clang-netbsd/patches/patch-tools_clang-format_CMakeLists.txt
	lldb-netbsd/DESCR
	lldb-netbsd/Makefile
	lldb-netbsd/PLIST
	lldb-netbsd/TODO
	lldb-netbsd/buildlink3.mk
	lldb-netbsd/distinfo
	lldb-netbsd/patches/patch-cmake_LLDBDependencies.cmake
	lldb-netbsd/patches/patch-include_lldb_Host_linux_Personality.h
	lldb-netbsd/patches/patch-source_CMakeLists.txt
	lldb-netbsd/patches/patch-source_Plugins_Process_CMakeLists.txt
	lldb-netbsd/patches/patch-source_Plugins_Process_Linux_CMakeLists.txt
	lldb-netbsd/patches/patch-source_Plugins_Process_Linux_NativeProcessLinux.cpp
	lldb-netbsd/patches/patch-source_Plugins_Process_Linux_NativeRegisterContextLinux.cpp
	lldb-netbsd/patches/patch-source_Plugins_Process_Linux_NativeRegisterContextLinux__x86__64.cpp
	lldb-netbsd/patches/patch-source_Plugins_Process_Linux_NativeThreadLinux.cpp
	lldb-netbsd/patches/patch-source_Plugins_Process_Linux_NativeThreadLinux.h
	lldb-netbsd/patches/patch-source_Plugins_Process_Linux_Procfs.h
	lldb-netbsd/patches/patch-tools_lldb-mi_MICmnBase.cpp
	lldb-netbsd/patches/patch-tools_lldb-mi_MICmnBase.h
	lldb-netbsd/patches/patch-tools_lldb-mi_MIDriver.cpp
	lldb-netbsd/patches/patch-tools_lldb-mi_MIUtilString.cpp
	lldb-netbsd/patches/patch-tools_lldb-mi_MIUtilString.h
	lldb-netbsd/patches/patch-tools_lldb-server_CMakeLists.txt
	llvm-netbsd/DESCR
	llvm-netbsd/Makefile
	llvm-netbsd/PLIST
	llvm-netbsd/TODO
	llvm-netbsd/buildlink3.mk
	llvm-netbsd/distinfo
	llvm-netbsd/options.mk
Removed Files:
	clang-git-netbsd/DESCR
	clang-git-netbsd/Makefile
	clang-git-netbsd/Makefile.common
	clang-git-netbsd/PLIST
	clang-git-netbsd/TODO
	clang-git-netbsd/buildlink3.mk
	clang-git-netbsd/distinfo
	clang-git-netbsd/patches/patch-tools_clang-format_CMakeLists.txt
	lldb-git-netbsd/DESCR
	lldb-git-netbsd/Makefile
	lldb-git-netbsd/PLIST
	lldb-git-netbsd/TODO
	lldb-git-netbsd/buildlink3.mk
	lldb-git-netbsd/distinfo
	lldb-git-netbsd/patches/patch-cmake_LLDBDependencies.cmake
	lldb-git-netbsd/patches/patch-include_lldb_Host_linux_Personality.h
	lldb-git-netbsd/patches/patch-source_CMakeLists.txt
	lldb-git-netbsd/patches/patch-source_Plugins_Process_CMakeLists.txt
	lldb-git-netbsd/patches/patch-source_Plugins_Process_Linux_CMakeLists.txt
	lldb-git-netbsd/patches/patch-source_Plugins_Process_Linux_NativeProcessLinux.cpp
	lldb-git-netbsd/patches/patch-source_Plugins_Process_Linux_NativeRegisterContextLinux.cpp
	lldb-git-netbsd/patches/patch-source_Plugins_Process_Linux_NativeRegisterContextLinux__x86__64.cpp
	lldb-git-netbsd/patches/patch-source_Plugins_Process_Linux_NativeThreadLinux.cpp
	lldb-git-netbsd/patches/patch-source_Plugins_Process_Linux_NativeThreadLinux.h
	lldb-git-netbsd/patches/patch-source_Plugins_Process_Linux_Procfs.h
	lldb-git-netbsd/patches/patch-tools_lldb-mi_MICmnBase.cpp
	lldb-git-netbsd/patches/patch-tools_lldb-mi_MICmnBase.h
	lldb-git-netbsd/patches/patch-tools_lldb-mi_MIDriver.cpp
	lldb-git-netbsd/patches/patch-tools_lldb-mi_MIUtilString.cpp
	lldb-git-netbsd/patches/patch-tools_lldb-mi_MIUtilString.h
	lldb-git-netbsd/patches/patch-tools_lldb-server_CMakeLists.txt
	llvm-git-netbsd/DESCR
	llvm-git-netbsd/Makefile
	llvm-git-netbsd/PLIST
	llvm-git-netbsd/TODO
	llvm-git-netbsd/buildlink3.mk
	llvm-git-netbsd/distinfo
	llvm-git-netbsd/options.mk

Log Message:
*: Rename {llvm,clang,lldb}-git-netbsd to llvm,clang,lldb}-netbsd

Drop "-git-" part in the name as it is no longer true.

Sponsored by <The NetBSD Foundation>

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=2f77aa7f6a43dcb54d6028d93b79bff280bb70fd

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 clang-git-netbsd/DESCR                             |   22 -
 clang-git-netbsd/Makefile                          |   17 -
 clang-git-netbsd/Makefile.common                   |  127 --
 clang-git-netbsd/PLIST                             |  600 ----------
 clang-git-netbsd/TODO                              |    5 -
 clang-git-netbsd/buildlink3.mk                     |   16 -
 clang-git-netbsd/distinfo                          |   15 -
 .../patch-tools_clang-format_CMakeLists.txt        |   16 -
 clang-netbsd/DESCR                                 |   22 +
 clang-netbsd/Makefile                              |   17 +
 clang-netbsd/Makefile.common                       |  127 ++
 clang-netbsd/PLIST                                 |  600 ++++++++++
 clang-netbsd/TODO                                  |    5 +
 clang-netbsd/buildlink3.mk                         |   16 +
 clang-netbsd/distinfo                              |   15 +
 .../patch-tools_clang-format_CMakeLists.txt        |   16 +
 lldb-git-netbsd/DESCR                              |    1 -
 lldb-git-netbsd/Makefile                           |   83 --
 lldb-git-netbsd/PLIST                              |  603 ----------
 lldb-git-netbsd/TODO                               |    7 -
 lldb-git-netbsd/buildlink3.mk                      |   18 -
 lldb-git-netbsd/distinfo                           |   31 -
 .../patches/patch-cmake_LLDBDependencies.cmake     |   12 -
 .../patch-include_lldb_Host_linux_Personality.h    |   19 -
 .../patches/patch-source_CMakeLists.txt            |   12 -
 .../patch-source_Plugins_Process_CMakeLists.txt    |   12 -
 ...tch-source_Plugins_Process_Linux_CMakeLists.txt |   16 -
 ...ce_Plugins_Process_Linux_NativeProcessLinux.cpp |  278 -----
 ...ns_Process_Linux_NativeRegisterContextLinux.cpp |   36 -
 ...s_Linux_NativeRegisterContextLinux__x86__64.cpp |   26 -
 ...rce_Plugins_Process_Linux_NativeThreadLinux.cpp |  123 --
 ...ource_Plugins_Process_Linux_NativeThreadLinux.h |   14 -
 .../patch-source_Plugins_Process_Linux_Procfs.h    |   17 -
 .../patches/patch-tools_lldb-mi_MICmnBase.cpp      |   13 -
 .../patches/patch-tools_lldb-mi_MICmnBase.h        |   13 -
 .../patches/patch-tools_lldb-mi_MIDriver.cpp       |   13 -
 .../patches/patch-tools_lldb-mi_MIUtilString.cpp   |   13 -
 .../patches/patch-tools_lldb-mi_MIUtilString.h     |   13 -
 .../patches/patch-tools_lldb-server_CMakeLists.txt |   26 -
 lldb-netbsd/DESCR                                  |    1 +
 lldb-netbsd/Makefile                               |   83 ++
 lldb-netbsd/PLIST                                  |  603 ++++++++++
 lldb-netbsd/TODO                                   |    7 +
 lldb-netbsd/buildlink3.mk                          |   18 +
 lldb-netbsd/distinfo                               |   31 +
 .../patches/patch-cmake_LLDBDependencies.cmake     |   12 +
 .../patch-include_lldb_Host_linux_Personality.h    |   19 +
 lldb-netbsd/patches/patch-source_CMakeLists.txt    |   12 +
 .../patch-source_Plugins_Process_CMakeLists.txt    |   12 +
 ...tch-source_Plugins_Process_Linux_CMakeLists.txt |   16 +
 ...ce_Plugins_Process_Linux_NativeProcessLinux.cpp |  278 +++++
 ...ns_Process_Linux_NativeRegisterContextLinux.cpp |   36 +
 ...s_Linux_NativeRegisterContextLinux__x86__64.cpp |   26 +
 ...rce_Plugins_Process_Linux_NativeThreadLinux.cpp |  123 ++
 ...ource_Plugins_Process_Linux_NativeThreadLinux.h |   14 +
 .../patch-source_Plugins_Process_Linux_Procfs.h    |   17 +
 .../patches/patch-tools_lldb-mi_MICmnBase.cpp      |   13 +
 .../patches/patch-tools_lldb-mi_MICmnBase.h        |   13 +
 .../patches/patch-tools_lldb-mi_MIDriver.cpp       |   13 +
 .../patches/patch-tools_lldb-mi_MIUtilString.cpp   |   13 +
 .../patches/patch-tools_lldb-mi_MIUtilString.h     |   13 +
 .../patches/patch-tools_lldb-server_CMakeLists.txt |   26 +
 llvm-git-netbsd/DESCR                              |   22 -
 llvm-git-netbsd/Makefile                           |   84 --
 llvm-git-netbsd/PLIST                              | 1217 --------------------
 llvm-git-netbsd/TODO                               |    5 -
 llvm-git-netbsd/buildlink3.mk                      |   16 -
 llvm-git-netbsd/distinfo                           |   14 -
 llvm-git-netbsd/options.mk                         |   38 -
 llvm-netbsd/DESCR                                  |   22 +
 llvm-netbsd/Makefile                               |   84 ++
 llvm-netbsd/PLIST                                  | 1217 ++++++++++++++++++++
 llvm-netbsd/TODO                                   |    5 +
 llvm-netbsd/buildlink3.mk                          |   16 +
 llvm-netbsd/distinfo                               |   14 +
 llvm-netbsd/options.mk                             |   38 +
 76 files changed, 3613 insertions(+), 3613 deletions(-)

diffs:
diff --git a/clang-git-netbsd/DESCR b/clang-git-netbsd/DESCR
deleted file mode 100644
index 9bf02c2..0000000
--- a/clang-git-netbsd/DESCR
+++ /dev/null
@@ -1,22 +0,0 @@
-Low Level Virtual Machine (LLVM) is:
-
-A compilation strategy designed to enable effective program optimization across
-the entire lifetime of a program. LLVM supports effective optimization at
-compile time, link-time (particularly interprocedural), run-time and offline
-(i.e., after software is installed), while remaining transparent to developers
-and maintaining compatibility with existing build scripts.
-
-A virtual instruction set - LLVM is a low-level object code representation that
-uses simple RISC-like instructions, but provides rich, language-independent,
-type information and dataflow (SSA) information about operands. This combination
-enables sophisticated transformations on object code, while remaining
-light-weight enough to be attached to the executable. This combination is key to
-allowing link-time, run-time, and offline transformations.
-
-A compiler infrastructure - LLVM is also a collection of source code that
-implements the language and compilation strategy. The primary components of the
-LLVM infrastructure are a GCC-based C & C++ front-end, a link-time optimization
-framework with a growing set of global and interprocedural analyses and
-transformations, static back-ends for the X86, X86-64, PowerPC 32/64, ARM,
-Thumb, IA-64, Alpha and SPARC architectures, a back-end which emits portable C
-code, and a Just-In-Time compiler for X86, X86-64, PowerPC 32/64 processors.
diff --git a/clang-git-netbsd/Makefile b/clang-git-netbsd/Makefile
deleted file mode 100644
index 0c57c02..0000000
--- a/clang-git-netbsd/Makefile
+++ /dev/null
@@ -1,17 +0,0 @@
-# $NetBSD$
-
-PKGNAME=	clang-4.0.0
-PYTHON_FOR_BUILD_ONLY=	yes
-
-CMAKE_ARGS+=	-DCLANG_ENABLE_STATIC_ANALYZER=OFF
-
-# There are some contrib utilities written in python here.
-# We don't want to add a python runtime dependency for that.
-CHECK_INTERPRETER_SKIP+=	share/clang/*
-
-.PHONY: install-clang-cpp
-post-install: install-clang-cpp
-install-clang-cpp:
-	${LN} -fs clang ${DESTDIR}${PREFIX}/bin/clang-cpp
-
-.include "../../wip/clang-git-netbsd/Makefile.common"
diff --git a/clang-git-netbsd/Makefile.common b/clang-git-netbsd/Makefile.common
deleted file mode 100644
index 368ac8d..0000000
--- a/clang-git-netbsd/Makefile.common
+++ /dev/null
@@ -1,127 +0,0 @@
-# $NetBSD$
-# used by wip/clang-git/Makefile
-# used by wip/clang-static-analyzer-git/Makefile
-
-CATEGORIES=	lang devel
-
-SVN_REPOSITORIES=	clang
-SVN_REPO.clang=		http://llvm.org/svn/llvm-project/cfe/trunk
-SVN_REVISION.clang=	289997
-
-MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=	http://clang.llvm.org/
-COMMENT=	C language family frontend for LLVM
-LICENSE=	modified-bsd
-
-DISTINFO_FILE=		${.CURDIR}/../../wip/clang-git/distinfo
-PATCHDIR=		${.CURDIR}/../../wip/clang-git/patches
-WRKSRC=			${WRKDIR}/clang
-CONFIGURE_DIRS=		${WRKDIR}/build
-CMAKE_ARG_PATH=		${WRKSRC}
-
-USE_LANGUAGES=		c c++
-USE_CMAKE=		yes
-GCC_REQD+=		4.8
-
-CMAKE_ARGS+=	-DLLVM_CONFIG=${LLVM_CONFIG_PATH}
-CMAKE_ARGS+=	-DCMAKE_BUILD_TYPE=Release
-CMAKE_ARGS+=	-DCMAKE_C_COMPILER=gcc
-CMAKE_ARGS+=	-DCMAKE_CXX_COMPILER=g++
-# XXX can't disable static-analyzer without also disabling ARCMT
-CMAKE_ARGS+=	-DCLANG_ENABLE_ARCMT=OFF
-
-REPLACE_PERL+=		test/make_test_dirs.pl
-REPLACE_PERL+=		tools/scan-build/bin/scan-build
-REPLACE_PERL+=		tools/scan-build/libexec/c++-analyzer
-REPLACE_PERL+=		tools/scan-build/libexec/ccc-analyzer
-REPLACE_PERL+=		utils/TestUtils/pch-test.pl
-REPLACE_PERL+=		utils/analyzer/reducer.pl
-REPLACE_PERL+=		utils/analyzer/update_plist_test.pl
-REPLACE_PERL+=		www/demo/index.cgi
-
-REPLACE_PYTHON+=	bindings/python/examples/cindex/cindex-dump.py
-REPLACE_PYTHON+=	bindings/python/examples/cindex/cindex-includes.py
-REPLACE_PYTHON+=	docs/tools/dump_ast_matchers.py
-REPLACE_PYTHON+=	docs/tools/dump_format_style.py
-REPLACE_PYTHON+=	tools/clang-format/clang-format-diff.py
-REPLACE_PYTHON+=	tools/clang-format/git-clang-format
-REPLACE_PYTHON+=	tools/scan-build/bin/set-xcode-analyzer
-REPLACE_PYTHON+=	tools/scan-view/bin/scan-view
-REPLACE_PYTHON+=	utils/ABITest/ABITestGen.py
-REPLACE_PYTHON+=	utils/CIndex/completion_logger_server.py
-REPLACE_PYTHON+=	utils/CaptureCmd
-REPLACE_PYTHON+=	utils/CmpDriver
-REPLACE_PYTHON+=	utils/FindSpecRefs
-REPLACE_PYTHON+=	utils/FuzzTest
-REPLACE_PYTHON+=	utils/TestUtils/deep-stack.py
-REPLACE_PYTHON+=	utils/analyzer/CmpRuns.py
-REPLACE_PYTHON+=	utils/analyzer/SATestAdd.py
-REPLACE_PYTHON+=	utils/analyzer/SATestBuild.py
-REPLACE_PYTHON+=	utils/analyzer/SumTimerInfo.py
-REPLACE_PYTHON+=	utils/analyzer/ubiviz
-REPLACE_PYTHON+=	utils/check_cfc/check_cfc.py
-REPLACE_PYTHON+=	utils/check_cfc/obj_diff.py
-REPLACE_PYTHON+=	utils/check_cfc/test_check_cfc.py
-REPLACE_PYTHON+=	utils/token-delta.py
-REPLACE_PYTHON+=	www/builtins.py
-
-.include "../../mk/compiler.mk"
-
-.if ${OPSYS} == "NetBSD" && !empty(PKGSRC_COMPILER:Mclang)
-# command to check if clang is using libc++ or libstdc++
-LIBCPP_CHECK_SH=	printf "\#include <ciso646>\n\#ifdef _LIBCPP_VERSION\nYES\n\#endif" | ${CLANGBASE}/bin/clang++ -x c++ -E - 2>&1 | grep YES || true
-.else
-LIBCPP_CHECK_SH=	echo NO
-.endif
-
-# patch NetBSD::GetCXXStdlibType
-.if ${OPSYS} == "NetBSD" && empty(LIBCPP_CHECK_SH:sh:MYES)
-SUBST_CLASSES+=			libcxx
-SUBST_STAGE.libcxx=		pre-configure
-SUBST_MESSAGE.libcxx=		Patching toolchain to use libstdc++ (matching the host compiler)
-SUBST_FILES.libcxx=		lib/Driver/ToolChains.cpp
-SUBST_FILES.libcxx+=		lib/Driver/Tools.cpp
-SUBST_SED.libcxx=		-e 's,(Major >= 7 || Major == 0),(false),'
-
-CMAKE_ARGS+=			-DCLANG_DEFAULT_CXX_STDLIB:STRING="libstdc++"
-.endif
-
-# 3.8.0 -> 3.8
-LLVM_MAJOR=	${PKGVERSION_NOREV:C/^([0-9]+\.[0-9]+)\..*$/\1/}
-PLIST_SUBST+=	LLVM_MAJOR=${LLVM_MAJOR}
-
-PLIST_VARS+=	notdylib
-.if ${_OPSYS_SHLIB_TYPE} == "dylib"
-SOEXT=		dylib
-.else
-SOEXT=		so
-PLIST.notdylib=	yes
-.endif
-PLIST_SUBST+=	SOEXT=${SOEXT}
-
-PKG_OPTIONS_VAR=	PKG_OPTIONS.clang
-PKG_SUPPORTED_OPTIONS=	tests
-
-.include "../../mk/bsd.options.mk"
-
-.if !empty(PKG_OPTIONS:Mtests)
-CMAKE_ARGS+=		-DLLVM_INCLUDE_TESTS=ON
-CMAKE_ARGS+=		-DCLANG_INCLUDE_TESTS=ON
-TEST_TARGET=		clang-test
-TEST_ENV+=		LD_LIBRARY_PATH=${WRKDIR}/build/lib
-.include "../../devel/googletest/buildlink3.mk"
-.else
-CMAKE_ARGS+=		-DLLVM_INCLUDE_TESTS=OFF
-CMAKE_ARGS+=		-DCLANG_INCLUDE_TESTS=OFF
-.endif
-
-post-extract:
-	${RUN} mkdir -p ${WRKDIR}/build
-
-.include "../../textproc/libxml2/buildlink3.mk"
-.include "../../wip/mk/svn-package.mk"
-.include "../../devel/zlib/buildlink3.mk"
-.include "../../lang/python/tool.mk"
-DEPENDS+=	llvm-${PKGVERSION_NOREV}{,nb*}:../../wip/llvm-git-netbsd
-.include "../../wip/llvm-git-netbsd/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/clang-git-netbsd/PLIST b/clang-git-netbsd/PLIST
deleted file mode 100644
index 738f26e..0000000
--- a/clang-git-netbsd/PLIST
+++ /dev/null
@@ -1,600 +0,0 @@
-@comment $NetBSD$
-bin/c-index-test
-bin/clang
-bin/clang++
-bin/clang-${LLVM_MAJOR}
-bin/clang-cl
-bin/clang-cpp
-bin/clang-format
-bin/clang-offload-bundler
-include/clang-c/BuildSystem.h
-include/clang-c/CXCompilationDatabase.h
-include/clang-c/CXErrorCode.h
-include/clang-c/CXString.h
-include/clang-c/Documentation.h
-include/clang-c/Index.h
-include/clang-c/Platform.h
-include/clang/ARCMigrate/ARCMT.h
-include/clang/ARCMigrate/ARCMTActions.h
-include/clang/ARCMigrate/FileRemapper.h
-include/clang/AST/APValue.h
-include/clang/AST/AST.h
-include/clang/AST/ASTConsumer.h
-include/clang/AST/ASTContext.h
-include/clang/AST/ASTDiagnostic.h
-include/clang/AST/ASTFwd.h
-include/clang/AST/ASTImporter.h
-include/clang/AST/ASTLambda.h
-include/clang/AST/ASTMutationListener.h
-include/clang/AST/ASTTypeTraits.h
-include/clang/AST/ASTUnresolvedSet.h
-include/clang/AST/ASTVector.h
-include/clang/AST/Attr.h
-include/clang/AST/AttrDump.inc
-include/clang/AST/AttrImpl.inc
-include/clang/AST/AttrIterator.h
-include/clang/AST/AttrVisitor.inc
-include/clang/AST/Attrs.inc
-include/clang/AST/Availability.h
-include/clang/AST/BaseSubobject.h
-include/clang/AST/BuiltinTypes.def
-include/clang/AST/CXXInheritance.h
-include/clang/AST/CanonicalType.h
-include/clang/AST/CharUnits.h
-include/clang/AST/Comment.h
-include/clang/AST/CommentBriefParser.h
-include/clang/AST/CommentCommandInfo.inc
-include/clang/AST/CommentCommandList.inc
-include/clang/AST/CommentCommandTraits.h
-include/clang/AST/CommentDiagnostic.h
-include/clang/AST/CommentHTMLNamedCharacterReferences.inc
-include/clang/AST/CommentHTMLTags.inc
-include/clang/AST/CommentHTMLTagsProperties.inc
-include/clang/AST/CommentLexer.h
-include/clang/AST/CommentNodes.inc
-include/clang/AST/CommentParser.h
-include/clang/AST/CommentSema.h
-include/clang/AST/CommentVisitor.h
-include/clang/AST/Decl.h
-include/clang/AST/DeclAccessPair.h
-include/clang/AST/DeclBase.h
-include/clang/AST/DeclCXX.h
-include/clang/AST/DeclContextInternals.h
-include/clang/AST/DeclFriend.h
-include/clang/AST/DeclGroup.h
-include/clang/AST/DeclLookups.h
-include/clang/AST/DeclNodes.inc
-include/clang/AST/DeclObjC.h
-include/clang/AST/DeclOpenMP.h
-include/clang/AST/DeclTemplate.h
-include/clang/AST/DeclVisitor.h
-include/clang/AST/DeclarationName.h
-include/clang/AST/DependentDiagnostic.h
-include/clang/AST/EvaluatedExprVisitor.h
-include/clang/AST/Expr.h
-include/clang/AST/ExprCXX.h
-include/clang/AST/ExprObjC.h
-include/clang/AST/ExprOpenMP.h
-include/clang/AST/ExternalASTSource.h
-include/clang/AST/GlobalDecl.h
-include/clang/AST/LambdaCapture.h
-include/clang/AST/LocInfoType.h
-include/clang/AST/Mangle.h
-include/clang/AST/MangleNumberingContext.h
-include/clang/AST/NSAPI.h
-include/clang/AST/NestedNameSpecifier.h
-include/clang/AST/OpenMPClause.h
-include/clang/AST/OperationKinds.def
-include/clang/AST/OperationKinds.h
-include/clang/AST/ParentMap.h
-include/clang/AST/PrettyPrinter.h
-include/clang/AST/RawCommentList.h
-include/clang/AST/RecordLayout.h
-include/clang/AST/RecursiveASTVisitor.h
-include/clang/AST/Redeclarable.h
-include/clang/AST/SelectorLocationsKind.h
-include/clang/AST/Stmt.h
-include/clang/AST/StmtCXX.h
-include/clang/AST/StmtGraphTraits.h
-include/clang/AST/StmtIterator.h
-include/clang/AST/StmtNodes.inc
-include/clang/AST/StmtObjC.h
-include/clang/AST/StmtOpenMP.h
-include/clang/AST/StmtVisitor.h
-include/clang/AST/TemplateBase.h
-include/clang/AST/TemplateName.h
-include/clang/AST/Type.h
-include/clang/AST/TypeLoc.h
-include/clang/AST/TypeLocNodes.def
-include/clang/AST/TypeLocVisitor.h
-include/clang/AST/TypeNodes.def
-include/clang/AST/TypeOrdering.h
-include/clang/AST/TypeVisitor.h
-include/clang/AST/UnresolvedSet.h
-include/clang/AST/VTTBuilder.h
-include/clang/AST/VTableBuilder.h
-include/clang/ASTMatchers/ASTMatchFinder.h
-include/clang/ASTMatchers/ASTMatchers.h
-include/clang/ASTMatchers/ASTMatchersInternal.h
-include/clang/ASTMatchers/ASTMatchersMacros.h
-include/clang/ASTMatchers/Dynamic/Diagnostics.h
-include/clang/ASTMatchers/Dynamic/Parser.h
-include/clang/ASTMatchers/Dynamic/Registry.h
-include/clang/ASTMatchers/Dynamic/VariantValue.h
-include/clang/Analysis/Analyses/CFGReachabilityAnalysis.h
-include/clang/Analysis/Analyses/Consumed.h
-include/clang/Analysis/Analyses/Dominators.h
-include/clang/Analysis/Analyses/FormatString.h
-include/clang/Analysis/Analyses/LiveVariables.h
-include/clang/Analysis/Analyses/OSLog.h
-include/clang/Analysis/Analyses/PostOrderCFGView.h
-include/clang/Analysis/Analyses/PseudoConstantAnalysis.h
-include/clang/Analysis/Analyses/ReachableCode.h
-include/clang/Analysis/Analyses/ThreadSafety.h
-include/clang/Analysis/Analyses/ThreadSafetyCommon.h
-include/clang/Analysis/Analyses/ThreadSafetyLogical.h
-include/clang/Analysis/Analyses/ThreadSafetyOps.def
-include/clang/Analysis/Analyses/ThreadSafetyTIL.h
-include/clang/Analysis/Analyses/ThreadSafetyTraverse.h
-include/clang/Analysis/Analyses/ThreadSafetyUtil.h
-include/clang/Analysis/Analyses/UninitializedValues.h
-include/clang/Analysis/AnalysisContext.h
-include/clang/Analysis/AnalysisDiagnostic.h
-include/clang/Analysis/CFG.h
-include/clang/Analysis/CFGStmtMap.h
-include/clang/Analysis/CallGraph.h
-include/clang/Analysis/CloneDetection.h
-include/clang/Analysis/CodeInjector.h
-include/clang/Analysis/DomainSpecific/CocoaConventions.h
-include/clang/Analysis/DomainSpecific/ObjCNoReturn.h
-include/clang/Analysis/FlowSensitive/DataflowValues.h
-include/clang/Analysis/ProgramPoint.h
-include/clang/Analysis/Support/BumpVector.h
-include/clang/Basic/ABI.h
-include/clang/Basic/AddressSpaces.h
-include/clang/Basic/AllDiagnostics.h
-include/clang/Basic/AttrHasAttributeImpl.inc
-include/clang/Basic/AttrKinds.h
-include/clang/Basic/AttrList.inc
-include/clang/Basic/Attributes.h
-include/clang/Basic/Builtins.def
-include/clang/Basic/Builtins.h
-include/clang/Basic/BuiltinsAArch64.def
-include/clang/Basic/BuiltinsAMDGPU.def
-include/clang/Basic/BuiltinsARM.def
-include/clang/Basic/BuiltinsHexagon.def
-include/clang/Basic/BuiltinsLe64.def
-include/clang/Basic/BuiltinsMips.def
-include/clang/Basic/BuiltinsNEON.def
-include/clang/Basic/BuiltinsNVPTX.def
-include/clang/Basic/BuiltinsPPC.def
-include/clang/Basic/BuiltinsSystemZ.def
-include/clang/Basic/BuiltinsWebAssembly.def
-include/clang/Basic/BuiltinsX86.def
-include/clang/Basic/BuiltinsX86_64.def
-include/clang/Basic/BuiltinsXCore.def
-include/clang/Basic/CapturedStmt.h
-include/clang/Basic/CharInfo.h
-include/clang/Basic/CommentOptions.h
-include/clang/Basic/Cuda.h
-include/clang/Basic/DebugInfoOptions.h
-include/clang/Basic/Diagnostic.h
-include/clang/Basic/DiagnosticASTKinds.inc
-include/clang/Basic/DiagnosticAnalysisKinds.inc
-include/clang/Basic/DiagnosticCategories.h
-include/clang/Basic/DiagnosticCommentKinds.inc
-include/clang/Basic/DiagnosticCommonKinds.inc
-include/clang/Basic/DiagnosticDriverKinds.inc
-include/clang/Basic/DiagnosticFrontendKinds.inc
-include/clang/Basic/DiagnosticGroups.inc
-include/clang/Basic/DiagnosticIDs.h
-include/clang/Basic/DiagnosticIndexName.inc
-include/clang/Basic/DiagnosticLexKinds.inc
-include/clang/Basic/DiagnosticOptions.def
-include/clang/Basic/DiagnosticOptions.h
-include/clang/Basic/DiagnosticParseKinds.inc
-include/clang/Basic/DiagnosticSemaKinds.inc
-include/clang/Basic/DiagnosticSerializationKinds.inc
-include/clang/Basic/ExceptionSpecificationType.h
-include/clang/Basic/ExpressionTraits.h
-include/clang/Basic/FileManager.h
-include/clang/Basic/FileSystemOptions.h
-include/clang/Basic/FileSystemStatCache.h
-include/clang/Basic/IdentifierTable.h
-include/clang/Basic/LLVM.h
-include/clang/Basic/Lambda.h
-include/clang/Basic/LangOptions.def
-include/clang/Basic/LangOptions.h
-include/clang/Basic/Linkage.h
-include/clang/Basic/MacroBuilder.h
-include/clang/Basic/Module.h
-include/clang/Basic/ObjCRuntime.h
-include/clang/Basic/OpenCLExtensions.def
-include/clang/Basic/OpenCLImageTypes.def
-include/clang/Basic/OpenCLOptions.h
-include/clang/Basic/OpenMPKinds.def
-include/clang/Basic/OpenMPKinds.h
-include/clang/Basic/OperatorKinds.def
-include/clang/Basic/OperatorKinds.h
-include/clang/Basic/OperatorPrecedence.h
-include/clang/Basic/PartialDiagnostic.h
-include/clang/Basic/PlistSupport.h
-include/clang/Basic/PragmaKinds.h
-include/clang/Basic/PrettyStackTrace.h
-include/clang/Basic/SanitizerBlacklist.h
-include/clang/Basic/Sanitizers.def
-include/clang/Basic/Sanitizers.h
-include/clang/Basic/SourceLocation.h
-include/clang/Basic/SourceManager.h
-include/clang/Basic/SourceManagerInternals.h
-include/clang/Basic/Specifiers.h
-include/clang/Basic/TargetBuiltins.h
-include/clang/Basic/TargetCXXABI.h
-include/clang/Basic/TargetInfo.h
-include/clang/Basic/TargetOptions.h
-include/clang/Basic/TemplateKinds.h
-include/clang/Basic/TokenKinds.def
-include/clang/Basic/TokenKinds.h
-include/clang/Basic/TypeTraits.h
-include/clang/Basic/Version.h
-include/clang/Basic/Version.inc
-include/clang/Basic/VersionTuple.h
-include/clang/Basic/VirtualFileSystem.h
-include/clang/Basic/Visibility.h
-include/clang/Basic/arm_neon.inc
-include/clang/CodeGen/BackendUtil.h
-include/clang/CodeGen/CGFunctionInfo.h
-include/clang/CodeGen/CodeGenABITypes.h
-include/clang/CodeGen/CodeGenAction.h
-include/clang/CodeGen/ModuleBuilder.h
-include/clang/CodeGen/ObjectFilePCHContainerOperations.h
-include/clang/CodeGen/SwiftCallingConv.h
-include/clang/Config/config.h
-include/clang/Driver/Action.h
-include/clang/Driver/Compilation.h
-include/clang/Driver/Distro.h
-include/clang/Driver/Driver.h
-include/clang/Driver/DriverDiagnostic.h
-include/clang/Driver/Job.h
-include/clang/Driver/Multilib.h
-include/clang/Driver/Options.h
-include/clang/Driver/Options.inc
-include/clang/Driver/Phases.h
-include/clang/Driver/SanitizerArgs.h
-include/clang/Driver/Tool.h
-include/clang/Driver/ToolChain.h
-include/clang/Driver/Types.def
-include/clang/Driver/Types.h
-include/clang/Driver/Util.h
-include/clang/Edit/Commit.h
-include/clang/Edit/EditedSource.h
-include/clang/Edit/EditsReceiver.h
-include/clang/Edit/FileOffset.h
-include/clang/Edit/Rewriters.h
-include/clang/Format/Format.h
-include/clang/Frontend/ASTConsumers.h
-include/clang/Frontend/ASTUnit.h
-include/clang/Frontend/ChainedDiagnosticConsumer.h
-include/clang/Frontend/CodeGenOptions.def
-include/clang/Frontend/CodeGenOptions.h
-include/clang/Frontend/CommandLineSourceLoc.h
-include/clang/Frontend/CompilerInstance.h
-include/clang/Frontend/CompilerInvocation.h
-include/clang/Frontend/DependencyOutputOptions.h
-include/clang/Frontend/DiagnosticRenderer.h
-include/clang/Frontend/FrontendAction.h
-include/clang/Frontend/FrontendActions.h
-include/clang/Frontend/FrontendDiagnostic.h
-include/clang/Frontend/FrontendOptions.h
-include/clang/Frontend/FrontendPluginRegistry.h
-include/clang/Frontend/LangStandard.h
-include/clang/Frontend/LangStandards.def
-include/clang/Frontend/LayoutOverrideSource.h
-include/clang/Frontend/LogDiagnosticPrinter.h
-include/clang/Frontend/MigratorOptions.h
-include/clang/Frontend/MultiplexConsumer.h
-include/clang/Frontend/PCHContainerOperations.h
-include/clang/Frontend/PreprocessorOutputOptions.h
-include/clang/Frontend/SerializedDiagnosticPrinter.h
-include/clang/Frontend/SerializedDiagnosticReader.h
-include/clang/Frontend/SerializedDiagnostics.h
-include/clang/Frontend/TextDiagnostic.h
-include/clang/Frontend/TextDiagnosticBuffer.h
-include/clang/Frontend/TextDiagnosticPrinter.h
-include/clang/Frontend/Utils.h
-include/clang/Frontend/VerifyDiagnosticConsumer.h
-include/clang/FrontendTool/Utils.h
-include/clang/Index/CodegenNameGenerator.h
-include/clang/Index/CommentToXML.h
-include/clang/Index/IndexDataConsumer.h
-include/clang/Index/IndexSymbol.h
-include/clang/Index/IndexingAction.h
-include/clang/Index/USRGeneration.h
-include/clang/Lex/CodeCompletionHandler.h
-include/clang/Lex/DirectoryLookup.h
-include/clang/Lex/ExternalPreprocessorSource.h
-include/clang/Lex/HeaderMap.h
-include/clang/Lex/HeaderMapTypes.h
-include/clang/Lex/HeaderSearch.h
-include/clang/Lex/HeaderSearchOptions.h
-include/clang/Lex/LexDiagnostic.h
-include/clang/Lex/Lexer.h
-include/clang/Lex/LiteralSupport.h
-include/clang/Lex/MacroArgs.h
-include/clang/Lex/MacroInfo.h
-include/clang/Lex/ModuleLoader.h
-include/clang/Lex/ModuleMap.h
-include/clang/Lex/MultipleIncludeOpt.h
-include/clang/Lex/PPCallbacks.h
-include/clang/Lex/PPConditionalDirectiveRecord.h
-include/clang/Lex/PTHLexer.h
-include/clang/Lex/PTHManager.h
-include/clang/Lex/Pragma.h
-include/clang/Lex/PreprocessingRecord.h
-include/clang/Lex/Preprocessor.h
-include/clang/Lex/PreprocessorLexer.h
-include/clang/Lex/PreprocessorOptions.h
-include/clang/Lex/ScratchBuffer.h
-include/clang/Lex/Token.h
-include/clang/Lex/TokenConcatenation.h
-include/clang/Lex/TokenLexer.h
-include/clang/Parse/AttrParserStringSwitches.inc
-include/clang/Parse/ParseAST.h
-include/clang/Parse/ParseDiagnostic.h
-include/clang/Parse/Parser.h
-include/clang/Rewrite/Core/DeltaTree.h
-include/clang/Rewrite/Core/HTMLRewrite.h
-include/clang/Rewrite/Core/RewriteBuffer.h
-include/clang/Rewrite/Core/RewriteRope.h
-include/clang/Rewrite/Core/Rewriter.h
-include/clang/Rewrite/Core/TokenRewriter.h
-include/clang/Rewrite/Frontend/ASTConsumers.h
-include/clang/Rewrite/Frontend/FixItRewriter.h
-include/clang/Rewrite/Frontend/FrontendActions.h
-include/clang/Rewrite/Frontend/Rewriters.h
-include/clang/Sema/AnalysisBasedWarnings.h
-include/clang/Sema/AttrParsedAttrImpl.inc
-include/clang/Sema/AttrParsedAttrKinds.inc
-include/clang/Sema/AttrParsedAttrList.inc
-include/clang/Sema/AttrSpellingListIndex.inc
-include/clang/Sema/AttrTemplateInstantiate.inc
-include/clang/Sema/AttributeList.h
-include/clang/Sema/CXXFieldCollector.h
-include/clang/Sema/CleanupInfo.h
-include/clang/Sema/CodeCompleteConsumer.h
-include/clang/Sema/CodeCompleteOptions.h
-include/clang/Sema/DeclSpec.h
-include/clang/Sema/DelayedDiagnostic.h
-include/clang/Sema/Designator.h
-include/clang/Sema/ExternalSemaSource.h
-include/clang/Sema/IdentifierResolver.h
-include/clang/Sema/Initialization.h
-include/clang/Sema/Lookup.h
-include/clang/Sema/LoopHint.h
-include/clang/Sema/MultiplexExternalSemaSource.h
-include/clang/Sema/ObjCMethodList.h
-include/clang/Sema/Overload.h
-include/clang/Sema/Ownership.h
-include/clang/Sema/ParsedTemplate.h
-include/clang/Sema/PrettyDeclStackTrace.h
-include/clang/Sema/Scope.h
-include/clang/Sema/ScopeInfo.h
-include/clang/Sema/Sema.h
-include/clang/Sema/SemaConsumer.h
-include/clang/Sema/SemaDiagnostic.h
-include/clang/Sema/SemaFixItUtils.h
-include/clang/Sema/SemaInternal.h
-include/clang/Sema/SemaLambda.h
-include/clang/Sema/Template.h
-include/clang/Sema/TemplateDeduction.h
-include/clang/Sema/TypoCorrection.h
-include/clang/Sema/Weak.h
-include/clang/Serialization/ASTBitCodes.h
-include/clang/Serialization/ASTDeserializationListener.h
-include/clang/Serialization/ASTReader.h
-include/clang/Serialization/ASTWriter.h
-include/clang/Serialization/AttrPCHRead.inc
-include/clang/Serialization/AttrPCHWrite.inc
-include/clang/Serialization/ContinuousRangeMap.h
-include/clang/Serialization/GlobalModuleIndex.h
-include/clang/Serialization/Module.h
-include/clang/Serialization/ModuleFileExtension.h
-include/clang/Serialization/ModuleManager.h
-include/clang/Serialization/SerializationDiagnostic.h
-include/clang/StaticAnalyzer/Checkers/Checkers.inc
-include/clang/StaticAnalyzer/Checkers/ClangCheckers.h
-include/clang/StaticAnalyzer/Checkers/LocalCheckers.h
-include/clang/StaticAnalyzer/Checkers/MPIFunctionClassifier.h
-include/clang/StaticAnalyzer/Checkers/ObjCRetainCount.h
-include/clang/StaticAnalyzer/Checkers/SValExplainer.h
-include/clang/StaticAnalyzer/Core/Analyses.def
-include/clang/StaticAnalyzer/Core/AnalyzerOptions.h
-include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h
-include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitor.h
-include/clang/StaticAnalyzer/Core/BugReporter/BugType.h
-include/clang/StaticAnalyzer/Core/BugReporter/CommonBugCategories.h
-include/clang/StaticAnalyzer/Core/BugReporter/PathDiagnostic.h
-include/clang/StaticAnalyzer/Core/Checker.h
-include/clang/StaticAnalyzer/Core/CheckerManager.h
-include/clang/StaticAnalyzer/Core/CheckerOptInfo.h
-include/clang/StaticAnalyzer/Core/CheckerRegistry.h
-include/clang/StaticAnalyzer/Core/IssueHash.h
-include/clang/StaticAnalyzer/Core/PathDiagnosticConsumers.h
-include/clang/StaticAnalyzer/Core/PathSensitive/APSIntType.h
-include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h
-include/clang/StaticAnalyzer/Core/PathSensitive/BasicValueFactory.h
-include/clang/StaticAnalyzer/Core/PathSensitive/BlockCounter.h
-include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h
-include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h
-include/clang/StaticAnalyzer/Core/PathSensitive/CheckerHelpers.h
-include/clang/StaticAnalyzer/Core/PathSensitive/ConstraintManager.h
-include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h
-include/clang/StaticAnalyzer/Core/PathSensitive/DynamicTypeInfo.h
-include/clang/StaticAnalyzer/Core/PathSensitive/DynamicTypeMap.h
-include/clang/StaticAnalyzer/Core/PathSensitive/Environment.h
-include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h
-include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h
-include/clang/StaticAnalyzer/Core/PathSensitive/FunctionSummary.h
-include/clang/StaticAnalyzer/Core/PathSensitive/LoopWidening.h
-include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h
-include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h
-include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h
-include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h
-include/clang/StaticAnalyzer/Core/PathSensitive/Regions.def
-include/clang/StaticAnalyzer/Core/PathSensitive/SValBuilder.h
-include/clang/StaticAnalyzer/Core/PathSensitive/SValVisitor.h
-include/clang/StaticAnalyzer/Core/PathSensitive/SVals.def
-include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h
-include/clang/StaticAnalyzer/Core/PathSensitive/Store.h
-include/clang/StaticAnalyzer/Core/PathSensitive/StoreRef.h
-include/clang/StaticAnalyzer/Core/PathSensitive/SubEngine.h
-include/clang/StaticAnalyzer/Core/PathSensitive/SummaryManager.h
-include/clang/StaticAnalyzer/Core/PathSensitive/SymExpr.h
-include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h
-include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def
-include/clang/StaticAnalyzer/Core/PathSensitive/TaintManager.h
-include/clang/StaticAnalyzer/Core/PathSensitive/TaintTag.h
-include/clang/StaticAnalyzer/Core/PathSensitive/WorkList.h
-include/clang/StaticAnalyzer/Frontend/AnalysisConsumer.h
-include/clang/StaticAnalyzer/Frontend/CheckerRegistration.h
-include/clang/StaticAnalyzer/Frontend/FrontendActions.h
-include/clang/StaticAnalyzer/Frontend/ModelConsumer.h
-include/clang/Tooling/ArgumentsAdjusters.h
-include/clang/Tooling/CommonOptionsParser.h
-include/clang/Tooling/CompilationDatabase.h
-include/clang/Tooling/CompilationDatabasePluginRegistry.h
-include/clang/Tooling/Core/Lookup.h
-include/clang/Tooling/Core/QualTypeNames.h
-include/clang/Tooling/Core/Replacement.h
-include/clang/Tooling/FileMatchTrie.h
-include/clang/Tooling/FixIt.h
-include/clang/Tooling/JSONCompilationDatabase.h
-include/clang/Tooling/Refactoring.h
-include/clang/Tooling/RefactoringCallbacks.h
-include/clang/Tooling/ReplacementsYaml.h
-include/clang/Tooling/Tooling.h
-lib/clang/${PKGVERSION}/include/__clang_cuda_builtin_vars.h
-lib/clang/${PKGVERSION}/include/__clang_cuda_cmath.h
-lib/clang/${PKGVERSION}/include/__clang_cuda_complex_builtins.h
-lib/clang/${PKGVERSION}/include/__clang_cuda_intrinsics.h
-lib/clang/${PKGVERSION}/include/__clang_cuda_math_forward_declares.h
-lib/clang/${PKGVERSION}/include/__clang_cuda_runtime_wrapper.h
-lib/clang/${PKGVERSION}/include/__stddef_max_align_t.h
-lib/clang/${PKGVERSION}/include/__wmmintrin_aes.h
-lib/clang/${PKGVERSION}/include/__wmmintrin_pclmul.h
-lib/clang/${PKGVERSION}/include/adxintrin.h
-lib/clang/${PKGVERSION}/include/altivec.h
-lib/clang/${PKGVERSION}/include/ammintrin.h
-lib/clang/${PKGVERSION}/include/arm_acle.h
-lib/clang/${PKGVERSION}/include/arm_neon.h
-lib/clang/${PKGVERSION}/include/armintr.h
-lib/clang/${PKGVERSION}/include/avx2intrin.h
-lib/clang/${PKGVERSION}/include/avx512bwintrin.h
-lib/clang/${PKGVERSION}/include/avx512cdintrin.h
-lib/clang/${PKGVERSION}/include/avx512dqintrin.h
-lib/clang/${PKGVERSION}/include/avx512erintrin.h
-lib/clang/${PKGVERSION}/include/avx512fintrin.h
-lib/clang/${PKGVERSION}/include/avx512ifmaintrin.h
-lib/clang/${PKGVERSION}/include/avx512ifmavlintrin.h
-lib/clang/${PKGVERSION}/include/avx512pfintrin.h
-lib/clang/${PKGVERSION}/include/avx512vbmiintrin.h
-lib/clang/${PKGVERSION}/include/avx512vbmivlintrin.h
-lib/clang/${PKGVERSION}/include/avx512vlbwintrin.h
-lib/clang/${PKGVERSION}/include/avx512vlcdintrin.h
-lib/clang/${PKGVERSION}/include/avx512vldqintrin.h
-lib/clang/${PKGVERSION}/include/avx512vlintrin.h
-lib/clang/${PKGVERSION}/include/avxintrin.h
-lib/clang/${PKGVERSION}/include/bmi2intrin.h
-lib/clang/${PKGVERSION}/include/bmiintrin.h
-lib/clang/${PKGVERSION}/include/clflushoptintrin.h
-lib/clang/${PKGVERSION}/include/cpuid.h
-lib/clang/${PKGVERSION}/include/cuda_wrappers/algorithm
-lib/clang/${PKGVERSION}/include/cuda_wrappers/complex
-lib/clang/${PKGVERSION}/include/cuda_wrappers/new
-lib/clang/${PKGVERSION}/include/emmintrin.h
-lib/clang/${PKGVERSION}/include/f16cintrin.h
-lib/clang/${PKGVERSION}/include/float.h
-lib/clang/${PKGVERSION}/include/fma4intrin.h
-lib/clang/${PKGVERSION}/include/fmaintrin.h
-lib/clang/${PKGVERSION}/include/fxsrintrin.h
-lib/clang/${PKGVERSION}/include/htmintrin.h
-lib/clang/${PKGVERSION}/include/htmxlintrin.h
-lib/clang/${PKGVERSION}/include/ia32intrin.h
-lib/clang/${PKGVERSION}/include/immintrin.h
-lib/clang/${PKGVERSION}/include/intrin.h
-lib/clang/${PKGVERSION}/include/inttypes.h
-lib/clang/${PKGVERSION}/include/iso646.h
-lib/clang/${PKGVERSION}/include/limits.h
-lib/clang/${PKGVERSION}/include/lzcntintrin.h
-lib/clang/${PKGVERSION}/include/mm3dnow.h
-lib/clang/${PKGVERSION}/include/mm_malloc.h
-lib/clang/${PKGVERSION}/include/mmintrin.h
-lib/clang/${PKGVERSION}/include/module.modulemap
-lib/clang/${PKGVERSION}/include/msa.h
-lib/clang/${PKGVERSION}/include/mwaitxintrin.h
-lib/clang/${PKGVERSION}/include/nmmintrin.h
-lib/clang/${PKGVERSION}/include/opencl-c.h
-lib/clang/${PKGVERSION}/include/pkuintrin.h
-lib/clang/${PKGVERSION}/include/pmmintrin.h
-lib/clang/${PKGVERSION}/include/popcntintrin.h
-lib/clang/${PKGVERSION}/include/prfchwintrin.h
-lib/clang/${PKGVERSION}/include/rdseedintrin.h
-lib/clang/${PKGVERSION}/include/rtmintrin.h
-lib/clang/${PKGVERSION}/include/s390intrin.h
-lib/clang/${PKGVERSION}/include/shaintrin.h
-lib/clang/${PKGVERSION}/include/smmintrin.h
-lib/clang/${PKGVERSION}/include/stdalign.h
-lib/clang/${PKGVERSION}/include/stdarg.h
-lib/clang/${PKGVERSION}/include/stdatomic.h
-lib/clang/${PKGVERSION}/include/stdbool.h
-lib/clang/${PKGVERSION}/include/stddef.h
-lib/clang/${PKGVERSION}/include/stdint.h
-lib/clang/${PKGVERSION}/include/stdnoreturn.h
-lib/clang/${PKGVERSION}/include/tbmintrin.h
-lib/clang/${PKGVERSION}/include/tgmath.h
-lib/clang/${PKGVERSION}/include/tmmintrin.h
-lib/clang/${PKGVERSION}/include/unwind.h
-lib/clang/${PKGVERSION}/include/vadefs.h
-lib/clang/${PKGVERSION}/include/varargs.h
-lib/clang/${PKGVERSION}/include/vecintrin.h
-lib/clang/${PKGVERSION}/include/wmmintrin.h
-lib/clang/${PKGVERSION}/include/x86intrin.h
-lib/clang/${PKGVERSION}/include/xmmintrin.h
-lib/clang/${PKGVERSION}/include/xopintrin.h
-lib/clang/${PKGVERSION}/include/xsavecintrin.h
-lib/clang/${PKGVERSION}/include/xsaveintrin.h
-lib/clang/${PKGVERSION}/include/xsaveoptintrin.h
-lib/clang/${PKGVERSION}/include/xsavesintrin.h
-lib/clang/${PKGVERSION}/include/xtestintrin.h
-lib/cmake/clang/ClangConfig.cmake
-lib/cmake/clang/ClangTargets-release.cmake
-lib/cmake/clang/ClangTargets.cmake
-lib/libclang.${SOEXT}
-${PLIST.notdylib}lib/libclang.${SOEXT}.${LLVM_MAJOR}
-lib/libclang.${SOEXT}.40
-lib/libclangAST.a
-lib/libclangASTMatchers.a
-lib/libclangAnalysis.a
-lib/libclangBasic.a
-lib/libclangCodeGen.a
-lib/libclangDriver.a
-lib/libclangDynamicASTMatchers.a
-lib/libclangEdit.a
-lib/libclangFormat.a
-lib/libclangFrontend.a
-lib/libclangFrontendTool.a
-lib/libclangIndex.a
-lib/libclangLex.a
-lib/libclangParse.a
-lib/libclangRewrite.a
-lib/libclangRewriteFrontend.a
-lib/libclangSema.a
-lib/libclangSerialization.a
-lib/libclangTooling.a
-lib/libclangToolingCore.a
-share/clang/clang-format-bbedit.applescript
-share/clang/clang-format-diff.py
-share/clang/clang-format-sublime.py
-share/clang/clang-format.el
-share/clang/clang-format.py
-share/clang/git-clang-format
diff --git a/clang-git-netbsd/TODO b/clang-git-netbsd/TODO
deleted file mode 100644
index 81c1d27..0000000
--- a/clang-git-netbsd/TODO
+++ /dev/null
@@ -1,5 +0,0 @@
-warning: /tmp/pkgsrc-tmp/wip/lldb-git/work/.destdir/usr/pkg/share/clang/clang-format-bbedit.applescript: executable bit is set on non-executable file.
-warning: /tmp/pkgsrc-tmp/wip/lldb-git/work/.destdir/usr/pkg/share/clang/clang-format-sublime.py: executable bit is set on non-executable file.
-warning: /tmp/pkgsrc-tmp/wip/lldb-git/work/.destdir/usr/pkg/share/clang/clang-format.el: executable bit is set on non-executable file.
-warning: /tmp/pkgsrc-tmp/wip/lldb-git/work/.destdir/usr/pkg/share/clang/clang-format.py: executable bit is set on non-executable file.
-warning: /tmp/pkgsrc-tmp/wip/lldb-git/work/.destdir/usr/pkg/share/man/man1/scan-build.1: executable bit is set on non-executable file.
diff --git a/clang-git-netbsd/buildlink3.mk b/clang-git-netbsd/buildlink3.mk
deleted file mode 100644
index 13e2939..0000000
--- a/clang-git-netbsd/buildlink3.mk
+++ /dev/null
@@ -1,16 +0,0 @@
-# $NetBSD$
-
-BUILDLINK_TREE+=	clang
-
-.if !defined(CLANG_BUILDLINK3_MK)
-CLANG_BUILDLINK3_MK:=
-
-BUILDLINK_API_DEPENDS.clang+=	clang>=3.9.0
-BUILDLINK_PKGSRCDIR.clang?=	../../wip/clang-git
-
-.include "../../textproc/libxml2/buildlink3.mk"
-.include "../../devel/zlib/buildlink3.mk"
-.include "../../wip/llvm-git/buildlink3.mk"
-.endif	# CLANG_BUILDLINK3_MK
-
-BUILDLINK_TREE+=	-clang
diff --git a/clang-git-netbsd/distinfo b/clang-git-netbsd/distinfo
deleted file mode 100644
index 1ca315a..0000000
--- a/clang-git-netbsd/distinfo
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: distinfo,v 1.35 2015/09/11 01:21:57 tnn Exp $
-
-SHA1 (cfe-3.6.2.src.tar.xz) = 7ba809c9c17819a16b668640a642ed134d7052f0
-RMD160 (cfe-3.6.2.src.tar.xz) = 10d913b4d5317f8c2520e5fc6117df30937317a8
-Size (cfe-3.6.2.src.tar.xz) = 8617576 bytes
-SHA1 (compiler-rt-3.6.2.src.tar.xz) = c6c52d2923a60f1a2ca2f22fea1770fd2e25728d
-RMD160 (compiler-rt-3.6.2.src.tar.xz) = 9b68a32d49d4bef4603d550934192f39fea42895
-Size (compiler-rt-3.6.2.src.tar.xz) = 1128080 bytes
-SHA1 (libcxx-3.6.2.src.tar.xz) = 6c5aee9f05ecf17d1e3ecb1add34a33a5a904469
-RMD160 (libcxx-3.6.2.src.tar.xz) = 42b8832d01d4e6b553babc93cb5dbd4ce2bb1931
-Size (libcxx-3.6.2.src.tar.xz) = 944020 bytes
-SHA1 (llvm-3.6.2.src.tar.xz) = 7a00257eb2bc9431e4c77c3a36b033072c54bc7e
-RMD160 (llvm-3.6.2.src.tar.xz) = 521cbc5fe2925ea3c6e90c7a31f752a04045c972
-Size (llvm-3.6.2.src.tar.xz) = 12802380 bytes
-SHA1 (patch-tools_clang-format_CMakeLists.txt) = f119d2a94cbfb8c00a285d1aa7789ed26f8309cf
diff --git a/clang-git-netbsd/patches/patch-tools_clang-format_CMakeLists.txt b/clang-git-netbsd/patches/patch-tools_clang-format_CMakeLists.txt
deleted file mode 100644
index 994196b..0000000
--- a/clang-git-netbsd/patches/patch-tools_clang-format_CMakeLists.txt
+++ /dev/null
@@ -1,16 +0,0 @@
-$NetBSD$
-
-git-clang-format is a git integration for clang-format,
-written in python. It could be moved to a separate package
-to avoid a python runtime dependency here, but for now I just opted
-to move it to share/clang and skip the interpreter check.
-
---- tools/clang-format/CMakeLists.txt.orig	2016-02-23 23:55:19.000000000 +0000
-+++ tools/clang-format/CMakeLists.txt
-@@ -35,5 +35,5 @@ install(PROGRAMS clang-format.py
-   DESTINATION share/clang
-   COMPONENT clang-format)
- install(PROGRAMS git-clang-format
--  DESTINATION bin
-+  DESTINATION share/clang
-   COMPONENT clang-format)
diff --git a/clang-netbsd/DESCR b/clang-netbsd/DESCR
new file mode 100644
index 0000000..9bf02c2
--- /dev/null
+++ b/clang-netbsd/DESCR
@@ -0,0 +1,22 @@
+Low Level Virtual Machine (LLVM) is:
+
+A compilation strategy designed to enable effective program optimization across
+the entire lifetime of a program. LLVM supports effective optimization at
+compile time, link-time (particularly interprocedural), run-time and offline
+(i.e., after software is installed), while remaining transparent to developers
+and maintaining compatibility with existing build scripts.
+
+A virtual instruction set - LLVM is a low-level object code representation that
+uses simple RISC-like instructions, but provides rich, language-independent,
+type information and dataflow (SSA) information about operands. This combination
+enables sophisticated transformations on object code, while remaining
+light-weight enough to be attached to the executable. This combination is key to
+allowing link-time, run-time, and offline transformations.
+
+A compiler infrastructure - LLVM is also a collection of source code that
+implements the language and compilation strategy. The primary components of the
+LLVM infrastructure are a GCC-based C & C++ front-end, a link-time optimization
+framework with a growing set of global and interprocedural analyses and
+transformations, static back-ends for the X86, X86-64, PowerPC 32/64, ARM,
+Thumb, IA-64, Alpha and SPARC architectures, a back-end which emits portable C
+code, and a Just-In-Time compiler for X86, X86-64, PowerPC 32/64 processors.
diff --git a/clang-netbsd/Makefile b/clang-netbsd/Makefile
new file mode 100644
index 0000000..7274d28
--- /dev/null
+++ b/clang-netbsd/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD$
+
+PKGNAME=	clang-4.0.0
+PYTHON_FOR_BUILD_ONLY=	yes
+
+CMAKE_ARGS+=	-DCLANG_ENABLE_STATIC_ANALYZER=OFF
+
+# There are some contrib utilities written in python here.
+# We don't want to add a python runtime dependency for that.
+CHECK_INTERPRETER_SKIP+=	share/clang/*
+
+.PHONY: install-clang-cpp
+post-install: install-clang-cpp
+install-clang-cpp:
+	${LN} -fs clang ${DESTDIR}${PREFIX}/bin/clang-cpp
+
+.include "../../wip/clang-netbsd/Makefile.common"
diff --git a/clang-netbsd/Makefile.common b/clang-netbsd/Makefile.common
new file mode 100644
index 0000000..7b521e6
--- /dev/null
+++ b/clang-netbsd/Makefile.common
@@ -0,0 +1,127 @@
+# $NetBSD$
+# used by wip/clang-git/Makefile
+# used by wip/clang-static-analyzer-git/Makefile
+
+CATEGORIES=	lang devel
+
+SVN_REPOSITORIES=	clang
+SVN_REPO.clang=		http://llvm.org/svn/llvm-project/cfe/trunk
+SVN_REVISION.clang=	289997
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	http://clang.llvm.org/
+COMMENT=	C language family frontend for LLVM
+LICENSE=	modified-bsd
+
+DISTINFO_FILE=		${.CURDIR}/../../wip/clang-netbsd/distinfo
+PATCHDIR=		${.CURDIR}/../../wip/clang-netbsd/patches
+WRKSRC=			${WRKDIR}/clang
+CONFIGURE_DIRS=		${WRKDIR}/build
+CMAKE_ARG_PATH=		${WRKSRC}
+
+USE_LANGUAGES=		c c++
+USE_CMAKE=		yes
+GCC_REQD+=		4.8
+
+CMAKE_ARGS+=	-DLLVM_CONFIG=${LLVM_CONFIG_PATH}
+CMAKE_ARGS+=	-DCMAKE_BUILD_TYPE=Release
+CMAKE_ARGS+=	-DCMAKE_C_COMPILER=gcc
+CMAKE_ARGS+=	-DCMAKE_CXX_COMPILER=g++
+# XXX can't disable static-analyzer without also disabling ARCMT
+CMAKE_ARGS+=	-DCLANG_ENABLE_ARCMT=OFF
+
+REPLACE_PERL+=		test/make_test_dirs.pl
+REPLACE_PERL+=		tools/scan-build/bin/scan-build
+REPLACE_PERL+=		tools/scan-build/libexec/c++-analyzer
+REPLACE_PERL+=		tools/scan-build/libexec/ccc-analyzer
+REPLACE_PERL+=		utils/TestUtils/pch-test.pl
+REPLACE_PERL+=		utils/analyzer/reducer.pl
+REPLACE_PERL+=		utils/analyzer/update_plist_test.pl
+REPLACE_PERL+=		www/demo/index.cgi
+
+REPLACE_PYTHON+=	bindings/python/examples/cindex/cindex-dump.py
+REPLACE_PYTHON+=	bindings/python/examples/cindex/cindex-includes.py
+REPLACE_PYTHON+=	docs/tools/dump_ast_matchers.py
+REPLACE_PYTHON+=	docs/tools/dump_format_style.py
+REPLACE_PYTHON+=	tools/clang-format/clang-format-diff.py
+REPLACE_PYTHON+=	tools/clang-format/git-clang-format
+REPLACE_PYTHON+=	tools/scan-build/bin/set-xcode-analyzer
+REPLACE_PYTHON+=	tools/scan-view/bin/scan-view
+REPLACE_PYTHON+=	utils/ABITest/ABITestGen.py
+REPLACE_PYTHON+=	utils/CIndex/completion_logger_server.py
+REPLACE_PYTHON+=	utils/CaptureCmd
+REPLACE_PYTHON+=	utils/CmpDriver
+REPLACE_PYTHON+=	utils/FindSpecRefs
+REPLACE_PYTHON+=	utils/FuzzTest
+REPLACE_PYTHON+=	utils/TestUtils/deep-stack.py
+REPLACE_PYTHON+=	utils/analyzer/CmpRuns.py
+REPLACE_PYTHON+=	utils/analyzer/SATestAdd.py
+REPLACE_PYTHON+=	utils/analyzer/SATestBuild.py
+REPLACE_PYTHON+=	utils/analyzer/SumTimerInfo.py
+REPLACE_PYTHON+=	utils/analyzer/ubiviz
+REPLACE_PYTHON+=	utils/check_cfc/check_cfc.py
+REPLACE_PYTHON+=	utils/check_cfc/obj_diff.py
+REPLACE_PYTHON+=	utils/check_cfc/test_check_cfc.py
+REPLACE_PYTHON+=	utils/token-delta.py
+REPLACE_PYTHON+=	www/builtins.py
+
+.include "../../mk/compiler.mk"
+
+.if ${OPSYS} == "NetBSD" && !empty(PKGSRC_COMPILER:Mclang)
+# command to check if clang is using libc++ or libstdc++
+LIBCPP_CHECK_SH=	printf "\#include <ciso646>\n\#ifdef _LIBCPP_VERSION\nYES\n\#endif" | ${CLANGBASE}/bin/clang++ -x c++ -E - 2>&1 | grep YES || true
+.else
+LIBCPP_CHECK_SH=	echo NO
+.endif
+
+# patch NetBSD::GetCXXStdlibType
+.if ${OPSYS} == "NetBSD" && empty(LIBCPP_CHECK_SH:sh:MYES)
+SUBST_CLASSES+=			libcxx
+SUBST_STAGE.libcxx=		pre-configure
+SUBST_MESSAGE.libcxx=		Patching toolchain to use libstdc++ (matching the host compiler)
+SUBST_FILES.libcxx=		lib/Driver/ToolChains.cpp
+SUBST_FILES.libcxx+=		lib/Driver/Tools.cpp
+SUBST_SED.libcxx=		-e 's,(Major >= 7 || Major == 0),(false),'
+
+CMAKE_ARGS+=			-DCLANG_DEFAULT_CXX_STDLIB:STRING="libstdc++"
+.endif
+
+# 3.8.0 -> 3.8
+LLVM_MAJOR=	${PKGVERSION_NOREV:C/^([0-9]+\.[0-9]+)\..*$/\1/}
+PLIST_SUBST+=	LLVM_MAJOR=${LLVM_MAJOR}
+
+PLIST_VARS+=	notdylib
+.if ${_OPSYS_SHLIB_TYPE} == "dylib"
+SOEXT=		dylib
+.else
+SOEXT=		so
+PLIST.notdylib=	yes
+.endif
+PLIST_SUBST+=	SOEXT=${SOEXT}
+
+PKG_OPTIONS_VAR=	PKG_OPTIONS.clang
+PKG_SUPPORTED_OPTIONS=	tests
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mtests)
+CMAKE_ARGS+=		-DLLVM_INCLUDE_TESTS=ON
+CMAKE_ARGS+=		-DCLANG_INCLUDE_TESTS=ON
+TEST_TARGET=		clang-test
+TEST_ENV+=		LD_LIBRARY_PATH=${WRKDIR}/build/lib
+.include "../../devel/googletest/buildlink3.mk"
+.else
+CMAKE_ARGS+=		-DLLVM_INCLUDE_TESTS=OFF
+CMAKE_ARGS+=		-DCLANG_INCLUDE_TESTS=OFF
+.endif
+
+post-extract:
+	${RUN} mkdir -p ${WRKDIR}/build
+
+.include "../../textproc/libxml2/buildlink3.mk"
+.include "../../wip/mk/svn-package.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../lang/python/tool.mk"
+DEPENDS+=	llvm-${PKGVERSION_NOREV}{,nb*}:../../wip/llvm-netbsd
+.include "../../wip/llvm-netbsd/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/clang-netbsd/PLIST b/clang-netbsd/PLIST
new file mode 100644
index 0000000..738f26e
--- /dev/null
+++ b/clang-netbsd/PLIST
@@ -0,0 +1,600 @@
+@comment $NetBSD$
+bin/c-index-test
+bin/clang
+bin/clang++
+bin/clang-${LLVM_MAJOR}
+bin/clang-cl
+bin/clang-cpp
+bin/clang-format
+bin/clang-offload-bundler
+include/clang-c/BuildSystem.h
+include/clang-c/CXCompilationDatabase.h
+include/clang-c/CXErrorCode.h
+include/clang-c/CXString.h
+include/clang-c/Documentation.h
+include/clang-c/Index.h
+include/clang-c/Platform.h
+include/clang/ARCMigrate/ARCMT.h
+include/clang/ARCMigrate/ARCMTActions.h
+include/clang/ARCMigrate/FileRemapper.h
+include/clang/AST/APValue.h
+include/clang/AST/AST.h
+include/clang/AST/ASTConsumer.h
+include/clang/AST/ASTContext.h
+include/clang/AST/ASTDiagnostic.h
+include/clang/AST/ASTFwd.h
+include/clang/AST/ASTImporter.h
+include/clang/AST/ASTLambda.h
+include/clang/AST/ASTMutationListener.h
+include/clang/AST/ASTTypeTraits.h
+include/clang/AST/ASTUnresolvedSet.h
+include/clang/AST/ASTVector.h
+include/clang/AST/Attr.h
+include/clang/AST/AttrDump.inc
+include/clang/AST/AttrImpl.inc
+include/clang/AST/AttrIterator.h
+include/clang/AST/AttrVisitor.inc
+include/clang/AST/Attrs.inc
+include/clang/AST/Availability.h
+include/clang/AST/BaseSubobject.h
+include/clang/AST/BuiltinTypes.def
+include/clang/AST/CXXInheritance.h
+include/clang/AST/CanonicalType.h
+include/clang/AST/CharUnits.h
+include/clang/AST/Comment.h
+include/clang/AST/CommentBriefParser.h
+include/clang/AST/CommentCommandInfo.inc
+include/clang/AST/CommentCommandList.inc
+include/clang/AST/CommentCommandTraits.h
+include/clang/AST/CommentDiagnostic.h
+include/clang/AST/CommentHTMLNamedCharacterReferences.inc
+include/clang/AST/CommentHTMLTags.inc
+include/clang/AST/CommentHTMLTagsProperties.inc
+include/clang/AST/CommentLexer.h
+include/clang/AST/CommentNodes.inc
+include/clang/AST/CommentParser.h
+include/clang/AST/CommentSema.h
+include/clang/AST/CommentVisitor.h
+include/clang/AST/Decl.h
+include/clang/AST/DeclAccessPair.h
+include/clang/AST/DeclBase.h
+include/clang/AST/DeclCXX.h
+include/clang/AST/DeclContextInternals.h
+include/clang/AST/DeclFriend.h
+include/clang/AST/DeclGroup.h
+include/clang/AST/DeclLookups.h
+include/clang/AST/DeclNodes.inc
+include/clang/AST/DeclObjC.h
+include/clang/AST/DeclOpenMP.h
+include/clang/AST/DeclTemplate.h
+include/clang/AST/DeclVisitor.h
+include/clang/AST/DeclarationName.h
+include/clang/AST/DependentDiagnostic.h
+include/clang/AST/EvaluatedExprVisitor.h
+include/clang/AST/Expr.h
+include/clang/AST/ExprCXX.h
+include/clang/AST/ExprObjC.h
+include/clang/AST/ExprOpenMP.h
+include/clang/AST/ExternalASTSource.h
+include/clang/AST/GlobalDecl.h
+include/clang/AST/LambdaCapture.h
+include/clang/AST/LocInfoType.h
+include/clang/AST/Mangle.h
+include/clang/AST/MangleNumberingContext.h
+include/clang/AST/NSAPI.h
+include/clang/AST/NestedNameSpecifier.h
+include/clang/AST/OpenMPClause.h
+include/clang/AST/OperationKinds.def
+include/clang/AST/OperationKinds.h
+include/clang/AST/ParentMap.h
+include/clang/AST/PrettyPrinter.h
+include/clang/AST/RawCommentList.h
+include/clang/AST/RecordLayout.h
+include/clang/AST/RecursiveASTVisitor.h
+include/clang/AST/Redeclarable.h
+include/clang/AST/SelectorLocationsKind.h
+include/clang/AST/Stmt.h
+include/clang/AST/StmtCXX.h
+include/clang/AST/StmtGraphTraits.h
+include/clang/AST/StmtIterator.h
+include/clang/AST/StmtNodes.inc
+include/clang/AST/StmtObjC.h
+include/clang/AST/StmtOpenMP.h
+include/clang/AST/StmtVisitor.h
+include/clang/AST/TemplateBase.h
+include/clang/AST/TemplateName.h
+include/clang/AST/Type.h
+include/clang/AST/TypeLoc.h
+include/clang/AST/TypeLocNodes.def
+include/clang/AST/TypeLocVisitor.h
+include/clang/AST/TypeNodes.def
+include/clang/AST/TypeOrdering.h
+include/clang/AST/TypeVisitor.h
+include/clang/AST/UnresolvedSet.h
+include/clang/AST/VTTBuilder.h
+include/clang/AST/VTableBuilder.h
+include/clang/ASTMatchers/ASTMatchFinder.h
+include/clang/ASTMatchers/ASTMatchers.h
+include/clang/ASTMatchers/ASTMatchersInternal.h
+include/clang/ASTMatchers/ASTMatchersMacros.h
+include/clang/ASTMatchers/Dynamic/Diagnostics.h
+include/clang/ASTMatchers/Dynamic/Parser.h
+include/clang/ASTMatchers/Dynamic/Registry.h
+include/clang/ASTMatchers/Dynamic/VariantValue.h
+include/clang/Analysis/Analyses/CFGReachabilityAnalysis.h
+include/clang/Analysis/Analyses/Consumed.h
+include/clang/Analysis/Analyses/Dominators.h
+include/clang/Analysis/Analyses/FormatString.h
+include/clang/Analysis/Analyses/LiveVariables.h
+include/clang/Analysis/Analyses/OSLog.h
+include/clang/Analysis/Analyses/PostOrderCFGView.h
+include/clang/Analysis/Analyses/PseudoConstantAnalysis.h
+include/clang/Analysis/Analyses/ReachableCode.h
+include/clang/Analysis/Analyses/ThreadSafety.h
+include/clang/Analysis/Analyses/ThreadSafetyCommon.h
+include/clang/Analysis/Analyses/ThreadSafetyLogical.h
+include/clang/Analysis/Analyses/ThreadSafetyOps.def
+include/clang/Analysis/Analyses/ThreadSafetyTIL.h
+include/clang/Analysis/Analyses/ThreadSafetyTraverse.h
+include/clang/Analysis/Analyses/ThreadSafetyUtil.h
+include/clang/Analysis/Analyses/UninitializedValues.h
+include/clang/Analysis/AnalysisContext.h
+include/clang/Analysis/AnalysisDiagnostic.h
+include/clang/Analysis/CFG.h
+include/clang/Analysis/CFGStmtMap.h
+include/clang/Analysis/CallGraph.h
+include/clang/Analysis/CloneDetection.h
+include/clang/Analysis/CodeInjector.h
+include/clang/Analysis/DomainSpecific/CocoaConventions.h
+include/clang/Analysis/DomainSpecific/ObjCNoReturn.h
+include/clang/Analysis/FlowSensitive/DataflowValues.h
+include/clang/Analysis/ProgramPoint.h
+include/clang/Analysis/Support/BumpVector.h
+include/clang/Basic/ABI.h
+include/clang/Basic/AddressSpaces.h
+include/clang/Basic/AllDiagnostics.h
+include/clang/Basic/AttrHasAttributeImpl.inc
+include/clang/Basic/AttrKinds.h
+include/clang/Basic/AttrList.inc
+include/clang/Basic/Attributes.h
+include/clang/Basic/Builtins.def
+include/clang/Basic/Builtins.h
+include/clang/Basic/BuiltinsAArch64.def
+include/clang/Basic/BuiltinsAMDGPU.def
+include/clang/Basic/BuiltinsARM.def
+include/clang/Basic/BuiltinsHexagon.def
+include/clang/Basic/BuiltinsLe64.def
+include/clang/Basic/BuiltinsMips.def
+include/clang/Basic/BuiltinsNEON.def
+include/clang/Basic/BuiltinsNVPTX.def
+include/clang/Basic/BuiltinsPPC.def
+include/clang/Basic/BuiltinsSystemZ.def
+include/clang/Basic/BuiltinsWebAssembly.def
+include/clang/Basic/BuiltinsX86.def
+include/clang/Basic/BuiltinsX86_64.def
+include/clang/Basic/BuiltinsXCore.def
+include/clang/Basic/CapturedStmt.h
+include/clang/Basic/CharInfo.h
+include/clang/Basic/CommentOptions.h
+include/clang/Basic/Cuda.h
+include/clang/Basic/DebugInfoOptions.h
+include/clang/Basic/Diagnostic.h
+include/clang/Basic/DiagnosticASTKinds.inc
+include/clang/Basic/DiagnosticAnalysisKinds.inc
+include/clang/Basic/DiagnosticCategories.h
+include/clang/Basic/DiagnosticCommentKinds.inc
+include/clang/Basic/DiagnosticCommonKinds.inc
+include/clang/Basic/DiagnosticDriverKinds.inc
+include/clang/Basic/DiagnosticFrontendKinds.inc
+include/clang/Basic/DiagnosticGroups.inc
+include/clang/Basic/DiagnosticIDs.h
+include/clang/Basic/DiagnosticIndexName.inc
+include/clang/Basic/DiagnosticLexKinds.inc
+include/clang/Basic/DiagnosticOptions.def
+include/clang/Basic/DiagnosticOptions.h
+include/clang/Basic/DiagnosticParseKinds.inc
+include/clang/Basic/DiagnosticSemaKinds.inc
+include/clang/Basic/DiagnosticSerializationKinds.inc
+include/clang/Basic/ExceptionSpecificationType.h
+include/clang/Basic/ExpressionTraits.h
+include/clang/Basic/FileManager.h
+include/clang/Basic/FileSystemOptions.h
+include/clang/Basic/FileSystemStatCache.h
+include/clang/Basic/IdentifierTable.h
+include/clang/Basic/LLVM.h
+include/clang/Basic/Lambda.h
+include/clang/Basic/LangOptions.def
+include/clang/Basic/LangOptions.h
+include/clang/Basic/Linkage.h
+include/clang/Basic/MacroBuilder.h
+include/clang/Basic/Module.h
+include/clang/Basic/ObjCRuntime.h
+include/clang/Basic/OpenCLExtensions.def
+include/clang/Basic/OpenCLImageTypes.def
+include/clang/Basic/OpenCLOptions.h
+include/clang/Basic/OpenMPKinds.def
+include/clang/Basic/OpenMPKinds.h
+include/clang/Basic/OperatorKinds.def
+include/clang/Basic/OperatorKinds.h
+include/clang/Basic/OperatorPrecedence.h
+include/clang/Basic/PartialDiagnostic.h
+include/clang/Basic/PlistSupport.h
+include/clang/Basic/PragmaKinds.h
+include/clang/Basic/PrettyStackTrace.h
+include/clang/Basic/SanitizerBlacklist.h
+include/clang/Basic/Sanitizers.def
+include/clang/Basic/Sanitizers.h
+include/clang/Basic/SourceLocation.h
+include/clang/Basic/SourceManager.h
+include/clang/Basic/SourceManagerInternals.h
+include/clang/Basic/Specifiers.h
+include/clang/Basic/TargetBuiltins.h
+include/clang/Basic/TargetCXXABI.h
+include/clang/Basic/TargetInfo.h
+include/clang/Basic/TargetOptions.h
+include/clang/Basic/TemplateKinds.h
+include/clang/Basic/TokenKinds.def
+include/clang/Basic/TokenKinds.h
+include/clang/Basic/TypeTraits.h
+include/clang/Basic/Version.h
+include/clang/Basic/Version.inc
+include/clang/Basic/VersionTuple.h
+include/clang/Basic/VirtualFileSystem.h
+include/clang/Basic/Visibility.h
+include/clang/Basic/arm_neon.inc
+include/clang/CodeGen/BackendUtil.h
+include/clang/CodeGen/CGFunctionInfo.h
+include/clang/CodeGen/CodeGenABITypes.h
+include/clang/CodeGen/CodeGenAction.h
+include/clang/CodeGen/ModuleBuilder.h
+include/clang/CodeGen/ObjectFilePCHContainerOperations.h
+include/clang/CodeGen/SwiftCallingConv.h
+include/clang/Config/config.h
+include/clang/Driver/Action.h
+include/clang/Driver/Compilation.h
+include/clang/Driver/Distro.h
+include/clang/Driver/Driver.h
+include/clang/Driver/DriverDiagnostic.h
+include/clang/Driver/Job.h
+include/clang/Driver/Multilib.h
+include/clang/Driver/Options.h
+include/clang/Driver/Options.inc
+include/clang/Driver/Phases.h
+include/clang/Driver/SanitizerArgs.h
+include/clang/Driver/Tool.h
+include/clang/Driver/ToolChain.h
+include/clang/Driver/Types.def
+include/clang/Driver/Types.h
+include/clang/Driver/Util.h
+include/clang/Edit/Commit.h
+include/clang/Edit/EditedSource.h
+include/clang/Edit/EditsReceiver.h
+include/clang/Edit/FileOffset.h
+include/clang/Edit/Rewriters.h
+include/clang/Format/Format.h
+include/clang/Frontend/ASTConsumers.h
+include/clang/Frontend/ASTUnit.h
+include/clang/Frontend/ChainedDiagnosticConsumer.h
+include/clang/Frontend/CodeGenOptions.def
+include/clang/Frontend/CodeGenOptions.h
+include/clang/Frontend/CommandLineSourceLoc.h
+include/clang/Frontend/CompilerInstance.h
+include/clang/Frontend/CompilerInvocation.h
+include/clang/Frontend/DependencyOutputOptions.h
+include/clang/Frontend/DiagnosticRenderer.h
+include/clang/Frontend/FrontendAction.h
+include/clang/Frontend/FrontendActions.h
+include/clang/Frontend/FrontendDiagnostic.h
+include/clang/Frontend/FrontendOptions.h
+include/clang/Frontend/FrontendPluginRegistry.h
+include/clang/Frontend/LangStandard.h
+include/clang/Frontend/LangStandards.def
+include/clang/Frontend/LayoutOverrideSource.h
+include/clang/Frontend/LogDiagnosticPrinter.h
+include/clang/Frontend/MigratorOptions.h
+include/clang/Frontend/MultiplexConsumer.h
+include/clang/Frontend/PCHContainerOperations.h
+include/clang/Frontend/PreprocessorOutputOptions.h
+include/clang/Frontend/SerializedDiagnosticPrinter.h
+include/clang/Frontend/SerializedDiagnosticReader.h
+include/clang/Frontend/SerializedDiagnostics.h
+include/clang/Frontend/TextDiagnostic.h
+include/clang/Frontend/TextDiagnosticBuffer.h
+include/clang/Frontend/TextDiagnosticPrinter.h
+include/clang/Frontend/Utils.h
+include/clang/Frontend/VerifyDiagnosticConsumer.h
+include/clang/FrontendTool/Utils.h
+include/clang/Index/CodegenNameGenerator.h
+include/clang/Index/CommentToXML.h
+include/clang/Index/IndexDataConsumer.h
+include/clang/Index/IndexSymbol.h
+include/clang/Index/IndexingAction.h
+include/clang/Index/USRGeneration.h
+include/clang/Lex/CodeCompletionHandler.h
+include/clang/Lex/DirectoryLookup.h
+include/clang/Lex/ExternalPreprocessorSource.h
+include/clang/Lex/HeaderMap.h
+include/clang/Lex/HeaderMapTypes.h
+include/clang/Lex/HeaderSearch.h
+include/clang/Lex/HeaderSearchOptions.h
+include/clang/Lex/LexDiagnostic.h
+include/clang/Lex/Lexer.h
+include/clang/Lex/LiteralSupport.h
+include/clang/Lex/MacroArgs.h
+include/clang/Lex/MacroInfo.h
+include/clang/Lex/ModuleLoader.h
+include/clang/Lex/ModuleMap.h
+include/clang/Lex/MultipleIncludeOpt.h
+include/clang/Lex/PPCallbacks.h
+include/clang/Lex/PPConditionalDirectiveRecord.h
+include/clang/Lex/PTHLexer.h
+include/clang/Lex/PTHManager.h
+include/clang/Lex/Pragma.h
+include/clang/Lex/PreprocessingRecord.h
+include/clang/Lex/Preprocessor.h
+include/clang/Lex/PreprocessorLexer.h
+include/clang/Lex/PreprocessorOptions.h
+include/clang/Lex/ScratchBuffer.h
+include/clang/Lex/Token.h
+include/clang/Lex/TokenConcatenation.h
+include/clang/Lex/TokenLexer.h
+include/clang/Parse/AttrParserStringSwitches.inc
+include/clang/Parse/ParseAST.h
+include/clang/Parse/ParseDiagnostic.h
+include/clang/Parse/Parser.h
+include/clang/Rewrite/Core/DeltaTree.h
+include/clang/Rewrite/Core/HTMLRewrite.h
+include/clang/Rewrite/Core/RewriteBuffer.h
+include/clang/Rewrite/Core/RewriteRope.h
+include/clang/Rewrite/Core/Rewriter.h
+include/clang/Rewrite/Core/TokenRewriter.h
+include/clang/Rewrite/Frontend/ASTConsumers.h
+include/clang/Rewrite/Frontend/FixItRewriter.h
+include/clang/Rewrite/Frontend/FrontendActions.h
+include/clang/Rewrite/Frontend/Rewriters.h
+include/clang/Sema/AnalysisBasedWarnings.h
+include/clang/Sema/AttrParsedAttrImpl.inc
+include/clang/Sema/AttrParsedAttrKinds.inc
+include/clang/Sema/AttrParsedAttrList.inc
+include/clang/Sema/AttrSpellingListIndex.inc
+include/clang/Sema/AttrTemplateInstantiate.inc
+include/clang/Sema/AttributeList.h
+include/clang/Sema/CXXFieldCollector.h
+include/clang/Sema/CleanupInfo.h
+include/clang/Sema/CodeCompleteConsumer.h
+include/clang/Sema/CodeCompleteOptions.h
+include/clang/Sema/DeclSpec.h
+include/clang/Sema/DelayedDiagnostic.h
+include/clang/Sema/Designator.h
+include/clang/Sema/ExternalSemaSource.h
+include/clang/Sema/IdentifierResolver.h
+include/clang/Sema/Initialization.h
+include/clang/Sema/Lookup.h
+include/clang/Sema/LoopHint.h
+include/clang/Sema/MultiplexExternalSemaSource.h
+include/clang/Sema/ObjCMethodList.h
+include/clang/Sema/Overload.h
+include/clang/Sema/Ownership.h
+include/clang/Sema/ParsedTemplate.h
+include/clang/Sema/PrettyDeclStackTrace.h
+include/clang/Sema/Scope.h
+include/clang/Sema/ScopeInfo.h
+include/clang/Sema/Sema.h
+include/clang/Sema/SemaConsumer.h
+include/clang/Sema/SemaDiagnostic.h
+include/clang/Sema/SemaFixItUtils.h
+include/clang/Sema/SemaInternal.h
+include/clang/Sema/SemaLambda.h
+include/clang/Sema/Template.h
+include/clang/Sema/TemplateDeduction.h
+include/clang/Sema/TypoCorrection.h
+include/clang/Sema/Weak.h
+include/clang/Serialization/ASTBitCodes.h
+include/clang/Serialization/ASTDeserializationListener.h
+include/clang/Serialization/ASTReader.h
+include/clang/Serialization/ASTWriter.h
+include/clang/Serialization/AttrPCHRead.inc
+include/clang/Serialization/AttrPCHWrite.inc
+include/clang/Serialization/ContinuousRangeMap.h
+include/clang/Serialization/GlobalModuleIndex.h
+include/clang/Serialization/Module.h
+include/clang/Serialization/ModuleFileExtension.h
+include/clang/Serialization/ModuleManager.h
+include/clang/Serialization/SerializationDiagnostic.h
+include/clang/StaticAnalyzer/Checkers/Checkers.inc
+include/clang/StaticAnalyzer/Checkers/ClangCheckers.h
+include/clang/StaticAnalyzer/Checkers/LocalCheckers.h
+include/clang/StaticAnalyzer/Checkers/MPIFunctionClassifier.h
+include/clang/StaticAnalyzer/Checkers/ObjCRetainCount.h
+include/clang/StaticAnalyzer/Checkers/SValExplainer.h
+include/clang/StaticAnalyzer/Core/Analyses.def
+include/clang/StaticAnalyzer/Core/AnalyzerOptions.h
+include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h
+include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitor.h
+include/clang/StaticAnalyzer/Core/BugReporter/BugType.h
+include/clang/StaticAnalyzer/Core/BugReporter/CommonBugCategories.h
+include/clang/StaticAnalyzer/Core/BugReporter/PathDiagnostic.h
+include/clang/StaticAnalyzer/Core/Checker.h
+include/clang/StaticAnalyzer/Core/CheckerManager.h
+include/clang/StaticAnalyzer/Core/CheckerOptInfo.h
+include/clang/StaticAnalyzer/Core/CheckerRegistry.h
+include/clang/StaticAnalyzer/Core/IssueHash.h
+include/clang/StaticAnalyzer/Core/PathDiagnosticConsumers.h
+include/clang/StaticAnalyzer/Core/PathSensitive/APSIntType.h
+include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h
+include/clang/StaticAnalyzer/Core/PathSensitive/BasicValueFactory.h
+include/clang/StaticAnalyzer/Core/PathSensitive/BlockCounter.h
+include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h
+include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h
+include/clang/StaticAnalyzer/Core/PathSensitive/CheckerHelpers.h
+include/clang/StaticAnalyzer/Core/PathSensitive/ConstraintManager.h
+include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h
+include/clang/StaticAnalyzer/Core/PathSensitive/DynamicTypeInfo.h
+include/clang/StaticAnalyzer/Core/PathSensitive/DynamicTypeMap.h
+include/clang/StaticAnalyzer/Core/PathSensitive/Environment.h
+include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h
+include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h
+include/clang/StaticAnalyzer/Core/PathSensitive/FunctionSummary.h
+include/clang/StaticAnalyzer/Core/PathSensitive/LoopWidening.h
+include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h
+include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h
+include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h
+include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h
+include/clang/StaticAnalyzer/Core/PathSensitive/Regions.def
+include/clang/StaticAnalyzer/Core/PathSensitive/SValBuilder.h
+include/clang/StaticAnalyzer/Core/PathSensitive/SValVisitor.h
+include/clang/StaticAnalyzer/Core/PathSensitive/SVals.def
+include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h
+include/clang/StaticAnalyzer/Core/PathSensitive/Store.h
+include/clang/StaticAnalyzer/Core/PathSensitive/StoreRef.h
+include/clang/StaticAnalyzer/Core/PathSensitive/SubEngine.h
+include/clang/StaticAnalyzer/Core/PathSensitive/SummaryManager.h
+include/clang/StaticAnalyzer/Core/PathSensitive/SymExpr.h
+include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h
+include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def
+include/clang/StaticAnalyzer/Core/PathSensitive/TaintManager.h
+include/clang/StaticAnalyzer/Core/PathSensitive/TaintTag.h
+include/clang/StaticAnalyzer/Core/PathSensitive/WorkList.h
+include/clang/StaticAnalyzer/Frontend/AnalysisConsumer.h
+include/clang/StaticAnalyzer/Frontend/CheckerRegistration.h
+include/clang/StaticAnalyzer/Frontend/FrontendActions.h
+include/clang/StaticAnalyzer/Frontend/ModelConsumer.h
+include/clang/Tooling/ArgumentsAdjusters.h
+include/clang/Tooling/CommonOptionsParser.h
+include/clang/Tooling/CompilationDatabase.h
+include/clang/Tooling/CompilationDatabasePluginRegistry.h
+include/clang/Tooling/Core/Lookup.h
+include/clang/Tooling/Core/QualTypeNames.h
+include/clang/Tooling/Core/Replacement.h
+include/clang/Tooling/FileMatchTrie.h
+include/clang/Tooling/FixIt.h
+include/clang/Tooling/JSONCompilationDatabase.h
+include/clang/Tooling/Refactoring.h
+include/clang/Tooling/RefactoringCallbacks.h
+include/clang/Tooling/ReplacementsYaml.h
+include/clang/Tooling/Tooling.h
+lib/clang/${PKGVERSION}/include/__clang_cuda_builtin_vars.h
+lib/clang/${PKGVERSION}/include/__clang_cuda_cmath.h
+lib/clang/${PKGVERSION}/include/__clang_cuda_complex_builtins.h
+lib/clang/${PKGVERSION}/include/__clang_cuda_intrinsics.h
+lib/clang/${PKGVERSION}/include/__clang_cuda_math_forward_declares.h
+lib/clang/${PKGVERSION}/include/__clang_cuda_runtime_wrapper.h
+lib/clang/${PKGVERSION}/include/__stddef_max_align_t.h
+lib/clang/${PKGVERSION}/include/__wmmintrin_aes.h
+lib/clang/${PKGVERSION}/include/__wmmintrin_pclmul.h
+lib/clang/${PKGVERSION}/include/adxintrin.h
+lib/clang/${PKGVERSION}/include/altivec.h
+lib/clang/${PKGVERSION}/include/ammintrin.h
+lib/clang/${PKGVERSION}/include/arm_acle.h
+lib/clang/${PKGVERSION}/include/arm_neon.h
+lib/clang/${PKGVERSION}/include/armintr.h
+lib/clang/${PKGVERSION}/include/avx2intrin.h
+lib/clang/${PKGVERSION}/include/avx512bwintrin.h
+lib/clang/${PKGVERSION}/include/avx512cdintrin.h
+lib/clang/${PKGVERSION}/include/avx512dqintrin.h
+lib/clang/${PKGVERSION}/include/avx512erintrin.h
+lib/clang/${PKGVERSION}/include/avx512fintrin.h
+lib/clang/${PKGVERSION}/include/avx512ifmaintrin.h
+lib/clang/${PKGVERSION}/include/avx512ifmavlintrin.h
+lib/clang/${PKGVERSION}/include/avx512pfintrin.h
+lib/clang/${PKGVERSION}/include/avx512vbmiintrin.h
+lib/clang/${PKGVERSION}/include/avx512vbmivlintrin.h
+lib/clang/${PKGVERSION}/include/avx512vlbwintrin.h
+lib/clang/${PKGVERSION}/include/avx512vlcdintrin.h
+lib/clang/${PKGVERSION}/include/avx512vldqintrin.h
+lib/clang/${PKGVERSION}/include/avx512vlintrin.h
+lib/clang/${PKGVERSION}/include/avxintrin.h
+lib/clang/${PKGVERSION}/include/bmi2intrin.h
+lib/clang/${PKGVERSION}/include/bmiintrin.h
+lib/clang/${PKGVERSION}/include/clflushoptintrin.h
+lib/clang/${PKGVERSION}/include/cpuid.h
+lib/clang/${PKGVERSION}/include/cuda_wrappers/algorithm
+lib/clang/${PKGVERSION}/include/cuda_wrappers/complex
+lib/clang/${PKGVERSION}/include/cuda_wrappers/new
+lib/clang/${PKGVERSION}/include/emmintrin.h
+lib/clang/${PKGVERSION}/include/f16cintrin.h
+lib/clang/${PKGVERSION}/include/float.h
+lib/clang/${PKGVERSION}/include/fma4intrin.h
+lib/clang/${PKGVERSION}/include/fmaintrin.h
+lib/clang/${PKGVERSION}/include/fxsrintrin.h
+lib/clang/${PKGVERSION}/include/htmintrin.h
+lib/clang/${PKGVERSION}/include/htmxlintrin.h
+lib/clang/${PKGVERSION}/include/ia32intrin.h
+lib/clang/${PKGVERSION}/include/immintrin.h
+lib/clang/${PKGVERSION}/include/intrin.h
+lib/clang/${PKGVERSION}/include/inttypes.h
+lib/clang/${PKGVERSION}/include/iso646.h
+lib/clang/${PKGVERSION}/include/limits.h
+lib/clang/${PKGVERSION}/include/lzcntintrin.h
+lib/clang/${PKGVERSION}/include/mm3dnow.h
+lib/clang/${PKGVERSION}/include/mm_malloc.h
+lib/clang/${PKGVERSION}/include/mmintrin.h
+lib/clang/${PKGVERSION}/include/module.modulemap
+lib/clang/${PKGVERSION}/include/msa.h
+lib/clang/${PKGVERSION}/include/mwaitxintrin.h
+lib/clang/${PKGVERSION}/include/nmmintrin.h
+lib/clang/${PKGVERSION}/include/opencl-c.h
+lib/clang/${PKGVERSION}/include/pkuintrin.h
+lib/clang/${PKGVERSION}/include/pmmintrin.h
+lib/clang/${PKGVERSION}/include/popcntintrin.h
+lib/clang/${PKGVERSION}/include/prfchwintrin.h
+lib/clang/${PKGVERSION}/include/rdseedintrin.h
+lib/clang/${PKGVERSION}/include/rtmintrin.h
+lib/clang/${PKGVERSION}/include/s390intrin.h
+lib/clang/${PKGVERSION}/include/shaintrin.h
+lib/clang/${PKGVERSION}/include/smmintrin.h
+lib/clang/${PKGVERSION}/include/stdalign.h
+lib/clang/${PKGVERSION}/include/stdarg.h
+lib/clang/${PKGVERSION}/include/stdatomic.h
+lib/clang/${PKGVERSION}/include/stdbool.h
+lib/clang/${PKGVERSION}/include/stddef.h
+lib/clang/${PKGVERSION}/include/stdint.h
+lib/clang/${PKGVERSION}/include/stdnoreturn.h
+lib/clang/${PKGVERSION}/include/tbmintrin.h
+lib/clang/${PKGVERSION}/include/tgmath.h
+lib/clang/${PKGVERSION}/include/tmmintrin.h
+lib/clang/${PKGVERSION}/include/unwind.h
+lib/clang/${PKGVERSION}/include/vadefs.h
+lib/clang/${PKGVERSION}/include/varargs.h
+lib/clang/${PKGVERSION}/include/vecintrin.h
+lib/clang/${PKGVERSION}/include/wmmintrin.h
+lib/clang/${PKGVERSION}/include/x86intrin.h
+lib/clang/${PKGVERSION}/include/xmmintrin.h
+lib/clang/${PKGVERSION}/include/xopintrin.h
+lib/clang/${PKGVERSION}/include/xsavecintrin.h
+lib/clang/${PKGVERSION}/include/xsaveintrin.h
+lib/clang/${PKGVERSION}/include/xsaveoptintrin.h
+lib/clang/${PKGVERSION}/include/xsavesintrin.h
+lib/clang/${PKGVERSION}/include/xtestintrin.h
+lib/cmake/clang/ClangConfig.cmake
+lib/cmake/clang/ClangTargets-release.cmake
+lib/cmake/clang/ClangTargets.cmake
+lib/libclang.${SOEXT}
+${PLIST.notdylib}lib/libclang.${SOEXT}.${LLVM_MAJOR}
+lib/libclang.${SOEXT}.40
+lib/libclangAST.a
+lib/libclangASTMatchers.a
+lib/libclangAnalysis.a
+lib/libclangBasic.a
+lib/libclangCodeGen.a
+lib/libclangDriver.a
+lib/libclangDynamicASTMatchers.a
+lib/libclangEdit.a
+lib/libclangFormat.a
+lib/libclangFrontend.a
+lib/libclangFrontendTool.a
+lib/libclangIndex.a
+lib/libclangLex.a
+lib/libclangParse.a
+lib/libclangRewrite.a
+lib/libclangRewriteFrontend.a
+lib/libclangSema.a
+lib/libclangSerialization.a
+lib/libclangTooling.a
+lib/libclangToolingCore.a
+share/clang/clang-format-bbedit.applescript
+share/clang/clang-format-diff.py
+share/clang/clang-format-sublime.py
+share/clang/clang-format.el
+share/clang/clang-format.py
+share/clang/git-clang-format
diff --git a/clang-netbsd/TODO b/clang-netbsd/TODO
new file mode 100644
index 0000000..81c1d27
--- /dev/null
+++ b/clang-netbsd/TODO
@@ -0,0 +1,5 @@
+warning: /tmp/pkgsrc-tmp/wip/lldb-git/work/.destdir/usr/pkg/share/clang/clang-format-bbedit.applescript: executable bit is set on non-executable file.
+warning: /tmp/pkgsrc-tmp/wip/lldb-git/work/.destdir/usr/pkg/share/clang/clang-format-sublime.py: executable bit is set on non-executable file.
+warning: /tmp/pkgsrc-tmp/wip/lldb-git/work/.destdir/usr/pkg/share/clang/clang-format.el: executable bit is set on non-executable file.
+warning: /tmp/pkgsrc-tmp/wip/lldb-git/work/.destdir/usr/pkg/share/clang/clang-format.py: executable bit is set on non-executable file.
+warning: /tmp/pkgsrc-tmp/wip/lldb-git/work/.destdir/usr/pkg/share/man/man1/scan-build.1: executable bit is set on non-executable file.
diff --git a/clang-netbsd/buildlink3.mk b/clang-netbsd/buildlink3.mk
new file mode 100644
index 0000000..083da02
--- /dev/null
+++ b/clang-netbsd/buildlink3.mk
@@ -0,0 +1,16 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	clang
+
+.if !defined(CLANG_BUILDLINK3_MK)
+CLANG_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.clang+=	clang>=3.9.0
+BUILDLINK_PKGSRCDIR.clang?=	../../wip/clang-netbsd
+
+.include "../../textproc/libxml2/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../wip/llvm-netbsd/buildlink3.mk"
+.endif	# CLANG_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-clang
diff --git a/clang-netbsd/distinfo b/clang-netbsd/distinfo
new file mode 100644
index 0000000..1ca315a
--- /dev/null
+++ b/clang-netbsd/distinfo
@@ -0,0 +1,15 @@
+$NetBSD: distinfo,v 1.35 2015/09/11 01:21:57 tnn Exp $
+
+SHA1 (cfe-3.6.2.src.tar.xz) = 7ba809c9c17819a16b668640a642ed134d7052f0
+RMD160 (cfe-3.6.2.src.tar.xz) = 10d913b4d5317f8c2520e5fc6117df30937317a8
+Size (cfe-3.6.2.src.tar.xz) = 8617576 bytes
+SHA1 (compiler-rt-3.6.2.src.tar.xz) = c6c52d2923a60f1a2ca2f22fea1770fd2e25728d
+RMD160 (compiler-rt-3.6.2.src.tar.xz) = 9b68a32d49d4bef4603d550934192f39fea42895
+Size (compiler-rt-3.6.2.src.tar.xz) = 1128080 bytes
+SHA1 (libcxx-3.6.2.src.tar.xz) = 6c5aee9f05ecf17d1e3ecb1add34a33a5a904469
+RMD160 (libcxx-3.6.2.src.tar.xz) = 42b8832d01d4e6b553babc93cb5dbd4ce2bb1931
+Size (libcxx-3.6.2.src.tar.xz) = 944020 bytes
+SHA1 (llvm-3.6.2.src.tar.xz) = 7a00257eb2bc9431e4c77c3a36b033072c54bc7e
+RMD160 (llvm-3.6.2.src.tar.xz) = 521cbc5fe2925ea3c6e90c7a31f752a04045c972
+Size (llvm-3.6.2.src.tar.xz) = 12802380 bytes
+SHA1 (patch-tools_clang-format_CMakeLists.txt) = f119d2a94cbfb8c00a285d1aa7789ed26f8309cf
diff --git a/clang-netbsd/patches/patch-tools_clang-format_CMakeLists.txt b/clang-netbsd/patches/patch-tools_clang-format_CMakeLists.txt
new file mode 100644
index 0000000..994196b
--- /dev/null
+++ b/clang-netbsd/patches/patch-tools_clang-format_CMakeLists.txt
@@ -0,0 +1,16 @@
+$NetBSD$
+
+git-clang-format is a git integration for clang-format,
+written in python. It could be moved to a separate package
+to avoid a python runtime dependency here, but for now I just opted
+to move it to share/clang and skip the interpreter check.
+
+--- tools/clang-format/CMakeLists.txt.orig	2016-02-23 23:55:19.000000000 +0000
++++ tools/clang-format/CMakeLists.txt
+@@ -35,5 +35,5 @@ install(PROGRAMS clang-format.py
+   DESTINATION share/clang
+   COMPONENT clang-format)
+ install(PROGRAMS git-clang-format
+-  DESTINATION bin
++  DESTINATION share/clang
+   COMPONENT clang-format)
diff --git a/lldb-git-netbsd/DESCR b/lldb-git-netbsd/DESCR
deleted file mode 100644
index 2a231b4..0000000
--- a/lldb-git-netbsd/DESCR
+++ /dev/null
@@ -1 +0,0 @@
-Next generation, high-performance debugger
diff --git a/lldb-git-netbsd/Makefile b/lldb-git-netbsd/Makefile
deleted file mode 100644
index ce2e811..0000000
--- a/lldb-git-netbsd/Makefile
+++ /dev/null
@@ -1,83 +0,0 @@
-# $NetBSD: Makefile.common,v 1.7 2015/07/20 05:49:53 adam Exp $
-
-PKGNAME=	lldb-4.0.0
-CATEGORIES=	lang devel
-
-SVN_REPOSITORIES=	lldb
-SVN_REPO.lldb=		http://llvm.org/svn/llvm-project/lldb/trunk
-SVN_REVISION.lldb=	289997
-
-MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=	http://lldb.org/
-COMMENT=	Next generation, high-performance debugger
-LICENSE=	modified-bsd
-
-#DEPENDS+=	${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
-
-WRKSRC=			${WRKDIR}/${PKGBASE}
-CONFIGURE_DIRS=		${WRKDIR}/build
-CMAKE_ARG_PATH=		${WRKSRC}
-
-USE_LANGUAGES=		c c++
-USE_CMAKE=		yes
-GCC_REQD+=		4.8
-PY_PATCHPLIST=		yes
-
-CMAKE_ARGS+=	-DLLVM_CONFIG=${LLVM_CONFIG_PATH}
-CMAKE_ARGS+=	-DCMAKE_BUILD_TYPE=Release
-CMAKE_ARGS+=	-DCMAKE_C_COMPILER=${CC:Q}
-CMAKE_ARGS+=	-DCMAKE_CXX_COMPILER=${CXX:Q}
-
-CHECK_PORTABILITY_SKIP=	utils/buildit/build_llvm
-
-REPLACE_PERL+=		*.pl
-REPLACE_PERL+=		*/*.pl
-REPLACE_PERL+=		*/*/*.pl
-REPLACE_PERL+=		*/*/*/*.pl
-REPLACE_PERL+=		*/*/*/*/*.pl
-REPLACE_PERL+=		*/*/*/*/*/*.pl
-REPLACE_PERL+=		scripts/sed-sources
-
-REPLACE_PYTHON+=	*.py
-REPLACE_PYTHON+=	*/*.py
-REPLACE_PYTHON+=	*/*/*.py
-REPLACE_PYTHON+=	*/*/*/*.py
-REPLACE_PYTHON+=	*/*/*/*/*.py
-REPLACE_PYTHON+=	*/*/*/*/*/*.py
-REPLACE_PYTHON+=	*/*/*/*/*/*/*.py
-REPLACE_PYTHON+=	*/*/*/*/*/*/*/*.py
-REPLACE_PYTHON+=	scripts/shush
-
-TEST_TARGET=		check-lldb
-TEST_ENV+=		LD_LIBRARY_PATH=${WRKDIR}/build/lib
-
-.if exists(/usr/include/panel.h)
-CMAKE_ARGS+=	-DLLDB_DISABLE_CURSES:BOOL=FALSE
-.else
-CMAKE_ARGS+=	-DLLDB_DISABLE_CURSES:BOOL=TRUE
-.endif
-
-post-extract:
-	${RUN} mkdir -p ${WRKDIR}/build
-	# Temporary hack to nullify !amd64 platforms
-	# Required to port the process plugin from linux to NetBSD
-	# amd64/NetBSD goes first
-	${RM} ${WRKSRC}/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm.cpp
-	${RM} ${WRKSRC}/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.cpp
-	${RM} ${WRKSRC}/source/Plugins/Process/Linux/NativeRegisterContextLinux_mips64.cpp
-	${RM} ${WRKSRC}/source/Plugins/Process/Linux/NativeRegisterContextLinux_s390x.cpp
-
-.include "../../textproc/libxml2/buildlink3.mk"
-DEPENDS+=	llvm-${PKGVERSION_NOREV}{,nb*}:../../wip/llvm-git-netbsd
-.include "../../wip/llvm-git-netbsd/buildlink3.mk"
-DEPENDS+=	clang-${PKGVERSION_NOREV}{,nb*}:../../wip/clang-git-netbsd
-.include "../../wip/clang-git-netbsd/buildlink3.mk"
-.include "../../wip/mk/svn-package.mk"
-PYTHON_VERSIONS_ACCEPTED=	27
-.include "../../devel/zlib/buildlink3.mk"
-.include "../../lang/python/extension.mk"
-.include "../../lang/python/pyversion.mk"
-.include "../../lang/python/application.mk"
-.include "../../lang/python/tool.mk"
-.include "../../devel/swig/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/lldb-git-netbsd/PLIST b/lldb-git-netbsd/PLIST
deleted file mode 100644
index 9d8b906..0000000
--- a/lldb-git-netbsd/PLIST
+++ /dev/null
@@ -1,603 +0,0 @@
-@comment $NetBSD$
-${PYSITELIB}/lldb/__init__.py
-${PYSITELIB}/lldb/_lldb.so
-${PYSITELIB}/lldb/embedded_interpreter.py
-${PYSITELIB}/lldb/formatters/Logger.py
-${PYSITELIB}/lldb/formatters/__init__.py
-${PYSITELIB}/lldb/formatters/attrib_fromdict.py
-${PYSITELIB}/lldb/formatters/cache.py
-${PYSITELIB}/lldb/formatters/cpp/__init__.py
-${PYSITELIB}/lldb/formatters/cpp/gnu_libstdcpp.py
-${PYSITELIB}/lldb/formatters/cpp/libcxx.py
-${PYSITELIB}/lldb/formatters/metrics.py
-${PYSITELIB}/lldb/formatters/synth.py
-${PYSITELIB}/lldb/lldb-argdumper
-${PYSITELIB}/lldb/runtime/__init__.py
-${PYSITELIB}/lldb/utils/__init__.py
-${PYSITELIB}/lldb/utils/symbolication.py
-${PYSITELIB}/six.py
-bin/${PKGNAME}
-bin/lldb
-bin/lldb-argdumper
-bin/lldb-mi
-bin/lldb-mi-${PKGVERSION}
-bin/lldb-server
-bin/lldb-server-${PKGVERSION}
-include/lldb/API/LLDB.h
-include/lldb/API/SBAddress.h
-include/lldb/API/SBAttachInfo.h
-include/lldb/API/SBBlock.h
-include/lldb/API/SBBreakpoint.h
-include/lldb/API/SBBreakpointLocation.h
-include/lldb/API/SBBroadcaster.h
-include/lldb/API/SBCommandInterpreter.h
-include/lldb/API/SBCommandReturnObject.h
-include/lldb/API/SBCommunication.h
-include/lldb/API/SBCompileUnit.h
-include/lldb/API/SBData.h
-include/lldb/API/SBDebugger.h
-include/lldb/API/SBDeclaration.h
-include/lldb/API/SBDefines.h
-include/lldb/API/SBError.h
-include/lldb/API/SBEvent.h
-include/lldb/API/SBExecutionContext.h
-include/lldb/API/SBExpressionOptions.h
-include/lldb/API/SBFileSpec.h
-include/lldb/API/SBFileSpecList.h
-include/lldb/API/SBFrame.h
-include/lldb/API/SBFunction.h
-include/lldb/API/SBHostOS.h
-include/lldb/API/SBInstruction.h
-include/lldb/API/SBInstructionList.h
-include/lldb/API/SBLanguageRuntime.h
-include/lldb/API/SBLaunchInfo.h
-include/lldb/API/SBLineEntry.h
-include/lldb/API/SBListener.h
-include/lldb/API/SBMemoryRegionInfo.h
-include/lldb/API/SBMemoryRegionInfoList.h
-include/lldb/API/SBModule.h
-include/lldb/API/SBModuleSpec.h
-include/lldb/API/SBPlatform.h
-include/lldb/API/SBProcess.h
-include/lldb/API/SBQueue.h
-include/lldb/API/SBQueueItem.h
-include/lldb/API/SBSection.h
-include/lldb/API/SBSourceManager.h
-include/lldb/API/SBStream.h
-include/lldb/API/SBStringList.h
-include/lldb/API/SBStructuredData.h
-include/lldb/API/SBSymbol.h
-include/lldb/API/SBSymbolContext.h
-include/lldb/API/SBSymbolContextList.h
-include/lldb/API/SBTarget.h
-include/lldb/API/SBThread.h
-include/lldb/API/SBThreadCollection.h
-include/lldb/API/SBThreadPlan.h
-include/lldb/API/SBType.h
-include/lldb/API/SBTypeCategory.h
-include/lldb/API/SBTypeEnumMember.h
-include/lldb/API/SBTypeFilter.h
-include/lldb/API/SBTypeFormat.h
-include/lldb/API/SBTypeNameSpecifier.h
-include/lldb/API/SBTypeSummary.h
-include/lldb/API/SBTypeSynthetic.h
-include/lldb/API/SBUnixSignals.h
-include/lldb/API/SBValue.h
-include/lldb/API/SBValueList.h
-include/lldb/API/SBVariablesOptions.h
-include/lldb/API/SBWatchpoint.h
-include/lldb/API/SystemInitializerFull.h
-include/lldb/Breakpoint/Breakpoint.h
-include/lldb/Breakpoint/BreakpointID.h
-include/lldb/Breakpoint/BreakpointIDList.h
-include/lldb/Breakpoint/BreakpointList.h
-include/lldb/Breakpoint/BreakpointLocation.h
-include/lldb/Breakpoint/BreakpointLocationCollection.h
-include/lldb/Breakpoint/BreakpointLocationList.h
-include/lldb/Breakpoint/BreakpointOptions.h
-include/lldb/Breakpoint/BreakpointResolver.h
-include/lldb/Breakpoint/BreakpointResolverAddress.h
-include/lldb/Breakpoint/BreakpointResolverFileLine.h
-include/lldb/Breakpoint/BreakpointResolverFileRegex.h
-include/lldb/Breakpoint/BreakpointResolverName.h
-include/lldb/Breakpoint/BreakpointSite.h
-include/lldb/Breakpoint/BreakpointSiteList.h
-include/lldb/Breakpoint/Stoppoint.h
-include/lldb/Breakpoint/StoppointCallbackContext.h
-include/lldb/Breakpoint/StoppointLocation.h
-include/lldb/Breakpoint/Watchpoint.h
-include/lldb/Breakpoint/WatchpointList.h
-include/lldb/Breakpoint/WatchpointOptions.h
-include/lldb/Core/Address.h
-include/lldb/Core/AddressRange.h
-include/lldb/Core/AddressResolver.h
-include/lldb/Core/AddressResolverFileLine.h
-include/lldb/Core/AddressResolverName.h
-include/lldb/Core/ArchSpec.h
-include/lldb/Core/Baton.h
-include/lldb/Core/Broadcaster.h
-include/lldb/Core/ClangForward.h
-include/lldb/Core/Communication.h
-include/lldb/Core/Connection.h
-include/lldb/Core/ConstString.h
-include/lldb/Core/DataBuffer.h
-include/lldb/Core/DataBufferHeap.h
-include/lldb/Core/DataBufferMemoryMap.h
-include/lldb/Core/DataEncoder.h
-include/lldb/Core/DataExtractor.h
-include/lldb/Core/Debugger.h
-include/lldb/Core/Disassembler.h
-include/lldb/Core/EmulateInstruction.h
-include/lldb/Core/Error.h
-include/lldb/Core/Event.h
-include/lldb/Core/FastDemangle.h
-include/lldb/Core/FileLineResolver.h
-include/lldb/Core/FileSpecList.h
-include/lldb/Core/Flags.h
-include/lldb/Core/FormatEntity.h
-include/lldb/Core/History.h
-include/lldb/Core/IOHandler.h
-include/lldb/Core/IOStreamMacros.h
-include/lldb/Core/Listener.h
-include/lldb/Core/LoadedModuleInfoList.h
-include/lldb/Core/Log.h
-include/lldb/Core/Logging.h
-include/lldb/Core/Mangled.h
-include/lldb/Core/MappedHash.h
-include/lldb/Core/Module.h
-include/lldb/Core/ModuleChild.h
-include/lldb/Core/ModuleList.h
-include/lldb/Core/ModuleSpec.h
-include/lldb/Core/Opcode.h
-include/lldb/Core/PluginInterface.h
-include/lldb/Core/PluginManager.h
-include/lldb/Core/RangeMap.h
-include/lldb/Core/RegisterValue.h
-include/lldb/Core/RegularExpression.h
-include/lldb/Core/STLUtils.h
-include/lldb/Core/Scalar.h
-include/lldb/Core/SearchFilter.h
-include/lldb/Core/Section.h
-include/lldb/Core/SourceManager.h
-include/lldb/Core/State.h
-include/lldb/Core/Stream.h
-include/lldb/Core/StreamAsynchronousIO.h
-include/lldb/Core/StreamBuffer.h
-include/lldb/Core/StreamCallback.h
-include/lldb/Core/StreamFile.h
-include/lldb/Core/StreamGDBRemote.h
-include/lldb/Core/StreamString.h
-include/lldb/Core/StreamTee.h
-include/lldb/Core/StringList.h
-include/lldb/Core/StructuredData.h
-include/lldb/Core/ThreadSafeDenseMap.h
-include/lldb/Core/ThreadSafeDenseSet.h
-include/lldb/Core/ThreadSafeSTLMap.h
-include/lldb/Core/ThreadSafeSTLVector.h
-include/lldb/Core/ThreadSafeValue.h
-include/lldb/Core/Timer.h
-include/lldb/Core/UUID.h
-include/lldb/Core/UniqueCStringMap.h
-include/lldb/Core/UserID.h
-include/lldb/Core/UserSettingsController.h
-include/lldb/Core/VMRange.h
-include/lldb/Core/Value.h
-include/lldb/Core/ValueObject.h
-include/lldb/Core/ValueObjectCast.h
-include/lldb/Core/ValueObjectChild.h
-include/lldb/Core/ValueObjectConstResult.h
-include/lldb/Core/ValueObjectConstResultCast.h
-include/lldb/Core/ValueObjectConstResultChild.h
-include/lldb/Core/ValueObjectConstResultImpl.h
-include/lldb/Core/ValueObjectDynamicValue.h
-include/lldb/Core/ValueObjectList.h
-include/lldb/Core/ValueObjectMemory.h
-include/lldb/Core/ValueObjectRegister.h
-include/lldb/Core/ValueObjectSyntheticFilter.h
-include/lldb/Core/ValueObjectVariable.h
-include/lldb/Core/dwarf.h
-include/lldb/DataFormatters/CXXFunctionPointer.h
-include/lldb/DataFormatters/DataVisualization.h
-include/lldb/DataFormatters/DumpValueObjectOptions.h
-include/lldb/DataFormatters/FormatCache.h
-include/lldb/DataFormatters/FormatClasses.h
-include/lldb/DataFormatters/FormatManager.h
-include/lldb/DataFormatters/FormattersContainer.h
-include/lldb/DataFormatters/FormattersHelpers.h
-include/lldb/DataFormatters/LanguageCategory.h
-include/lldb/DataFormatters/StringPrinter.h
-include/lldb/DataFormatters/TypeCategory.h
-include/lldb/DataFormatters/TypeCategoryMap.h
-include/lldb/DataFormatters/TypeFormat.h
-include/lldb/DataFormatters/TypeSummary.h
-include/lldb/DataFormatters/TypeSynthetic.h
-include/lldb/DataFormatters/TypeValidator.h
-include/lldb/DataFormatters/ValueObjectPrinter.h
-include/lldb/DataFormatters/VectorIterator.h
-include/lldb/DataFormatters/VectorType.h
-include/lldb/Expression/DWARFExpression.h
-include/lldb/Expression/DiagnosticManager.h
-include/lldb/Expression/Expression.h
-include/lldb/Expression/ExpressionParser.h
-include/lldb/Expression/ExpressionSourceCode.h
-include/lldb/Expression/ExpressionTypeSystemHelper.h
-include/lldb/Expression/ExpressionVariable.h
-include/lldb/Expression/FunctionCaller.h
-include/lldb/Expression/IRDynamicChecks.h
-include/lldb/Expression/IRExecutionUnit.h
-include/lldb/Expression/IRInterpreter.h
-include/lldb/Expression/IRMemoryMap.h
-include/lldb/Expression/LLVMUserExpression.h
-include/lldb/Expression/Materializer.h
-include/lldb/Expression/REPL.h
-include/lldb/Expression/UserExpression.h
-include/lldb/Expression/UtilityFunction.h
-include/lldb/Host/Config.h
-include/lldb/Host/ConnectionFileDescriptor.h
-include/lldb/Host/Debug.h
-include/lldb/Host/Editline.h
-include/lldb/Host/Endian.h
-include/lldb/Host/File.h
-include/lldb/Host/FileCache.h
-include/lldb/Host/FileSpec.h
-include/lldb/Host/FileSystem.h
-include/lldb/Host/Host.h
-include/lldb/Host/HostGetOpt.h
-include/lldb/Host/HostInfo.h
-include/lldb/Host/HostInfoBase.h
-include/lldb/Host/HostNativeProcess.h
-include/lldb/Host/HostNativeProcessBase.h
-include/lldb/Host/HostNativeThread.h
-include/lldb/Host/HostNativeThreadBase.h
-include/lldb/Host/HostNativeThreadForward.h
-include/lldb/Host/HostProcess.h
-include/lldb/Host/HostThread.h
-include/lldb/Host/IOObject.h
-include/lldb/Host/LockFile.h
-include/lldb/Host/LockFileBase.h
-include/lldb/Host/MainLoop.h
-include/lldb/Host/MainLoopBase.h
-include/lldb/Host/MonitoringProcessLauncher.h
-include/lldb/Host/OptionParser.h
-include/lldb/Host/Pipe.h
-include/lldb/Host/PipeBase.h
-include/lldb/Host/PosixApi.h
-include/lldb/Host/Predicate.h
-include/lldb/Host/ProcessLauncher.h
-include/lldb/Host/ProcessRunLock.h
-include/lldb/Host/Socket.h
-include/lldb/Host/SocketAddress.h
-include/lldb/Host/StringConvert.h
-include/lldb/Host/Symbols.h
-include/lldb/Host/Terminal.h
-include/lldb/Host/ThisThread.h
-include/lldb/Host/ThreadLauncher.h
-include/lldb/Host/Time.h
-include/lldb/Host/XML.h
-include/lldb/Host/android/Config.h
-include/lldb/Host/android/HostInfoAndroid.h
-include/lldb/Host/common/GetOptInc.h
-include/lldb/Host/common/NativeBreakpoint.h
-include/lldb/Host/common/NativeBreakpointList.h
-include/lldb/Host/common/NativeProcessProtocol.h
-include/lldb/Host/common/NativeRegisterContext.h
-include/lldb/Host/common/NativeRegisterContextRegisterInfo.h
-include/lldb/Host/common/NativeThreadProtocol.h
-include/lldb/Host/common/NativeWatchpointList.h
-include/lldb/Host/common/SoftwareBreakpoint.h
-include/lldb/Host/common/TCPSocket.h
-include/lldb/Host/common/UDPSocket.h
-include/lldb/Host/freebsd/Config.h
-include/lldb/Host/freebsd/HostInfoFreeBSD.h
-include/lldb/Host/freebsd/HostThreadFreeBSD.h
-include/lldb/Host/linux/AbstractSocket.h
-include/lldb/Host/linux/Config.h
-include/lldb/Host/linux/HostInfoLinux.h
-include/lldb/Host/linux/HostThreadLinux.h
-include/lldb/Host/linux/Personality.h
-include/lldb/Host/linux/ProcessLauncherLinux.h
-include/lldb/Host/linux/Ptrace.h
-include/lldb/Host/linux/Uio.h
-include/lldb/Host/macosx/Config.h
-include/lldb/Host/macosx/HostInfoMacOSX.h
-include/lldb/Host/macosx/HostThreadMacOSX.h
-include/lldb/Host/mingw/Config.h
-include/lldb/Host/msvc/Config.h
-include/lldb/Host/netbsd/Config.h
-include/lldb/Host/netbsd/HostInfoNetBSD.h
-include/lldb/Host/netbsd/HostThreadNetBSD.h
-include/lldb/Host/posix/ConnectionFileDescriptorPosix.h
-include/lldb/Host/posix/DomainSocket.h
-include/lldb/Host/posix/Fcntl.h
-include/lldb/Host/posix/HostInfoPosix.h
-include/lldb/Host/posix/HostProcessPosix.h
-include/lldb/Host/posix/HostThreadPosix.h
-include/lldb/Host/posix/LockFilePosix.h
-include/lldb/Host/posix/MainLoopPosix.h
-include/lldb/Host/posix/PipePosix.h
-include/lldb/Host/posix/ProcessLauncherPosix.h
-include/lldb/Host/windows/AutoHandle.h
-include/lldb/Host/windows/ConnectionGenericFileWindows.h
-include/lldb/Host/windows/HostInfoWindows.h
-include/lldb/Host/windows/HostProcessWindows.h
-include/lldb/Host/windows/HostThreadWindows.h
-include/lldb/Host/windows/LockFileWindows.h
-include/lldb/Host/windows/PipeWindows.h
-include/lldb/Host/windows/PosixApi.h
-include/lldb/Host/windows/ProcessLauncherWindows.h
-include/lldb/Host/windows/editlinewin.h
-include/lldb/Host/windows/windows.h
-include/lldb/Initialization/SystemInitializer.h
-include/lldb/Initialization/SystemInitializerCommon.h
-include/lldb/Initialization/SystemLifetimeManager.h
-include/lldb/Interpreter/Args.h
-include/lldb/Interpreter/CommandAlias.h
-include/lldb/Interpreter/CommandCompletions.h
-include/lldb/Interpreter/CommandHistory.h
-include/lldb/Interpreter/CommandInterpreter.h
-include/lldb/Interpreter/CommandObject.h
-include/lldb/Interpreter/CommandObjectMultiword.h
-include/lldb/Interpreter/CommandObjectRegexCommand.h
-include/lldb/Interpreter/CommandOptionValidators.h
-include/lldb/Interpreter/CommandReturnObject.h
-include/lldb/Interpreter/OptionGroupArchitecture.h
-include/lldb/Interpreter/OptionGroupBoolean.h
-include/lldb/Interpreter/OptionGroupFile.h
-include/lldb/Interpreter/OptionGroupFormat.h
-include/lldb/Interpreter/OptionGroupOutputFile.h
-include/lldb/Interpreter/OptionGroupPlatform.h
-include/lldb/Interpreter/OptionGroupString.h
-include/lldb/Interpreter/OptionGroupUInt64.h
-include/lldb/Interpreter/OptionGroupUUID.h
-include/lldb/Interpreter/OptionGroupValueObjectDisplay.h
-include/lldb/Interpreter/OptionGroupVariable.h
-include/lldb/Interpreter/OptionGroupWatchpoint.h
-include/lldb/Interpreter/OptionValue.h
-include/lldb/Interpreter/OptionValueArch.h
-include/lldb/Interpreter/OptionValueArgs.h
-include/lldb/Interpreter/OptionValueArray.h
-include/lldb/Interpreter/OptionValueBoolean.h
-include/lldb/Interpreter/OptionValueChar.h
-include/lldb/Interpreter/OptionValueDictionary.h
-include/lldb/Interpreter/OptionValueEnumeration.h
-include/lldb/Interpreter/OptionValueFileSpec.h
-include/lldb/Interpreter/OptionValueFileSpecList.h
-include/lldb/Interpreter/OptionValueFormat.h
-include/lldb/Interpreter/OptionValueFormatEntity.h
-include/lldb/Interpreter/OptionValueLanguage.h
-include/lldb/Interpreter/OptionValuePathMappings.h
-include/lldb/Interpreter/OptionValueProperties.h
-include/lldb/Interpreter/OptionValueRegex.h
-include/lldb/Interpreter/OptionValueSInt64.h
-include/lldb/Interpreter/OptionValueString.h
-include/lldb/Interpreter/OptionValueUInt64.h
-include/lldb/Interpreter/OptionValueUUID.h
-include/lldb/Interpreter/OptionValues.h
-include/lldb/Interpreter/Options.h
-include/lldb/Interpreter/Property.h
-include/lldb/Interpreter/ScriptInterpreter.h
-include/lldb/Symbol/ArmUnwindInfo.h
-include/lldb/Symbol/Block.h
-include/lldb/Symbol/ClangASTContext.h
-include/lldb/Symbol/ClangASTImporter.h
-include/lldb/Symbol/ClangExternalASTSourceCallbacks.h
-include/lldb/Symbol/ClangExternalASTSourceCommon.h
-include/lldb/Symbol/ClangUtil.h
-include/lldb/Symbol/CompactUnwindInfo.h
-include/lldb/Symbol/CompileUnit.h
-include/lldb/Symbol/CompilerDecl.h
-include/lldb/Symbol/CompilerDeclContext.h
-include/lldb/Symbol/CompilerType.h
-include/lldb/Symbol/DWARFCallFrameInfo.h
-include/lldb/Symbol/DebugMacros.h
-include/lldb/Symbol/DeclVendor.h
-include/lldb/Symbol/Declaration.h
-include/lldb/Symbol/FuncUnwinders.h
-include/lldb/Symbol/Function.h
-include/lldb/Symbol/GoASTContext.h
-include/lldb/Symbol/JavaASTContext.h
-include/lldb/Symbol/LineEntry.h
-include/lldb/Symbol/LineTable.h
-include/lldb/Symbol/OCamlASTContext.h
-include/lldb/Symbol/ObjectContainer.h
-include/lldb/Symbol/ObjectFile.h
-include/lldb/Symbol/Symbol.h
-include/lldb/Symbol/SymbolContext.h
-include/lldb/Symbol/SymbolContextScope.h
-include/lldb/Symbol/SymbolFile.h
-include/lldb/Symbol/SymbolVendor.h
-include/lldb/Symbol/Symtab.h
-include/lldb/Symbol/TaggedASTType.h
-include/lldb/Symbol/Type.h
-include/lldb/Symbol/TypeList.h
-include/lldb/Symbol/TypeMap.h
-include/lldb/Symbol/TypeSystem.h
-include/lldb/Symbol/UnwindPlan.h
-include/lldb/Symbol/UnwindTable.h
-include/lldb/Symbol/Variable.h
-include/lldb/Symbol/VariableList.h
-include/lldb/Symbol/VerifyDecl.h
-include/lldb/Target/ABI.h
-include/lldb/Target/CPPLanguageRuntime.h
-include/lldb/Target/DynamicLoader.h
-include/lldb/Target/ExecutionContext.h
-include/lldb/Target/ExecutionContextScope.h
-include/lldb/Target/FileAction.h
-include/lldb/Target/InstrumentationRuntime.h
-include/lldb/Target/InstrumentationRuntimeStopInfo.h
-include/lldb/Target/JITLoader.h
-include/lldb/Target/JITLoaderList.h
-include/lldb/Target/Language.h
-include/lldb/Target/LanguageRuntime.h
-include/lldb/Target/Memory.h
-include/lldb/Target/MemoryHistory.h
-include/lldb/Target/MemoryRegionInfo.h
-include/lldb/Target/ObjCLanguageRuntime.h
-include/lldb/Target/OperatingSystem.h
-include/lldb/Target/PathMappingList.h
-include/lldb/Target/Platform.h
-include/lldb/Target/Process.h
-include/lldb/Target/ProcessInfo.h
-include/lldb/Target/ProcessLaunchInfo.h
-include/lldb/Target/Queue.h
-include/lldb/Target/QueueItem.h
-include/lldb/Target/QueueList.h
-include/lldb/Target/RegisterCheckpoint.h
-include/lldb/Target/RegisterContext.h
-include/lldb/Target/SectionLoadHistory.h
-include/lldb/Target/SectionLoadList.h
-include/lldb/Target/StackFrame.h
-include/lldb/Target/StackFrameList.h
-include/lldb/Target/StackID.h
-include/lldb/Target/StopInfo.h
-include/lldb/Target/StructuredDataPlugin.h
-include/lldb/Target/SystemRuntime.h
-include/lldb/Target/Target.h
-include/lldb/Target/TargetList.h
-include/lldb/Target/Thread.h
-include/lldb/Target/ThreadCollection.h
-include/lldb/Target/ThreadList.h
-include/lldb/Target/ThreadPlan.h
-include/lldb/Target/ThreadPlanBase.h
-include/lldb/Target/ThreadPlanCallFunction.h
-include/lldb/Target/ThreadPlanCallFunctionUsingABI.h
-include/lldb/Target/ThreadPlanCallOnFunctionExit.h
-include/lldb/Target/ThreadPlanCallUserExpression.h
-include/lldb/Target/ThreadPlanPython.h
-include/lldb/Target/ThreadPlanRunToAddress.h
-include/lldb/Target/ThreadPlanShouldStopHere.h
-include/lldb/Target/ThreadPlanStepInRange.h
-include/lldb/Target/ThreadPlanStepInstruction.h
-include/lldb/Target/ThreadPlanStepOut.h
-include/lldb/Target/ThreadPlanStepOverBreakpoint.h
-include/lldb/Target/ThreadPlanStepOverRange.h
-include/lldb/Target/ThreadPlanStepRange.h
-include/lldb/Target/ThreadPlanStepThrough.h
-include/lldb/Target/ThreadPlanStepUntil.h
-include/lldb/Target/ThreadPlanTracer.h
-include/lldb/Target/ThreadSpec.h
-include/lldb/Target/UnixSignals.h
-include/lldb/Target/Unwind.h
-include/lldb/Target/UnwindAssembly.h
-include/lldb/Utility/AnsiTerminal.h
-include/lldb/Utility/CleanUp.h
-include/lldb/Utility/ConvertEnum.h
-include/lldb/Utility/Either.h
-include/lldb/Utility/Iterable.h
-include/lldb/Utility/JSON.h
-include/lldb/Utility/LLDBAssert.h
-include/lldb/Utility/NameMatches.h
-include/lldb/Utility/PriorityPointerPair.h
-include/lldb/Utility/ProcessStructReader.h
-include/lldb/Utility/PseudoTerminal.h
-include/lldb/Utility/Range.h
-include/lldb/Utility/RegisterNumber.h
-include/lldb/Utility/SafeMachO.h
-include/lldb/Utility/SelectHelper.h
-include/lldb/Utility/SharedCluster.h
-include/lldb/Utility/SharingPtr.h
-include/lldb/Utility/StringExtractor.h
-include/lldb/Utility/StringLexer.h
-include/lldb/Utility/TaskPool.h
-include/lldb/Utility/Timeout.h
-include/lldb/Utility/Utils.h
-include/lldb/lldb-defines.h
-include/lldb/lldb-enumerations.h
-include/lldb/lldb-forward.h
-include/lldb/lldb-private-defines.h
-include/lldb/lldb-private-enumerations.h
-include/lldb/lldb-private-forward.h
-include/lldb/lldb-private-interfaces.h
-include/lldb/lldb-private-types.h
-include/lldb/lldb-private.h
-include/lldb/lldb-public.h
-include/lldb/lldb-types.h
-include/lldb/lldb-versioning.h
-lib/liblldb.so
-lib/liblldb.so.${PKGVERSION}
-lib/liblldb.so.40
-lib/liblldbBase.a
-lib/liblldbBreakpoint.a
-lib/liblldbCommands.a
-lib/liblldbCore.a
-lib/liblldbDataFormatters.a
-lib/liblldbExpression.a
-lib/liblldbHost.a
-lib/liblldbInitialization.a
-lib/liblldbInterpreter.a
-lib/liblldbPluginABIMacOSX_arm.a
-lib/liblldbPluginABIMacOSX_arm64.a
-lib/liblldbPluginABIMacOSX_i386.a
-lib/liblldbPluginABISysV_arm.a
-lib/liblldbPluginABISysV_arm64.a
-lib/liblldbPluginABISysV_hexagon.a
-lib/liblldbPluginABISysV_i386.a
-lib/liblldbPluginABISysV_mips.a
-lib/liblldbPluginABISysV_mips64.a
-lib/liblldbPluginABISysV_ppc.a
-lib/liblldbPluginABISysV_ppc64.a
-lib/liblldbPluginABISysV_s390x.a
-lib/liblldbPluginABISysV_x86_64.a
-lib/liblldbPluginAppleObjCRuntime.a
-lib/liblldbPluginCPlusPlusLanguage.a
-lib/liblldbPluginCXXItaniumABI.a
-lib/liblldbPluginDisassemblerLLVM.a
-lib/liblldbPluginDynamicLoaderHexagonDYLD.a
-lib/liblldbPluginDynamicLoaderMacOSXDYLD.a
-lib/liblldbPluginDynamicLoaderPosixDYLD.a
-lib/liblldbPluginDynamicLoaderStatic.a
-lib/liblldbPluginDynamicLoaderWindowsDYLD.a
-lib/liblldbPluginExpressionParserClang.a
-lib/liblldbPluginExpressionParserGo.a
-lib/liblldbPluginGoLanguage.a
-lib/liblldbPluginInstructionARM.a
-lib/liblldbPluginInstructionARM64.a
-lib/liblldbPluginInstructionMIPS.a
-lib/liblldbPluginInstructionMIPS64.a
-lib/liblldbPluginInstrumentationRuntimeAddressSanitizer.a
-lib/liblldbPluginInstrumentationRuntimeThreadSanitizer.a
-lib/liblldbPluginJITLoaderGDB.a
-lib/liblldbPluginJavaLanguage.a
-lib/liblldbPluginLanguageRuntimeGo.a
-lib/liblldbPluginLanguageRuntimeJava.a
-lib/liblldbPluginMemoryHistoryASan.a
-lib/liblldbPluginOCamlLanguage.a
-lib/liblldbPluginOSGo.a
-lib/liblldbPluginOSPython.a
-lib/liblldbPluginObjCLanguage.a
-lib/liblldbPluginObjCPlusPlusLanguage.a
-lib/liblldbPluginObjectContainerBSDArchive.a
-lib/liblldbPluginObjectContainerMachOArchive.a
-lib/liblldbPluginObjectFileELF.a
-lib/liblldbPluginObjectFileJIT.a
-lib/liblldbPluginObjectFileMachO.a
-lib/liblldbPluginObjectFilePECOFF.a
-lib/liblldbPluginPlatformAndroid.a
-lib/liblldbPluginPlatformFreeBSD.a
-lib/liblldbPluginPlatformGDB.a
-lib/liblldbPluginPlatformKalimba.a
-lib/liblldbPluginPlatformLinux.a
-lib/liblldbPluginPlatformMacOSX.a
-lib/liblldbPluginPlatformNetBSD.a
-lib/liblldbPluginPlatformPOSIX.a
-lib/liblldbPluginPlatformWindows.a
-lib/liblldbPluginProcessElfCore.a
-lib/liblldbPluginProcessGDBRemote.a
-lib/liblldbPluginProcessMachCore.a
-lib/liblldbPluginProcessMinidump.a
-lib/liblldbPluginProcessPOSIX.a
-lib/liblldbPluginProcessUtility.a
-lib/liblldbPluginRenderScriptRuntime.a
-lib/liblldbPluginScriptInterpreterNone.a
-lib/liblldbPluginScriptInterpreterPython.a
-lib/liblldbPluginStructuredDataDarwinLog.a
-lib/liblldbPluginSymbolFileDWARF.a
-lib/liblldbPluginSymbolFilePDB.a
-lib/liblldbPluginSymbolFileSymtab.a
-lib/liblldbPluginSymbolVendorELF.a
-lib/liblldbPluginSystemRuntimeMacOSX.a
-lib/liblldbPluginUnwindAssemblyInstEmulation.a
-lib/liblldbPluginUnwindAssemblyX86.a
-lib/liblldbSymbol.a
-lib/liblldbTarget.a
-lib/liblldbUtility.a
diff --git a/lldb-git-netbsd/TODO b/lldb-git-netbsd/TODO
deleted file mode 100644
index cad052e..0000000
--- a/lldb-git-netbsd/TODO
+++ /dev/null
@@ -1,7 +0,0 @@
-Installs a bundled copy of lang/py-six, and conflicts with it.
-
-warning: /tmp/pkgsrc-tmp/wip/lldb-git/work/.destdir/usr/pkg/share/clang/clang-format-bbedit.applescript: executable bit is set on non-executable file.
-warning: /tmp/pkgsrc-tmp/wip/lldb-git/work/.destdir/usr/pkg/share/clang/clang-format-sublime.py: executable bit is set on non-executable file.
-warning: /tmp/pkgsrc-tmp/wip/lldb-git/work/.destdir/usr/pkg/share/clang/clang-format.el: executable bit is set on non-executable file.
-warning: /tmp/pkgsrc-tmp/wip/lldb-git/work/.destdir/usr/pkg/share/clang/clang-format.py: executable bit is set on non-executable file.
-warning: /tmp/pkgsrc-tmp/wip/lldb-git/work/.destdir/usr/pkg/share/man/man1/scan-build.1: executable bit is set on non-executable file.
diff --git a/lldb-git-netbsd/buildlink3.mk b/lldb-git-netbsd/buildlink3.mk
deleted file mode 100644
index dd2271a..0000000
--- a/lldb-git-netbsd/buildlink3.mk
+++ /dev/null
@@ -1,18 +0,0 @@
-# $NetBSD$
-
-BUILDLINK_TREE+=	lldb
-
-.if !defined(LLDB_BUILDLINK3_MK)
-LLDB_BUILDLINK3_MK:=
-
-BUILDLINK_API_DEPENDS.lldb+=	lldb>=3.9.0nb20160121
-BUILDLINK_PKGSRCDIR.lldb?=	../../wip/lldb-git
-
-.include "../../textproc/libxml2/buildlink3.mk"
-.include "../../wip/llvm-git/buildlink3.mk"
-.include "../../wip/clang-git/buildlink3.mk"
-.include "../../devel/zlib/buildlink3.mk"
-.include "../../devel/swig/buildlink3.mk"
-.endif	# LLDB_BUILDLINK3_MK
-
-BUILDLINK_TREE+=	-lldb
diff --git a/lldb-git-netbsd/distinfo b/lldb-git-netbsd/distinfo
deleted file mode 100644
index f8eb080..0000000
--- a/lldb-git-netbsd/distinfo
+++ /dev/null
@@ -1,31 +0,0 @@
-$NetBSD: distinfo,v 1.35 2015/09/11 01:21:57 tnn Exp $
-
-SHA1 (cfe-3.6.2.src.tar.xz) = 7ba809c9c17819a16b668640a642ed134d7052f0
-RMD160 (cfe-3.6.2.src.tar.xz) = 10d913b4d5317f8c2520e5fc6117df30937317a8
-Size (cfe-3.6.2.src.tar.xz) = 8617576 bytes
-SHA1 (compiler-rt-3.6.2.src.tar.xz) = c6c52d2923a60f1a2ca2f22fea1770fd2e25728d
-RMD160 (compiler-rt-3.6.2.src.tar.xz) = 9b68a32d49d4bef4603d550934192f39fea42895
-Size (compiler-rt-3.6.2.src.tar.xz) = 1128080 bytes
-SHA1 (libcxx-3.6.2.src.tar.xz) = 6c5aee9f05ecf17d1e3ecb1add34a33a5a904469
-RMD160 (libcxx-3.6.2.src.tar.xz) = 42b8832d01d4e6b553babc93cb5dbd4ce2bb1931
-Size (libcxx-3.6.2.src.tar.xz) = 944020 bytes
-SHA1 (llvm-3.6.2.src.tar.xz) = 7a00257eb2bc9431e4c77c3a36b033072c54bc7e
-RMD160 (llvm-3.6.2.src.tar.xz) = 521cbc5fe2925ea3c6e90c7a31f752a04045c972
-Size (llvm-3.6.2.src.tar.xz) = 12802380 bytes
-SHA1 (patch-cmake_LLDBDependencies.cmake) = c74b2e92695bd5e0ef2f6aca2b1157024c20e89e
-SHA1 (patch-include_lldb_Host_linux_Personality.h) = c9bb2773987b871c000043a9fd3ac143110f79a4
-SHA1 (patch-source_CMakeLists.txt) = d280b1a64b272c4bbdcdab838e69301eb17af732
-SHA1 (patch-source_Plugins_Process_CMakeLists.txt) = be993a6f54da5b09a44e0ca9e4dea96012e539d9
-SHA1 (patch-source_Plugins_Process_Linux_CMakeLists.txt) = a3b5431f8b52d04c838c3a12eaa1fd66cc521c68
-SHA1 (patch-source_Plugins_Process_Linux_NativeProcessLinux.cpp) = 97e0338ef52ce243dda3875ec5e5c218ddff1929
-SHA1 (patch-source_Plugins_Process_Linux_NativeRegisterContextLinux.cpp) = 755cf9dce3aa8d1c32cff9fe3281a09f6d0e6c69
-SHA1 (patch-source_Plugins_Process_Linux_NativeRegisterContextLinux__x86__64.cpp) = f5219581c97d6179222e437122449673eac1cf59
-SHA1 (patch-source_Plugins_Process_Linux_NativeThreadLinux.cpp) = 7d72c5be16304bf2a2cd7b2441828c513e2e8160
-SHA1 (patch-source_Plugins_Process_Linux_NativeThreadLinux.h) = d3685ac9995b4b0c98a94c5a6b2383f386c3fff6
-SHA1 (patch-source_Plugins_Process_Linux_Procfs.h) = 9621cc9494a96d5d4c4fef06dcd9a85bd018f5a1
-SHA1 (patch-tools_lldb-mi_MICmnBase.cpp) = 851c82ac61e1241018755fbd7236af00379ac986
-SHA1 (patch-tools_lldb-mi_MICmnBase.h) = f550d5e10bcf02fb46472733acdbb820791f22e5
-SHA1 (patch-tools_lldb-mi_MIDriver.cpp) = bf1b5399e82bcfe54d6d852f64ed155328f2064d
-SHA1 (patch-tools_lldb-mi_MIUtilString.cpp) = 200d9712753b5559da79c2e16fa0889fea1e9432
-SHA1 (patch-tools_lldb-mi_MIUtilString.h) = 7e7befec383f88502a97aec509ba39477efde37d
-SHA1 (patch-tools_lldb-server_CMakeLists.txt) = ce9c14973f98fe3669b56886d6bf2033630c5aa7
diff --git a/lldb-git-netbsd/patches/patch-cmake_LLDBDependencies.cmake b/lldb-git-netbsd/patches/patch-cmake_LLDBDependencies.cmake
deleted file mode 100644
index 2eec517..0000000
--- a/lldb-git-netbsd/patches/patch-cmake_LLDBDependencies.cmake
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD$
-
---- cmake/LLDBDependencies.cmake.orig	2016-12-14 14:10:24.000000000 +0000
-+++ cmake/LLDBDependencies.cmake
-@@ -115,6 +115,7 @@ endif ()
- # NetBSD-only libraries
- if ( CMAKE_SYSTEM_NAME MATCHES "NetBSD" )
-   list(APPEND LLDB_USED_LIBS
-+    lldbPluginProcessLinux
-     lldbPluginProcessPOSIX
-     )
- endif ()
diff --git a/lldb-git-netbsd/patches/patch-include_lldb_Host_linux_Personality.h b/lldb-git-netbsd/patches/patch-include_lldb_Host_linux_Personality.h
deleted file mode 100644
index 3bdda69..0000000
--- a/lldb-git-netbsd/patches/patch-include_lldb_Host_linux_Personality.h
+++ /dev/null
@@ -1,19 +0,0 @@
-$NetBSD$
-
---- include/lldb/Host/linux/Personality.h.orig	2016-12-14 14:10:24.000000000 +0000
-+++ include/lldb/Host/linux/Personality.h
-@@ -12,6 +12,7 @@
- #ifndef liblldb_Host_linux_Personality_h_
- #define liblldb_Host_linux_Personality_h_
- 
-+#if !defined(__NetBSD__)
- #ifdef __ANDROID__
- #include <android/api-level.h>
- #endif
-@@ -21,5 +22,6 @@
- #else
- #include <sys/personality.h>
- #endif
-+#endif
- 
- #endif // liblldb_Host_linux_Personality_h_
diff --git a/lldb-git-netbsd/patches/patch-source_CMakeLists.txt b/lldb-git-netbsd/patches/patch-source_CMakeLists.txt
deleted file mode 100644
index dccf5ff..0000000
--- a/lldb-git-netbsd/patches/patch-source_CMakeLists.txt
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD$
-
---- source/CMakeLists.txt.orig	2016-12-14 14:10:24.000000000 +0000
-+++ source/CMakeLists.txt
-@@ -16,6 +16,7 @@ endif ()
- 
- if ( CMAKE_SYSTEM_NAME MATCHES "NetBSD" )
- include_directories(
-+  Plugins/Process/Linux
-   Plugins/Process/POSIX
-   )
- endif ()
diff --git a/lldb-git-netbsd/patches/patch-source_Plugins_Process_CMakeLists.txt b/lldb-git-netbsd/patches/patch-source_Plugins_Process_CMakeLists.txt
deleted file mode 100644
index c7bb39c..0000000
--- a/lldb-git-netbsd/patches/patch-source_Plugins_Process_CMakeLists.txt
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD$
-
---- source/Plugins/Process/CMakeLists.txt.orig	2016-12-14 14:10:24.000000000 +0000
-+++ source/Plugins/Process/CMakeLists.txt
-@@ -5,6 +5,7 @@ elseif (CMAKE_SYSTEM_NAME MATCHES "FreeB
-   add_subdirectory(FreeBSD)
-   add_subdirectory(POSIX)
- elseif (CMAKE_SYSTEM_NAME MATCHES "NetBSD")
-+  add_subdirectory(Linux)
-   add_subdirectory(POSIX)
- elseif (CMAKE_SYSTEM_NAME MATCHES "Windows")
-   add_subdirectory(Windows/Common)
diff --git a/lldb-git-netbsd/patches/patch-source_Plugins_Process_Linux_CMakeLists.txt b/lldb-git-netbsd/patches/patch-source_Plugins_Process_Linux_CMakeLists.txt
deleted file mode 100644
index 5a4b3dc..0000000
--- a/lldb-git-netbsd/patches/patch-source_Plugins_Process_Linux_CMakeLists.txt
+++ /dev/null
@@ -1,16 +0,0 @@
-$NetBSD$
-
---- source/Plugins/Process/Linux/CMakeLists.txt.orig	2016-05-01 10:39:36.000000000 +0000
-+++ source/Plugins/Process/Linux/CMakeLists.txt
-@@ -5,11 +5,7 @@ include_directories(../Utility)
- add_lldb_library(lldbPluginProcessLinux
-   NativeProcessLinux.cpp
-   NativeRegisterContextLinux.cpp
--  NativeRegisterContextLinux_arm.cpp
--  NativeRegisterContextLinux_arm64.cpp
-   NativeRegisterContextLinux_x86_64.cpp
--  NativeRegisterContextLinux_mips64.cpp
--  NativeRegisterContextLinux_s390x.cpp
-   NativeThreadLinux.cpp
-   ProcFileReader.cpp
-   SingleStepCheck.cpp
diff --git a/lldb-git-netbsd/patches/patch-source_Plugins_Process_Linux_NativeProcessLinux.cpp b/lldb-git-netbsd/patches/patch-source_Plugins_Process_Linux_NativeProcessLinux.cpp
deleted file mode 100644
index d4fdb42..0000000
--- a/lldb-git-netbsd/patches/patch-source_Plugins_Process_Linux_NativeProcessLinux.cpp
+++ /dev/null
@@ -1,278 +0,0 @@
-$NetBSD$
-
---- source/Plugins/Process/Linux/NativeProcessLinux.cpp.orig	2016-12-14 14:10:24.000000000 +0000
-+++ source/Plugins/Process/Linux/NativeProcessLinux.cpp
-@@ -50,7 +50,9 @@
- // System includes - They have to be included after framework includes because
- // they define some
- // macros which collide with variable names in other modules
-+#if !defined(__NetBSD__)
- #include <linux/unistd.h>
-+#endif
- #include <sys/socket.h>
- 
- #include <sys/syscall.h>
-@@ -74,6 +76,7 @@ using namespace llvm;
- 
- // Private bits we only need internally.
- 
-+#if !defined(__NetBSD__)
- static bool ProcessVmReadvSupported() {
-   static bool is_supported;
-   static std::once_flag flag;
-@@ -107,6 +110,7 @@ static bool ProcessVmReadvSupported() {
- 
-   return is_supported;
- }
-+#endif
- 
- namespace {
- void MaybeLogLaunchInfo(const ProcessLaunchInfo &info) {
-@@ -155,6 +159,7 @@ void PtraceDisplayBytes(int &req, void *
- 
-   if (verbose_log) {
-     switch (req) {
-+#if !defined(__NetBSD__)
-     case PTRACE_POKETEXT: {
-       DisplayBytes(buf, &data, 8);
-       verbose_log->Printf("PTRACE_POKETEXT %s", buf.GetData());
-@@ -170,6 +175,7 @@ void PtraceDisplayBytes(int &req, void *
-       verbose_log->Printf("PTRACE_POKEUSER %s", buf.GetData());
-       break;
-     }
-+#endif
-     case PTRACE_SETREGS: {
-       DisplayBytes(buf, data, data_size);
-       verbose_log->Printf("PTRACE_SETREGS %s", buf.GetData());
-@@ -180,6 +186,7 @@ void PtraceDisplayBytes(int &req, void *
-       verbose_log->Printf("PTRACE_SETFPREGS %s", buf.GetData());
-       break;
-     }
-+#if !defined(__NetBSD__)
-     case PTRACE_SETSIGINFO: {
-       DisplayBytes(buf, data, sizeof(siginfo_t));
-       verbose_log->Printf("PTRACE_SETSIGINFO %s", buf.GetData());
-@@ -191,6 +198,7 @@ void PtraceDisplayBytes(int &req, void *
-       verbose_log->Printf("PTRACE_SETREGSET %s", buf.GetData());
-       break;
-     }
-+#endif
-     default: {}
-     }
-   }
-@@ -224,6 +232,7 @@ static Error EnsureFDFlags(int fd, int f
- // Public Static Methods
- // -----------------------------------------------------------------------------
- 
-+#if !defined(__NetBSD__)
- Error NativeProcessProtocol::Launch(
-     ProcessLaunchInfo &launch_info,
-     NativeProcessProtocol::NativeDelegate &native_delegate, MainLoop &mainloop,
-@@ -266,7 +275,9 @@ Error NativeProcessProtocol::Launch(
- 
-   return error;
- }
-+#endif
- 
-+#if !defined(__NetBSD__)
- Error NativeProcessProtocol::Attach(
-     lldb::pid_t pid, NativeProcessProtocol::NativeDelegate &native_delegate,
-     MainLoop &mainloop, NativeProcessProtocolSP &native_process_sp) {
-@@ -295,6 +306,7 @@ Error NativeProcessProtocol::Attach(
-   native_process_sp = native_process_linux_sp;
-   return error;
- }
-+#endif
- 
- // -----------------------------------------------------------------------------
- // Public Instance Methods
-@@ -346,7 +358,11 @@ Error NativeProcessLinux::LaunchInferior
-   MaybeLogLaunchInfo(launch_info);
- 
-   ::pid_t pid =
-+#if !defined(__NetBSD__)
-       ProcessLauncherLinux().LaunchProcess(launch_info, error).GetProcessId();
-+#else
-+      0;
-+#endif
-   if (error.Fail())
-     return error;
- 
-@@ -458,7 +474,9 @@ Error NativeProcessLinux::LaunchInferior
- 
-         // Attach to the requested process.
-         // An attach will cause the thread to stop with a SIGSTOP.
-+#if !defined(__NetBSD__)
-         error = PtraceWrapper(PTRACE_ATTACH, tid);
-+#endif
-         if (error.Fail()) {
-           // No such thread. The thread may have exited.
-           // More error handling may be needed.
-@@ -528,6 +546,7 @@ Error NativeProcessLinux::SetDefaultPtra
- 
-   // Have the child raise an event on exit.  This is used to keep the child in
-   // limbo until it is destroyed.
-+#if !defined(__NetBSD__)
-   ptrace_opts |= PTRACE_O_TRACEEXIT;
- 
-   // Have the tracer trace threads which spawn in the inferior process.
-@@ -540,6 +559,7 @@ Error NativeProcessLinux::SetDefaultPtra
-   ptrace_opts |= PTRACE_O_TRACEEXEC;
- 
-   return PtraceWrapper(PTRACE_SETOPTIONS, pid, nullptr, (void *)ptrace_opts);
-+#endif
- }
- 
- static ExitType convert_pid_status_to_exit_type(int status) {
-@@ -835,6 +855,7 @@ void NativeProcessLinux::MonitorSIGTRAP(
- 
-   assert(info.si_signo == SIGTRAP && "Unexpected child signal!");
- 
-+#if !defined(__NetBSD__)
-   switch (info.si_code) {
-   // TODO: these two cases are required if we want to support tracing of the
-   // inferiors' children.  We'd need this to debug a monitor.
-@@ -1038,6 +1059,7 @@ void NativeProcessLinux::MonitorSIGTRAP(
-                   __FUNCTION__, GetID(), thread.GetID(), info.si_code);
-     break;
-   }
-+#endif
- }
- 
- void NativeProcessLinux::MonitorTrace(NativeThreadLinux &thread) {
-@@ -1110,6 +1132,7 @@ void NativeProcessLinux::MonitorSignal(c
-   //
-   // Similarly, ACK signals generated by this monitor.
- 
-+#if !defined(__NetBSD__)
-   // Handle the signal.
-   if (info.si_code == SI_TKILL || info.si_code == SI_USER) {
-     if (log)
-@@ -1194,6 +1217,7 @@ void NativeProcessLinux::MonitorSignal(c
-     // Done handling.
-     return;
-   }
-+#endif
- 
-   if (log)
-     log->Printf("NativeProcessLinux::%s() received signal %s", __FUNCTION__,
-@@ -2132,7 +2156,11 @@ NativeProcessLinux::GetCrashReasonForSIG
- 
- Error NativeProcessLinux::ReadMemory(lldb::addr_t addr, void *buf, size_t size,
-                                      size_t &bytes_read) {
-+#if !defined(__NetBSD__)
-   if (ProcessVmReadvSupported()) {
-+#else
-+  {
-+#endif
-     // The process_vm_readv path is about 50 times faster than ptrace api. We
-     // want to use
-     // this syscall if it is supported.
-@@ -2145,7 +2173,11 @@ Error NativeProcessLinux::ReadMemory(lld
-     remote_iov.iov_base = reinterpret_cast<void *>(addr);
-     remote_iov.iov_len = size;
- 
-+#if !defined(__NetBSD__)
-     bytes_read = process_vm_readv(pid, &local_iov, 1, &remote_iov, 1, 0);
-+#else
-+    bytes_read = 0;
-+#endif
-     const bool success = bytes_read == size;
- 
-     Log *log(GetLogIfAllCategoriesSet(LIBLLDB_LOG_PROCESS));
-@@ -2175,6 +2207,7 @@ Error NativeProcessLinux::ReadMemory(lld
-                 (void *)addr, buf, size);
- 
-   for (bytes_read = 0; bytes_read < size; bytes_read += remainder) {
-+#if !defined(__NetBSD__)
-     Error error = NativeProcessLinux::PtraceWrapper(
-         PTRACE_PEEKDATA, GetID(), (void *)addr, nullptr, 0, &data);
-     if (error.Fail()) {
-@@ -2182,6 +2215,7 @@ Error NativeProcessLinux::ReadMemory(lld
-         ProcessPOSIXLog::DecNestLevel();
-       return error;
-     }
-+#endif
- 
-     remainder = size - bytes_read;
-     remainder = remainder > k_ptrace_word_size ? k_ptrace_word_size : remainder;
-@@ -2248,6 +2282,7 @@ Error NativeProcessLinux::WriteMemory(ll
-         log->Printf("NativeProcessLinux::%s() [%p]:0x%lx (0x%lx)", __FUNCTION__,
-                     (void *)addr, *(const unsigned long *)src, data);
- 
-+#if !defined(__NetBSD__)
-       error = NativeProcessLinux::PtraceWrapper(PTRACE_POKEDATA, GetID(),
-                                                 (void *)addr, (void *)data);
-       if (error.Fail()) {
-@@ -2255,6 +2290,7 @@ Error NativeProcessLinux::WriteMemory(ll
-           ProcessPOSIXLog::DecNestLevel();
-         return error;
-       }
-+#endif
-     } else {
-       unsigned char buff[8];
-       size_t bytes_read;
-@@ -2293,19 +2329,33 @@ Error NativeProcessLinux::WriteMemory(ll
- }
- 
- Error NativeProcessLinux::GetSignalInfo(lldb::tid_t tid, void *siginfo) {
-+#if !defined(__NetBSD__)
-   return PtraceWrapper(PTRACE_GETSIGINFO, tid, nullptr, siginfo);
-+#else
-+  Error error;
-+  return error;
-+#endif
- }
- 
- Error NativeProcessLinux::GetEventMessage(lldb::tid_t tid,
-                                           unsigned long *message) {
-+#if !defined(__NetBSD__)
-   return PtraceWrapper(PTRACE_GETEVENTMSG, tid, nullptr, message);
-+#else
-+  Error error;
-+  return error;
-+#endif
- }
- 
- Error NativeProcessLinux::Detach(lldb::tid_t tid) {
-   if (tid == LLDB_INVALID_THREAD_ID)
-     return Error();
--
-+#if !defined(__NetBSD__)
-   return PtraceWrapper(PTRACE_DETACH, tid);
-+#else
-+  Error error;
-+  return error;
-+#endif
- }
- 
- bool NativeProcessLinux::HasThreadNoLock(lldb::tid_t thread_id) {
-@@ -2649,7 +2699,11 @@ void NativeProcessLinux::SigchldHandler(
-   // Process all pending waitpid notifications.
-   while (true) {
-     int status = -1;
-+#if !defined(__NetBSD__)
-     ::pid_t wait_pid = waitpid(-1, &status, __WALL | __WNOTHREAD | WNOHANG);
-+#else
-+    ::pid_t wait_pid = waitpid(-1, &status, /* __WALL | __WNOTHREAD | */ WNOHANG);
-+#endif
- 
-     if (wait_pid == 0)
-       break; // We are done.
-@@ -2713,12 +2767,16 @@ Error NativeProcessLinux::PtraceWrapper(
-   PtraceDisplayBytes(req, data, data_size);
- 
-   errno = 0;
-+#if !defined(__NetBSD__)
-   if (req == PTRACE_GETREGSET || req == PTRACE_SETREGSET)
-     ret = ptrace(static_cast<__ptrace_request>(req), static_cast<::pid_t>(pid),
-                  *(unsigned int *)addr, data);
-   else
-     ret = ptrace(static_cast<__ptrace_request>(req), static_cast<::pid_t>(pid),
-                  addr, data);
-+#else
-+  ret = 0;
-+#endif
- 
-   if (ret == -1)
-     error.SetErrorToErrno();
diff --git a/lldb-git-netbsd/patches/patch-source_Plugins_Process_Linux_NativeRegisterContextLinux.cpp b/lldb-git-netbsd/patches/patch-source_Plugins_Process_Linux_NativeRegisterContextLinux.cpp
deleted file mode 100644
index b6ebac8..0000000
--- a/lldb-git-netbsd/patches/patch-source_Plugins_Process_Linux_NativeRegisterContextLinux.cpp
+++ /dev/null
@@ -1,36 +0,0 @@
-$NetBSD$
-
---- source/Plugins/Process/Linux/NativeRegisterContextLinux.cpp.orig	2016-10-19 22:25:12.000000000 +0000
-+++ source/Plugins/Process/Linux/NativeRegisterContextLinux.cpp
-@@ -163,6 +163,7 @@ Error NativeRegisterContextLinux::DoRead
-   Log *log(ProcessPOSIXLog::GetLogIfAllCategoriesSet(POSIX_LOG_REGISTERS));
- 
-   long data;
-+#if !defined(__NetBSD__)
-   Error error = NativeProcessLinux::PtraceWrapper(
-       PTRACE_PEEKUSER, m_thread.GetID(), reinterpret_cast<void *>(offset),
-       nullptr, 0, &data);
-@@ -170,6 +171,9 @@ Error NativeRegisterContextLinux::DoRead
-   if (error.Success())
-     // First cast to an unsigned of the same size to avoid sign extension.
-     value.SetUInt(static_cast<unsigned long>(data), size);
-+#else
-+  Error error;
-+#endif
- 
-   if (log)
-     log->Printf("NativeRegisterContextLinux::%s() reg %s: 0x%lx", __FUNCTION__,
-@@ -188,8 +192,13 @@ Error NativeRegisterContextLinux::DoWrit
-     log->Printf("NativeRegisterContextLinux::%s() reg %s: %p", __FUNCTION__,
-                 reg_name, buf);
- 
-+#if !defined(__NetBSD__)
-   return NativeProcessLinux::PtraceWrapper(
-       PTRACE_POKEUSER, m_thread.GetID(), reinterpret_cast<void *>(offset), buf);
-+#else
-+  Error error;
-+  return error;
-+#endif
- }
- 
- Error NativeRegisterContextLinux::DoReadGPR(void *buf, size_t buf_size) {
diff --git a/lldb-git-netbsd/patches/patch-source_Plugins_Process_Linux_NativeRegisterContextLinux__x86__64.cpp b/lldb-git-netbsd/patches/patch-source_Plugins_Process_Linux_NativeRegisterContextLinux__x86__64.cpp
deleted file mode 100644
index 3e0a1be..0000000
--- a/lldb-git-netbsd/patches/patch-source_Plugins_Process_Linux_NativeRegisterContextLinux__x86__64.cpp
+++ /dev/null
@@ -1,26 +0,0 @@
-$NetBSD$
-
---- source/Plugins/Process/Linux/NativeRegisterContextLinux_x86_64.cpp.orig	2016-12-14 14:10:24.000000000 +0000
-+++ source/Plugins/Process/Linux/NativeRegisterContextLinux_x86_64.cpp
-@@ -20,7 +20,9 @@
- #include "Plugins/Process/Utility/RegisterContextLinux_i386.h"
- #include "Plugins/Process/Utility/RegisterContextLinux_x86_64.h"
- 
-+#if !defined(__NetBSD__)
- #include <linux/elf.h>
-+#endif
- 
- using namespace lldb_private;
- using namespace lldb_private::process_linux;
-@@ -223,7 +225,11 @@ static const RegisterSet g_reg_sets_x86_
- // On x86_64 NT_PRFPREG is used to access the FXSAVE area. On i386, we need to
- // use NT_PRXFPREG.
- static inline unsigned int fxsr_regset(const ArchSpec &arch) {
-+#if !defined(__NetBSD__)
-   return arch.GetAddressByteSize() == 8 ? NT_PRFPREG : NT_PRXFPREG;
-+#else
-+  return 0;
-+#endif
- }
- 
- // ----------------------------------------------------------------------------
diff --git a/lldb-git-netbsd/patches/patch-source_Plugins_Process_Linux_NativeThreadLinux.cpp b/lldb-git-netbsd/patches/patch-source_Plugins_Process_Linux_NativeThreadLinux.cpp
deleted file mode 100644
index ee87079..0000000
--- a/lldb-git-netbsd/patches/patch-source_Plugins_Process_Linux_NativeThreadLinux.cpp
+++ /dev/null
@@ -1,123 +0,0 @@
-$NetBSD$
-
---- source/Plugins/Process/Linux/NativeThreadLinux.cpp.orig	2016-10-19 22:25:12.000000000 +0000
-+++ source/Plugins/Process/Linux/NativeThreadLinux.cpp
-@@ -29,9 +29,13 @@
- 
- #include <sys/syscall.h>
- // Try to define a macro to encapsulate the tgkill syscall
-+#if !defined(__NetBSD__)
- #define tgkill(pid, tid, sig)                                                  \
-   syscall(__NR_tgkill, static_cast<::pid_t>(pid), static_cast<::pid_t>(tid),   \
-           sig)
-+#else
-+#define tgkill(pid, tid, sig) 0
-+#endif
- 
- using namespace lldb;
- using namespace lldb_private;
-@@ -97,7 +101,11 @@ std::string NativeThreadLinux::GetName()
-   // const NativeProcessLinux *const process =
-   // reinterpret_cast<NativeProcessLinux*> (process_sp->get ());
-   llvm::SmallString<32> thread_name;
-+#if !defined(__NetBSD__)
-   HostNativeThread::GetName(GetID(), thread_name);
-+#else
-+  // error: invalid conversion from 'lldb::tid_t {aka long unsigned int}' to 'lldb::thread_t {aka __pthread_st*}' [-fpermissive]
-+#endif
-   return thread_name.c_str();
- }
- 
-@@ -216,8 +224,13 @@ Error NativeThreadLinux::Resume(uint32_t
-   if (signo != LLDB_INVALID_SIGNAL_NUMBER)
-     data = signo;
- 
-+#if !defined(__NetBSD__)
-   return NativeProcessLinux::PtraceWrapper(PTRACE_CONT, GetID(), nullptr,
-                                            reinterpret_cast<void *>(data));
-+#else
-+  Error error;
-+  return error;
-+#endif
- }
- 
- void NativeThreadLinux::MaybePrepareSingleStepWorkaround() {
-@@ -226,6 +239,7 @@ void NativeThreadLinux::MaybePrepareSing
- 
-   Log *log(GetLogIfAllCategoriesSet(LIBLLDB_LOG_THREAD));
- 
-+#if !defined(__NetBSD__)
-   if (sched_getaffinity(static_cast<::pid_t>(m_tid), sizeof m_original_cpu_set,
-                         &m_original_cpu_set) != 0) {
-     // This should really not fail. But, just in case...
-@@ -253,12 +267,14 @@ void NativeThreadLinux::MaybePrepareSing
-         ": %s",
-         __FUNCTION__, m_tid, error.AsCString());
-   }
-+#endif
- }
- 
- void NativeThreadLinux::MaybeCleanupSingleStepWorkaround() {
-   if (!SingleStepWorkaroundNeeded())
-     return;
- 
-+#if !defined(__NetBSD__)
-   if (sched_setaffinity(static_cast<::pid_t>(m_tid), sizeof m_original_cpu_set,
-                         &m_original_cpu_set) != 0) {
-     Error error(errno, eErrorTypePOSIX);
-@@ -268,6 +284,7 @@ void NativeThreadLinux::MaybeCleanupSing
-         ": %s",
-         __FUNCTION__, m_tid, error.AsCString());
-   }
-+#endif
- }
- 
- Error NativeThreadLinux::SingleStep(uint32_t signo) {
-@@ -285,10 +302,15 @@ Error NativeThreadLinux::SingleStep(uint
-   // If hardware single-stepping is not supported, we just do a continue. The
-   // breakpoint on the
-   // next instruction has been setup in NativeProcessLinux::Resume.
-+#if !defined(__NetBSD__)
-   return NativeProcessLinux::PtraceWrapper(
-       GetProcess().SupportHardwareSingleStepping() ? PTRACE_SINGLESTEP
-                                                    : PTRACE_CONT,
-       m_tid, nullptr, reinterpret_cast<void *>(data));
-+#else
-+  Error error;
-+  return error;
-+#endif
- }
- 
- void NativeThreadLinux::SetStoppedBySignal(uint32_t signo,
-@@ -310,6 +332,7 @@ void NativeThreadLinux::SetStoppedBySign
-     case SIGBUS:
-     case SIGFPE:
-     case SIGILL:
-+#if !defined(__NetBSD__)
-       // In case of MIPS64 target, SI_KERNEL is generated for invalid 64bit
-       // address.
-       const auto reason =
-@@ -317,6 +340,7 @@ void NativeThreadLinux::SetStoppedBySign
-               ? CrashReason::eInvalidAddress
-               : GetCrashReason(*info);
-       m_stop_description = GetCrashReasonString(reason, *info);
-+#endif
-       break;
-     }
-   }
-@@ -440,6 +464,7 @@ Error NativeThreadLinux::RequestStop() {
- 
-   Error err;
-   errno = 0;
-+#if !defined(__NetBSD__)
-   if (::tgkill(pid, tid, SIGSTOP) != 0) {
-     err.SetErrorToErrno();
-     if (log)
-@@ -447,6 +472,7 @@ Error NativeThreadLinux::RequestStop() {
-                   ", SIGSTOP) failed: %s",
-                   __FUNCTION__, pid, tid, err.AsCString());
-   }
-+#endif
- 
-   return err;
- }
diff --git a/lldb-git-netbsd/patches/patch-source_Plugins_Process_Linux_NativeThreadLinux.h b/lldb-git-netbsd/patches/patch-source_Plugins_Process_Linux_NativeThreadLinux.h
deleted file mode 100644
index 2cff18b..0000000
--- a/lldb-git-netbsd/patches/patch-source_Plugins_Process_Linux_NativeThreadLinux.h
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD$
-
---- source/Plugins/Process/Linux/NativeThreadLinux.h.orig	2016-09-10 17:36:23.000000000 +0000
-+++ source/Plugins/Process/Linux/NativeThreadLinux.h
-@@ -107,7 +107,9 @@ private:
-   std::string m_stop_description;
-   using WatchpointIndexMap = std::map<lldb::addr_t, uint32_t>;
-   WatchpointIndexMap m_watchpoint_index_map;
-+#if !defined(__NetBSD__)
-   cpu_set_t m_original_cpu_set; // For single-step workaround.
-+#endif
- };
- 
- typedef std::shared_ptr<NativeThreadLinux> NativeThreadLinuxSP;
diff --git a/lldb-git-netbsd/patches/patch-source_Plugins_Process_Linux_Procfs.h b/lldb-git-netbsd/patches/patch-source_Plugins_Process_Linux_Procfs.h
deleted file mode 100644
index d5e98d5..0000000
--- a/lldb-git-netbsd/patches/patch-source_Plugins_Process_Linux_Procfs.h
+++ /dev/null
@@ -1,17 +0,0 @@
-$NetBSD$
-
---- source/Plugins/Process/Linux/Procfs.h.orig	2016-09-10 17:36:23.000000000 +0000
-+++ source/Plugins/Process/Linux/Procfs.h
-@@ -12,6 +12,7 @@
- 
- #include <sys/ptrace.h>
- 
-+#if !defined(__NetBSD__)
- #ifdef __ANDROID__
- #if defined(__arm64__) || defined(__aarch64__)
- typedef unsigned long elf_greg_t;
-@@ -29,3 +30,4 @@ typedef struct user_fpsimd_state elf_fpr
- #else // __ANDROID__
- #include <sys/procfs.h>
- #endif // __ANDROID__
-+#endif
diff --git a/lldb-git-netbsd/patches/patch-tools_lldb-mi_MICmnBase.cpp b/lldb-git-netbsd/patches/patch-tools_lldb-mi_MICmnBase.cpp
deleted file mode 100644
index f30ad21..0000000
--- a/lldb-git-netbsd/patches/patch-tools_lldb-mi_MICmnBase.cpp
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD$
-
---- tools/lldb-mi/MICmnBase.cpp.orig	2016-09-10 17:36:23.000000000 +0000
-+++ tools/lldb-mi/MICmnBase.cpp
-@@ -122,7 +122,7 @@ void CMICmnBase::ClrErrorDescription() c
- // Return:  None.
- // Throws:  None.
- //--
--void CMICmnBase::SetErrorDescriptionn(const CMIUtilString vFormat, ...) const {
-+void CMICmnBase::SetErrorDescriptionn(const char *vFormat, ...) const {
-   va_list args;
-   va_start(args, vFormat);
-   CMIUtilString strResult = CMIUtilString::FormatValist(vFormat, args);
diff --git a/lldb-git-netbsd/patches/patch-tools_lldb-mi_MICmnBase.h b/lldb-git-netbsd/patches/patch-tools_lldb-mi_MICmnBase.h
deleted file mode 100644
index 6212245..0000000
--- a/lldb-git-netbsd/patches/patch-tools_lldb-mi_MICmnBase.h
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD$
-
---- tools/lldb-mi/MICmnBase.h.orig	2016-09-10 17:36:23.000000000 +0000
-+++ tools/lldb-mi/MICmnBase.h
-@@ -28,7 +28,7 @@ public:
-   bool HaveErrorDescription() const;
-   const CMIUtilString &GetErrorDescription() const;
-   void SetErrorDescription(const CMIUtilString &vrTxt) const;
--  void SetErrorDescriptionn(const CMIUtilString vFormat, ...) const;
-+  void SetErrorDescriptionn(const char *vFormat, ...) const;
-   void SetErrorDescriptionNoLog(const CMIUtilString &vrTxt) const;
-   void ClrErrorDescription() const;
- 
diff --git a/lldb-git-netbsd/patches/patch-tools_lldb-mi_MIDriver.cpp b/lldb-git-netbsd/patches/patch-tools_lldb-mi_MIDriver.cpp
deleted file mode 100644
index a96e7fa..0000000
--- a/lldb-git-netbsd/patches/patch-tools_lldb-mi_MIDriver.cpp
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD$
-
---- tools/lldb-mi/MIDriver.cpp.orig	2016-09-10 17:36:23.000000000 +0000
-+++ tools/lldb-mi/MIDriver.cpp
-@@ -509,7 +509,7 @@ bool CMIDriver::StartWorkerThreads() {
-     const CMIUtilString errMsg = CMIUtilString::Format(
-         MIRSRC(IDS_THREADMGR_ERR_THREAD_FAIL_CREATE),
-         CMICmnThreadMgrStd::Instance().GetErrorDescription().c_str());
--    SetErrorDescriptionn(errMsg);
-+    SetErrorDescriptionn(errMsg.c_str());
-     return MIstatus::failure;
-   }
- 
diff --git a/lldb-git-netbsd/patches/patch-tools_lldb-mi_MIUtilString.cpp b/lldb-git-netbsd/patches/patch-tools_lldb-mi_MIUtilString.cpp
deleted file mode 100644
index 2df0237..0000000
--- a/lldb-git-netbsd/patches/patch-tools_lldb-mi_MIUtilString.cpp
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD$
-
---- tools/lldb-mi/MIUtilString.cpp.orig	2016-09-10 17:36:23.000000000 +0000
-+++ tools/lldb-mi/MIUtilString.cpp
-@@ -156,7 +156,7 @@ CMIUtilString CMIUtilString::FormatPriv(
- // Return:  CMIUtilString - Number of splits found in the string data.
- // Throws:  None.
- //--
--CMIUtilString CMIUtilString::Format(const CMIUtilString vFormating, ...) {
-+CMIUtilString CMIUtilString::Format(const char *vFormating, ...) {
-   va_list args;
-   va_start(args, vFormating);
-   CMIUtilString strResult = CMIUtilString::FormatPriv(vFormating, args);
diff --git a/lldb-git-netbsd/patches/patch-tools_lldb-mi_MIUtilString.h b/lldb-git-netbsd/patches/patch-tools_lldb-mi_MIUtilString.h
deleted file mode 100644
index c352662..0000000
--- a/lldb-git-netbsd/patches/patch-tools_lldb-mi_MIUtilString.h
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD$
-
---- tools/lldb-mi/MIUtilString.h.orig	2016-09-10 17:36:23.000000000 +0000
-+++ tools/lldb-mi/MIUtilString.h
-@@ -30,7 +30,7 @@ public:
- 
-   // Static method:
- public:
--  static CMIUtilString Format(const CMIUtilString vFormating, ...);
-+  static CMIUtilString Format(const char *vFormating, ...);
-   static CMIUtilString FormatBinary(const MIuint64 vnDecimal);
-   static CMIUtilString FormatValist(const CMIUtilString &vrFormating,
-                                     va_list vArgs);
diff --git a/lldb-git-netbsd/patches/patch-tools_lldb-server_CMakeLists.txt b/lldb-git-netbsd/patches/patch-tools_lldb-server_CMakeLists.txt
deleted file mode 100644
index f93d142..0000000
--- a/lldb-git-netbsd/patches/patch-tools_lldb-server_CMakeLists.txt
+++ /dev/null
@@ -1,26 +0,0 @@
-$NetBSD$
-
---- tools/lldb-server/CMakeLists.txt.orig	2016-12-14 14:10:24.000000000 +0000
-+++ tools/lldb-server/CMakeLists.txt
-@@ -17,6 +17,7 @@ endif ()
- if ( CMAKE_SYSTEM_NAME MATCHES "NetBSD" )
- include_directories(
-   ../../../../llvm/include
-+  ../../source/Plugins/Process/Linux
-   ../../source/Plugins/Process/POSIX
-   )
- endif ()
-@@ -84,6 +85,13 @@ if ( CMAKE_SYSTEM_NAME MATCHES "Linux" )
-    )
- endif ()
- 
-+if ( CMAKE_SYSTEM_NAME MATCHES "NetBSD" )
-+  list(APPEND LLDB_USED_LIBS
-+    lldbPluginProcessLinux
-+    lldbPluginProcessPOSIX
-+   )
-+endif ()
-+
- # Darwin-only libraries
- if ( CMAKE_SYSTEM_NAME MATCHES "Darwin" )
-   list(APPEND LLDB_USED_LIBS
diff --git a/lldb-netbsd/DESCR b/lldb-netbsd/DESCR
new file mode 100644
index 0000000..2a231b4
--- /dev/null
+++ b/lldb-netbsd/DESCR
@@ -0,0 +1 @@
+Next generation, high-performance debugger
diff --git a/lldb-netbsd/Makefile b/lldb-netbsd/Makefile
new file mode 100644
index 0000000..9f3c3e9
--- /dev/null
+++ b/lldb-netbsd/Makefile
@@ -0,0 +1,83 @@
+# $NetBSD: Makefile.common,v 1.7 2015/07/20 05:49:53 adam Exp $
+
+PKGNAME=	lldb-4.0.0
+CATEGORIES=	lang devel
+
+SVN_REPOSITORIES=	lldb
+SVN_REPO.lldb=		http://llvm.org/svn/llvm-project/lldb/trunk
+SVN_REVISION.lldb=	289997
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	http://lldb.org/
+COMMENT=	Next generation, high-performance debugger
+LICENSE=	modified-bsd
+
+#DEPENDS+=	${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
+
+WRKSRC=			${WRKDIR}/${PKGBASE}
+CONFIGURE_DIRS=		${WRKDIR}/build
+CMAKE_ARG_PATH=		${WRKSRC}
+
+USE_LANGUAGES=		c c++
+USE_CMAKE=		yes
+GCC_REQD+=		4.8
+PY_PATCHPLIST=		yes
+
+CMAKE_ARGS+=	-DLLVM_CONFIG=${LLVM_CONFIG_PATH}
+CMAKE_ARGS+=	-DCMAKE_BUILD_TYPE=Release
+CMAKE_ARGS+=	-DCMAKE_C_COMPILER=${CC:Q}
+CMAKE_ARGS+=	-DCMAKE_CXX_COMPILER=${CXX:Q}
+
+CHECK_PORTABILITY_SKIP=	utils/buildit/build_llvm
+
+REPLACE_PERL+=		*.pl
+REPLACE_PERL+=		*/*.pl
+REPLACE_PERL+=		*/*/*.pl
+REPLACE_PERL+=		*/*/*/*.pl
+REPLACE_PERL+=		*/*/*/*/*.pl
+REPLACE_PERL+=		*/*/*/*/*/*.pl
+REPLACE_PERL+=		scripts/sed-sources
+
+REPLACE_PYTHON+=	*.py
+REPLACE_PYTHON+=	*/*.py
+REPLACE_PYTHON+=	*/*/*.py
+REPLACE_PYTHON+=	*/*/*/*.py
+REPLACE_PYTHON+=	*/*/*/*/*.py
+REPLACE_PYTHON+=	*/*/*/*/*/*.py
+REPLACE_PYTHON+=	*/*/*/*/*/*/*.py
+REPLACE_PYTHON+=	*/*/*/*/*/*/*/*.py
+REPLACE_PYTHON+=	scripts/shush
+
+TEST_TARGET=		check-lldb
+TEST_ENV+=		LD_LIBRARY_PATH=${WRKDIR}/build/lib
+
+.if exists(/usr/include/panel.h)
+CMAKE_ARGS+=	-DLLDB_DISABLE_CURSES:BOOL=FALSE
+.else
+CMAKE_ARGS+=	-DLLDB_DISABLE_CURSES:BOOL=TRUE
+.endif
+
+post-extract:
+	${RUN} mkdir -p ${WRKDIR}/build
+	# Temporary hack to nullify !amd64 platforms
+	# Required to port the process plugin from linux to NetBSD
+	# amd64/NetBSD goes first
+	${RM} ${WRKSRC}/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm.cpp
+	${RM} ${WRKSRC}/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.cpp
+	${RM} ${WRKSRC}/source/Plugins/Process/Linux/NativeRegisterContextLinux_mips64.cpp
+	${RM} ${WRKSRC}/source/Plugins/Process/Linux/NativeRegisterContextLinux_s390x.cpp
+
+.include "../../textproc/libxml2/buildlink3.mk"
+DEPENDS+=	llvm-${PKGVERSION_NOREV}{,nb*}:../../wip/llvm-netbsd
+.include "../../wip/llvm-netbsd/buildlink3.mk"
+DEPENDS+=	clang-${PKGVERSION_NOREV}{,nb*}:../../wip/clang-netbsd
+.include "../../wip/clang-netbsd/buildlink3.mk"
+.include "../../wip/mk/svn-package.mk"
+PYTHON_VERSIONS_ACCEPTED=	27
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../lang/python/extension.mk"
+.include "../../lang/python/pyversion.mk"
+.include "../../lang/python/application.mk"
+.include "../../lang/python/tool.mk"
+.include "../../devel/swig/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/lldb-netbsd/PLIST b/lldb-netbsd/PLIST
new file mode 100644
index 0000000..9d8b906
--- /dev/null
+++ b/lldb-netbsd/PLIST
@@ -0,0 +1,603 @@
+@comment $NetBSD$
+${PYSITELIB}/lldb/__init__.py
+${PYSITELIB}/lldb/_lldb.so
+${PYSITELIB}/lldb/embedded_interpreter.py
+${PYSITELIB}/lldb/formatters/Logger.py
+${PYSITELIB}/lldb/formatters/__init__.py
+${PYSITELIB}/lldb/formatters/attrib_fromdict.py
+${PYSITELIB}/lldb/formatters/cache.py
+${PYSITELIB}/lldb/formatters/cpp/__init__.py
+${PYSITELIB}/lldb/formatters/cpp/gnu_libstdcpp.py
+${PYSITELIB}/lldb/formatters/cpp/libcxx.py
+${PYSITELIB}/lldb/formatters/metrics.py
+${PYSITELIB}/lldb/formatters/synth.py
+${PYSITELIB}/lldb/lldb-argdumper
+${PYSITELIB}/lldb/runtime/__init__.py
+${PYSITELIB}/lldb/utils/__init__.py
+${PYSITELIB}/lldb/utils/symbolication.py
+${PYSITELIB}/six.py
+bin/${PKGNAME}
+bin/lldb
+bin/lldb-argdumper
+bin/lldb-mi
+bin/lldb-mi-${PKGVERSION}
+bin/lldb-server
+bin/lldb-server-${PKGVERSION}
+include/lldb/API/LLDB.h
+include/lldb/API/SBAddress.h
+include/lldb/API/SBAttachInfo.h
+include/lldb/API/SBBlock.h
+include/lldb/API/SBBreakpoint.h
+include/lldb/API/SBBreakpointLocation.h
+include/lldb/API/SBBroadcaster.h
+include/lldb/API/SBCommandInterpreter.h
+include/lldb/API/SBCommandReturnObject.h
+include/lldb/API/SBCommunication.h
+include/lldb/API/SBCompileUnit.h
+include/lldb/API/SBData.h
+include/lldb/API/SBDebugger.h
+include/lldb/API/SBDeclaration.h
+include/lldb/API/SBDefines.h
+include/lldb/API/SBError.h
+include/lldb/API/SBEvent.h
+include/lldb/API/SBExecutionContext.h
+include/lldb/API/SBExpressionOptions.h
+include/lldb/API/SBFileSpec.h
+include/lldb/API/SBFileSpecList.h
+include/lldb/API/SBFrame.h
+include/lldb/API/SBFunction.h
+include/lldb/API/SBHostOS.h
+include/lldb/API/SBInstruction.h
+include/lldb/API/SBInstructionList.h
+include/lldb/API/SBLanguageRuntime.h
+include/lldb/API/SBLaunchInfo.h
+include/lldb/API/SBLineEntry.h
+include/lldb/API/SBListener.h
+include/lldb/API/SBMemoryRegionInfo.h
+include/lldb/API/SBMemoryRegionInfoList.h
+include/lldb/API/SBModule.h
+include/lldb/API/SBModuleSpec.h
+include/lldb/API/SBPlatform.h
+include/lldb/API/SBProcess.h
+include/lldb/API/SBQueue.h
+include/lldb/API/SBQueueItem.h
+include/lldb/API/SBSection.h
+include/lldb/API/SBSourceManager.h
+include/lldb/API/SBStream.h
+include/lldb/API/SBStringList.h
+include/lldb/API/SBStructuredData.h
+include/lldb/API/SBSymbol.h
+include/lldb/API/SBSymbolContext.h
+include/lldb/API/SBSymbolContextList.h
+include/lldb/API/SBTarget.h
+include/lldb/API/SBThread.h
+include/lldb/API/SBThreadCollection.h
+include/lldb/API/SBThreadPlan.h
+include/lldb/API/SBType.h
+include/lldb/API/SBTypeCategory.h
+include/lldb/API/SBTypeEnumMember.h
+include/lldb/API/SBTypeFilter.h
+include/lldb/API/SBTypeFormat.h
+include/lldb/API/SBTypeNameSpecifier.h
+include/lldb/API/SBTypeSummary.h
+include/lldb/API/SBTypeSynthetic.h
+include/lldb/API/SBUnixSignals.h
+include/lldb/API/SBValue.h
+include/lldb/API/SBValueList.h
+include/lldb/API/SBVariablesOptions.h
+include/lldb/API/SBWatchpoint.h
+include/lldb/API/SystemInitializerFull.h
+include/lldb/Breakpoint/Breakpoint.h
+include/lldb/Breakpoint/BreakpointID.h
+include/lldb/Breakpoint/BreakpointIDList.h
+include/lldb/Breakpoint/BreakpointList.h
+include/lldb/Breakpoint/BreakpointLocation.h
+include/lldb/Breakpoint/BreakpointLocationCollection.h
+include/lldb/Breakpoint/BreakpointLocationList.h
+include/lldb/Breakpoint/BreakpointOptions.h
+include/lldb/Breakpoint/BreakpointResolver.h
+include/lldb/Breakpoint/BreakpointResolverAddress.h
+include/lldb/Breakpoint/BreakpointResolverFileLine.h
+include/lldb/Breakpoint/BreakpointResolverFileRegex.h
+include/lldb/Breakpoint/BreakpointResolverName.h
+include/lldb/Breakpoint/BreakpointSite.h
+include/lldb/Breakpoint/BreakpointSiteList.h
+include/lldb/Breakpoint/Stoppoint.h
+include/lldb/Breakpoint/StoppointCallbackContext.h
+include/lldb/Breakpoint/StoppointLocation.h
+include/lldb/Breakpoint/Watchpoint.h
+include/lldb/Breakpoint/WatchpointList.h
+include/lldb/Breakpoint/WatchpointOptions.h
+include/lldb/Core/Address.h
+include/lldb/Core/AddressRange.h
+include/lldb/Core/AddressResolver.h
+include/lldb/Core/AddressResolverFileLine.h
+include/lldb/Core/AddressResolverName.h
+include/lldb/Core/ArchSpec.h
+include/lldb/Core/Baton.h
+include/lldb/Core/Broadcaster.h
+include/lldb/Core/ClangForward.h
+include/lldb/Core/Communication.h
+include/lldb/Core/Connection.h
+include/lldb/Core/ConstString.h
+include/lldb/Core/DataBuffer.h
+include/lldb/Core/DataBufferHeap.h
+include/lldb/Core/DataBufferMemoryMap.h
+include/lldb/Core/DataEncoder.h
+include/lldb/Core/DataExtractor.h
+include/lldb/Core/Debugger.h
+include/lldb/Core/Disassembler.h
+include/lldb/Core/EmulateInstruction.h
+include/lldb/Core/Error.h
+include/lldb/Core/Event.h
+include/lldb/Core/FastDemangle.h
+include/lldb/Core/FileLineResolver.h
+include/lldb/Core/FileSpecList.h
+include/lldb/Core/Flags.h
+include/lldb/Core/FormatEntity.h
+include/lldb/Core/History.h
+include/lldb/Core/IOHandler.h
+include/lldb/Core/IOStreamMacros.h
+include/lldb/Core/Listener.h
+include/lldb/Core/LoadedModuleInfoList.h
+include/lldb/Core/Log.h
+include/lldb/Core/Logging.h
+include/lldb/Core/Mangled.h
+include/lldb/Core/MappedHash.h
+include/lldb/Core/Module.h
+include/lldb/Core/ModuleChild.h
+include/lldb/Core/ModuleList.h
+include/lldb/Core/ModuleSpec.h
+include/lldb/Core/Opcode.h
+include/lldb/Core/PluginInterface.h
+include/lldb/Core/PluginManager.h
+include/lldb/Core/RangeMap.h
+include/lldb/Core/RegisterValue.h
+include/lldb/Core/RegularExpression.h
+include/lldb/Core/STLUtils.h
+include/lldb/Core/Scalar.h
+include/lldb/Core/SearchFilter.h
+include/lldb/Core/Section.h
+include/lldb/Core/SourceManager.h
+include/lldb/Core/State.h
+include/lldb/Core/Stream.h
+include/lldb/Core/StreamAsynchronousIO.h
+include/lldb/Core/StreamBuffer.h
+include/lldb/Core/StreamCallback.h
+include/lldb/Core/StreamFile.h
+include/lldb/Core/StreamGDBRemote.h
+include/lldb/Core/StreamString.h
+include/lldb/Core/StreamTee.h
+include/lldb/Core/StringList.h
+include/lldb/Core/StructuredData.h
+include/lldb/Core/ThreadSafeDenseMap.h
+include/lldb/Core/ThreadSafeDenseSet.h
+include/lldb/Core/ThreadSafeSTLMap.h
+include/lldb/Core/ThreadSafeSTLVector.h
+include/lldb/Core/ThreadSafeValue.h
+include/lldb/Core/Timer.h
+include/lldb/Core/UUID.h
+include/lldb/Core/UniqueCStringMap.h
+include/lldb/Core/UserID.h
+include/lldb/Core/UserSettingsController.h
+include/lldb/Core/VMRange.h
+include/lldb/Core/Value.h
+include/lldb/Core/ValueObject.h
+include/lldb/Core/ValueObjectCast.h
+include/lldb/Core/ValueObjectChild.h
+include/lldb/Core/ValueObjectConstResult.h
+include/lldb/Core/ValueObjectConstResultCast.h
+include/lldb/Core/ValueObjectConstResultChild.h
+include/lldb/Core/ValueObjectConstResultImpl.h
+include/lldb/Core/ValueObjectDynamicValue.h
+include/lldb/Core/ValueObjectList.h
+include/lldb/Core/ValueObjectMemory.h
+include/lldb/Core/ValueObjectRegister.h
+include/lldb/Core/ValueObjectSyntheticFilter.h
+include/lldb/Core/ValueObjectVariable.h
+include/lldb/Core/dwarf.h
+include/lldb/DataFormatters/CXXFunctionPointer.h
+include/lldb/DataFormatters/DataVisualization.h
+include/lldb/DataFormatters/DumpValueObjectOptions.h
+include/lldb/DataFormatters/FormatCache.h
+include/lldb/DataFormatters/FormatClasses.h
+include/lldb/DataFormatters/FormatManager.h
+include/lldb/DataFormatters/FormattersContainer.h
+include/lldb/DataFormatters/FormattersHelpers.h
+include/lldb/DataFormatters/LanguageCategory.h
+include/lldb/DataFormatters/StringPrinter.h
+include/lldb/DataFormatters/TypeCategory.h
+include/lldb/DataFormatters/TypeCategoryMap.h
+include/lldb/DataFormatters/TypeFormat.h
+include/lldb/DataFormatters/TypeSummary.h
+include/lldb/DataFormatters/TypeSynthetic.h
+include/lldb/DataFormatters/TypeValidator.h
+include/lldb/DataFormatters/ValueObjectPrinter.h
+include/lldb/DataFormatters/VectorIterator.h
+include/lldb/DataFormatters/VectorType.h
+include/lldb/Expression/DWARFExpression.h
+include/lldb/Expression/DiagnosticManager.h
+include/lldb/Expression/Expression.h
+include/lldb/Expression/ExpressionParser.h
+include/lldb/Expression/ExpressionSourceCode.h
+include/lldb/Expression/ExpressionTypeSystemHelper.h
+include/lldb/Expression/ExpressionVariable.h
+include/lldb/Expression/FunctionCaller.h
+include/lldb/Expression/IRDynamicChecks.h
+include/lldb/Expression/IRExecutionUnit.h
+include/lldb/Expression/IRInterpreter.h
+include/lldb/Expression/IRMemoryMap.h
+include/lldb/Expression/LLVMUserExpression.h
+include/lldb/Expression/Materializer.h
+include/lldb/Expression/REPL.h
+include/lldb/Expression/UserExpression.h
+include/lldb/Expression/UtilityFunction.h
+include/lldb/Host/Config.h
+include/lldb/Host/ConnectionFileDescriptor.h
+include/lldb/Host/Debug.h
+include/lldb/Host/Editline.h
+include/lldb/Host/Endian.h
+include/lldb/Host/File.h
+include/lldb/Host/FileCache.h
+include/lldb/Host/FileSpec.h
+include/lldb/Host/FileSystem.h
+include/lldb/Host/Host.h
+include/lldb/Host/HostGetOpt.h
+include/lldb/Host/HostInfo.h
+include/lldb/Host/HostInfoBase.h
+include/lldb/Host/HostNativeProcess.h
+include/lldb/Host/HostNativeProcessBase.h
+include/lldb/Host/HostNativeThread.h
+include/lldb/Host/HostNativeThreadBase.h
+include/lldb/Host/HostNativeThreadForward.h
+include/lldb/Host/HostProcess.h
+include/lldb/Host/HostThread.h
+include/lldb/Host/IOObject.h
+include/lldb/Host/LockFile.h
+include/lldb/Host/LockFileBase.h
+include/lldb/Host/MainLoop.h
+include/lldb/Host/MainLoopBase.h
+include/lldb/Host/MonitoringProcessLauncher.h
+include/lldb/Host/OptionParser.h
+include/lldb/Host/Pipe.h
+include/lldb/Host/PipeBase.h
+include/lldb/Host/PosixApi.h
+include/lldb/Host/Predicate.h
+include/lldb/Host/ProcessLauncher.h
+include/lldb/Host/ProcessRunLock.h
+include/lldb/Host/Socket.h
+include/lldb/Host/SocketAddress.h
+include/lldb/Host/StringConvert.h
+include/lldb/Host/Symbols.h
+include/lldb/Host/Terminal.h
+include/lldb/Host/ThisThread.h
+include/lldb/Host/ThreadLauncher.h
+include/lldb/Host/Time.h
+include/lldb/Host/XML.h
+include/lldb/Host/android/Config.h
+include/lldb/Host/android/HostInfoAndroid.h
+include/lldb/Host/common/GetOptInc.h
+include/lldb/Host/common/NativeBreakpoint.h
+include/lldb/Host/common/NativeBreakpointList.h
+include/lldb/Host/common/NativeProcessProtocol.h
+include/lldb/Host/common/NativeRegisterContext.h
+include/lldb/Host/common/NativeRegisterContextRegisterInfo.h
+include/lldb/Host/common/NativeThreadProtocol.h
+include/lldb/Host/common/NativeWatchpointList.h
+include/lldb/Host/common/SoftwareBreakpoint.h
+include/lldb/Host/common/TCPSocket.h
+include/lldb/Host/common/UDPSocket.h
+include/lldb/Host/freebsd/Config.h
+include/lldb/Host/freebsd/HostInfoFreeBSD.h
+include/lldb/Host/freebsd/HostThreadFreeBSD.h
+include/lldb/Host/linux/AbstractSocket.h
+include/lldb/Host/linux/Config.h
+include/lldb/Host/linux/HostInfoLinux.h
+include/lldb/Host/linux/HostThreadLinux.h
+include/lldb/Host/linux/Personality.h
+include/lldb/Host/linux/ProcessLauncherLinux.h
+include/lldb/Host/linux/Ptrace.h
+include/lldb/Host/linux/Uio.h
+include/lldb/Host/macosx/Config.h
+include/lldb/Host/macosx/HostInfoMacOSX.h
+include/lldb/Host/macosx/HostThreadMacOSX.h
+include/lldb/Host/mingw/Config.h
+include/lldb/Host/msvc/Config.h
+include/lldb/Host/netbsd/Config.h
+include/lldb/Host/netbsd/HostInfoNetBSD.h
+include/lldb/Host/netbsd/HostThreadNetBSD.h
+include/lldb/Host/posix/ConnectionFileDescriptorPosix.h
+include/lldb/Host/posix/DomainSocket.h
+include/lldb/Host/posix/Fcntl.h
+include/lldb/Host/posix/HostInfoPosix.h
+include/lldb/Host/posix/HostProcessPosix.h
+include/lldb/Host/posix/HostThreadPosix.h
+include/lldb/Host/posix/LockFilePosix.h
+include/lldb/Host/posix/MainLoopPosix.h
+include/lldb/Host/posix/PipePosix.h
+include/lldb/Host/posix/ProcessLauncherPosix.h
+include/lldb/Host/windows/AutoHandle.h
+include/lldb/Host/windows/ConnectionGenericFileWindows.h
+include/lldb/Host/windows/HostInfoWindows.h
+include/lldb/Host/windows/HostProcessWindows.h
+include/lldb/Host/windows/HostThreadWindows.h
+include/lldb/Host/windows/LockFileWindows.h
+include/lldb/Host/windows/PipeWindows.h
+include/lldb/Host/windows/PosixApi.h
+include/lldb/Host/windows/ProcessLauncherWindows.h
+include/lldb/Host/windows/editlinewin.h
+include/lldb/Host/windows/windows.h
+include/lldb/Initialization/SystemInitializer.h
+include/lldb/Initialization/SystemInitializerCommon.h
+include/lldb/Initialization/SystemLifetimeManager.h
+include/lldb/Interpreter/Args.h
+include/lldb/Interpreter/CommandAlias.h
+include/lldb/Interpreter/CommandCompletions.h
+include/lldb/Interpreter/CommandHistory.h
+include/lldb/Interpreter/CommandInterpreter.h
+include/lldb/Interpreter/CommandObject.h
+include/lldb/Interpreter/CommandObjectMultiword.h
+include/lldb/Interpreter/CommandObjectRegexCommand.h
+include/lldb/Interpreter/CommandOptionValidators.h
+include/lldb/Interpreter/CommandReturnObject.h
+include/lldb/Interpreter/OptionGroupArchitecture.h
+include/lldb/Interpreter/OptionGroupBoolean.h
+include/lldb/Interpreter/OptionGroupFile.h
+include/lldb/Interpreter/OptionGroupFormat.h
+include/lldb/Interpreter/OptionGroupOutputFile.h
+include/lldb/Interpreter/OptionGroupPlatform.h
+include/lldb/Interpreter/OptionGroupString.h
+include/lldb/Interpreter/OptionGroupUInt64.h
+include/lldb/Interpreter/OptionGroupUUID.h
+include/lldb/Interpreter/OptionGroupValueObjectDisplay.h
+include/lldb/Interpreter/OptionGroupVariable.h
+include/lldb/Interpreter/OptionGroupWatchpoint.h
+include/lldb/Interpreter/OptionValue.h
+include/lldb/Interpreter/OptionValueArch.h
+include/lldb/Interpreter/OptionValueArgs.h
+include/lldb/Interpreter/OptionValueArray.h
+include/lldb/Interpreter/OptionValueBoolean.h
+include/lldb/Interpreter/OptionValueChar.h
+include/lldb/Interpreter/OptionValueDictionary.h
+include/lldb/Interpreter/OptionValueEnumeration.h
+include/lldb/Interpreter/OptionValueFileSpec.h
+include/lldb/Interpreter/OptionValueFileSpecList.h
+include/lldb/Interpreter/OptionValueFormat.h
+include/lldb/Interpreter/OptionValueFormatEntity.h
+include/lldb/Interpreter/OptionValueLanguage.h
+include/lldb/Interpreter/OptionValuePathMappings.h
+include/lldb/Interpreter/OptionValueProperties.h
+include/lldb/Interpreter/OptionValueRegex.h
+include/lldb/Interpreter/OptionValueSInt64.h
+include/lldb/Interpreter/OptionValueString.h
+include/lldb/Interpreter/OptionValueUInt64.h
+include/lldb/Interpreter/OptionValueUUID.h
+include/lldb/Interpreter/OptionValues.h
+include/lldb/Interpreter/Options.h
+include/lldb/Interpreter/Property.h
+include/lldb/Interpreter/ScriptInterpreter.h
+include/lldb/Symbol/ArmUnwindInfo.h
+include/lldb/Symbol/Block.h
+include/lldb/Symbol/ClangASTContext.h
+include/lldb/Symbol/ClangASTImporter.h
+include/lldb/Symbol/ClangExternalASTSourceCallbacks.h
+include/lldb/Symbol/ClangExternalASTSourceCommon.h
+include/lldb/Symbol/ClangUtil.h
+include/lldb/Symbol/CompactUnwindInfo.h
+include/lldb/Symbol/CompileUnit.h
+include/lldb/Symbol/CompilerDecl.h
+include/lldb/Symbol/CompilerDeclContext.h
+include/lldb/Symbol/CompilerType.h
+include/lldb/Symbol/DWARFCallFrameInfo.h
+include/lldb/Symbol/DebugMacros.h
+include/lldb/Symbol/DeclVendor.h
+include/lldb/Symbol/Declaration.h
+include/lldb/Symbol/FuncUnwinders.h
+include/lldb/Symbol/Function.h
+include/lldb/Symbol/GoASTContext.h
+include/lldb/Symbol/JavaASTContext.h
+include/lldb/Symbol/LineEntry.h
+include/lldb/Symbol/LineTable.h
+include/lldb/Symbol/OCamlASTContext.h
+include/lldb/Symbol/ObjectContainer.h
+include/lldb/Symbol/ObjectFile.h
+include/lldb/Symbol/Symbol.h
+include/lldb/Symbol/SymbolContext.h
+include/lldb/Symbol/SymbolContextScope.h
+include/lldb/Symbol/SymbolFile.h
+include/lldb/Symbol/SymbolVendor.h
+include/lldb/Symbol/Symtab.h
+include/lldb/Symbol/TaggedASTType.h
+include/lldb/Symbol/Type.h
+include/lldb/Symbol/TypeList.h
+include/lldb/Symbol/TypeMap.h
+include/lldb/Symbol/TypeSystem.h
+include/lldb/Symbol/UnwindPlan.h
+include/lldb/Symbol/UnwindTable.h
+include/lldb/Symbol/Variable.h
+include/lldb/Symbol/VariableList.h
+include/lldb/Symbol/VerifyDecl.h
+include/lldb/Target/ABI.h
+include/lldb/Target/CPPLanguageRuntime.h
+include/lldb/Target/DynamicLoader.h
+include/lldb/Target/ExecutionContext.h
+include/lldb/Target/ExecutionContextScope.h
+include/lldb/Target/FileAction.h
+include/lldb/Target/InstrumentationRuntime.h
+include/lldb/Target/InstrumentationRuntimeStopInfo.h
+include/lldb/Target/JITLoader.h
+include/lldb/Target/JITLoaderList.h
+include/lldb/Target/Language.h
+include/lldb/Target/LanguageRuntime.h
+include/lldb/Target/Memory.h
+include/lldb/Target/MemoryHistory.h
+include/lldb/Target/MemoryRegionInfo.h
+include/lldb/Target/ObjCLanguageRuntime.h
+include/lldb/Target/OperatingSystem.h
+include/lldb/Target/PathMappingList.h
+include/lldb/Target/Platform.h
+include/lldb/Target/Process.h
+include/lldb/Target/ProcessInfo.h
+include/lldb/Target/ProcessLaunchInfo.h
+include/lldb/Target/Queue.h
+include/lldb/Target/QueueItem.h
+include/lldb/Target/QueueList.h
+include/lldb/Target/RegisterCheckpoint.h
+include/lldb/Target/RegisterContext.h
+include/lldb/Target/SectionLoadHistory.h
+include/lldb/Target/SectionLoadList.h
+include/lldb/Target/StackFrame.h
+include/lldb/Target/StackFrameList.h
+include/lldb/Target/StackID.h
+include/lldb/Target/StopInfo.h
+include/lldb/Target/StructuredDataPlugin.h
+include/lldb/Target/SystemRuntime.h
+include/lldb/Target/Target.h
+include/lldb/Target/TargetList.h
+include/lldb/Target/Thread.h
+include/lldb/Target/ThreadCollection.h
+include/lldb/Target/ThreadList.h
+include/lldb/Target/ThreadPlan.h
+include/lldb/Target/ThreadPlanBase.h
+include/lldb/Target/ThreadPlanCallFunction.h
+include/lldb/Target/ThreadPlanCallFunctionUsingABI.h
+include/lldb/Target/ThreadPlanCallOnFunctionExit.h
+include/lldb/Target/ThreadPlanCallUserExpression.h
+include/lldb/Target/ThreadPlanPython.h
+include/lldb/Target/ThreadPlanRunToAddress.h
+include/lldb/Target/ThreadPlanShouldStopHere.h
+include/lldb/Target/ThreadPlanStepInRange.h
+include/lldb/Target/ThreadPlanStepInstruction.h
+include/lldb/Target/ThreadPlanStepOut.h
+include/lldb/Target/ThreadPlanStepOverBreakpoint.h
+include/lldb/Target/ThreadPlanStepOverRange.h
+include/lldb/Target/ThreadPlanStepRange.h
+include/lldb/Target/ThreadPlanStepThrough.h
+include/lldb/Target/ThreadPlanStepUntil.h
+include/lldb/Target/ThreadPlanTracer.h
+include/lldb/Target/ThreadSpec.h
+include/lldb/Target/UnixSignals.h
+include/lldb/Target/Unwind.h
+include/lldb/Target/UnwindAssembly.h
+include/lldb/Utility/AnsiTerminal.h
+include/lldb/Utility/CleanUp.h
+include/lldb/Utility/ConvertEnum.h
+include/lldb/Utility/Either.h
+include/lldb/Utility/Iterable.h
+include/lldb/Utility/JSON.h
+include/lldb/Utility/LLDBAssert.h
+include/lldb/Utility/NameMatches.h
+include/lldb/Utility/PriorityPointerPair.h
+include/lldb/Utility/ProcessStructReader.h
+include/lldb/Utility/PseudoTerminal.h
+include/lldb/Utility/Range.h
+include/lldb/Utility/RegisterNumber.h
+include/lldb/Utility/SafeMachO.h
+include/lldb/Utility/SelectHelper.h
+include/lldb/Utility/SharedCluster.h
+include/lldb/Utility/SharingPtr.h
+include/lldb/Utility/StringExtractor.h
+include/lldb/Utility/StringLexer.h
+include/lldb/Utility/TaskPool.h
+include/lldb/Utility/Timeout.h
+include/lldb/Utility/Utils.h
+include/lldb/lldb-defines.h
+include/lldb/lldb-enumerations.h
+include/lldb/lldb-forward.h
+include/lldb/lldb-private-defines.h
+include/lldb/lldb-private-enumerations.h
+include/lldb/lldb-private-forward.h
+include/lldb/lldb-private-interfaces.h
+include/lldb/lldb-private-types.h
+include/lldb/lldb-private.h
+include/lldb/lldb-public.h
+include/lldb/lldb-types.h
+include/lldb/lldb-versioning.h
+lib/liblldb.so
+lib/liblldb.so.${PKGVERSION}
+lib/liblldb.so.40
+lib/liblldbBase.a
+lib/liblldbBreakpoint.a
+lib/liblldbCommands.a
+lib/liblldbCore.a
+lib/liblldbDataFormatters.a
+lib/liblldbExpression.a
+lib/liblldbHost.a
+lib/liblldbInitialization.a
+lib/liblldbInterpreter.a
+lib/liblldbPluginABIMacOSX_arm.a
+lib/liblldbPluginABIMacOSX_arm64.a
+lib/liblldbPluginABIMacOSX_i386.a
+lib/liblldbPluginABISysV_arm.a
+lib/liblldbPluginABISysV_arm64.a
+lib/liblldbPluginABISysV_hexagon.a
+lib/liblldbPluginABISysV_i386.a
+lib/liblldbPluginABISysV_mips.a
+lib/liblldbPluginABISysV_mips64.a
+lib/liblldbPluginABISysV_ppc.a
+lib/liblldbPluginABISysV_ppc64.a
+lib/liblldbPluginABISysV_s390x.a
+lib/liblldbPluginABISysV_x86_64.a
+lib/liblldbPluginAppleObjCRuntime.a
+lib/liblldbPluginCPlusPlusLanguage.a
+lib/liblldbPluginCXXItaniumABI.a
+lib/liblldbPluginDisassemblerLLVM.a
+lib/liblldbPluginDynamicLoaderHexagonDYLD.a
+lib/liblldbPluginDynamicLoaderMacOSXDYLD.a
+lib/liblldbPluginDynamicLoaderPosixDYLD.a
+lib/liblldbPluginDynamicLoaderStatic.a
+lib/liblldbPluginDynamicLoaderWindowsDYLD.a
+lib/liblldbPluginExpressionParserClang.a
+lib/liblldbPluginExpressionParserGo.a
+lib/liblldbPluginGoLanguage.a
+lib/liblldbPluginInstructionARM.a
+lib/liblldbPluginInstructionARM64.a
+lib/liblldbPluginInstructionMIPS.a
+lib/liblldbPluginInstructionMIPS64.a
+lib/liblldbPluginInstrumentationRuntimeAddressSanitizer.a
+lib/liblldbPluginInstrumentationRuntimeThreadSanitizer.a
+lib/liblldbPluginJITLoaderGDB.a
+lib/liblldbPluginJavaLanguage.a
+lib/liblldbPluginLanguageRuntimeGo.a
+lib/liblldbPluginLanguageRuntimeJava.a
+lib/liblldbPluginMemoryHistoryASan.a
+lib/liblldbPluginOCamlLanguage.a
+lib/liblldbPluginOSGo.a
+lib/liblldbPluginOSPython.a
+lib/liblldbPluginObjCLanguage.a
+lib/liblldbPluginObjCPlusPlusLanguage.a
+lib/liblldbPluginObjectContainerBSDArchive.a
+lib/liblldbPluginObjectContainerMachOArchive.a
+lib/liblldbPluginObjectFileELF.a
+lib/liblldbPluginObjectFileJIT.a
+lib/liblldbPluginObjectFileMachO.a
+lib/liblldbPluginObjectFilePECOFF.a
+lib/liblldbPluginPlatformAndroid.a
+lib/liblldbPluginPlatformFreeBSD.a
+lib/liblldbPluginPlatformGDB.a
+lib/liblldbPluginPlatformKalimba.a
+lib/liblldbPluginPlatformLinux.a
+lib/liblldbPluginPlatformMacOSX.a
+lib/liblldbPluginPlatformNetBSD.a
+lib/liblldbPluginPlatformPOSIX.a
+lib/liblldbPluginPlatformWindows.a
+lib/liblldbPluginProcessElfCore.a
+lib/liblldbPluginProcessGDBRemote.a
+lib/liblldbPluginProcessMachCore.a
+lib/liblldbPluginProcessMinidump.a
+lib/liblldbPluginProcessPOSIX.a
+lib/liblldbPluginProcessUtility.a
+lib/liblldbPluginRenderScriptRuntime.a
+lib/liblldbPluginScriptInterpreterNone.a
+lib/liblldbPluginScriptInterpreterPython.a
+lib/liblldbPluginStructuredDataDarwinLog.a
+lib/liblldbPluginSymbolFileDWARF.a
+lib/liblldbPluginSymbolFilePDB.a
+lib/liblldbPluginSymbolFileSymtab.a
+lib/liblldbPluginSymbolVendorELF.a
+lib/liblldbPluginSystemRuntimeMacOSX.a
+lib/liblldbPluginUnwindAssemblyInstEmulation.a
+lib/liblldbPluginUnwindAssemblyX86.a
+lib/liblldbSymbol.a
+lib/liblldbTarget.a
+lib/liblldbUtility.a
diff --git a/lldb-netbsd/TODO b/lldb-netbsd/TODO
new file mode 100644
index 0000000..cad052e
--- /dev/null
+++ b/lldb-netbsd/TODO
@@ -0,0 +1,7 @@
+Installs a bundled copy of lang/py-six, and conflicts with it.
+
+warning: /tmp/pkgsrc-tmp/wip/lldb-git/work/.destdir/usr/pkg/share/clang/clang-format-bbedit.applescript: executable bit is set on non-executable file.
+warning: /tmp/pkgsrc-tmp/wip/lldb-git/work/.destdir/usr/pkg/share/clang/clang-format-sublime.py: executable bit is set on non-executable file.
+warning: /tmp/pkgsrc-tmp/wip/lldb-git/work/.destdir/usr/pkg/share/clang/clang-format.el: executable bit is set on non-executable file.
+warning: /tmp/pkgsrc-tmp/wip/lldb-git/work/.destdir/usr/pkg/share/clang/clang-format.py: executable bit is set on non-executable file.
+warning: /tmp/pkgsrc-tmp/wip/lldb-git/work/.destdir/usr/pkg/share/man/man1/scan-build.1: executable bit is set on non-executable file.
diff --git a/lldb-netbsd/buildlink3.mk b/lldb-netbsd/buildlink3.mk
new file mode 100644
index 0000000..741961c
--- /dev/null
+++ b/lldb-netbsd/buildlink3.mk
@@ -0,0 +1,18 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	lldb
+
+.if !defined(LLDB_BUILDLINK3_MK)
+LLDB_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.lldb+=	lldb>=3.9.0nb20160121
+BUILDLINK_PKGSRCDIR.lldb?=	../../wip/lldb-netbsd
+
+.include "../../textproc/libxml2/buildlink3.mk"
+.include "../../wip/llvm-netbsd/buildlink3.mk"
+.include "../../wip/clang-netbsd/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../devel/swig/buildlink3.mk"
+.endif	# LLDB_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-lldb
diff --git a/lldb-netbsd/distinfo b/lldb-netbsd/distinfo
new file mode 100644
index 0000000..f8eb080
--- /dev/null
+++ b/lldb-netbsd/distinfo
@@ -0,0 +1,31 @@
+$NetBSD: distinfo,v 1.35 2015/09/11 01:21:57 tnn Exp $
+
+SHA1 (cfe-3.6.2.src.tar.xz) = 7ba809c9c17819a16b668640a642ed134d7052f0
+RMD160 (cfe-3.6.2.src.tar.xz) = 10d913b4d5317f8c2520e5fc6117df30937317a8
+Size (cfe-3.6.2.src.tar.xz) = 8617576 bytes
+SHA1 (compiler-rt-3.6.2.src.tar.xz) = c6c52d2923a60f1a2ca2f22fea1770fd2e25728d
+RMD160 (compiler-rt-3.6.2.src.tar.xz) = 9b68a32d49d4bef4603d550934192f39fea42895
+Size (compiler-rt-3.6.2.src.tar.xz) = 1128080 bytes
+SHA1 (libcxx-3.6.2.src.tar.xz) = 6c5aee9f05ecf17d1e3ecb1add34a33a5a904469
+RMD160 (libcxx-3.6.2.src.tar.xz) = 42b8832d01d4e6b553babc93cb5dbd4ce2bb1931
+Size (libcxx-3.6.2.src.tar.xz) = 944020 bytes
+SHA1 (llvm-3.6.2.src.tar.xz) = 7a00257eb2bc9431e4c77c3a36b033072c54bc7e
+RMD160 (llvm-3.6.2.src.tar.xz) = 521cbc5fe2925ea3c6e90c7a31f752a04045c972
+Size (llvm-3.6.2.src.tar.xz) = 12802380 bytes
+SHA1 (patch-cmake_LLDBDependencies.cmake) = c74b2e92695bd5e0ef2f6aca2b1157024c20e89e
+SHA1 (patch-include_lldb_Host_linux_Personality.h) = c9bb2773987b871c000043a9fd3ac143110f79a4
+SHA1 (patch-source_CMakeLists.txt) = d280b1a64b272c4bbdcdab838e69301eb17af732
+SHA1 (patch-source_Plugins_Process_CMakeLists.txt) = be993a6f54da5b09a44e0ca9e4dea96012e539d9
+SHA1 (patch-source_Plugins_Process_Linux_CMakeLists.txt) = a3b5431f8b52d04c838c3a12eaa1fd66cc521c68
+SHA1 (patch-source_Plugins_Process_Linux_NativeProcessLinux.cpp) = 97e0338ef52ce243dda3875ec5e5c218ddff1929
+SHA1 (patch-source_Plugins_Process_Linux_NativeRegisterContextLinux.cpp) = 755cf9dce3aa8d1c32cff9fe3281a09f6d0e6c69
+SHA1 (patch-source_Plugins_Process_Linux_NativeRegisterContextLinux__x86__64.cpp) = f5219581c97d6179222e437122449673eac1cf59
+SHA1 (patch-source_Plugins_Process_Linux_NativeThreadLinux.cpp) = 7d72c5be16304bf2a2cd7b2441828c513e2e8160
+SHA1 (patch-source_Plugins_Process_Linux_NativeThreadLinux.h) = d3685ac9995b4b0c98a94c5a6b2383f386c3fff6
+SHA1 (patch-source_Plugins_Process_Linux_Procfs.h) = 9621cc9494a96d5d4c4fef06dcd9a85bd018f5a1
+SHA1 (patch-tools_lldb-mi_MICmnBase.cpp) = 851c82ac61e1241018755fbd7236af00379ac986
+SHA1 (patch-tools_lldb-mi_MICmnBase.h) = f550d5e10bcf02fb46472733acdbb820791f22e5
+SHA1 (patch-tools_lldb-mi_MIDriver.cpp) = bf1b5399e82bcfe54d6d852f64ed155328f2064d
+SHA1 (patch-tools_lldb-mi_MIUtilString.cpp) = 200d9712753b5559da79c2e16fa0889fea1e9432
+SHA1 (patch-tools_lldb-mi_MIUtilString.h) = 7e7befec383f88502a97aec509ba39477efde37d
+SHA1 (patch-tools_lldb-server_CMakeLists.txt) = ce9c14973f98fe3669b56886d6bf2033630c5aa7
diff --git a/lldb-netbsd/patches/patch-cmake_LLDBDependencies.cmake b/lldb-netbsd/patches/patch-cmake_LLDBDependencies.cmake
new file mode 100644
index 0000000..2eec517
--- /dev/null
+++ b/lldb-netbsd/patches/patch-cmake_LLDBDependencies.cmake
@@ -0,0 +1,12 @@
+$NetBSD$
+
+--- cmake/LLDBDependencies.cmake.orig	2016-12-14 14:10:24.000000000 +0000
++++ cmake/LLDBDependencies.cmake
+@@ -115,6 +115,7 @@ endif ()
+ # NetBSD-only libraries
+ if ( CMAKE_SYSTEM_NAME MATCHES "NetBSD" )
+   list(APPEND LLDB_USED_LIBS
++    lldbPluginProcessLinux
+     lldbPluginProcessPOSIX
+     )
+ endif ()
diff --git a/lldb-netbsd/patches/patch-include_lldb_Host_linux_Personality.h b/lldb-netbsd/patches/patch-include_lldb_Host_linux_Personality.h
new file mode 100644
index 0000000..3bdda69
--- /dev/null
+++ b/lldb-netbsd/patches/patch-include_lldb_Host_linux_Personality.h
@@ -0,0 +1,19 @@
+$NetBSD$
+
+--- include/lldb/Host/linux/Personality.h.orig	2016-12-14 14:10:24.000000000 +0000
++++ include/lldb/Host/linux/Personality.h
+@@ -12,6 +12,7 @@
+ #ifndef liblldb_Host_linux_Personality_h_
+ #define liblldb_Host_linux_Personality_h_
+ 
++#if !defined(__NetBSD__)
+ #ifdef __ANDROID__
+ #include <android/api-level.h>
+ #endif
+@@ -21,5 +22,6 @@
+ #else
+ #include <sys/personality.h>
+ #endif
++#endif
+ 
+ #endif // liblldb_Host_linux_Personality_h_
diff --git a/lldb-netbsd/patches/patch-source_CMakeLists.txt b/lldb-netbsd/patches/patch-source_CMakeLists.txt
new file mode 100644
index 0000000..dccf5ff
--- /dev/null
+++ b/lldb-netbsd/patches/patch-source_CMakeLists.txt
@@ -0,0 +1,12 @@
+$NetBSD$
+
+--- source/CMakeLists.txt.orig	2016-12-14 14:10:24.000000000 +0000
++++ source/CMakeLists.txt
+@@ -16,6 +16,7 @@ endif ()
+ 
+ if ( CMAKE_SYSTEM_NAME MATCHES "NetBSD" )
+ include_directories(
++  Plugins/Process/Linux
+   Plugins/Process/POSIX
+   )
+ endif ()
diff --git a/lldb-netbsd/patches/patch-source_Plugins_Process_CMakeLists.txt b/lldb-netbsd/patches/patch-source_Plugins_Process_CMakeLists.txt
new file mode 100644
index 0000000..c7bb39c
--- /dev/null
+++ b/lldb-netbsd/patches/patch-source_Plugins_Process_CMakeLists.txt
@@ -0,0 +1,12 @@
+$NetBSD$
+
+--- source/Plugins/Process/CMakeLists.txt.orig	2016-12-14 14:10:24.000000000 +0000
++++ source/Plugins/Process/CMakeLists.txt
+@@ -5,6 +5,7 @@ elseif (CMAKE_SYSTEM_NAME MATCHES "FreeB
+   add_subdirectory(FreeBSD)
+   add_subdirectory(POSIX)
+ elseif (CMAKE_SYSTEM_NAME MATCHES "NetBSD")
++  add_subdirectory(Linux)
+   add_subdirectory(POSIX)
+ elseif (CMAKE_SYSTEM_NAME MATCHES "Windows")
+   add_subdirectory(Windows/Common)
diff --git a/lldb-netbsd/patches/patch-source_Plugins_Process_Linux_CMakeLists.txt b/lldb-netbsd/patches/patch-source_Plugins_Process_Linux_CMakeLists.txt
new file mode 100644
index 0000000..5a4b3dc
--- /dev/null
+++ b/lldb-netbsd/patches/patch-source_Plugins_Process_Linux_CMakeLists.txt
@@ -0,0 +1,16 @@
+$NetBSD$
+
+--- source/Plugins/Process/Linux/CMakeLists.txt.orig	2016-05-01 10:39:36.000000000 +0000
++++ source/Plugins/Process/Linux/CMakeLists.txt
+@@ -5,11 +5,7 @@ include_directories(../Utility)
+ add_lldb_library(lldbPluginProcessLinux
+   NativeProcessLinux.cpp
+   NativeRegisterContextLinux.cpp
+-  NativeRegisterContextLinux_arm.cpp
+-  NativeRegisterContextLinux_arm64.cpp
+   NativeRegisterContextLinux_x86_64.cpp
+-  NativeRegisterContextLinux_mips64.cpp
+-  NativeRegisterContextLinux_s390x.cpp
+   NativeThreadLinux.cpp
+   ProcFileReader.cpp
+   SingleStepCheck.cpp
diff --git a/lldb-netbsd/patches/patch-source_Plugins_Process_Linux_NativeProcessLinux.cpp b/lldb-netbsd/patches/patch-source_Plugins_Process_Linux_NativeProcessLinux.cpp
new file mode 100644
index 0000000..d4fdb42
--- /dev/null
+++ b/lldb-netbsd/patches/patch-source_Plugins_Process_Linux_NativeProcessLinux.cpp
@@ -0,0 +1,278 @@
+$NetBSD$
+
+--- source/Plugins/Process/Linux/NativeProcessLinux.cpp.orig	2016-12-14 14:10:24.000000000 +0000
++++ source/Plugins/Process/Linux/NativeProcessLinux.cpp
+@@ -50,7 +50,9 @@
+ // System includes - They have to be included after framework includes because
+ // they define some
+ // macros which collide with variable names in other modules
++#if !defined(__NetBSD__)
+ #include <linux/unistd.h>
++#endif
+ #include <sys/socket.h>
+ 
+ #include <sys/syscall.h>
+@@ -74,6 +76,7 @@ using namespace llvm;
+ 
+ // Private bits we only need internally.
+ 
++#if !defined(__NetBSD__)
+ static bool ProcessVmReadvSupported() {
+   static bool is_supported;
+   static std::once_flag flag;
+@@ -107,6 +110,7 @@ static bool ProcessVmReadvSupported() {
+ 
+   return is_supported;
+ }
++#endif
+ 
+ namespace {
+ void MaybeLogLaunchInfo(const ProcessLaunchInfo &info) {
+@@ -155,6 +159,7 @@ void PtraceDisplayBytes(int &req, void *
+ 
+   if (verbose_log) {
+     switch (req) {
++#if !defined(__NetBSD__)
+     case PTRACE_POKETEXT: {
+       DisplayBytes(buf, &data, 8);
+       verbose_log->Printf("PTRACE_POKETEXT %s", buf.GetData());
+@@ -170,6 +175,7 @@ void PtraceDisplayBytes(int &req, void *
+       verbose_log->Printf("PTRACE_POKEUSER %s", buf.GetData());
+       break;
+     }
++#endif
+     case PTRACE_SETREGS: {
+       DisplayBytes(buf, data, data_size);
+       verbose_log->Printf("PTRACE_SETREGS %s", buf.GetData());
+@@ -180,6 +186,7 @@ void PtraceDisplayBytes(int &req, void *
+       verbose_log->Printf("PTRACE_SETFPREGS %s", buf.GetData());
+       break;
+     }
++#if !defined(__NetBSD__)
+     case PTRACE_SETSIGINFO: {
+       DisplayBytes(buf, data, sizeof(siginfo_t));
+       verbose_log->Printf("PTRACE_SETSIGINFO %s", buf.GetData());
+@@ -191,6 +198,7 @@ void PtraceDisplayBytes(int &req, void *
+       verbose_log->Printf("PTRACE_SETREGSET %s", buf.GetData());
+       break;
+     }
++#endif
+     default: {}
+     }
+   }
+@@ -224,6 +232,7 @@ static Error EnsureFDFlags(int fd, int f
+ // Public Static Methods
+ // -----------------------------------------------------------------------------
+ 
++#if !defined(__NetBSD__)
+ Error NativeProcessProtocol::Launch(
+     ProcessLaunchInfo &launch_info,
+     NativeProcessProtocol::NativeDelegate &native_delegate, MainLoop &mainloop,
+@@ -266,7 +275,9 @@ Error NativeProcessProtocol::Launch(
+ 
+   return error;
+ }
++#endif
+ 
++#if !defined(__NetBSD__)
+ Error NativeProcessProtocol::Attach(
+     lldb::pid_t pid, NativeProcessProtocol::NativeDelegate &native_delegate,
+     MainLoop &mainloop, NativeProcessProtocolSP &native_process_sp) {
+@@ -295,6 +306,7 @@ Error NativeProcessProtocol::Attach(
+   native_process_sp = native_process_linux_sp;
+   return error;
+ }
++#endif
+ 
+ // -----------------------------------------------------------------------------
+ // Public Instance Methods
+@@ -346,7 +358,11 @@ Error NativeProcessLinux::LaunchInferior
+   MaybeLogLaunchInfo(launch_info);
+ 
+   ::pid_t pid =
++#if !defined(__NetBSD__)
+       ProcessLauncherLinux().LaunchProcess(launch_info, error).GetProcessId();
++#else
++      0;
++#endif
+   if (error.Fail())
+     return error;
+ 
+@@ -458,7 +474,9 @@ Error NativeProcessLinux::LaunchInferior
+ 
+         // Attach to the requested process.
+         // An attach will cause the thread to stop with a SIGSTOP.
++#if !defined(__NetBSD__)
+         error = PtraceWrapper(PTRACE_ATTACH, tid);
++#endif
+         if (error.Fail()) {
+           // No such thread. The thread may have exited.
+           // More error handling may be needed.
+@@ -528,6 +546,7 @@ Error NativeProcessLinux::SetDefaultPtra
+ 
+   // Have the child raise an event on exit.  This is used to keep the child in
+   // limbo until it is destroyed.
++#if !defined(__NetBSD__)
+   ptrace_opts |= PTRACE_O_TRACEEXIT;
+ 
+   // Have the tracer trace threads which spawn in the inferior process.
+@@ -540,6 +559,7 @@ Error NativeProcessLinux::SetDefaultPtra
+   ptrace_opts |= PTRACE_O_TRACEEXEC;
+ 
+   return PtraceWrapper(PTRACE_SETOPTIONS, pid, nullptr, (void *)ptrace_opts);
++#endif
+ }
+ 
+ static ExitType convert_pid_status_to_exit_type(int status) {
+@@ -835,6 +855,7 @@ void NativeProcessLinux::MonitorSIGTRAP(
+ 
+   assert(info.si_signo == SIGTRAP && "Unexpected child signal!");
+ 
++#if !defined(__NetBSD__)
+   switch (info.si_code) {
+   // TODO: these two cases are required if we want to support tracing of the
+   // inferiors' children.  We'd need this to debug a monitor.
+@@ -1038,6 +1059,7 @@ void NativeProcessLinux::MonitorSIGTRAP(
+                   __FUNCTION__, GetID(), thread.GetID(), info.si_code);
+     break;
+   }
++#endif
+ }
+ 
+ void NativeProcessLinux::MonitorTrace(NativeThreadLinux &thread) {
+@@ -1110,6 +1132,7 @@ void NativeProcessLinux::MonitorSignal(c
+   //
+   // Similarly, ACK signals generated by this monitor.
+ 
++#if !defined(__NetBSD__)
+   // Handle the signal.
+   if (info.si_code == SI_TKILL || info.si_code == SI_USER) {
+     if (log)
+@@ -1194,6 +1217,7 @@ void NativeProcessLinux::MonitorSignal(c
+     // Done handling.
+     return;
+   }
++#endif
+ 
+   if (log)
+     log->Printf("NativeProcessLinux::%s() received signal %s", __FUNCTION__,
+@@ -2132,7 +2156,11 @@ NativeProcessLinux::GetCrashReasonForSIG
+ 
+ Error NativeProcessLinux::ReadMemory(lldb::addr_t addr, void *buf, size_t size,
+                                      size_t &bytes_read) {
++#if !defined(__NetBSD__)
+   if (ProcessVmReadvSupported()) {
++#else
++  {
++#endif
+     // The process_vm_readv path is about 50 times faster than ptrace api. We
+     // want to use
+     // this syscall if it is supported.
+@@ -2145,7 +2173,11 @@ Error NativeProcessLinux::ReadMemory(lld
+     remote_iov.iov_base = reinterpret_cast<void *>(addr);
+     remote_iov.iov_len = size;
+ 
++#if !defined(__NetBSD__)
+     bytes_read = process_vm_readv(pid, &local_iov, 1, &remote_iov, 1, 0);
++#else
++    bytes_read = 0;
++#endif
+     const bool success = bytes_read == size;
+ 
+     Log *log(GetLogIfAllCategoriesSet(LIBLLDB_LOG_PROCESS));
+@@ -2175,6 +2207,7 @@ Error NativeProcessLinux::ReadMemory(lld
+                 (void *)addr, buf, size);
+ 
+   for (bytes_read = 0; bytes_read < size; bytes_read += remainder) {
++#if !defined(__NetBSD__)
+     Error error = NativeProcessLinux::PtraceWrapper(
+         PTRACE_PEEKDATA, GetID(), (void *)addr, nullptr, 0, &data);
+     if (error.Fail()) {
+@@ -2182,6 +2215,7 @@ Error NativeProcessLinux::ReadMemory(lld
+         ProcessPOSIXLog::DecNestLevel();
+       return error;
+     }
++#endif
+ 
+     remainder = size - bytes_read;
+     remainder = remainder > k_ptrace_word_size ? k_ptrace_word_size : remainder;
+@@ -2248,6 +2282,7 @@ Error NativeProcessLinux::WriteMemory(ll
+         log->Printf("NativeProcessLinux::%s() [%p]:0x%lx (0x%lx)", __FUNCTION__,
+                     (void *)addr, *(const unsigned long *)src, data);
+ 
++#if !defined(__NetBSD__)
+       error = NativeProcessLinux::PtraceWrapper(PTRACE_POKEDATA, GetID(),
+                                                 (void *)addr, (void *)data);
+       if (error.Fail()) {
+@@ -2255,6 +2290,7 @@ Error NativeProcessLinux::WriteMemory(ll
+           ProcessPOSIXLog::DecNestLevel();
+         return error;
+       }
++#endif
+     } else {
+       unsigned char buff[8];
+       size_t bytes_read;
+@@ -2293,19 +2329,33 @@ Error NativeProcessLinux::WriteMemory(ll
+ }
+ 
+ Error NativeProcessLinux::GetSignalInfo(lldb::tid_t tid, void *siginfo) {
++#if !defined(__NetBSD__)
+   return PtraceWrapper(PTRACE_GETSIGINFO, tid, nullptr, siginfo);
++#else
++  Error error;
++  return error;
++#endif
+ }
+ 
+ Error NativeProcessLinux::GetEventMessage(lldb::tid_t tid,
+                                           unsigned long *message) {
++#if !defined(__NetBSD__)
+   return PtraceWrapper(PTRACE_GETEVENTMSG, tid, nullptr, message);
++#else
++  Error error;
++  return error;
++#endif
+ }
+ 
+ Error NativeProcessLinux::Detach(lldb::tid_t tid) {
+   if (tid == LLDB_INVALID_THREAD_ID)
+     return Error();
+-
++#if !defined(__NetBSD__)
+   return PtraceWrapper(PTRACE_DETACH, tid);
++#else
++  Error error;
++  return error;
++#endif
+ }
+ 
+ bool NativeProcessLinux::HasThreadNoLock(lldb::tid_t thread_id) {
+@@ -2649,7 +2699,11 @@ void NativeProcessLinux::SigchldHandler(
+   // Process all pending waitpid notifications.
+   while (true) {
+     int status = -1;
++#if !defined(__NetBSD__)
+     ::pid_t wait_pid = waitpid(-1, &status, __WALL | __WNOTHREAD | WNOHANG);
++#else
++    ::pid_t wait_pid = waitpid(-1, &status, /* __WALL | __WNOTHREAD | */ WNOHANG);
++#endif
+ 
+     if (wait_pid == 0)
+       break; // We are done.
+@@ -2713,12 +2767,16 @@ Error NativeProcessLinux::PtraceWrapper(
+   PtraceDisplayBytes(req, data, data_size);
+ 
+   errno = 0;
++#if !defined(__NetBSD__)
+   if (req == PTRACE_GETREGSET || req == PTRACE_SETREGSET)
+     ret = ptrace(static_cast<__ptrace_request>(req), static_cast<::pid_t>(pid),
+                  *(unsigned int *)addr, data);
+   else
+     ret = ptrace(static_cast<__ptrace_request>(req), static_cast<::pid_t>(pid),
+                  addr, data);
++#else
++  ret = 0;
++#endif
+ 
+   if (ret == -1)
+     error.SetErrorToErrno();
diff --git a/lldb-netbsd/patches/patch-source_Plugins_Process_Linux_NativeRegisterContextLinux.cpp b/lldb-netbsd/patches/patch-source_Plugins_Process_Linux_NativeRegisterContextLinux.cpp
new file mode 100644
index 0000000..b6ebac8
--- /dev/null
+++ b/lldb-netbsd/patches/patch-source_Plugins_Process_Linux_NativeRegisterContextLinux.cpp
@@ -0,0 +1,36 @@
+$NetBSD$
+
+--- source/Plugins/Process/Linux/NativeRegisterContextLinux.cpp.orig	2016-10-19 22:25:12.000000000 +0000
++++ source/Plugins/Process/Linux/NativeRegisterContextLinux.cpp
+@@ -163,6 +163,7 @@ Error NativeRegisterContextLinux::DoRead
+   Log *log(ProcessPOSIXLog::GetLogIfAllCategoriesSet(POSIX_LOG_REGISTERS));
+ 
+   long data;
++#if !defined(__NetBSD__)
+   Error error = NativeProcessLinux::PtraceWrapper(
+       PTRACE_PEEKUSER, m_thread.GetID(), reinterpret_cast<void *>(offset),
+       nullptr, 0, &data);
+@@ -170,6 +171,9 @@ Error NativeRegisterContextLinux::DoRead
+   if (error.Success())
+     // First cast to an unsigned of the same size to avoid sign extension.
+     value.SetUInt(static_cast<unsigned long>(data), size);
++#else
++  Error error;
++#endif
+ 
+   if (log)
+     log->Printf("NativeRegisterContextLinux::%s() reg %s: 0x%lx", __FUNCTION__,
+@@ -188,8 +192,13 @@ Error NativeRegisterContextLinux::DoWrit
+     log->Printf("NativeRegisterContextLinux::%s() reg %s: %p", __FUNCTION__,
+                 reg_name, buf);
+ 
++#if !defined(__NetBSD__)
+   return NativeProcessLinux::PtraceWrapper(
+       PTRACE_POKEUSER, m_thread.GetID(), reinterpret_cast<void *>(offset), buf);
++#else
++  Error error;
++  return error;
++#endif
+ }
+ 
+ Error NativeRegisterContextLinux::DoReadGPR(void *buf, size_t buf_size) {
diff --git a/lldb-netbsd/patches/patch-source_Plugins_Process_Linux_NativeRegisterContextLinux__x86__64.cpp b/lldb-netbsd/patches/patch-source_Plugins_Process_Linux_NativeRegisterContextLinux__x86__64.cpp
new file mode 100644
index 0000000..3e0a1be
--- /dev/null
+++ b/lldb-netbsd/patches/patch-source_Plugins_Process_Linux_NativeRegisterContextLinux__x86__64.cpp
@@ -0,0 +1,26 @@
+$NetBSD$
+
+--- source/Plugins/Process/Linux/NativeRegisterContextLinux_x86_64.cpp.orig	2016-12-14 14:10:24.000000000 +0000
++++ source/Plugins/Process/Linux/NativeRegisterContextLinux_x86_64.cpp
+@@ -20,7 +20,9 @@
+ #include "Plugins/Process/Utility/RegisterContextLinux_i386.h"
+ #include "Plugins/Process/Utility/RegisterContextLinux_x86_64.h"
+ 
++#if !defined(__NetBSD__)
+ #include <linux/elf.h>
++#endif
+ 
+ using namespace lldb_private;
+ using namespace lldb_private::process_linux;
+@@ -223,7 +225,11 @@ static const RegisterSet g_reg_sets_x86_
+ // On x86_64 NT_PRFPREG is used to access the FXSAVE area. On i386, we need to
+ // use NT_PRXFPREG.
+ static inline unsigned int fxsr_regset(const ArchSpec &arch) {
++#if !defined(__NetBSD__)
+   return arch.GetAddressByteSize() == 8 ? NT_PRFPREG : NT_PRXFPREG;
++#else
++  return 0;
++#endif
+ }
+ 
+ // ----------------------------------------------------------------------------
diff --git a/lldb-netbsd/patches/patch-source_Plugins_Process_Linux_NativeThreadLinux.cpp b/lldb-netbsd/patches/patch-source_Plugins_Process_Linux_NativeThreadLinux.cpp
new file mode 100644
index 0000000..ee87079
--- /dev/null
+++ b/lldb-netbsd/patches/patch-source_Plugins_Process_Linux_NativeThreadLinux.cpp
@@ -0,0 +1,123 @@
+$NetBSD$
+
+--- source/Plugins/Process/Linux/NativeThreadLinux.cpp.orig	2016-10-19 22:25:12.000000000 +0000
++++ source/Plugins/Process/Linux/NativeThreadLinux.cpp
+@@ -29,9 +29,13 @@
+ 
+ #include <sys/syscall.h>
+ // Try to define a macro to encapsulate the tgkill syscall
++#if !defined(__NetBSD__)
+ #define tgkill(pid, tid, sig)                                                  \
+   syscall(__NR_tgkill, static_cast<::pid_t>(pid), static_cast<::pid_t>(tid),   \
+           sig)
++#else
++#define tgkill(pid, tid, sig) 0
++#endif
+ 
+ using namespace lldb;
+ using namespace lldb_private;
+@@ -97,7 +101,11 @@ std::string NativeThreadLinux::GetName()
+   // const NativeProcessLinux *const process =
+   // reinterpret_cast<NativeProcessLinux*> (process_sp->get ());
+   llvm::SmallString<32> thread_name;
++#if !defined(__NetBSD__)
+   HostNativeThread::GetName(GetID(), thread_name);
++#else
++  // error: invalid conversion from 'lldb::tid_t {aka long unsigned int}' to 'lldb::thread_t {aka __pthread_st*}' [-fpermissive]
++#endif
+   return thread_name.c_str();
+ }
+ 
+@@ -216,8 +224,13 @@ Error NativeThreadLinux::Resume(uint32_t
+   if (signo != LLDB_INVALID_SIGNAL_NUMBER)
+     data = signo;
+ 
++#if !defined(__NetBSD__)
+   return NativeProcessLinux::PtraceWrapper(PTRACE_CONT, GetID(), nullptr,
+                                            reinterpret_cast<void *>(data));
++#else
++  Error error;
++  return error;
++#endif
+ }
+ 
+ void NativeThreadLinux::MaybePrepareSingleStepWorkaround() {
+@@ -226,6 +239,7 @@ void NativeThreadLinux::MaybePrepareSing
+ 
+   Log *log(GetLogIfAllCategoriesSet(LIBLLDB_LOG_THREAD));
+ 
++#if !defined(__NetBSD__)
+   if (sched_getaffinity(static_cast<::pid_t>(m_tid), sizeof m_original_cpu_set,
+                         &m_original_cpu_set) != 0) {
+     // This should really not fail. But, just in case...
+@@ -253,12 +267,14 @@ void NativeThreadLinux::MaybePrepareSing
+         ": %s",
+         __FUNCTION__, m_tid, error.AsCString());
+   }
++#endif
+ }
+ 
+ void NativeThreadLinux::MaybeCleanupSingleStepWorkaround() {
+   if (!SingleStepWorkaroundNeeded())
+     return;
+ 
++#if !defined(__NetBSD__)
+   if (sched_setaffinity(static_cast<::pid_t>(m_tid), sizeof m_original_cpu_set,
+                         &m_original_cpu_set) != 0) {
+     Error error(errno, eErrorTypePOSIX);
+@@ -268,6 +284,7 @@ void NativeThreadLinux::MaybeCleanupSing
+         ": %s",
+         __FUNCTION__, m_tid, error.AsCString());
+   }
++#endif
+ }
+ 
+ Error NativeThreadLinux::SingleStep(uint32_t signo) {
+@@ -285,10 +302,15 @@ Error NativeThreadLinux::SingleStep(uint
+   // If hardware single-stepping is not supported, we just do a continue. The
+   // breakpoint on the
+   // next instruction has been setup in NativeProcessLinux::Resume.
++#if !defined(__NetBSD__)
+   return NativeProcessLinux::PtraceWrapper(
+       GetProcess().SupportHardwareSingleStepping() ? PTRACE_SINGLESTEP
+                                                    : PTRACE_CONT,
+       m_tid, nullptr, reinterpret_cast<void *>(data));
++#else
++  Error error;
++  return error;
++#endif
+ }
+ 
+ void NativeThreadLinux::SetStoppedBySignal(uint32_t signo,
+@@ -310,6 +332,7 @@ void NativeThreadLinux::SetStoppedBySign
+     case SIGBUS:
+     case SIGFPE:
+     case SIGILL:
++#if !defined(__NetBSD__)
+       // In case of MIPS64 target, SI_KERNEL is generated for invalid 64bit
+       // address.
+       const auto reason =
+@@ -317,6 +340,7 @@ void NativeThreadLinux::SetStoppedBySign
+               ? CrashReason::eInvalidAddress
+               : GetCrashReason(*info);
+       m_stop_description = GetCrashReasonString(reason, *info);
++#endif
+       break;
+     }
+   }
+@@ -440,6 +464,7 @@ Error NativeThreadLinux::RequestStop() {
+ 
+   Error err;
+   errno = 0;
++#if !defined(__NetBSD__)
+   if (::tgkill(pid, tid, SIGSTOP) != 0) {
+     err.SetErrorToErrno();
+     if (log)
+@@ -447,6 +472,7 @@ Error NativeThreadLinux::RequestStop() {
+                   ", SIGSTOP) failed: %s",
+                   __FUNCTION__, pid, tid, err.AsCString());
+   }
++#endif
+ 
+   return err;
+ }
diff --git a/lldb-netbsd/patches/patch-source_Plugins_Process_Linux_NativeThreadLinux.h b/lldb-netbsd/patches/patch-source_Plugins_Process_Linux_NativeThreadLinux.h
new file mode 100644
index 0000000..2cff18b
--- /dev/null
+++ b/lldb-netbsd/patches/patch-source_Plugins_Process_Linux_NativeThreadLinux.h
@@ -0,0 +1,14 @@
+$NetBSD$
+
+--- source/Plugins/Process/Linux/NativeThreadLinux.h.orig	2016-09-10 17:36:23.000000000 +0000
++++ source/Plugins/Process/Linux/NativeThreadLinux.h
+@@ -107,7 +107,9 @@ private:
+   std::string m_stop_description;
+   using WatchpointIndexMap = std::map<lldb::addr_t, uint32_t>;
+   WatchpointIndexMap m_watchpoint_index_map;
++#if !defined(__NetBSD__)
+   cpu_set_t m_original_cpu_set; // For single-step workaround.
++#endif
+ };
+ 
+ typedef std::shared_ptr<NativeThreadLinux> NativeThreadLinuxSP;
diff --git a/lldb-netbsd/patches/patch-source_Plugins_Process_Linux_Procfs.h b/lldb-netbsd/patches/patch-source_Plugins_Process_Linux_Procfs.h
new file mode 100644
index 0000000..d5e98d5
--- /dev/null
+++ b/lldb-netbsd/patches/patch-source_Plugins_Process_Linux_Procfs.h
@@ -0,0 +1,17 @@
+$NetBSD$
+
+--- source/Plugins/Process/Linux/Procfs.h.orig	2016-09-10 17:36:23.000000000 +0000
++++ source/Plugins/Process/Linux/Procfs.h
+@@ -12,6 +12,7 @@
+ 
+ #include <sys/ptrace.h>
+ 
++#if !defined(__NetBSD__)
+ #ifdef __ANDROID__
+ #if defined(__arm64__) || defined(__aarch64__)
+ typedef unsigned long elf_greg_t;
+@@ -29,3 +30,4 @@ typedef struct user_fpsimd_state elf_fpr
+ #else // __ANDROID__
+ #include <sys/procfs.h>
+ #endif // __ANDROID__
++#endif
diff --git a/lldb-netbsd/patches/patch-tools_lldb-mi_MICmnBase.cpp b/lldb-netbsd/patches/patch-tools_lldb-mi_MICmnBase.cpp
new file mode 100644
index 0000000..f30ad21
--- /dev/null
+++ b/lldb-netbsd/patches/patch-tools_lldb-mi_MICmnBase.cpp
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- tools/lldb-mi/MICmnBase.cpp.orig	2016-09-10 17:36:23.000000000 +0000
++++ tools/lldb-mi/MICmnBase.cpp
+@@ -122,7 +122,7 @@ void CMICmnBase::ClrErrorDescription() c
+ // Return:  None.
+ // Throws:  None.
+ //--
+-void CMICmnBase::SetErrorDescriptionn(const CMIUtilString vFormat, ...) const {
++void CMICmnBase::SetErrorDescriptionn(const char *vFormat, ...) const {
+   va_list args;
+   va_start(args, vFormat);
+   CMIUtilString strResult = CMIUtilString::FormatValist(vFormat, args);
diff --git a/lldb-netbsd/patches/patch-tools_lldb-mi_MICmnBase.h b/lldb-netbsd/patches/patch-tools_lldb-mi_MICmnBase.h
new file mode 100644
index 0000000..6212245
--- /dev/null
+++ b/lldb-netbsd/patches/patch-tools_lldb-mi_MICmnBase.h
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- tools/lldb-mi/MICmnBase.h.orig	2016-09-10 17:36:23.000000000 +0000
++++ tools/lldb-mi/MICmnBase.h
+@@ -28,7 +28,7 @@ public:
+   bool HaveErrorDescription() const;
+   const CMIUtilString &GetErrorDescription() const;
+   void SetErrorDescription(const CMIUtilString &vrTxt) const;
+-  void SetErrorDescriptionn(const CMIUtilString vFormat, ...) const;
++  void SetErrorDescriptionn(const char *vFormat, ...) const;
+   void SetErrorDescriptionNoLog(const CMIUtilString &vrTxt) const;
+   void ClrErrorDescription() const;
+ 
diff --git a/lldb-netbsd/patches/patch-tools_lldb-mi_MIDriver.cpp b/lldb-netbsd/patches/patch-tools_lldb-mi_MIDriver.cpp
new file mode 100644
index 0000000..a96e7fa
--- /dev/null
+++ b/lldb-netbsd/patches/patch-tools_lldb-mi_MIDriver.cpp
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- tools/lldb-mi/MIDriver.cpp.orig	2016-09-10 17:36:23.000000000 +0000
++++ tools/lldb-mi/MIDriver.cpp
+@@ -509,7 +509,7 @@ bool CMIDriver::StartWorkerThreads() {
+     const CMIUtilString errMsg = CMIUtilString::Format(
+         MIRSRC(IDS_THREADMGR_ERR_THREAD_FAIL_CREATE),
+         CMICmnThreadMgrStd::Instance().GetErrorDescription().c_str());
+-    SetErrorDescriptionn(errMsg);
++    SetErrorDescriptionn(errMsg.c_str());
+     return MIstatus::failure;
+   }
+ 
diff --git a/lldb-netbsd/patches/patch-tools_lldb-mi_MIUtilString.cpp b/lldb-netbsd/patches/patch-tools_lldb-mi_MIUtilString.cpp
new file mode 100644
index 0000000..2df0237
--- /dev/null
+++ b/lldb-netbsd/patches/patch-tools_lldb-mi_MIUtilString.cpp
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- tools/lldb-mi/MIUtilString.cpp.orig	2016-09-10 17:36:23.000000000 +0000
++++ tools/lldb-mi/MIUtilString.cpp
+@@ -156,7 +156,7 @@ CMIUtilString CMIUtilString::FormatPriv(
+ // Return:  CMIUtilString - Number of splits found in the string data.
+ // Throws:  None.
+ //--
+-CMIUtilString CMIUtilString::Format(const CMIUtilString vFormating, ...) {
++CMIUtilString CMIUtilString::Format(const char *vFormating, ...) {
+   va_list args;
+   va_start(args, vFormating);
+   CMIUtilString strResult = CMIUtilString::FormatPriv(vFormating, args);
diff --git a/lldb-netbsd/patches/patch-tools_lldb-mi_MIUtilString.h b/lldb-netbsd/patches/patch-tools_lldb-mi_MIUtilString.h
new file mode 100644
index 0000000..c352662
--- /dev/null
+++ b/lldb-netbsd/patches/patch-tools_lldb-mi_MIUtilString.h
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- tools/lldb-mi/MIUtilString.h.orig	2016-09-10 17:36:23.000000000 +0000
++++ tools/lldb-mi/MIUtilString.h
+@@ -30,7 +30,7 @@ public:
+ 
+   // Static method:
+ public:
+-  static CMIUtilString Format(const CMIUtilString vFormating, ...);
++  static CMIUtilString Format(const char *vFormating, ...);
+   static CMIUtilString FormatBinary(const MIuint64 vnDecimal);
+   static CMIUtilString FormatValist(const CMIUtilString &vrFormating,
+                                     va_list vArgs);
diff --git a/lldb-netbsd/patches/patch-tools_lldb-server_CMakeLists.txt b/lldb-netbsd/patches/patch-tools_lldb-server_CMakeLists.txt
new file mode 100644
index 0000000..f93d142
--- /dev/null
+++ b/lldb-netbsd/patches/patch-tools_lldb-server_CMakeLists.txt
@@ -0,0 +1,26 @@
+$NetBSD$
+
+--- tools/lldb-server/CMakeLists.txt.orig	2016-12-14 14:10:24.000000000 +0000
++++ tools/lldb-server/CMakeLists.txt
+@@ -17,6 +17,7 @@ endif ()
+ if ( CMAKE_SYSTEM_NAME MATCHES "NetBSD" )
+ include_directories(
+   ../../../../llvm/include
++  ../../source/Plugins/Process/Linux
+   ../../source/Plugins/Process/POSIX
+   )
+ endif ()
+@@ -84,6 +85,13 @@ if ( CMAKE_SYSTEM_NAME MATCHES "Linux" )
+    )
+ endif ()
+ 
++if ( CMAKE_SYSTEM_NAME MATCHES "NetBSD" )
++  list(APPEND LLDB_USED_LIBS
++    lldbPluginProcessLinux
++    lldbPluginProcessPOSIX
++   )
++endif ()
++
+ # Darwin-only libraries
+ if ( CMAKE_SYSTEM_NAME MATCHES "Darwin" )
+   list(APPEND LLDB_USED_LIBS
diff --git a/llvm-git-netbsd/DESCR b/llvm-git-netbsd/DESCR
deleted file mode 100644
index 9bf02c2..0000000
--- a/llvm-git-netbsd/DESCR
+++ /dev/null
@@ -1,22 +0,0 @@
-Low Level Virtual Machine (LLVM) is:
-
-A compilation strategy designed to enable effective program optimization across
-the entire lifetime of a program. LLVM supports effective optimization at
-compile time, link-time (particularly interprocedural), run-time and offline
-(i.e., after software is installed), while remaining transparent to developers
-and maintaining compatibility with existing build scripts.
-
-A virtual instruction set - LLVM is a low-level object code representation that
-uses simple RISC-like instructions, but provides rich, language-independent,
-type information and dataflow (SSA) information about operands. This combination
-enables sophisticated transformations on object code, while remaining
-light-weight enough to be attached to the executable. This combination is key to
-allowing link-time, run-time, and offline transformations.
-
-A compiler infrastructure - LLVM is also a collection of source code that
-implements the language and compilation strategy. The primary components of the
-LLVM infrastructure are a GCC-based C & C++ front-end, a link-time optimization
-framework with a growing set of global and interprocedural analyses and
-transformations, static back-ends for the X86, X86-64, PowerPC 32/64, ARM,
-Thumb, IA-64, Alpha and SPARC architectures, a back-end which emits portable C
-code, and a Just-In-Time compiler for X86, X86-64, PowerPC 32/64 processors.
diff --git a/llvm-git-netbsd/Makefile b/llvm-git-netbsd/Makefile
deleted file mode 100644
index fb84ad7..0000000
--- a/llvm-git-netbsd/Makefile
+++ /dev/null
@@ -1,84 +0,0 @@
-# $NetBSD: Makefile.common,v 1.7 2015/07/20 05:49:53 adam Exp $
-
-PKGNAME=	llvm-4.0.0
-CATEGORIES=	lang devel
-
-SVN_REPOSITORIES=	llvm
-SVN_REPO.llvm=		http://llvm.org/svn/llvm-project/llvm/trunk
-SVN_REVISION.llvm=	289997
-
-MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=	http://llvm.org/
-COMMENT=	Low Level Virtual Machine compiler infrastructure
-LICENSE=	modified-bsd
-
-USE_LANGUAGES=		c c++
-USE_CMAKE=		yes
-GCC_REQD+=		4.8
-PYTHON_FOR_BUILD_ONLY=	yes
-
-WRKSRC=			${WRKDIR}/${PKGBASE}
-CONFIGURE_DIRS=		${WRKDIR}/build
-CMAKE_ARG_PATH=		${WRKSRC}
-
-CMAKE_ARGS+=	-DCMAKE_BUILD_TYPE=Release
-CMAKE_ARGS+=	-DCMAKE_C_COMPILER=${CC:Q}
-CMAKE_ARGS+=	-DCMAKE_CXX_COMPILER=${CXX:Q}
-CMAKE_ARGS+=	-DLLVM_INSTALL_UTILS=ON
-
-CHECK_PORTABILITY_SKIP=	utils/buildit/build_llvm
-
-# XXX perl is not added as a tool as it does not seem to be required
-REPLACE_PERL+=		utils/*.pl
-REPLACE_PERL+=		utils/codegen-diff
-
-REPLACE_PYTHON+=	*.py
-REPLACE_PYTHON+=	*/*.py
-REPLACE_PYTHON+=	*/*/*.py
-REPLACE_PYTHON+=	*/*/*/*.py
-REPLACE_PYTHON+=	*/*/*/*/*.py
-REPLACE_PYTHON+=	utils/Misc/zkill
-REPLACE_PYTHON+=	utils/bisect
-REPLACE_PYTHON+=	utils/clang-parse-diagnostics-file
-REPLACE_PYTHON+=	utils/git/find-rev
-REPLACE_PYTHON+=	utils/lit/tests/Inputs/googletest-format/DummySubDir/OneTest
-REPLACE_PYTHON+=	utils/llvm-build/llvm-build
-REPLACE_PYTHON+=	utils/llvm-compilers-check
-REPLACE_PYTHON+=	utils/llvm-lit/llvm-lit.in
-
-TEST_TARGET=		check
-TEST_ENV+=		LD_LIBRARY_PATH=${WRKDIR}/build/lib
-
-.include "../../mk/bsd.prefs.mk"
-
-.if ${_OPSYS_SHLIB_TYPE} == "dylib"
-SOEXT=		dylib
-.else
-SOEXT=		so
-.endif
-PLIST_SUBST+=	SOEXT=${SOEXT}
-
-.if ${OPSYS} == "Darwin"
-.PHONY: fix-darwin-install-name
-post-install: fix-darwin-install-name
-fix-darwin-install-name:
-.  for lib in BugpointPasses LLVMHello libLTO
-	install_name_tool -id ${PREFIX}/lib/${lib}.${SOEXT}	\
-		${DESTDIR}${PREFIX}/lib/${lib}.${SOEXT}
-.  endfor
-.endif
-
-.include "options.mk"
-
-# replacing config.guess is required even for cmake.
-# It is used to detect correct LLVM_HOST_TRIPLE, e.g. for NetBSD/evbarm.
-post-extract:
-	${RUN} mkdir -p ${WRKDIR}/build
-.for f in config.guess config.sub
-	cp ../../mk/gnu-config/${f} ${WRKSRC}/cmake/${f}
-.endfor
-
-.include "../../wip/mk/svn-package.mk"
-.include "../../devel/zlib/buildlink3.mk"
-.include "../../lang/python/tool.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/llvm-git-netbsd/PLIST b/llvm-git-netbsd/PLIST
deleted file mode 100644
index 3fbd022..0000000
--- a/llvm-git-netbsd/PLIST
+++ /dev/null
@@ -1,1217 +0,0 @@
-@comment $NetBSD$
-bin/FileCheck
-bin/bugpoint
-bin/count
-bin/llc
-bin/lli
-bin/lli-child-target
-bin/llvm-PerfectShuffle
-bin/llvm-ar
-bin/llvm-as
-bin/llvm-bcanalyzer
-bin/llvm-c-test
-bin/llvm-cat
-bin/llvm-config
-bin/llvm-cov
-bin/llvm-cxxdump
-bin/llvm-cxxfilt
-bin/llvm-diff
-bin/llvm-dis
-bin/llvm-dsymutil
-bin/llvm-dwarfdump
-bin/llvm-dwp
-bin/llvm-extract
-bin/llvm-lib
-bin/llvm-link
-bin/llvm-lto
-bin/llvm-lto2
-bin/llvm-mc
-bin/llvm-mcmarkup
-bin/llvm-modextract
-bin/llvm-nm
-bin/llvm-objdump
-bin/llvm-opt-report
-bin/llvm-pdbdump
-bin/llvm-profdata
-bin/llvm-ranlib
-bin/llvm-readobj
-bin/llvm-rtdyld
-bin/llvm-size
-bin/llvm-split
-bin/llvm-stress
-bin/llvm-strings
-bin/llvm-symbolizer
-bin/llvm-tblgen
-bin/llvm-xray
-bin/not
-bin/obj2yaml
-bin/opt
-bin/sancov
-bin/sanstats
-bin/verify-uselistorder
-bin/yaml-bench
-bin/yaml2obj
-include/llvm-c/Analysis.h
-include/llvm-c/BitReader.h
-include/llvm-c/BitWriter.h
-include/llvm-c/Core.h
-include/llvm-c/Disassembler.h
-include/llvm-c/ErrorHandling.h
-include/llvm-c/ExecutionEngine.h
-include/llvm-c/IRReader.h
-include/llvm-c/Initialization.h
-include/llvm-c/LinkTimeOptimizer.h
-include/llvm-c/Linker.h
-include/llvm-c/Object.h
-include/llvm-c/OrcBindings.h
-include/llvm-c/Support.h
-include/llvm-c/Target.h
-include/llvm-c/TargetMachine.h
-include/llvm-c/Transforms/IPO.h
-include/llvm-c/Transforms/PassManagerBuilder.h
-include/llvm-c/Transforms/Scalar.h
-include/llvm-c/Transforms/Vectorize.h
-include/llvm-c/Types.h
-include/llvm-c/lto.h
-include/llvm/ADT/APFloat.h
-include/llvm/ADT/APInt.h
-include/llvm/ADT/APSInt.h
-include/llvm/ADT/AllocatorList.h
-include/llvm/ADT/ArrayRef.h
-include/llvm/ADT/BitVector.h
-include/llvm/ADT/BitmaskEnum.h
-include/llvm/ADT/CachedHashString.h
-include/llvm/ADT/DAGDeltaAlgorithm.h
-include/llvm/ADT/DeltaAlgorithm.h
-include/llvm/ADT/DenseMap.h
-include/llvm/ADT/DenseMapInfo.h
-include/llvm/ADT/DenseSet.h
-include/llvm/ADT/DepthFirstIterator.h
-include/llvm/ADT/EpochTracker.h
-include/llvm/ADT/EquivalenceClasses.h
-include/llvm/ADT/FoldingSet.h
-include/llvm/ADT/GraphTraits.h
-include/llvm/ADT/Hashing.h
-include/llvm/ADT/ImmutableList.h
-include/llvm/ADT/ImmutableMap.h
-include/llvm/ADT/ImmutableSet.h
-include/llvm/ADT/IndexedMap.h
-include/llvm/ADT/IntEqClasses.h
-include/llvm/ADT/IntervalMap.h
-include/llvm/ADT/IntrusiveRefCntPtr.h
-include/llvm/ADT/MapVector.h
-include/llvm/ADT/None.h
-include/llvm/ADT/Optional.h
-include/llvm/ADT/PackedVector.h
-include/llvm/ADT/PointerEmbeddedInt.h
-include/llvm/ADT/PointerIntPair.h
-include/llvm/ADT/PointerSumType.h
-include/llvm/ADT/PointerUnion.h
-include/llvm/ADT/PostOrderIterator.h
-include/llvm/ADT/PriorityQueue.h
-include/llvm/ADT/PriorityWorklist.h
-include/llvm/ADT/SCCIterator.h
-include/llvm/ADT/STLExtras.h
-include/llvm/ADT/ScopeExit.h
-include/llvm/ADT/ScopedHashTable.h
-include/llvm/ADT/Sequence.h
-include/llvm/ADT/SetOperations.h
-include/llvm/ADT/SetVector.h
-include/llvm/ADT/SmallBitVector.h
-include/llvm/ADT/SmallPtrSet.h
-include/llvm/ADT/SmallSet.h
-include/llvm/ADT/SmallString.h
-include/llvm/ADT/SmallVector.h
-include/llvm/ADT/SparseBitVector.h
-include/llvm/ADT/SparseMultiSet.h
-include/llvm/ADT/SparseSet.h
-include/llvm/ADT/Statistic.h
-include/llvm/ADT/StringExtras.h
-include/llvm/ADT/StringMap.h
-include/llvm/ADT/StringRef.h
-include/llvm/ADT/StringSet.h
-include/llvm/ADT/StringSwitch.h
-include/llvm/ADT/TinyPtrVector.h
-include/llvm/ADT/Triple.h
-include/llvm/ADT/Twine.h
-include/llvm/ADT/UniqueVector.h
-include/llvm/ADT/VariadicFunction.h
-include/llvm/ADT/edit_distance.h
-include/llvm/ADT/ilist.h
-include/llvm/ADT/ilist_base.h
-include/llvm/ADT/ilist_iterator.h
-include/llvm/ADT/ilist_node.h
-include/llvm/ADT/ilist_node_base.h
-include/llvm/ADT/ilist_node_options.h
-include/llvm/ADT/iterator.h
-include/llvm/ADT/iterator_range.h
-include/llvm/ADT/simple_ilist.h
-include/llvm/Analysis/AliasAnalysis.h
-include/llvm/Analysis/AliasAnalysisEvaluator.h
-include/llvm/Analysis/AliasSetTracker.h
-include/llvm/Analysis/BasicAliasAnalysis.h
-include/llvm/Analysis/BlockFrequencyInfo.h
-include/llvm/Analysis/BlockFrequencyInfoImpl.h
-include/llvm/Analysis/BranchProbabilityInfo.h
-include/llvm/Analysis/CFG.h
-include/llvm/Analysis/CFGPrinter.h
-include/llvm/Analysis/CFLAndersAliasAnalysis.h
-include/llvm/Analysis/CFLSteensAliasAnalysis.h
-include/llvm/Analysis/CGSCCPassManager.h
-include/llvm/Analysis/CallGraph.h
-include/llvm/Analysis/CallGraphSCCPass.h
-include/llvm/Analysis/CallPrinter.h
-include/llvm/Analysis/CaptureTracking.h
-include/llvm/Analysis/CodeMetrics.h
-include/llvm/Analysis/ConstantFolding.h
-include/llvm/Analysis/DOTGraphTraitsPass.h
-include/llvm/Analysis/DemandedBits.h
-include/llvm/Analysis/DependenceAnalysis.h
-include/llvm/Analysis/DivergenceAnalysis.h
-include/llvm/Analysis/DomPrinter.h
-include/llvm/Analysis/DominanceFrontier.h
-include/llvm/Analysis/DominanceFrontierImpl.h
-include/llvm/Analysis/EHPersonalities.h
-include/llvm/Analysis/GlobalsModRef.h
-include/llvm/Analysis/IVUsers.h
-include/llvm/Analysis/IndirectCallPromotionAnalysis.h
-include/llvm/Analysis/IndirectCallSiteVisitor.h
-include/llvm/Analysis/InlineCost.h
-include/llvm/Analysis/InstructionSimplify.h
-include/llvm/Analysis/Interval.h
-include/llvm/Analysis/IntervalIterator.h
-include/llvm/Analysis/IntervalPartition.h
-include/llvm/Analysis/IteratedDominanceFrontier.h
-include/llvm/Analysis/LazyBlockFrequencyInfo.h
-include/llvm/Analysis/LazyBranchProbabilityInfo.h
-include/llvm/Analysis/LazyCallGraph.h
-include/llvm/Analysis/LazyValueInfo.h
-include/llvm/Analysis/Lint.h
-include/llvm/Analysis/Loads.h
-include/llvm/Analysis/LoopAccessAnalysis.h
-include/llvm/Analysis/LoopInfo.h
-include/llvm/Analysis/LoopInfoImpl.h
-include/llvm/Analysis/LoopIterator.h
-include/llvm/Analysis/LoopPass.h
-include/llvm/Analysis/LoopPassManager.h
-include/llvm/Analysis/LoopUnrollAnalyzer.h
-include/llvm/Analysis/MemoryBuiltins.h
-include/llvm/Analysis/MemoryDependenceAnalysis.h
-include/llvm/Analysis/MemoryLocation.h
-include/llvm/Analysis/ModuleSummaryAnalysis.h
-include/llvm/Analysis/ObjCARCAliasAnalysis.h
-include/llvm/Analysis/ObjCARCAnalysisUtils.h
-include/llvm/Analysis/ObjCARCInstKind.h
-include/llvm/Analysis/OptimizationDiagnosticInfo.h
-include/llvm/Analysis/OrderedBasicBlock.h
-include/llvm/Analysis/PHITransAddr.h
-include/llvm/Analysis/Passes.h
-include/llvm/Analysis/PostDominators.h
-include/llvm/Analysis/ProfileSummaryInfo.h
-include/llvm/Analysis/PtrUseVisitor.h
-include/llvm/Analysis/RegionInfo.h
-include/llvm/Analysis/RegionInfoImpl.h
-include/llvm/Analysis/RegionIterator.h
-include/llvm/Analysis/RegionPass.h
-include/llvm/Analysis/RegionPrinter.h
-include/llvm/Analysis/ScalarEvolution.h
-include/llvm/Analysis/ScalarEvolutionAliasAnalysis.h
-include/llvm/Analysis/ScalarEvolutionExpander.h
-include/llvm/Analysis/ScalarEvolutionExpressions.h
-include/llvm/Analysis/ScalarEvolutionNormalization.h
-include/llvm/Analysis/ScopedNoAliasAA.h
-include/llvm/Analysis/SparsePropagation.h
-include/llvm/Analysis/TargetFolder.h
-include/llvm/Analysis/TargetLibraryInfo.def
-include/llvm/Analysis/TargetLibraryInfo.h
-include/llvm/Analysis/TargetTransformInfo.h
-include/llvm/Analysis/TargetTransformInfoImpl.h
-include/llvm/Analysis/Trace.h
-include/llvm/Analysis/TypeBasedAliasAnalysis.h
-include/llvm/Analysis/TypeMetadataUtils.h
-include/llvm/Analysis/ValueTracking.h
-include/llvm/Analysis/VectorUtils.h
-include/llvm/AsmParser/Parser.h
-include/llvm/AsmParser/SlotMapping.h
-include/llvm/Bitcode/BitCodes.h
-include/llvm/Bitcode/BitcodeReader.h
-include/llvm/Bitcode/BitcodeWriter.h
-include/llvm/Bitcode/BitcodeWriterPass.h
-include/llvm/Bitcode/BitstreamReader.h
-include/llvm/Bitcode/BitstreamWriter.h
-include/llvm/Bitcode/LLVMBitCodes.h
-include/llvm/CodeGen/Analysis.h
-include/llvm/CodeGen/AsmPrinter.h
-include/llvm/CodeGen/AtomicExpandUtils.h
-include/llvm/CodeGen/BasicTTIImpl.h
-include/llvm/CodeGen/CalcSpillWeights.h
-include/llvm/CodeGen/CallingConvLower.h
-include/llvm/CodeGen/CommandFlags.h
-include/llvm/CodeGen/DAGCombine.h
-include/llvm/CodeGen/DFAPacketizer.h
-include/llvm/CodeGen/DIE.h
-include/llvm/CodeGen/DIEValue.def
-include/llvm/CodeGen/DwarfStringPoolEntry.h
-include/llvm/CodeGen/EdgeBundles.h
-include/llvm/CodeGen/FastISel.h
-include/llvm/CodeGen/FaultMaps.h
-include/llvm/CodeGen/FunctionLoweringInfo.h
-include/llvm/CodeGen/GCMetadata.h
-include/llvm/CodeGen/GCMetadataPrinter.h
-include/llvm/CodeGen/GCStrategy.h
-include/llvm/CodeGen/GCs.h
-include/llvm/CodeGen/GlobalISel/CallLowering.h
-include/llvm/CodeGen/GlobalISel/GISelAccessor.h
-include/llvm/CodeGen/GlobalISel/IRTranslator.h
-include/llvm/CodeGen/GlobalISel/InstructionSelect.h
-include/llvm/CodeGen/GlobalISel/InstructionSelector.h
-include/llvm/CodeGen/GlobalISel/Legalizer.h
-include/llvm/CodeGen/GlobalISel/LegalizerHelper.h
-include/llvm/CodeGen/GlobalISel/LegalizerInfo.h
-include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
-include/llvm/CodeGen/GlobalISel/RegBankSelect.h
-include/llvm/CodeGen/GlobalISel/RegisterBank.h
-include/llvm/CodeGen/GlobalISel/RegisterBankInfo.h
-include/llvm/CodeGen/GlobalISel/Types.h
-include/llvm/CodeGen/ISDOpcodes.h
-include/llvm/CodeGen/IntrinsicLowering.h
-include/llvm/CodeGen/LatencyPriorityQueue.h
-include/llvm/CodeGen/LexicalScopes.h
-include/llvm/CodeGen/LinkAllAsmWriterComponents.h
-include/llvm/CodeGen/LinkAllCodegenComponents.h
-include/llvm/CodeGen/LiveInterval.h
-include/llvm/CodeGen/LiveIntervalAnalysis.h
-include/llvm/CodeGen/LiveIntervalUnion.h
-include/llvm/CodeGen/LivePhysRegs.h
-include/llvm/CodeGen/LiveRangeEdit.h
-include/llvm/CodeGen/LiveRegMatrix.h
-include/llvm/CodeGen/LiveStackAnalysis.h
-include/llvm/CodeGen/LiveVariables.h
-include/llvm/CodeGen/LowLevelType.h
-include/llvm/CodeGen/MIRParser/MIRParser.h
-include/llvm/CodeGen/MIRYamlMapping.h
-include/llvm/CodeGen/MachORelocation.h
-include/llvm/CodeGen/MachineBasicBlock.h
-include/llvm/CodeGen/MachineBlockFrequencyInfo.h
-include/llvm/CodeGen/MachineBranchProbabilityInfo.h
-include/llvm/CodeGen/MachineCombinerPattern.h
-include/llvm/CodeGen/MachineConstantPool.h
-include/llvm/CodeGen/MachineDominanceFrontier.h
-include/llvm/CodeGen/MachineDominators.h
-include/llvm/CodeGen/MachineFrameInfo.h
-include/llvm/CodeGen/MachineFunction.h
-include/llvm/CodeGen/MachineFunctionInitializer.h
-include/llvm/CodeGen/MachineFunctionPass.h
-include/llvm/CodeGen/MachineInstr.h
-include/llvm/CodeGen/MachineInstrBuilder.h
-include/llvm/CodeGen/MachineInstrBundle.h
-include/llvm/CodeGen/MachineInstrBundleIterator.h
-include/llvm/CodeGen/MachineJumpTableInfo.h
-include/llvm/CodeGen/MachineLoopInfo.h
-include/llvm/CodeGen/MachineMemOperand.h
-include/llvm/CodeGen/MachineModuleInfo.h
-include/llvm/CodeGen/MachineModuleInfoImpls.h
-include/llvm/CodeGen/MachineOperand.h
-include/llvm/CodeGen/MachinePassRegistry.h
-include/llvm/CodeGen/MachinePostDominators.h
-include/llvm/CodeGen/MachineRegionInfo.h
-include/llvm/CodeGen/MachineRegisterInfo.h
-include/llvm/CodeGen/MachineSSAUpdater.h
-include/llvm/CodeGen/MachineScheduler.h
-include/llvm/CodeGen/MachineTraceMetrics.h
-include/llvm/CodeGen/MachineValueType.h
-include/llvm/CodeGen/PBQP/CostAllocator.h
-include/llvm/CodeGen/PBQP/Graph.h
-include/llvm/CodeGen/PBQP/Math.h
-include/llvm/CodeGen/PBQP/ReductionRules.h
-include/llvm/CodeGen/PBQP/Solution.h
-include/llvm/CodeGen/PBQPRAConstraint.h
-include/llvm/CodeGen/ParallelCG.h
-include/llvm/CodeGen/Passes.h
-include/llvm/CodeGen/PreISelIntrinsicLowering.h
-include/llvm/CodeGen/PseudoSourceValue.h
-include/llvm/CodeGen/RegAllocPBQP.h
-include/llvm/CodeGen/RegAllocRegistry.h
-include/llvm/CodeGen/RegisterClassInfo.h
-include/llvm/CodeGen/RegisterPressure.h
-include/llvm/CodeGen/RegisterScavenging.h
-include/llvm/CodeGen/RegisterUsageInfo.h
-include/llvm/CodeGen/ResourcePriorityQueue.h
-include/llvm/CodeGen/RuntimeLibcalls.h
-include/llvm/CodeGen/ScheduleDAG.h
-include/llvm/CodeGen/ScheduleDAGInstrs.h
-include/llvm/CodeGen/ScheduleDAGMutation.h
-include/llvm/CodeGen/ScheduleDFS.h
-include/llvm/CodeGen/ScheduleHazardRecognizer.h
-include/llvm/CodeGen/SchedulerRegistry.h
-include/llvm/CodeGen/ScoreboardHazardRecognizer.h
-include/llvm/CodeGen/SelectionDAG.h
-include/llvm/CodeGen/SelectionDAGISel.h
-include/llvm/CodeGen/SelectionDAGNodes.h
-include/llvm/CodeGen/SelectionDAGTargetInfo.h
-include/llvm/CodeGen/SlotIndexes.h
-include/llvm/CodeGen/StackMaps.h
-include/llvm/CodeGen/StackProtector.h
-include/llvm/CodeGen/TailDuplicator.h
-include/llvm/CodeGen/TargetLoweringObjectFileImpl.h
-include/llvm/CodeGen/TargetPassConfig.h
-include/llvm/CodeGen/TargetSchedule.h
-include/llvm/CodeGen/UnreachableBlockElim.h
-include/llvm/CodeGen/ValueTypes.h
-include/llvm/CodeGen/ValueTypes.td
-include/llvm/CodeGen/VirtRegMap.h
-include/llvm/CodeGen/WinEHFuncInfo.h
-include/llvm/Config/AsmParsers.def
-include/llvm/Config/AsmPrinters.def
-include/llvm/Config/Disassemblers.def
-include/llvm/Config/Targets.def
-include/llvm/Config/abi-breaking.h
-include/llvm/Config/llvm-config.h
-include/llvm/DebugInfo/CodeView/CVDebugRecord.h
-include/llvm/DebugInfo/CodeView/CVRecord.h
-include/llvm/DebugInfo/CodeView/CVSymbolTypes.def
-include/llvm/DebugInfo/CodeView/CVSymbolVisitor.h
-include/llvm/DebugInfo/CodeView/CVTypeVisitor.h
-include/llvm/DebugInfo/CodeView/CodeView.h
-include/llvm/DebugInfo/CodeView/CodeViewError.h
-include/llvm/DebugInfo/CodeView/CodeViewRecordIO.h
-include/llvm/DebugInfo/CodeView/EnumTables.h
-include/llvm/DebugInfo/CodeView/FunctionId.h
-include/llvm/DebugInfo/CodeView/Line.h
-include/llvm/DebugInfo/CodeView/ModuleSubstream.h
-include/llvm/DebugInfo/CodeView/ModuleSubstreamVisitor.h
-include/llvm/DebugInfo/CodeView/RecordSerialization.h
-include/llvm/DebugInfo/CodeView/SymbolDeserializer.h
-include/llvm/DebugInfo/CodeView/SymbolDumpDelegate.h
-include/llvm/DebugInfo/CodeView/SymbolDumper.h
-include/llvm/DebugInfo/CodeView/SymbolRecord.h
-include/llvm/DebugInfo/CodeView/SymbolVisitorCallbackPipeline.h
-include/llvm/DebugInfo/CodeView/SymbolVisitorCallbacks.h
-include/llvm/DebugInfo/CodeView/SymbolVisitorDelegate.h
-include/llvm/DebugInfo/CodeView/TypeDeserializer.h
-include/llvm/DebugInfo/CodeView/TypeDumper.h
-include/llvm/DebugInfo/CodeView/TypeIndex.h
-include/llvm/DebugInfo/CodeView/TypeRecord.h
-include/llvm/DebugInfo/CodeView/TypeRecordBuilder.h
-include/llvm/DebugInfo/CodeView/TypeRecordMapping.h
-include/llvm/DebugInfo/CodeView/TypeRecords.def
-include/llvm/DebugInfo/CodeView/TypeSerializer.h
-include/llvm/DebugInfo/CodeView/TypeStreamMerger.h
-include/llvm/DebugInfo/CodeView/TypeSymbolEmitter.h
-include/llvm/DebugInfo/CodeView/TypeTableBuilder.h
-include/llvm/DebugInfo/CodeView/TypeVisitorCallbackPipeline.h
-include/llvm/DebugInfo/CodeView/TypeVisitorCallbacks.h
-include/llvm/DebugInfo/DIContext.h
-include/llvm/DebugInfo/DWARF/DWARFAbbreviationDeclaration.h
-include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h
-include/llvm/DebugInfo/DWARF/DWARFCompileUnit.h
-include/llvm/DebugInfo/DWARF/DWARFContext.h
-include/llvm/DebugInfo/DWARF/DWARFDebugAbbrev.h
-include/llvm/DebugInfo/DWARF/DWARFDebugArangeSet.h
-include/llvm/DebugInfo/DWARF/DWARFDebugAranges.h
-include/llvm/DebugInfo/DWARF/DWARFDebugFrame.h
-include/llvm/DebugInfo/DWARF/DWARFDebugInfoEntry.h
-include/llvm/DebugInfo/DWARF/DWARFDebugLine.h
-include/llvm/DebugInfo/DWARF/DWARFDebugLoc.h
-include/llvm/DebugInfo/DWARF/DWARFDebugMacro.h
-include/llvm/DebugInfo/DWARF/DWARFDebugRangeList.h
-include/llvm/DebugInfo/DWARF/DWARFDie.h
-include/llvm/DebugInfo/DWARF/DWARFFormValue.h
-include/llvm/DebugInfo/DWARF/DWARFGdbIndex.h
-include/llvm/DebugInfo/DWARF/DWARFRelocMap.h
-include/llvm/DebugInfo/DWARF/DWARFSection.h
-include/llvm/DebugInfo/DWARF/DWARFTypeUnit.h
-include/llvm/DebugInfo/DWARF/DWARFUnit.h
-include/llvm/DebugInfo/DWARF/DWARFUnitIndex.h
-include/llvm/DebugInfo/MSF/ByteStream.h
-include/llvm/DebugInfo/MSF/IMSFFile.h
-include/llvm/DebugInfo/MSF/MSFBuilder.h
-include/llvm/DebugInfo/MSF/MSFCommon.h
-include/llvm/DebugInfo/MSF/MSFError.h
-include/llvm/DebugInfo/MSF/MSFStreamLayout.h
-include/llvm/DebugInfo/MSF/MappedBlockStream.h
-include/llvm/DebugInfo/MSF/SequencedItemStream.h
-include/llvm/DebugInfo/MSF/StreamArray.h
-include/llvm/DebugInfo/MSF/StreamInterface.h
-include/llvm/DebugInfo/MSF/StreamReader.h
-include/llvm/DebugInfo/MSF/StreamRef.h
-include/llvm/DebugInfo/MSF/StreamWriter.h
-include/llvm/DebugInfo/PDB/ConcreteSymbolEnumerator.h
-include/llvm/DebugInfo/PDB/DIA/DIADataStream.h
-include/llvm/DebugInfo/PDB/DIA/DIAEnumDebugStreams.h
-include/llvm/DebugInfo/PDB/DIA/DIAEnumLineNumbers.h
-include/llvm/DebugInfo/PDB/DIA/DIAEnumSourceFiles.h
-include/llvm/DebugInfo/PDB/DIA/DIAEnumSymbols.h
-include/llvm/DebugInfo/PDB/DIA/DIAError.h
-include/llvm/DebugInfo/PDB/DIA/DIALineNumber.h
-include/llvm/DebugInfo/PDB/DIA/DIARawSymbol.h
-include/llvm/DebugInfo/PDB/DIA/DIASession.h
-include/llvm/DebugInfo/PDB/DIA/DIASourceFile.h
-include/llvm/DebugInfo/PDB/DIA/DIASupport.h
-include/llvm/DebugInfo/PDB/GenericError.h
-include/llvm/DebugInfo/PDB/IPDBDataStream.h
-include/llvm/DebugInfo/PDB/IPDBEnumChildren.h
-include/llvm/DebugInfo/PDB/IPDBLineNumber.h
-include/llvm/DebugInfo/PDB/IPDBRawSymbol.h
-include/llvm/DebugInfo/PDB/IPDBSession.h
-include/llvm/DebugInfo/PDB/IPDBSourceFile.h
-include/llvm/DebugInfo/PDB/PDB.h
-include/llvm/DebugInfo/PDB/PDBContext.h
-include/llvm/DebugInfo/PDB/PDBExtras.h
-include/llvm/DebugInfo/PDB/PDBSymDumper.h
-include/llvm/DebugInfo/PDB/PDBSymbol.h
-include/llvm/DebugInfo/PDB/PDBSymbolAnnotation.h
-include/llvm/DebugInfo/PDB/PDBSymbolBlock.h
-include/llvm/DebugInfo/PDB/PDBSymbolCompiland.h
-include/llvm/DebugInfo/PDB/PDBSymbolCompilandDetails.h
-include/llvm/DebugInfo/PDB/PDBSymbolCompilandEnv.h
-include/llvm/DebugInfo/PDB/PDBSymbolCustom.h
-include/llvm/DebugInfo/PDB/PDBSymbolData.h
-include/llvm/DebugInfo/PDB/PDBSymbolExe.h
-include/llvm/DebugInfo/PDB/PDBSymbolFunc.h
-include/llvm/DebugInfo/PDB/PDBSymbolFuncDebugEnd.h
-include/llvm/DebugInfo/PDB/PDBSymbolFuncDebugStart.h
-include/llvm/DebugInfo/PDB/PDBSymbolLabel.h
-include/llvm/DebugInfo/PDB/PDBSymbolPublicSymbol.h
-include/llvm/DebugInfo/PDB/PDBSymbolThunk.h
-include/llvm/DebugInfo/PDB/PDBSymbolTypeArray.h
-include/llvm/DebugInfo/PDB/PDBSymbolTypeBaseClass.h
-include/llvm/DebugInfo/PDB/PDBSymbolTypeBuiltin.h
-include/llvm/DebugInfo/PDB/PDBSymbolTypeCustom.h
-include/llvm/DebugInfo/PDB/PDBSymbolTypeDimension.h
-include/llvm/DebugInfo/PDB/PDBSymbolTypeEnum.h
-include/llvm/DebugInfo/PDB/PDBSymbolTypeFriend.h
-include/llvm/DebugInfo/PDB/PDBSymbolTypeFunctionArg.h
-include/llvm/DebugInfo/PDB/PDBSymbolTypeFunctionSig.h
-include/llvm/DebugInfo/PDB/PDBSymbolTypeManaged.h
-include/llvm/DebugInfo/PDB/PDBSymbolTypePointer.h
-include/llvm/DebugInfo/PDB/PDBSymbolTypeTypedef.h
-include/llvm/DebugInfo/PDB/PDBSymbolTypeUDT.h
-include/llvm/DebugInfo/PDB/PDBSymbolTypeVTable.h
-include/llvm/DebugInfo/PDB/PDBSymbolTypeVTableShape.h
-include/llvm/DebugInfo/PDB/PDBSymbolUnknown.h
-include/llvm/DebugInfo/PDB/PDBSymbolUsingNamespace.h
-include/llvm/DebugInfo/PDB/PDBTypes.h
-include/llvm/DebugInfo/PDB/Raw/DbiStream.h
-include/llvm/DebugInfo/PDB/Raw/DbiStreamBuilder.h
-include/llvm/DebugInfo/PDB/Raw/EnumTables.h
-include/llvm/DebugInfo/PDB/Raw/GlobalsStream.h
-include/llvm/DebugInfo/PDB/Raw/Hash.h
-include/llvm/DebugInfo/PDB/Raw/ISectionContribVisitor.h
-include/llvm/DebugInfo/PDB/Raw/InfoStream.h
-include/llvm/DebugInfo/PDB/Raw/InfoStreamBuilder.h
-include/llvm/DebugInfo/PDB/Raw/ModInfo.h
-include/llvm/DebugInfo/PDB/Raw/ModStream.h
-include/llvm/DebugInfo/PDB/Raw/NameHashTable.h
-include/llvm/DebugInfo/PDB/Raw/NameMap.h
-include/llvm/DebugInfo/PDB/Raw/NameMapBuilder.h
-include/llvm/DebugInfo/PDB/Raw/PDBFile.h
-include/llvm/DebugInfo/PDB/Raw/PDBFileBuilder.h
-include/llvm/DebugInfo/PDB/Raw/PublicsStream.h
-include/llvm/DebugInfo/PDB/Raw/RawConstants.h
-include/llvm/DebugInfo/PDB/Raw/RawError.h
-include/llvm/DebugInfo/PDB/Raw/RawSession.h
-include/llvm/DebugInfo/PDB/Raw/RawTypes.h
-include/llvm/DebugInfo/PDB/Raw/SymbolStream.h
-include/llvm/DebugInfo/PDB/Raw/TpiHashing.h
-include/llvm/DebugInfo/PDB/Raw/TpiStream.h
-include/llvm/DebugInfo/PDB/Raw/TpiStreamBuilder.h
-include/llvm/DebugInfo/Symbolize/DIPrinter.h
-include/llvm/DebugInfo/Symbolize/SymbolizableModule.h
-include/llvm/DebugInfo/Symbolize/Symbolize.h
-include/llvm/Demangle/Demangle.h
-include/llvm/ExecutionEngine/ExecutionEngine.h
-include/llvm/ExecutionEngine/GenericValue.h
-include/llvm/ExecutionEngine/Interpreter.h
-include/llvm/ExecutionEngine/JITEventListener.h
-include/llvm/ExecutionEngine/JITSymbol.h
-include/llvm/ExecutionEngine/MCJIT.h
-include/llvm/ExecutionEngine/OProfileWrapper.h
-include/llvm/ExecutionEngine/ObjectCache.h
-include/llvm/ExecutionEngine/ObjectMemoryBuffer.h
-include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h
-include/llvm/ExecutionEngine/Orc/CompileUtils.h
-include/llvm/ExecutionEngine/Orc/ExecutionUtils.h
-include/llvm/ExecutionEngine/Orc/GlobalMappingLayer.h
-include/llvm/ExecutionEngine/Orc/IRCompileLayer.h
-include/llvm/ExecutionEngine/Orc/IRTransformLayer.h
-include/llvm/ExecutionEngine/Orc/IndirectionUtils.h
-include/llvm/ExecutionEngine/Orc/LambdaResolver.h
-include/llvm/ExecutionEngine/Orc/LazyEmittingLayer.h
-include/llvm/ExecutionEngine/Orc/NullResolver.h
-include/llvm/ExecutionEngine/Orc/ObjectLinkingLayer.h
-include/llvm/ExecutionEngine/Orc/ObjectTransformLayer.h
-include/llvm/ExecutionEngine/Orc/OrcABISupport.h
-include/llvm/ExecutionEngine/Orc/OrcError.h
-include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h
-include/llvm/ExecutionEngine/Orc/OrcRemoteTargetRPCAPI.h
-include/llvm/ExecutionEngine/Orc/OrcRemoteTargetServer.h
-include/llvm/ExecutionEngine/Orc/RPCSerialization.h
-include/llvm/ExecutionEngine/Orc/RPCUtils.h
-include/llvm/ExecutionEngine/Orc/RawByteChannel.h
-include/llvm/ExecutionEngine/OrcMCJITReplacement.h
-include/llvm/ExecutionEngine/RTDyldMemoryManager.h
-include/llvm/ExecutionEngine/RuntimeDyld.h
-include/llvm/ExecutionEngine/RuntimeDyldChecker.h
-include/llvm/ExecutionEngine/SectionMemoryManager.h
-include/llvm/IR/Argument.h
-include/llvm/IR/AssemblyAnnotationWriter.h
-include/llvm/IR/Attributes.gen
-include/llvm/IR/Attributes.h
-include/llvm/IR/Attributes.td
-include/llvm/IR/AutoUpgrade.h
-include/llvm/IR/BasicBlock.h
-include/llvm/IR/CFG.h
-include/llvm/IR/CallSite.h
-include/llvm/IR/CallingConv.h
-include/llvm/IR/Comdat.h
-include/llvm/IR/Constant.h
-include/llvm/IR/ConstantFolder.h
-include/llvm/IR/ConstantRange.h
-include/llvm/IR/Constants.h
-include/llvm/IR/DIBuilder.h
-include/llvm/IR/DataLayout.h
-include/llvm/IR/DebugInfo.h
-include/llvm/IR/DebugInfoFlags.def
-include/llvm/IR/DebugInfoMetadata.h
-include/llvm/IR/DebugLoc.h
-include/llvm/IR/DerivedTypes.h
-include/llvm/IR/DiagnosticInfo.h
-include/llvm/IR/DiagnosticPrinter.h
-include/llvm/IR/Dominators.h
-include/llvm/IR/Function.h
-include/llvm/IR/GVMaterializer.h
-include/llvm/IR/GetElementPtrTypeIterator.h
-include/llvm/IR/GlobalAlias.h
-include/llvm/IR/GlobalIFunc.h
-include/llvm/IR/GlobalIndirectSymbol.h
-include/llvm/IR/GlobalObject.h
-include/llvm/IR/GlobalValue.h
-include/llvm/IR/GlobalVariable.h
-include/llvm/IR/IRBuilder.h
-include/llvm/IR/IRPrintingPasses.h
-include/llvm/IR/InlineAsm.h
-include/llvm/IR/InstIterator.h
-include/llvm/IR/InstVisitor.h
-include/llvm/IR/InstrTypes.h
-include/llvm/IR/Instruction.def
-include/llvm/IR/Instruction.h
-include/llvm/IR/Instructions.h
-include/llvm/IR/IntrinsicInst.h
-include/llvm/IR/Intrinsics.gen
-include/llvm/IR/Intrinsics.h
-include/llvm/IR/Intrinsics.td
-include/llvm/IR/IntrinsicsAArch64.td
-include/llvm/IR/IntrinsicsAMDGPU.td
-include/llvm/IR/IntrinsicsARM.td
-include/llvm/IR/IntrinsicsBPF.td
-include/llvm/IR/IntrinsicsHexagon.td
-include/llvm/IR/IntrinsicsMips.td
-include/llvm/IR/IntrinsicsNVVM.td
-include/llvm/IR/IntrinsicsPowerPC.td
-include/llvm/IR/IntrinsicsSystemZ.td
-include/llvm/IR/IntrinsicsWebAssembly.td
-include/llvm/IR/IntrinsicsX86.td
-include/llvm/IR/IntrinsicsXCore.td
-include/llvm/IR/LLVMContext.h
-include/llvm/IR/LegacyPassManager.h
-include/llvm/IR/LegacyPassManagers.h
-include/llvm/IR/LegacyPassNameParser.h
-include/llvm/IR/MDBuilder.h
-include/llvm/IR/Mangler.h
-include/llvm/IR/Metadata.def
-include/llvm/IR/Metadata.h
-include/llvm/IR/Module.h
-include/llvm/IR/ModuleSlotTracker.h
-include/llvm/IR/ModuleSummaryIndex.h
-include/llvm/IR/NoFolder.h
-include/llvm/IR/OperandTraits.h
-include/llvm/IR/Operator.h
-include/llvm/IR/OptBisect.h
-include/llvm/IR/PassManager.h
-include/llvm/IR/PassManagerInternal.h
-include/llvm/IR/PatternMatch.h
-include/llvm/IR/PredIteratorCache.h
-include/llvm/IR/ProfileSummary.h
-include/llvm/IR/Statepoint.h
-include/llvm/IR/SymbolTableListTraits.h
-include/llvm/IR/TrackingMDRef.h
-include/llvm/IR/Type.h
-include/llvm/IR/TypeBuilder.h
-include/llvm/IR/TypeFinder.h
-include/llvm/IR/Use.h
-include/llvm/IR/UseListOrder.h
-include/llvm/IR/User.h
-include/llvm/IR/Value.def
-include/llvm/IR/Value.h
-include/llvm/IR/ValueHandle.h
-include/llvm/IR/ValueMap.h
-include/llvm/IR/ValueSymbolTable.h
-include/llvm/IR/Verifier.h
-include/llvm/IRReader/IRReader.h
-include/llvm/InitializePasses.h
-include/llvm/LTO/Caching.h
-include/llvm/LTO/Config.h
-include/llvm/LTO/LTO.h
-include/llvm/LTO/LTOBackend.h
-include/llvm/LTO/legacy/LTOCodeGenerator.h
-include/llvm/LTO/legacy/LTOModule.h
-include/llvm/LTO/legacy/ThinLTOCodeGenerator.h
-include/llvm/LTO/legacy/UpdateCompilerUsed.h
-include/llvm/LibDriver/LibDriver.h
-include/llvm/LineEditor/LineEditor.h
-include/llvm/LinkAllIR.h
-include/llvm/LinkAllPasses.h
-include/llvm/Linker/IRMover.h
-include/llvm/Linker/Linker.h
-include/llvm/MC/ConstantPools.h
-include/llvm/MC/LaneBitmask.h
-include/llvm/MC/MCAsmBackend.h
-include/llvm/MC/MCAsmInfo.h
-include/llvm/MC/MCAsmInfoCOFF.h
-include/llvm/MC/MCAsmInfoDarwin.h
-include/llvm/MC/MCAsmInfoELF.h
-include/llvm/MC/MCAsmLayout.h
-include/llvm/MC/MCAssembler.h
-include/llvm/MC/MCCodeEmitter.h
-include/llvm/MC/MCCodeView.h
-include/llvm/MC/MCContext.h
-include/llvm/MC/MCDirectives.h
-include/llvm/MC/MCDisassembler/MCDisassembler.h
-include/llvm/MC/MCDisassembler/MCExternalSymbolizer.h
-include/llvm/MC/MCDisassembler/MCRelocationInfo.h
-include/llvm/MC/MCDisassembler/MCSymbolizer.h
-include/llvm/MC/MCDwarf.h
-include/llvm/MC/MCELFObjectWriter.h
-include/llvm/MC/MCELFStreamer.h
-include/llvm/MC/MCExpr.h
-include/llvm/MC/MCFixedLenDisassembler.h
-include/llvm/MC/MCFixup.h
-include/llvm/MC/MCFixupKindInfo.h
-include/llvm/MC/MCFragment.h
-include/llvm/MC/MCInst.h
-include/llvm/MC/MCInstBuilder.h
-include/llvm/MC/MCInstPrinter.h
-include/llvm/MC/MCInstrAnalysis.h
-include/llvm/MC/MCInstrDesc.h
-include/llvm/MC/MCInstrInfo.h
-include/llvm/MC/MCInstrItineraries.h
-include/llvm/MC/MCLabel.h
-include/llvm/MC/MCLinkerOptimizationHint.h
-include/llvm/MC/MCMachObjectWriter.h
-include/llvm/MC/MCObjectFileInfo.h
-include/llvm/MC/MCObjectStreamer.h
-include/llvm/MC/MCObjectWriter.h
-include/llvm/MC/MCParser/AsmCond.h
-include/llvm/MC/MCParser/AsmLexer.h
-include/llvm/MC/MCParser/MCAsmLexer.h
-include/llvm/MC/MCParser/MCAsmParser.h
-include/llvm/MC/MCParser/MCAsmParserExtension.h
-include/llvm/MC/MCParser/MCAsmParserUtils.h
-include/llvm/MC/MCParser/MCParsedAsmOperand.h
-include/llvm/MC/MCParser/MCTargetAsmParser.h
-include/llvm/MC/MCRegisterInfo.h
-include/llvm/MC/MCSchedule.h
-include/llvm/MC/MCSection.h
-include/llvm/MC/MCSectionCOFF.h
-include/llvm/MC/MCSectionELF.h
-include/llvm/MC/MCSectionMachO.h
-include/llvm/MC/MCStreamer.h
-include/llvm/MC/MCSubtargetInfo.h
-include/llvm/MC/MCSymbol.h
-include/llvm/MC/MCSymbolCOFF.h
-include/llvm/MC/MCSymbolELF.h
-include/llvm/MC/MCSymbolMachO.h
-include/llvm/MC/MCTargetOptions.h
-include/llvm/MC/MCTargetOptionsCommandFlags.h
-include/llvm/MC/MCValue.h
-include/llvm/MC/MCWin64EH.h
-include/llvm/MC/MCWinCOFFObjectWriter.h
-include/llvm/MC/MCWinCOFFStreamer.h
-include/llvm/MC/MCWinEH.h
-include/llvm/MC/MachineLocation.h
-include/llvm/MC/SectionKind.h
-include/llvm/MC/StringTableBuilder.h
-include/llvm/MC/SubtargetFeature.h
-include/llvm/Object/Archive.h
-include/llvm/Object/ArchiveWriter.h
-include/llvm/Object/Binary.h
-include/llvm/Object/COFF.h
-include/llvm/Object/COFFImportFile.h
-include/llvm/Object/ELF.h
-include/llvm/Object/ELFObjectFile.h
-include/llvm/Object/ELFTypes.h
-include/llvm/Object/Error.h
-include/llvm/Object/IRObjectFile.h
-include/llvm/Object/MachO.h
-include/llvm/Object/MachOUniversal.h
-include/llvm/Object/ModuleSummaryIndexObjectFile.h
-include/llvm/Object/ModuleSymbolTable.h
-include/llvm/Object/ObjectFile.h
-include/llvm/Object/RelocVisitor.h
-include/llvm/Object/StackMapParser.h
-include/llvm/Object/SymbolSize.h
-include/llvm/Object/SymbolicFile.h
-include/llvm/Object/Wasm.h
-include/llvm/ObjectYAML/COFFYAML.h
-include/llvm/ObjectYAML/DWARFYAML.h
-include/llvm/ObjectYAML/ELFYAML.h
-include/llvm/ObjectYAML/MachOYAML.h
-include/llvm/ObjectYAML/ObjectYAML.h
-include/llvm/ObjectYAML/YAML.h
-include/llvm/Option/Arg.h
-include/llvm/Option/ArgList.h
-include/llvm/Option/OptParser.td
-include/llvm/Option/OptSpecifier.h
-include/llvm/Option/OptTable.h
-include/llvm/Option/Option.h
-include/llvm/Pass.h
-include/llvm/PassAnalysisSupport.h
-include/llvm/PassInfo.h
-include/llvm/PassRegistry.h
-include/llvm/PassSupport.h
-include/llvm/Passes/PassBuilder.h
-include/llvm/ProfileData/Coverage/CoverageMapping.h
-include/llvm/ProfileData/Coverage/CoverageMappingReader.h
-include/llvm/ProfileData/Coverage/CoverageMappingWriter.h
-include/llvm/ProfileData/InstrProf.h
-include/llvm/ProfileData/InstrProfData.inc
-include/llvm/ProfileData/InstrProfReader.h
-include/llvm/ProfileData/InstrProfWriter.h
-include/llvm/ProfileData/ProfileCommon.h
-include/llvm/ProfileData/SampleProf.h
-include/llvm/ProfileData/SampleProfReader.h
-include/llvm/ProfileData/SampleProfWriter.h
-include/llvm/Support/AArch64TargetParser.def
-include/llvm/Support/ARMBuildAttributes.h
-include/llvm/Support/ARMEHABI.h
-include/llvm/Support/ARMTargetParser.def
-include/llvm/Support/ARMWinEH.h
-include/llvm/Support/AlignOf.h
-include/llvm/Support/Allocator.h
-include/llvm/Support/ArrayRecycler.h
-include/llvm/Support/Atomic.h
-include/llvm/Support/AtomicOrdering.h
-include/llvm/Support/BlockFrequency.h
-include/llvm/Support/BranchProbability.h
-include/llvm/Support/CBindingWrapping.h
-include/llvm/Support/COFF.h
-include/llvm/Support/COM.h
-include/llvm/Support/CachePruning.h
-include/llvm/Support/Capacity.h
-include/llvm/Support/Casting.h
-include/llvm/Support/Chrono.h
-include/llvm/Support/CodeGen.h
-include/llvm/Support/CodeGenCWrappers.h
-include/llvm/Support/CommandLine.h
-include/llvm/Support/Compiler.h
-include/llvm/Support/Compression.h
-include/llvm/Support/ConvertUTF.h
-include/llvm/Support/CrashRecoveryContext.h
-include/llvm/Support/DOTGraphTraits.h
-include/llvm/Support/DataExtractor.h
-include/llvm/Support/DataTypes.h
-include/llvm/Support/Debug.h
-include/llvm/Support/Dwarf.def
-include/llvm/Support/Dwarf.h
-include/llvm/Support/DynamicLibrary.h
-include/llvm/Support/ELF.h
-include/llvm/Support/ELFRelocs/AArch64.def
-include/llvm/Support/ELFRelocs/AMDGPU.def
-include/llvm/Support/ELFRelocs/ARM.def
-include/llvm/Support/ELFRelocs/AVR.def
-include/llvm/Support/ELFRelocs/BPF.def
-include/llvm/Support/ELFRelocs/Hexagon.def
-include/llvm/Support/ELFRelocs/Lanai.def
-include/llvm/Support/ELFRelocs/Mips.def
-include/llvm/Support/ELFRelocs/PowerPC.def
-include/llvm/Support/ELFRelocs/PowerPC64.def
-include/llvm/Support/ELFRelocs/RISCV.def
-include/llvm/Support/ELFRelocs/Sparc.def
-include/llvm/Support/ELFRelocs/SystemZ.def
-include/llvm/Support/ELFRelocs/WebAssembly.def
-include/llvm/Support/ELFRelocs/i386.def
-include/llvm/Support/ELFRelocs/x86_64.def
-include/llvm/Support/Endian.h
-include/llvm/Support/EndianStream.h
-include/llvm/Support/Errc.h
-include/llvm/Support/Errno.h
-include/llvm/Support/Error.h
-include/llvm/Support/ErrorHandling.h
-include/llvm/Support/ErrorOr.h
-include/llvm/Support/FileOutputBuffer.h
-include/llvm/Support/FileSystem.h
-include/llvm/Support/FileUtilities.h
-include/llvm/Support/Format.h
-include/llvm/Support/FormatAdapters.h
-include/llvm/Support/FormatCommon.h
-include/llvm/Support/FormatProviders.h
-include/llvm/Support/FormatVariadic.h
-include/llvm/Support/FormatVariadicDetails.h
-include/llvm/Support/FormattedStream.h
-include/llvm/Support/GCOV.h
-include/llvm/Support/GenericDomTree.h
-include/llvm/Support/GenericDomTreeConstruction.h
-include/llvm/Support/GraphWriter.h
-include/llvm/Support/Host.h
-include/llvm/Support/JamCRC.h
-include/llvm/Support/LEB128.h
-include/llvm/Support/LICENSE.TXT
-include/llvm/Support/LineIterator.h
-include/llvm/Support/Locale.h
-include/llvm/Support/LockFileManager.h
-include/llvm/Support/MD5.h
-include/llvm/Support/MachO.def
-include/llvm/Support/MachO.h
-include/llvm/Support/ManagedStatic.h
-include/llvm/Support/MathExtras.h
-include/llvm/Support/Memory.h
-include/llvm/Support/MemoryBuffer.h
-include/llvm/Support/MipsABIFlags.h
-include/llvm/Support/Mutex.h
-include/llvm/Support/MutexGuard.h
-include/llvm/Support/NativeFormatting.h
-include/llvm/Support/OnDiskHashTable.h
-include/llvm/Support/Options.h
-include/llvm/Support/Path.h
-include/llvm/Support/PluginLoader.h
-include/llvm/Support/PointerLikeTypeTraits.h
-include/llvm/Support/PrettyStackTrace.h
-include/llvm/Support/Printable.h
-include/llvm/Support/Process.h
-include/llvm/Support/Program.h
-include/llvm/Support/RWMutex.h
-include/llvm/Support/RandomNumberGenerator.h
-include/llvm/Support/Recycler.h
-include/llvm/Support/RecyclingAllocator.h
-include/llvm/Support/Regex.h
-include/llvm/Support/Registry.h
-include/llvm/Support/SHA1.h
-include/llvm/Support/SMLoc.h
-include/llvm/Support/SaveAndRestore.h
-include/llvm/Support/ScaledNumber.h
-include/llvm/Support/ScopedPrinter.h
-include/llvm/Support/Signals.h
-include/llvm/Support/Solaris.h
-include/llvm/Support/SourceMgr.h
-include/llvm/Support/SpecialCaseList.h
-include/llvm/Support/StringPool.h
-include/llvm/Support/StringSaver.h
-include/llvm/Support/SwapByteOrder.h
-include/llvm/Support/SystemUtils.h
-include/llvm/Support/TargetParser.h
-include/llvm/Support/TargetRegistry.h
-include/llvm/Support/TargetSelect.h
-include/llvm/Support/ThreadLocal.h
-include/llvm/Support/ThreadPool.h
-include/llvm/Support/Threading.h
-include/llvm/Support/Timer.h
-include/llvm/Support/ToolOutputFile.h
-include/llvm/Support/TrailingObjects.h
-include/llvm/Support/TrigramIndex.h
-include/llvm/Support/TypeName.h
-include/llvm/Support/Unicode.h
-include/llvm/Support/UnicodeCharRanges.h
-include/llvm/Support/UniqueLock.h
-include/llvm/Support/Valgrind.h
-include/llvm/Support/Wasm.h
-include/llvm/Support/Watchdog.h
-include/llvm/Support/Win64EH.h
-include/llvm/Support/WindowsError.h
-include/llvm/Support/YAMLParser.h
-include/llvm/Support/YAMLTraits.h
-include/llvm/Support/circular_raw_ostream.h
-include/llvm/Support/raw_os_ostream.h
-include/llvm/Support/raw_ostream.h
-include/llvm/Support/raw_sha1_ostream.h
-include/llvm/Support/thread.h
-include/llvm/Support/type_traits.h
-include/llvm/Support/xxhash.h
-include/llvm/TableGen/Error.h
-include/llvm/TableGen/Main.h
-include/llvm/TableGen/Record.h
-include/llvm/TableGen/SearchableTable.td
-include/llvm/TableGen/SetTheory.h
-include/llvm/TableGen/StringMatcher.h
-include/llvm/TableGen/StringToOffsetTable.h
-include/llvm/TableGen/TableGenBackend.h
-include/llvm/Target/CostTable.h
-include/llvm/Target/GenericOpcodes.td
-include/llvm/Target/Target.td
-include/llvm/Target/TargetCallingConv.h
-include/llvm/Target/TargetCallingConv.td
-include/llvm/Target/TargetFrameLowering.h
-include/llvm/Target/TargetInstrInfo.h
-include/llvm/Target/TargetIntrinsicInfo.h
-include/llvm/Target/TargetItinerary.td
-include/llvm/Target/TargetLowering.h
-include/llvm/Target/TargetLoweringObjectFile.h
-include/llvm/Target/TargetMachine.h
-include/llvm/Target/TargetOpcodes.def
-include/llvm/Target/TargetOpcodes.h
-include/llvm/Target/TargetOptions.h
-include/llvm/Target/TargetRegisterInfo.h
-include/llvm/Target/TargetSchedule.td
-include/llvm/Target/TargetSelectionDAG.td
-include/llvm/Target/TargetSubtargetInfo.h
-include/llvm/Transforms/Coroutines.h
-include/llvm/Transforms/GCOVProfiler.h
-include/llvm/Transforms/IPO.h
-include/llvm/Transforms/IPO/AlwaysInliner.h
-include/llvm/Transforms/IPO/ConstantMerge.h
-include/llvm/Transforms/IPO/CrossDSOCFI.h
-include/llvm/Transforms/IPO/DeadArgumentElimination.h
-include/llvm/Transforms/IPO/ElimAvailExtern.h
-include/llvm/Transforms/IPO/ForceFunctionAttrs.h
-include/llvm/Transforms/IPO/FunctionAttrs.h
-include/llvm/Transforms/IPO/FunctionImport.h
-include/llvm/Transforms/IPO/GlobalDCE.h
-include/llvm/Transforms/IPO/GlobalOpt.h
-include/llvm/Transforms/IPO/GlobalSplit.h
-include/llvm/Transforms/IPO/InferFunctionAttrs.h
-include/llvm/Transforms/IPO/InlinerPass.h
-include/llvm/Transforms/IPO/Internalize.h
-include/llvm/Transforms/IPO/LowerTypeTests.h
-include/llvm/Transforms/IPO/PartialInlining.h
-include/llvm/Transforms/IPO/PassManagerBuilder.h
-include/llvm/Transforms/IPO/SCCP.h
-include/llvm/Transforms/IPO/StripDeadPrototypes.h
-include/llvm/Transforms/IPO/WholeProgramDevirt.h
-include/llvm/Transforms/InstCombine/InstCombine.h
-include/llvm/Transforms/InstCombine/InstCombineWorklist.h
-include/llvm/Transforms/InstrProfiling.h
-include/llvm/Transforms/Instrumentation.h
-include/llvm/Transforms/ObjCARC.h
-include/llvm/Transforms/PGOInstrumentation.h
-include/llvm/Transforms/SampleProfile.h
-include/llvm/Transforms/Scalar.h
-include/llvm/Transforms/Scalar/ADCE.h
-include/llvm/Transforms/Scalar/AlignmentFromAssumptions.h
-include/llvm/Transforms/Scalar/BDCE.h
-include/llvm/Transforms/Scalar/ConstantHoisting.h
-include/llvm/Transforms/Scalar/CorrelatedValuePropagation.h
-include/llvm/Transforms/Scalar/DCE.h
-include/llvm/Transforms/Scalar/DeadStoreElimination.h
-include/llvm/Transforms/Scalar/EarlyCSE.h
-include/llvm/Transforms/Scalar/Float2Int.h
-include/llvm/Transforms/Scalar/GVN.h
-include/llvm/Transforms/Scalar/GuardWidening.h
-include/llvm/Transforms/Scalar/IndVarSimplify.h
-include/llvm/Transforms/Scalar/JumpThreading.h
-include/llvm/Transforms/Scalar/LICM.h
-include/llvm/Transforms/Scalar/LoopDataPrefetch.h
-include/llvm/Transforms/Scalar/LoopDeletion.h
-include/llvm/Transforms/Scalar/LoopDistribute.h
-include/llvm/Transforms/Scalar/LoopIdiomRecognize.h
-include/llvm/Transforms/Scalar/LoopInstSimplify.h
-include/llvm/Transforms/Scalar/LoopRotation.h
-include/llvm/Transforms/Scalar/LoopSimplifyCFG.h
-include/llvm/Transforms/Scalar/LoopStrengthReduce.h
-include/llvm/Transforms/Scalar/LoopUnrollPass.h
-include/llvm/Transforms/Scalar/LowerAtomic.h
-include/llvm/Transforms/Scalar/LowerExpectIntrinsic.h
-include/llvm/Transforms/Scalar/LowerGuardIntrinsic.h
-include/llvm/Transforms/Scalar/MemCpyOptimizer.h
-include/llvm/Transforms/Scalar/MergedLoadStoreMotion.h
-include/llvm/Transforms/Scalar/NaryReassociate.h
-include/llvm/Transforms/Scalar/PartiallyInlineLibCalls.h
-include/llvm/Transforms/Scalar/Reassociate.h
-include/llvm/Transforms/Scalar/SCCP.h
-include/llvm/Transforms/Scalar/SROA.h
-include/llvm/Transforms/Scalar/SimplifyCFG.h
-include/llvm/Transforms/Scalar/Sink.h
-include/llvm/Transforms/Scalar/SpeculativeExecution.h
-include/llvm/Transforms/Scalar/TailRecursionElimination.h
-include/llvm/Transforms/Utils/ASanStackFrameLayout.h
-include/llvm/Transforms/Utils/AddDiscriminators.h
-include/llvm/Transforms/Utils/BasicBlockUtils.h
-include/llvm/Transforms/Utils/BreakCriticalEdges.h
-include/llvm/Transforms/Utils/BuildLibCalls.h
-include/llvm/Transforms/Utils/BypassSlowDivision.h
-include/llvm/Transforms/Utils/Cloning.h
-include/llvm/Transforms/Utils/CmpInstAnalysis.h
-include/llvm/Transforms/Utils/CodeExtractor.h
-include/llvm/Transforms/Utils/CtorUtils.h
-include/llvm/Transforms/Utils/EscapeEnumerator.h
-include/llvm/Transforms/Utils/Evaluator.h
-include/llvm/Transforms/Utils/FunctionComparator.h
-include/llvm/Transforms/Utils/FunctionImportUtils.h
-include/llvm/Transforms/Utils/GlobalStatus.h
-include/llvm/Transforms/Utils/ImportedFunctionsInliningStatistics.h
-include/llvm/Transforms/Utils/IntegerDivision.h
-include/llvm/Transforms/Utils/LCSSA.h
-include/llvm/Transforms/Utils/LibCallsShrinkWrap.h
-include/llvm/Transforms/Utils/Local.h
-include/llvm/Transforms/Utils/LoopSimplify.h
-include/llvm/Transforms/Utils/LoopUtils.h
-include/llvm/Transforms/Utils/LoopVersioning.h
-include/llvm/Transforms/Utils/LowerInvoke.h
-include/llvm/Transforms/Utils/Mem2Reg.h
-include/llvm/Transforms/Utils/MemorySSA.h
-include/llvm/Transforms/Utils/ModuleUtils.h
-include/llvm/Transforms/Utils/NameAnonGlobals.h
-include/llvm/Transforms/Utils/PromoteMemToReg.h
-include/llvm/Transforms/Utils/SSAUpdater.h
-include/llvm/Transforms/Utils/SSAUpdaterImpl.h
-include/llvm/Transforms/Utils/SanitizerStats.h
-include/llvm/Transforms/Utils/SimplifyIndVar.h
-include/llvm/Transforms/Utils/SimplifyInstructions.h
-include/llvm/Transforms/Utils/SimplifyLibCalls.h
-include/llvm/Transforms/Utils/SplitModule.h
-include/llvm/Transforms/Utils/SymbolRewriter.h
-include/llvm/Transforms/Utils/UnifyFunctionExitNodes.h
-include/llvm/Transforms/Utils/UnrollLoop.h
-include/llvm/Transforms/Utils/ValueMapper.h
-include/llvm/Transforms/Vectorize.h
-include/llvm/Transforms/Vectorize/LoopVectorize.h
-include/llvm/Transforms/Vectorize/SLPVectorizer.h
-lib/BugpointPasses.${SOEXT}
-lib/LLVMHello.${SOEXT}
-lib/cmake/llvm/AddLLVM.cmake
-lib/cmake/llvm/AddLLVMDefinitions.cmake
-lib/cmake/llvm/AddOCaml.cmake
-lib/cmake/llvm/AddSphinxTarget.cmake
-lib/cmake/llvm/CheckAtomic.cmake
-lib/cmake/llvm/CheckCompilerVersion.cmake
-lib/cmake/llvm/ChooseMSVCCRT.cmake
-lib/cmake/llvm/CrossCompile.cmake
-lib/cmake/llvm/DetermineGCCCompatible.cmake
-lib/cmake/llvm/FindOCaml.cmake
-lib/cmake/llvm/FindSphinx.cmake
-lib/cmake/llvm/GenerateVersionFromCVS.cmake
-lib/cmake/llvm/GetSVN.cmake
-lib/cmake/llvm/HandleLLVMOptions.cmake
-lib/cmake/llvm/HandleLLVMStdlib.cmake
-lib/cmake/llvm/LLVM-Config.cmake
-lib/cmake/llvm/LLVMConfig.cmake
-lib/cmake/llvm/LLVMConfigVersion.cmake
-lib/cmake/llvm/LLVMExports-release.cmake
-lib/cmake/llvm/LLVMExports.cmake
-lib/cmake/llvm/LLVMExternalProjectUtils.cmake
-lib/cmake/llvm/LLVMInstallSymlink.cmake
-lib/cmake/llvm/LLVMProcessSources.cmake
-lib/cmake/llvm/TableGen.cmake
-lib/cmake/llvm/VersionFromVCS.cmake
-${PLIST.AArch64}lib/libLLVMAArch64AsmParser.a
-${PLIST.AArch64}lib/libLLVMAArch64AsmPrinter.a
-${PLIST.AArch64}lib/libLLVMAArch64CodeGen.a
-${PLIST.AArch64}lib/libLLVMAArch64Desc.a
-${PLIST.AArch64}lib/libLLVMAArch64Disassembler.a
-${PLIST.AArch64}lib/libLLVMAArch64Info.a
-${PLIST.AArch64}lib/libLLVMAArch64Utils.a
-${PLIST.AMDGPU}lib/libLLVMAMDGPUAsmParser.a
-${PLIST.AMDGPU}lib/libLLVMAMDGPUAsmPrinter.a
-${PLIST.AMDGPU}lib/libLLVMAMDGPUCodeGen.a
-${PLIST.AMDGPU}lib/libLLVMAMDGPUDesc.a
-${PLIST.AMDGPU}lib/libLLVMAMDGPUDisassembler.a
-${PLIST.AMDGPU}lib/libLLVMAMDGPUInfo.a
-${PLIST.AMDGPU}lib/libLLVMAMDGPUUtils.a
-${PLIST.ARM}lib/libLLVMARMAsmParser.a
-${PLIST.ARM}lib/libLLVMARMAsmPrinter.a
-${PLIST.ARM}lib/libLLVMARMCodeGen.a
-${PLIST.ARM}lib/libLLVMARMDesc.a
-${PLIST.ARM}lib/libLLVMARMDisassembler.a
-${PLIST.ARM}lib/libLLVMARMInfo.a
-lib/libLLVMAnalysis.a
-lib/libLLVMAsmParser.a
-lib/libLLVMAsmPrinter.a
-${PLIST.BPF}lib/libLLVMBPFAsmPrinter.a
-${PLIST.BPF}lib/libLLVMBPFCodeGen.a
-${PLIST.BPF}lib/libLLVMBPFDesc.a
-${PLIST.BPF}lib/libLLVMBPFDisassembler.a
-${PLIST.BPF}lib/libLLVMBPFInfo.a
-lib/libLLVMBitReader.a
-lib/libLLVMBitWriter.a
-lib/libLLVMCodeGen.a
-lib/libLLVMCore.a
-lib/libLLVMCoroutines.a
-lib/libLLVMCoverage.a
-lib/libLLVMDebugInfoCodeView.a
-lib/libLLVMDebugInfoDWARF.a
-lib/libLLVMDebugInfoMSF.a
-lib/libLLVMDebugInfoPDB.a
-lib/libLLVMDemangle.a
-lib/libLLVMExecutionEngine.a
-lib/libLLVMGlobalISel.a
-${PLIST.Hexagon}lib/libLLVMHexagonAsmParser.a
-${PLIST.Hexagon}lib/libLLVMHexagonCodeGen.a
-${PLIST.Hexagon}lib/libLLVMHexagonDesc.a
-${PLIST.Hexagon}lib/libLLVMHexagonDisassembler.a
-${PLIST.Hexagon}lib/libLLVMHexagonInfo.a
-lib/libLLVMIRReader.a
-lib/libLLVMInstCombine.a
-lib/libLLVMInstrumentation.a
-lib/libLLVMInterpreter.a
-lib/libLLVMLTO.a
-lib/libLLVMLibDriver.a
-lib/libLLVMLineEditor.a
-lib/libLLVMLinker.a
-lib/libLLVMMC.a
-lib/libLLVMMCDisassembler.a
-lib/libLLVMMCJIT.a
-lib/libLLVMMCParser.a
-lib/libLLVMMIRParser.a
-${PLIST.MSP430}lib/libLLVMMSP430AsmPrinter.a
-${PLIST.MSP430}lib/libLLVMMSP430CodeGen.a
-${PLIST.MSP430}lib/libLLVMMSP430Desc.a
-${PLIST.MSP430}lib/libLLVMMSP430Info.a
-${PLIST.Mips}lib/libLLVMMipsAsmParser.a
-${PLIST.Mips}lib/libLLVMMipsAsmPrinter.a
-${PLIST.Mips}lib/libLLVMMipsCodeGen.a
-${PLIST.Mips}lib/libLLVMMipsDesc.a
-${PLIST.Mips}lib/libLLVMMipsDisassembler.a
-${PLIST.Mips}lib/libLLVMMipsInfo.a
-${PLIST.NVPTX}lib/libLLVMNVPTXAsmPrinter.a
-${PLIST.NVPTX}lib/libLLVMNVPTXCodeGen.a
-${PLIST.NVPTX}lib/libLLVMNVPTXDesc.a
-${PLIST.NVPTX}lib/libLLVMNVPTXInfo.a
-lib/libLLVMObjCARCOpts.a
-lib/libLLVMObject.a
-lib/libLLVMObjectYAML.a
-lib/libLLVMOption.a
-lib/libLLVMOrcJIT.a
-lib/libLLVMPasses.a
-${PLIST.PowerPC}lib/libLLVMPowerPCAsmParser.a
-${PLIST.PowerPC}lib/libLLVMPowerPCAsmPrinter.a
-${PLIST.PowerPC}lib/libLLVMPowerPCCodeGen.a
-${PLIST.PowerPC}lib/libLLVMPowerPCDesc.a
-${PLIST.PowerPC}lib/libLLVMPowerPCDisassembler.a
-${PLIST.PowerPC}lib/libLLVMPowerPCInfo.a
-lib/libLLVMProfileData.a
-lib/libLLVMRuntimeDyld.a
-lib/libLLVMScalarOpts.a
-lib/libLLVMSelectionDAG.a
-${PLIST.Sparc}lib/libLLVMSparcAsmParser.a
-${PLIST.Sparc}lib/libLLVMSparcAsmPrinter.a
-${PLIST.Sparc}lib/libLLVMSparcCodeGen.a
-${PLIST.Sparc}lib/libLLVMSparcDesc.a
-${PLIST.Sparc}lib/libLLVMSparcDisassembler.a
-${PLIST.Sparc}lib/libLLVMSparcInfo.a
-lib/libLLVMSupport.a
-lib/libLLVMSymbolize.a
-${PLIST.SystemZ}lib/libLLVMSystemZAsmParser.a
-${PLIST.SystemZ}lib/libLLVMSystemZAsmPrinter.a
-${PLIST.SystemZ}lib/libLLVMSystemZCodeGen.a
-${PLIST.SystemZ}lib/libLLVMSystemZDesc.a
-${PLIST.SystemZ}lib/libLLVMSystemZDisassembler.a
-${PLIST.SystemZ}lib/libLLVMSystemZInfo.a
-lib/libLLVMTableGen.a
-lib/libLLVMTarget.a
-lib/libLLVMTransformUtils.a
-lib/libLLVMVectorize.a
-${PLIST.X86}lib/libLLVMX86AsmParser.a
-${PLIST.X86}lib/libLLVMX86AsmPrinter.a
-${PLIST.X86}lib/libLLVMX86CodeGen.a
-${PLIST.X86}lib/libLLVMX86Desc.a
-${PLIST.X86}lib/libLLVMX86Disassembler.a
-${PLIST.X86}lib/libLLVMX86Info.a
-${PLIST.X86}lib/libLLVMX86Utils.a
-${PLIST.XCore}lib/libLLVMXCoreAsmPrinter.a
-${PLIST.XCore}lib/libLLVMXCoreCodeGen.a
-${PLIST.XCore}lib/libLLVMXCoreDesc.a
-${PLIST.XCore}lib/libLLVMXCoreDisassembler.a
-${PLIST.XCore}lib/libLLVMXCoreInfo.a
-lib/libLLVMipo.a
-lib/libLTO.${SOEXT}
-lib/libLTO.${SOEXT}.40
-lib/libLTO.${SOEXT}.40.0svn
diff --git a/llvm-git-netbsd/TODO b/llvm-git-netbsd/TODO
deleted file mode 100644
index 81c1d27..0000000
--- a/llvm-git-netbsd/TODO
+++ /dev/null
@@ -1,5 +0,0 @@
-warning: /tmp/pkgsrc-tmp/wip/lldb-git/work/.destdir/usr/pkg/share/clang/clang-format-bbedit.applescript: executable bit is set on non-executable file.
-warning: /tmp/pkgsrc-tmp/wip/lldb-git/work/.destdir/usr/pkg/share/clang/clang-format-sublime.py: executable bit is set on non-executable file.
-warning: /tmp/pkgsrc-tmp/wip/lldb-git/work/.destdir/usr/pkg/share/clang/clang-format.el: executable bit is set on non-executable file.
-warning: /tmp/pkgsrc-tmp/wip/lldb-git/work/.destdir/usr/pkg/share/clang/clang-format.py: executable bit is set on non-executable file.
-warning: /tmp/pkgsrc-tmp/wip/lldb-git/work/.destdir/usr/pkg/share/man/man1/scan-build.1: executable bit is set on non-executable file.
diff --git a/llvm-git-netbsd/buildlink3.mk b/llvm-git-netbsd/buildlink3.mk
deleted file mode 100644
index d9550c4..0000000
--- a/llvm-git-netbsd/buildlink3.mk
+++ /dev/null
@@ -1,16 +0,0 @@
-# $NetBSD$
-
-BUILDLINK_TREE+=	llvm
-
-.if !defined(LLVM_BUILDLINK3_MK)
-LLVM_BUILDLINK3_MK:=
-
-BUILDLINK_API_DEPENDS.llvm+=	llvm>=3.9.0
-BUILDLINK_PKGSRCDIR.llvm?=	../../wip/llvm-git
-
-LLVM_CONFIG_PATH?=		${BUILDLINK_PREFIX.llvm}/bin/llvm-config
-
-.include "../../devel/zlib/buildlink3.mk"
-.endif	# LLVM_BUILDLINK3_MK
-
-BUILDLINK_TREE+=	-llvm
diff --git a/llvm-git-netbsd/distinfo b/llvm-git-netbsd/distinfo
deleted file mode 100644
index 7931384..0000000
--- a/llvm-git-netbsd/distinfo
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD: distinfo,v 1.35 2015/09/11 01:21:57 tnn Exp $
-
-SHA1 (cfe-3.6.2.src.tar.xz) = 7ba809c9c17819a16b668640a642ed134d7052f0
-RMD160 (cfe-3.6.2.src.tar.xz) = 10d913b4d5317f8c2520e5fc6117df30937317a8
-Size (cfe-3.6.2.src.tar.xz) = 8617576 bytes
-SHA1 (compiler-rt-3.6.2.src.tar.xz) = c6c52d2923a60f1a2ca2f22fea1770fd2e25728d
-RMD160 (compiler-rt-3.6.2.src.tar.xz) = 9b68a32d49d4bef4603d550934192f39fea42895
-Size (compiler-rt-3.6.2.src.tar.xz) = 1128080 bytes
-SHA1 (libcxx-3.6.2.src.tar.xz) = 6c5aee9f05ecf17d1e3ecb1add34a33a5a904469
-RMD160 (libcxx-3.6.2.src.tar.xz) = 42b8832d01d4e6b553babc93cb5dbd4ce2bb1931
-Size (libcxx-3.6.2.src.tar.xz) = 944020 bytes
-SHA1 (llvm-3.6.2.src.tar.xz) = 7a00257eb2bc9431e4c77c3a36b033072c54bc7e
-RMD160 (llvm-3.6.2.src.tar.xz) = 521cbc5fe2925ea3c6e90c7a31f752a04045c972
-Size (llvm-3.6.2.src.tar.xz) = 12802380 bytes
diff --git a/llvm-git-netbsd/options.mk b/llvm-git-netbsd/options.mk
deleted file mode 100644
index bdb11ec..0000000
--- a/llvm-git-netbsd/options.mk
+++ /dev/null
@@ -1,38 +0,0 @@
-# $NetBSD$
-
-PKG_OPTIONS_VAR=	PKG_OPTIONS.llvm
-
-LLVM_TARGETS=	AArch64 AMDGPU ARM BPF Hexagon MSP430 Mips NVPTX PowerPC Sparc SystemZ X86 XCore
-
-.for tgt in ${LLVM_TARGETS}
-PLIST_VARS+=			${tgt}
-PKG_SUPPORTED_OPTIONS+=		llvm-target-${tgt:tl}
-.endfor
-
-# Probably safe to assume that only x86 users are interested in
-# cross-compilation for now. This saves some build time for everyone else.
-.if !empty(MACHINE_ARCH:Msparc*)
-PKG_SUGGESTED_OPTIONS+=		llvm-target-sparc
-.elif !empty(MACHINE_ARCH:Mpowerpc*)
-PKG_SUGGESTED_OPTIONS+=		llvm-target-powerpc
-.elif !empty(MACHINE_ARCH:Mearm*)
-PKG_SUGGESTED_OPTIONS+=		llvm-target-arm
-.elif !empty(MACHINE_ARCH:M*mips*)
-PKG_SUGGESTED_OPTIONS+=		llvm-target-mips
-.else
-# X86 and everyone else get all targets by default.
-.  for tgt in ${LLVM_TARGETS}
-PKG_SUGGESTED_OPTIONS+=		llvm-target-${tgt:tl}
-.  endfor
-.endif
-
-.include "../../mk/bsd.options.mk"
-
-.for tgt in ${LLVM_TARGETS}
-.  if !empty(PKG_OPTIONS:Mllvm-target-${tgt:tl})
-PLIST.${tgt}=		yes
-LLVM_TARGETS_TO_BUILD+=	${tgt}
-.  endif
-.endfor
-
-CMAKE_ARGS+=	-DLLVM_TARGETS_TO_BUILD="${LLVM_TARGETS_TO_BUILD:ts;}"
diff --git a/llvm-netbsd/DESCR b/llvm-netbsd/DESCR
new file mode 100644
index 0000000..9bf02c2
--- /dev/null
+++ b/llvm-netbsd/DESCR
@@ -0,0 +1,22 @@
+Low Level Virtual Machine (LLVM) is:
+
+A compilation strategy designed to enable effective program optimization across
+the entire lifetime of a program. LLVM supports effective optimization at
+compile time, link-time (particularly interprocedural), run-time and offline
+(i.e., after software is installed), while remaining transparent to developers
+and maintaining compatibility with existing build scripts.
+
+A virtual instruction set - LLVM is a low-level object code representation that
+uses simple RISC-like instructions, but provides rich, language-independent,
+type information and dataflow (SSA) information about operands. This combination
+enables sophisticated transformations on object code, while remaining
+light-weight enough to be attached to the executable. This combination is key to
+allowing link-time, run-time, and offline transformations.
+
+A compiler infrastructure - LLVM is also a collection of source code that
+implements the language and compilation strategy. The primary components of the
+LLVM infrastructure are a GCC-based C & C++ front-end, a link-time optimization
+framework with a growing set of global and interprocedural analyses and
+transformations, static back-ends for the X86, X86-64, PowerPC 32/64, ARM,
+Thumb, IA-64, Alpha and SPARC architectures, a back-end which emits portable C
+code, and a Just-In-Time compiler for X86, X86-64, PowerPC 32/64 processors.
diff --git a/llvm-netbsd/Makefile b/llvm-netbsd/Makefile
new file mode 100644
index 0000000..fb84ad7
--- /dev/null
+++ b/llvm-netbsd/Makefile
@@ -0,0 +1,84 @@
+# $NetBSD: Makefile.common,v 1.7 2015/07/20 05:49:53 adam Exp $
+
+PKGNAME=	llvm-4.0.0
+CATEGORIES=	lang devel
+
+SVN_REPOSITORIES=	llvm
+SVN_REPO.llvm=		http://llvm.org/svn/llvm-project/llvm/trunk
+SVN_REVISION.llvm=	289997
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	http://llvm.org/
+COMMENT=	Low Level Virtual Machine compiler infrastructure
+LICENSE=	modified-bsd
+
+USE_LANGUAGES=		c c++
+USE_CMAKE=		yes
+GCC_REQD+=		4.8
+PYTHON_FOR_BUILD_ONLY=	yes
+
+WRKSRC=			${WRKDIR}/${PKGBASE}
+CONFIGURE_DIRS=		${WRKDIR}/build
+CMAKE_ARG_PATH=		${WRKSRC}
+
+CMAKE_ARGS+=	-DCMAKE_BUILD_TYPE=Release
+CMAKE_ARGS+=	-DCMAKE_C_COMPILER=${CC:Q}
+CMAKE_ARGS+=	-DCMAKE_CXX_COMPILER=${CXX:Q}
+CMAKE_ARGS+=	-DLLVM_INSTALL_UTILS=ON
+
+CHECK_PORTABILITY_SKIP=	utils/buildit/build_llvm
+
+# XXX perl is not added as a tool as it does not seem to be required
+REPLACE_PERL+=		utils/*.pl
+REPLACE_PERL+=		utils/codegen-diff
+
+REPLACE_PYTHON+=	*.py
+REPLACE_PYTHON+=	*/*.py
+REPLACE_PYTHON+=	*/*/*.py
+REPLACE_PYTHON+=	*/*/*/*.py
+REPLACE_PYTHON+=	*/*/*/*/*.py
+REPLACE_PYTHON+=	utils/Misc/zkill
+REPLACE_PYTHON+=	utils/bisect
+REPLACE_PYTHON+=	utils/clang-parse-diagnostics-file
+REPLACE_PYTHON+=	utils/git/find-rev
+REPLACE_PYTHON+=	utils/lit/tests/Inputs/googletest-format/DummySubDir/OneTest
+REPLACE_PYTHON+=	utils/llvm-build/llvm-build
+REPLACE_PYTHON+=	utils/llvm-compilers-check
+REPLACE_PYTHON+=	utils/llvm-lit/llvm-lit.in
+
+TEST_TARGET=		check
+TEST_ENV+=		LD_LIBRARY_PATH=${WRKDIR}/build/lib
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${_OPSYS_SHLIB_TYPE} == "dylib"
+SOEXT=		dylib
+.else
+SOEXT=		so
+.endif
+PLIST_SUBST+=	SOEXT=${SOEXT}
+
+.if ${OPSYS} == "Darwin"
+.PHONY: fix-darwin-install-name
+post-install: fix-darwin-install-name
+fix-darwin-install-name:
+.  for lib in BugpointPasses LLVMHello libLTO
+	install_name_tool -id ${PREFIX}/lib/${lib}.${SOEXT}	\
+		${DESTDIR}${PREFIX}/lib/${lib}.${SOEXT}
+.  endfor
+.endif
+
+.include "options.mk"
+
+# replacing config.guess is required even for cmake.
+# It is used to detect correct LLVM_HOST_TRIPLE, e.g. for NetBSD/evbarm.
+post-extract:
+	${RUN} mkdir -p ${WRKDIR}/build
+.for f in config.guess config.sub
+	cp ../../mk/gnu-config/${f} ${WRKSRC}/cmake/${f}
+.endfor
+
+.include "../../wip/mk/svn-package.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../lang/python/tool.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/llvm-netbsd/PLIST b/llvm-netbsd/PLIST
new file mode 100644
index 0000000..3fbd022
--- /dev/null
+++ b/llvm-netbsd/PLIST
@@ -0,0 +1,1217 @@
+@comment $NetBSD$
+bin/FileCheck
+bin/bugpoint
+bin/count
+bin/llc
+bin/lli
+bin/lli-child-target
+bin/llvm-PerfectShuffle
+bin/llvm-ar
+bin/llvm-as
+bin/llvm-bcanalyzer
+bin/llvm-c-test
+bin/llvm-cat
+bin/llvm-config
+bin/llvm-cov
+bin/llvm-cxxdump
+bin/llvm-cxxfilt
+bin/llvm-diff
+bin/llvm-dis
+bin/llvm-dsymutil
+bin/llvm-dwarfdump
+bin/llvm-dwp
+bin/llvm-extract
+bin/llvm-lib
+bin/llvm-link
+bin/llvm-lto
+bin/llvm-lto2
+bin/llvm-mc
+bin/llvm-mcmarkup
+bin/llvm-modextract
+bin/llvm-nm
+bin/llvm-objdump
+bin/llvm-opt-report
+bin/llvm-pdbdump
+bin/llvm-profdata
+bin/llvm-ranlib
+bin/llvm-readobj
+bin/llvm-rtdyld
+bin/llvm-size
+bin/llvm-split
+bin/llvm-stress
+bin/llvm-strings
+bin/llvm-symbolizer
+bin/llvm-tblgen
+bin/llvm-xray
+bin/not
+bin/obj2yaml
+bin/opt
+bin/sancov
+bin/sanstats
+bin/verify-uselistorder
+bin/yaml-bench
+bin/yaml2obj
+include/llvm-c/Analysis.h
+include/llvm-c/BitReader.h
+include/llvm-c/BitWriter.h
+include/llvm-c/Core.h
+include/llvm-c/Disassembler.h
+include/llvm-c/ErrorHandling.h
+include/llvm-c/ExecutionEngine.h
+include/llvm-c/IRReader.h
+include/llvm-c/Initialization.h
+include/llvm-c/LinkTimeOptimizer.h
+include/llvm-c/Linker.h
+include/llvm-c/Object.h
+include/llvm-c/OrcBindings.h
+include/llvm-c/Support.h
+include/llvm-c/Target.h
+include/llvm-c/TargetMachine.h
+include/llvm-c/Transforms/IPO.h
+include/llvm-c/Transforms/PassManagerBuilder.h
+include/llvm-c/Transforms/Scalar.h
+include/llvm-c/Transforms/Vectorize.h
+include/llvm-c/Types.h
+include/llvm-c/lto.h
+include/llvm/ADT/APFloat.h
+include/llvm/ADT/APInt.h
+include/llvm/ADT/APSInt.h
+include/llvm/ADT/AllocatorList.h
+include/llvm/ADT/ArrayRef.h
+include/llvm/ADT/BitVector.h
+include/llvm/ADT/BitmaskEnum.h
+include/llvm/ADT/CachedHashString.h
+include/llvm/ADT/DAGDeltaAlgorithm.h
+include/llvm/ADT/DeltaAlgorithm.h
+include/llvm/ADT/DenseMap.h
+include/llvm/ADT/DenseMapInfo.h
+include/llvm/ADT/DenseSet.h
+include/llvm/ADT/DepthFirstIterator.h
+include/llvm/ADT/EpochTracker.h
+include/llvm/ADT/EquivalenceClasses.h
+include/llvm/ADT/FoldingSet.h
+include/llvm/ADT/GraphTraits.h
+include/llvm/ADT/Hashing.h
+include/llvm/ADT/ImmutableList.h
+include/llvm/ADT/ImmutableMap.h
+include/llvm/ADT/ImmutableSet.h
+include/llvm/ADT/IndexedMap.h
+include/llvm/ADT/IntEqClasses.h
+include/llvm/ADT/IntervalMap.h
+include/llvm/ADT/IntrusiveRefCntPtr.h
+include/llvm/ADT/MapVector.h
+include/llvm/ADT/None.h
+include/llvm/ADT/Optional.h
+include/llvm/ADT/PackedVector.h
+include/llvm/ADT/PointerEmbeddedInt.h
+include/llvm/ADT/PointerIntPair.h
+include/llvm/ADT/PointerSumType.h
+include/llvm/ADT/PointerUnion.h
+include/llvm/ADT/PostOrderIterator.h
+include/llvm/ADT/PriorityQueue.h
+include/llvm/ADT/PriorityWorklist.h
+include/llvm/ADT/SCCIterator.h
+include/llvm/ADT/STLExtras.h
+include/llvm/ADT/ScopeExit.h
+include/llvm/ADT/ScopedHashTable.h
+include/llvm/ADT/Sequence.h
+include/llvm/ADT/SetOperations.h
+include/llvm/ADT/SetVector.h
+include/llvm/ADT/SmallBitVector.h
+include/llvm/ADT/SmallPtrSet.h
+include/llvm/ADT/SmallSet.h
+include/llvm/ADT/SmallString.h
+include/llvm/ADT/SmallVector.h
+include/llvm/ADT/SparseBitVector.h
+include/llvm/ADT/SparseMultiSet.h
+include/llvm/ADT/SparseSet.h
+include/llvm/ADT/Statistic.h
+include/llvm/ADT/StringExtras.h
+include/llvm/ADT/StringMap.h
+include/llvm/ADT/StringRef.h
+include/llvm/ADT/StringSet.h
+include/llvm/ADT/StringSwitch.h
+include/llvm/ADT/TinyPtrVector.h
+include/llvm/ADT/Triple.h
+include/llvm/ADT/Twine.h
+include/llvm/ADT/UniqueVector.h
+include/llvm/ADT/VariadicFunction.h
+include/llvm/ADT/edit_distance.h
+include/llvm/ADT/ilist.h
+include/llvm/ADT/ilist_base.h
+include/llvm/ADT/ilist_iterator.h
+include/llvm/ADT/ilist_node.h
+include/llvm/ADT/ilist_node_base.h
+include/llvm/ADT/ilist_node_options.h
+include/llvm/ADT/iterator.h
+include/llvm/ADT/iterator_range.h
+include/llvm/ADT/simple_ilist.h
+include/llvm/Analysis/AliasAnalysis.h
+include/llvm/Analysis/AliasAnalysisEvaluator.h
+include/llvm/Analysis/AliasSetTracker.h
+include/llvm/Analysis/BasicAliasAnalysis.h
+include/llvm/Analysis/BlockFrequencyInfo.h
+include/llvm/Analysis/BlockFrequencyInfoImpl.h
+include/llvm/Analysis/BranchProbabilityInfo.h
+include/llvm/Analysis/CFG.h
+include/llvm/Analysis/CFGPrinter.h
+include/llvm/Analysis/CFLAndersAliasAnalysis.h
+include/llvm/Analysis/CFLSteensAliasAnalysis.h
+include/llvm/Analysis/CGSCCPassManager.h
+include/llvm/Analysis/CallGraph.h
+include/llvm/Analysis/CallGraphSCCPass.h
+include/llvm/Analysis/CallPrinter.h
+include/llvm/Analysis/CaptureTracking.h
+include/llvm/Analysis/CodeMetrics.h
+include/llvm/Analysis/ConstantFolding.h
+include/llvm/Analysis/DOTGraphTraitsPass.h
+include/llvm/Analysis/DemandedBits.h
+include/llvm/Analysis/DependenceAnalysis.h
+include/llvm/Analysis/DivergenceAnalysis.h
+include/llvm/Analysis/DomPrinter.h
+include/llvm/Analysis/DominanceFrontier.h
+include/llvm/Analysis/DominanceFrontierImpl.h
+include/llvm/Analysis/EHPersonalities.h
+include/llvm/Analysis/GlobalsModRef.h
+include/llvm/Analysis/IVUsers.h
+include/llvm/Analysis/IndirectCallPromotionAnalysis.h
+include/llvm/Analysis/IndirectCallSiteVisitor.h
+include/llvm/Analysis/InlineCost.h
+include/llvm/Analysis/InstructionSimplify.h
+include/llvm/Analysis/Interval.h
+include/llvm/Analysis/IntervalIterator.h
+include/llvm/Analysis/IntervalPartition.h
+include/llvm/Analysis/IteratedDominanceFrontier.h
+include/llvm/Analysis/LazyBlockFrequencyInfo.h
+include/llvm/Analysis/LazyBranchProbabilityInfo.h
+include/llvm/Analysis/LazyCallGraph.h
+include/llvm/Analysis/LazyValueInfo.h
+include/llvm/Analysis/Lint.h
+include/llvm/Analysis/Loads.h
+include/llvm/Analysis/LoopAccessAnalysis.h
+include/llvm/Analysis/LoopInfo.h
+include/llvm/Analysis/LoopInfoImpl.h
+include/llvm/Analysis/LoopIterator.h
+include/llvm/Analysis/LoopPass.h
+include/llvm/Analysis/LoopPassManager.h
+include/llvm/Analysis/LoopUnrollAnalyzer.h
+include/llvm/Analysis/MemoryBuiltins.h
+include/llvm/Analysis/MemoryDependenceAnalysis.h
+include/llvm/Analysis/MemoryLocation.h
+include/llvm/Analysis/ModuleSummaryAnalysis.h
+include/llvm/Analysis/ObjCARCAliasAnalysis.h
+include/llvm/Analysis/ObjCARCAnalysisUtils.h
+include/llvm/Analysis/ObjCARCInstKind.h
+include/llvm/Analysis/OptimizationDiagnosticInfo.h
+include/llvm/Analysis/OrderedBasicBlock.h
+include/llvm/Analysis/PHITransAddr.h
+include/llvm/Analysis/Passes.h
+include/llvm/Analysis/PostDominators.h
+include/llvm/Analysis/ProfileSummaryInfo.h
+include/llvm/Analysis/PtrUseVisitor.h
+include/llvm/Analysis/RegionInfo.h
+include/llvm/Analysis/RegionInfoImpl.h
+include/llvm/Analysis/RegionIterator.h
+include/llvm/Analysis/RegionPass.h
+include/llvm/Analysis/RegionPrinter.h
+include/llvm/Analysis/ScalarEvolution.h
+include/llvm/Analysis/ScalarEvolutionAliasAnalysis.h
+include/llvm/Analysis/ScalarEvolutionExpander.h
+include/llvm/Analysis/ScalarEvolutionExpressions.h
+include/llvm/Analysis/ScalarEvolutionNormalization.h
+include/llvm/Analysis/ScopedNoAliasAA.h
+include/llvm/Analysis/SparsePropagation.h
+include/llvm/Analysis/TargetFolder.h
+include/llvm/Analysis/TargetLibraryInfo.def
+include/llvm/Analysis/TargetLibraryInfo.h
+include/llvm/Analysis/TargetTransformInfo.h
+include/llvm/Analysis/TargetTransformInfoImpl.h
+include/llvm/Analysis/Trace.h
+include/llvm/Analysis/TypeBasedAliasAnalysis.h
+include/llvm/Analysis/TypeMetadataUtils.h
+include/llvm/Analysis/ValueTracking.h
+include/llvm/Analysis/VectorUtils.h
+include/llvm/AsmParser/Parser.h
+include/llvm/AsmParser/SlotMapping.h
+include/llvm/Bitcode/BitCodes.h
+include/llvm/Bitcode/BitcodeReader.h
+include/llvm/Bitcode/BitcodeWriter.h
+include/llvm/Bitcode/BitcodeWriterPass.h
+include/llvm/Bitcode/BitstreamReader.h
+include/llvm/Bitcode/BitstreamWriter.h
+include/llvm/Bitcode/LLVMBitCodes.h
+include/llvm/CodeGen/Analysis.h
+include/llvm/CodeGen/AsmPrinter.h
+include/llvm/CodeGen/AtomicExpandUtils.h
+include/llvm/CodeGen/BasicTTIImpl.h
+include/llvm/CodeGen/CalcSpillWeights.h
+include/llvm/CodeGen/CallingConvLower.h
+include/llvm/CodeGen/CommandFlags.h
+include/llvm/CodeGen/DAGCombine.h
+include/llvm/CodeGen/DFAPacketizer.h
+include/llvm/CodeGen/DIE.h
+include/llvm/CodeGen/DIEValue.def
+include/llvm/CodeGen/DwarfStringPoolEntry.h
+include/llvm/CodeGen/EdgeBundles.h
+include/llvm/CodeGen/FastISel.h
+include/llvm/CodeGen/FaultMaps.h
+include/llvm/CodeGen/FunctionLoweringInfo.h
+include/llvm/CodeGen/GCMetadata.h
+include/llvm/CodeGen/GCMetadataPrinter.h
+include/llvm/CodeGen/GCStrategy.h
+include/llvm/CodeGen/GCs.h
+include/llvm/CodeGen/GlobalISel/CallLowering.h
+include/llvm/CodeGen/GlobalISel/GISelAccessor.h
+include/llvm/CodeGen/GlobalISel/IRTranslator.h
+include/llvm/CodeGen/GlobalISel/InstructionSelect.h
+include/llvm/CodeGen/GlobalISel/InstructionSelector.h
+include/llvm/CodeGen/GlobalISel/Legalizer.h
+include/llvm/CodeGen/GlobalISel/LegalizerHelper.h
+include/llvm/CodeGen/GlobalISel/LegalizerInfo.h
+include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
+include/llvm/CodeGen/GlobalISel/RegBankSelect.h
+include/llvm/CodeGen/GlobalISel/RegisterBank.h
+include/llvm/CodeGen/GlobalISel/RegisterBankInfo.h
+include/llvm/CodeGen/GlobalISel/Types.h
+include/llvm/CodeGen/ISDOpcodes.h
+include/llvm/CodeGen/IntrinsicLowering.h
+include/llvm/CodeGen/LatencyPriorityQueue.h
+include/llvm/CodeGen/LexicalScopes.h
+include/llvm/CodeGen/LinkAllAsmWriterComponents.h
+include/llvm/CodeGen/LinkAllCodegenComponents.h
+include/llvm/CodeGen/LiveInterval.h
+include/llvm/CodeGen/LiveIntervalAnalysis.h
+include/llvm/CodeGen/LiveIntervalUnion.h
+include/llvm/CodeGen/LivePhysRegs.h
+include/llvm/CodeGen/LiveRangeEdit.h
+include/llvm/CodeGen/LiveRegMatrix.h
+include/llvm/CodeGen/LiveStackAnalysis.h
+include/llvm/CodeGen/LiveVariables.h
+include/llvm/CodeGen/LowLevelType.h
+include/llvm/CodeGen/MIRParser/MIRParser.h
+include/llvm/CodeGen/MIRYamlMapping.h
+include/llvm/CodeGen/MachORelocation.h
+include/llvm/CodeGen/MachineBasicBlock.h
+include/llvm/CodeGen/MachineBlockFrequencyInfo.h
+include/llvm/CodeGen/MachineBranchProbabilityInfo.h
+include/llvm/CodeGen/MachineCombinerPattern.h
+include/llvm/CodeGen/MachineConstantPool.h
+include/llvm/CodeGen/MachineDominanceFrontier.h
+include/llvm/CodeGen/MachineDominators.h
+include/llvm/CodeGen/MachineFrameInfo.h
+include/llvm/CodeGen/MachineFunction.h
+include/llvm/CodeGen/MachineFunctionInitializer.h
+include/llvm/CodeGen/MachineFunctionPass.h
+include/llvm/CodeGen/MachineInstr.h
+include/llvm/CodeGen/MachineInstrBuilder.h
+include/llvm/CodeGen/MachineInstrBundle.h
+include/llvm/CodeGen/MachineInstrBundleIterator.h
+include/llvm/CodeGen/MachineJumpTableInfo.h
+include/llvm/CodeGen/MachineLoopInfo.h
+include/llvm/CodeGen/MachineMemOperand.h
+include/llvm/CodeGen/MachineModuleInfo.h
+include/llvm/CodeGen/MachineModuleInfoImpls.h
+include/llvm/CodeGen/MachineOperand.h
+include/llvm/CodeGen/MachinePassRegistry.h
+include/llvm/CodeGen/MachinePostDominators.h
+include/llvm/CodeGen/MachineRegionInfo.h
+include/llvm/CodeGen/MachineRegisterInfo.h
+include/llvm/CodeGen/MachineSSAUpdater.h
+include/llvm/CodeGen/MachineScheduler.h
+include/llvm/CodeGen/MachineTraceMetrics.h
+include/llvm/CodeGen/MachineValueType.h
+include/llvm/CodeGen/PBQP/CostAllocator.h
+include/llvm/CodeGen/PBQP/Graph.h
+include/llvm/CodeGen/PBQP/Math.h
+include/llvm/CodeGen/PBQP/ReductionRules.h
+include/llvm/CodeGen/PBQP/Solution.h
+include/llvm/CodeGen/PBQPRAConstraint.h
+include/llvm/CodeGen/ParallelCG.h
+include/llvm/CodeGen/Passes.h
+include/llvm/CodeGen/PreISelIntrinsicLowering.h
+include/llvm/CodeGen/PseudoSourceValue.h
+include/llvm/CodeGen/RegAllocPBQP.h
+include/llvm/CodeGen/RegAllocRegistry.h
+include/llvm/CodeGen/RegisterClassInfo.h
+include/llvm/CodeGen/RegisterPressure.h
+include/llvm/CodeGen/RegisterScavenging.h
+include/llvm/CodeGen/RegisterUsageInfo.h
+include/llvm/CodeGen/ResourcePriorityQueue.h
+include/llvm/CodeGen/RuntimeLibcalls.h
+include/llvm/CodeGen/ScheduleDAG.h
+include/llvm/CodeGen/ScheduleDAGInstrs.h
+include/llvm/CodeGen/ScheduleDAGMutation.h
+include/llvm/CodeGen/ScheduleDFS.h
+include/llvm/CodeGen/ScheduleHazardRecognizer.h
+include/llvm/CodeGen/SchedulerRegistry.h
+include/llvm/CodeGen/ScoreboardHazardRecognizer.h
+include/llvm/CodeGen/SelectionDAG.h
+include/llvm/CodeGen/SelectionDAGISel.h
+include/llvm/CodeGen/SelectionDAGNodes.h
+include/llvm/CodeGen/SelectionDAGTargetInfo.h
+include/llvm/CodeGen/SlotIndexes.h
+include/llvm/CodeGen/StackMaps.h
+include/llvm/CodeGen/StackProtector.h
+include/llvm/CodeGen/TailDuplicator.h
+include/llvm/CodeGen/TargetLoweringObjectFileImpl.h
+include/llvm/CodeGen/TargetPassConfig.h
+include/llvm/CodeGen/TargetSchedule.h
+include/llvm/CodeGen/UnreachableBlockElim.h
+include/llvm/CodeGen/ValueTypes.h
+include/llvm/CodeGen/ValueTypes.td
+include/llvm/CodeGen/VirtRegMap.h
+include/llvm/CodeGen/WinEHFuncInfo.h
+include/llvm/Config/AsmParsers.def
+include/llvm/Config/AsmPrinters.def
+include/llvm/Config/Disassemblers.def
+include/llvm/Config/Targets.def
+include/llvm/Config/abi-breaking.h
+include/llvm/Config/llvm-config.h
+include/llvm/DebugInfo/CodeView/CVDebugRecord.h
+include/llvm/DebugInfo/CodeView/CVRecord.h
+include/llvm/DebugInfo/CodeView/CVSymbolTypes.def
+include/llvm/DebugInfo/CodeView/CVSymbolVisitor.h
+include/llvm/DebugInfo/CodeView/CVTypeVisitor.h
+include/llvm/DebugInfo/CodeView/CodeView.h
+include/llvm/DebugInfo/CodeView/CodeViewError.h
+include/llvm/DebugInfo/CodeView/CodeViewRecordIO.h
+include/llvm/DebugInfo/CodeView/EnumTables.h
+include/llvm/DebugInfo/CodeView/FunctionId.h
+include/llvm/DebugInfo/CodeView/Line.h
+include/llvm/DebugInfo/CodeView/ModuleSubstream.h
+include/llvm/DebugInfo/CodeView/ModuleSubstreamVisitor.h
+include/llvm/DebugInfo/CodeView/RecordSerialization.h
+include/llvm/DebugInfo/CodeView/SymbolDeserializer.h
+include/llvm/DebugInfo/CodeView/SymbolDumpDelegate.h
+include/llvm/DebugInfo/CodeView/SymbolDumper.h
+include/llvm/DebugInfo/CodeView/SymbolRecord.h
+include/llvm/DebugInfo/CodeView/SymbolVisitorCallbackPipeline.h
+include/llvm/DebugInfo/CodeView/SymbolVisitorCallbacks.h
+include/llvm/DebugInfo/CodeView/SymbolVisitorDelegate.h
+include/llvm/DebugInfo/CodeView/TypeDeserializer.h
+include/llvm/DebugInfo/CodeView/TypeDumper.h
+include/llvm/DebugInfo/CodeView/TypeIndex.h
+include/llvm/DebugInfo/CodeView/TypeRecord.h
+include/llvm/DebugInfo/CodeView/TypeRecordBuilder.h
+include/llvm/DebugInfo/CodeView/TypeRecordMapping.h
+include/llvm/DebugInfo/CodeView/TypeRecords.def
+include/llvm/DebugInfo/CodeView/TypeSerializer.h
+include/llvm/DebugInfo/CodeView/TypeStreamMerger.h
+include/llvm/DebugInfo/CodeView/TypeSymbolEmitter.h
+include/llvm/DebugInfo/CodeView/TypeTableBuilder.h
+include/llvm/DebugInfo/CodeView/TypeVisitorCallbackPipeline.h
+include/llvm/DebugInfo/CodeView/TypeVisitorCallbacks.h
+include/llvm/DebugInfo/DIContext.h
+include/llvm/DebugInfo/DWARF/DWARFAbbreviationDeclaration.h
+include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h
+include/llvm/DebugInfo/DWARF/DWARFCompileUnit.h
+include/llvm/DebugInfo/DWARF/DWARFContext.h
+include/llvm/DebugInfo/DWARF/DWARFDebugAbbrev.h
+include/llvm/DebugInfo/DWARF/DWARFDebugArangeSet.h
+include/llvm/DebugInfo/DWARF/DWARFDebugAranges.h
+include/llvm/DebugInfo/DWARF/DWARFDebugFrame.h
+include/llvm/DebugInfo/DWARF/DWARFDebugInfoEntry.h
+include/llvm/DebugInfo/DWARF/DWARFDebugLine.h
+include/llvm/DebugInfo/DWARF/DWARFDebugLoc.h
+include/llvm/DebugInfo/DWARF/DWARFDebugMacro.h
+include/llvm/DebugInfo/DWARF/DWARFDebugRangeList.h
+include/llvm/DebugInfo/DWARF/DWARFDie.h
+include/llvm/DebugInfo/DWARF/DWARFFormValue.h
+include/llvm/DebugInfo/DWARF/DWARFGdbIndex.h
+include/llvm/DebugInfo/DWARF/DWARFRelocMap.h
+include/llvm/DebugInfo/DWARF/DWARFSection.h
+include/llvm/DebugInfo/DWARF/DWARFTypeUnit.h
+include/llvm/DebugInfo/DWARF/DWARFUnit.h
+include/llvm/DebugInfo/DWARF/DWARFUnitIndex.h
+include/llvm/DebugInfo/MSF/ByteStream.h
+include/llvm/DebugInfo/MSF/IMSFFile.h
+include/llvm/DebugInfo/MSF/MSFBuilder.h
+include/llvm/DebugInfo/MSF/MSFCommon.h
+include/llvm/DebugInfo/MSF/MSFError.h
+include/llvm/DebugInfo/MSF/MSFStreamLayout.h
+include/llvm/DebugInfo/MSF/MappedBlockStream.h
+include/llvm/DebugInfo/MSF/SequencedItemStream.h
+include/llvm/DebugInfo/MSF/StreamArray.h
+include/llvm/DebugInfo/MSF/StreamInterface.h
+include/llvm/DebugInfo/MSF/StreamReader.h
+include/llvm/DebugInfo/MSF/StreamRef.h
+include/llvm/DebugInfo/MSF/StreamWriter.h
+include/llvm/DebugInfo/PDB/ConcreteSymbolEnumerator.h
+include/llvm/DebugInfo/PDB/DIA/DIADataStream.h
+include/llvm/DebugInfo/PDB/DIA/DIAEnumDebugStreams.h
+include/llvm/DebugInfo/PDB/DIA/DIAEnumLineNumbers.h
+include/llvm/DebugInfo/PDB/DIA/DIAEnumSourceFiles.h
+include/llvm/DebugInfo/PDB/DIA/DIAEnumSymbols.h
+include/llvm/DebugInfo/PDB/DIA/DIAError.h
+include/llvm/DebugInfo/PDB/DIA/DIALineNumber.h
+include/llvm/DebugInfo/PDB/DIA/DIARawSymbol.h
+include/llvm/DebugInfo/PDB/DIA/DIASession.h
+include/llvm/DebugInfo/PDB/DIA/DIASourceFile.h
+include/llvm/DebugInfo/PDB/DIA/DIASupport.h
+include/llvm/DebugInfo/PDB/GenericError.h
+include/llvm/DebugInfo/PDB/IPDBDataStream.h
+include/llvm/DebugInfo/PDB/IPDBEnumChildren.h
+include/llvm/DebugInfo/PDB/IPDBLineNumber.h
+include/llvm/DebugInfo/PDB/IPDBRawSymbol.h
+include/llvm/DebugInfo/PDB/IPDBSession.h
+include/llvm/DebugInfo/PDB/IPDBSourceFile.h
+include/llvm/DebugInfo/PDB/PDB.h
+include/llvm/DebugInfo/PDB/PDBContext.h
+include/llvm/DebugInfo/PDB/PDBExtras.h
+include/llvm/DebugInfo/PDB/PDBSymDumper.h
+include/llvm/DebugInfo/PDB/PDBSymbol.h
+include/llvm/DebugInfo/PDB/PDBSymbolAnnotation.h
+include/llvm/DebugInfo/PDB/PDBSymbolBlock.h
+include/llvm/DebugInfo/PDB/PDBSymbolCompiland.h
+include/llvm/DebugInfo/PDB/PDBSymbolCompilandDetails.h
+include/llvm/DebugInfo/PDB/PDBSymbolCompilandEnv.h
+include/llvm/DebugInfo/PDB/PDBSymbolCustom.h
+include/llvm/DebugInfo/PDB/PDBSymbolData.h
+include/llvm/DebugInfo/PDB/PDBSymbolExe.h
+include/llvm/DebugInfo/PDB/PDBSymbolFunc.h
+include/llvm/DebugInfo/PDB/PDBSymbolFuncDebugEnd.h
+include/llvm/DebugInfo/PDB/PDBSymbolFuncDebugStart.h
+include/llvm/DebugInfo/PDB/PDBSymbolLabel.h
+include/llvm/DebugInfo/PDB/PDBSymbolPublicSymbol.h
+include/llvm/DebugInfo/PDB/PDBSymbolThunk.h
+include/llvm/DebugInfo/PDB/PDBSymbolTypeArray.h
+include/llvm/DebugInfo/PDB/PDBSymbolTypeBaseClass.h
+include/llvm/DebugInfo/PDB/PDBSymbolTypeBuiltin.h
+include/llvm/DebugInfo/PDB/PDBSymbolTypeCustom.h
+include/llvm/DebugInfo/PDB/PDBSymbolTypeDimension.h
+include/llvm/DebugInfo/PDB/PDBSymbolTypeEnum.h
+include/llvm/DebugInfo/PDB/PDBSymbolTypeFriend.h
+include/llvm/DebugInfo/PDB/PDBSymbolTypeFunctionArg.h
+include/llvm/DebugInfo/PDB/PDBSymbolTypeFunctionSig.h
+include/llvm/DebugInfo/PDB/PDBSymbolTypeManaged.h
+include/llvm/DebugInfo/PDB/PDBSymbolTypePointer.h
+include/llvm/DebugInfo/PDB/PDBSymbolTypeTypedef.h
+include/llvm/DebugInfo/PDB/PDBSymbolTypeUDT.h
+include/llvm/DebugInfo/PDB/PDBSymbolTypeVTable.h
+include/llvm/DebugInfo/PDB/PDBSymbolTypeVTableShape.h
+include/llvm/DebugInfo/PDB/PDBSymbolUnknown.h
+include/llvm/DebugInfo/PDB/PDBSymbolUsingNamespace.h
+include/llvm/DebugInfo/PDB/PDBTypes.h
+include/llvm/DebugInfo/PDB/Raw/DbiStream.h
+include/llvm/DebugInfo/PDB/Raw/DbiStreamBuilder.h
+include/llvm/DebugInfo/PDB/Raw/EnumTables.h
+include/llvm/DebugInfo/PDB/Raw/GlobalsStream.h
+include/llvm/DebugInfo/PDB/Raw/Hash.h
+include/llvm/DebugInfo/PDB/Raw/ISectionContribVisitor.h
+include/llvm/DebugInfo/PDB/Raw/InfoStream.h
+include/llvm/DebugInfo/PDB/Raw/InfoStreamBuilder.h
+include/llvm/DebugInfo/PDB/Raw/ModInfo.h
+include/llvm/DebugInfo/PDB/Raw/ModStream.h
+include/llvm/DebugInfo/PDB/Raw/NameHashTable.h
+include/llvm/DebugInfo/PDB/Raw/NameMap.h
+include/llvm/DebugInfo/PDB/Raw/NameMapBuilder.h
+include/llvm/DebugInfo/PDB/Raw/PDBFile.h
+include/llvm/DebugInfo/PDB/Raw/PDBFileBuilder.h
+include/llvm/DebugInfo/PDB/Raw/PublicsStream.h
+include/llvm/DebugInfo/PDB/Raw/RawConstants.h
+include/llvm/DebugInfo/PDB/Raw/RawError.h
+include/llvm/DebugInfo/PDB/Raw/RawSession.h
+include/llvm/DebugInfo/PDB/Raw/RawTypes.h
+include/llvm/DebugInfo/PDB/Raw/SymbolStream.h
+include/llvm/DebugInfo/PDB/Raw/TpiHashing.h
+include/llvm/DebugInfo/PDB/Raw/TpiStream.h
+include/llvm/DebugInfo/PDB/Raw/TpiStreamBuilder.h
+include/llvm/DebugInfo/Symbolize/DIPrinter.h
+include/llvm/DebugInfo/Symbolize/SymbolizableModule.h
+include/llvm/DebugInfo/Symbolize/Symbolize.h
+include/llvm/Demangle/Demangle.h
+include/llvm/ExecutionEngine/ExecutionEngine.h
+include/llvm/ExecutionEngine/GenericValue.h
+include/llvm/ExecutionEngine/Interpreter.h
+include/llvm/ExecutionEngine/JITEventListener.h
+include/llvm/ExecutionEngine/JITSymbol.h
+include/llvm/ExecutionEngine/MCJIT.h
+include/llvm/ExecutionEngine/OProfileWrapper.h
+include/llvm/ExecutionEngine/ObjectCache.h
+include/llvm/ExecutionEngine/ObjectMemoryBuffer.h
+include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h
+include/llvm/ExecutionEngine/Orc/CompileUtils.h
+include/llvm/ExecutionEngine/Orc/ExecutionUtils.h
+include/llvm/ExecutionEngine/Orc/GlobalMappingLayer.h
+include/llvm/ExecutionEngine/Orc/IRCompileLayer.h
+include/llvm/ExecutionEngine/Orc/IRTransformLayer.h
+include/llvm/ExecutionEngine/Orc/IndirectionUtils.h
+include/llvm/ExecutionEngine/Orc/LambdaResolver.h
+include/llvm/ExecutionEngine/Orc/LazyEmittingLayer.h
+include/llvm/ExecutionEngine/Orc/NullResolver.h
+include/llvm/ExecutionEngine/Orc/ObjectLinkingLayer.h
+include/llvm/ExecutionEngine/Orc/ObjectTransformLayer.h
+include/llvm/ExecutionEngine/Orc/OrcABISupport.h
+include/llvm/ExecutionEngine/Orc/OrcError.h
+include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h
+include/llvm/ExecutionEngine/Orc/OrcRemoteTargetRPCAPI.h
+include/llvm/ExecutionEngine/Orc/OrcRemoteTargetServer.h
+include/llvm/ExecutionEngine/Orc/RPCSerialization.h
+include/llvm/ExecutionEngine/Orc/RPCUtils.h
+include/llvm/ExecutionEngine/Orc/RawByteChannel.h
+include/llvm/ExecutionEngine/OrcMCJITReplacement.h
+include/llvm/ExecutionEngine/RTDyldMemoryManager.h
+include/llvm/ExecutionEngine/RuntimeDyld.h
+include/llvm/ExecutionEngine/RuntimeDyldChecker.h
+include/llvm/ExecutionEngine/SectionMemoryManager.h
+include/llvm/IR/Argument.h
+include/llvm/IR/AssemblyAnnotationWriter.h
+include/llvm/IR/Attributes.gen
+include/llvm/IR/Attributes.h
+include/llvm/IR/Attributes.td
+include/llvm/IR/AutoUpgrade.h
+include/llvm/IR/BasicBlock.h
+include/llvm/IR/CFG.h
+include/llvm/IR/CallSite.h
+include/llvm/IR/CallingConv.h
+include/llvm/IR/Comdat.h
+include/llvm/IR/Constant.h
+include/llvm/IR/ConstantFolder.h
+include/llvm/IR/ConstantRange.h
+include/llvm/IR/Constants.h
+include/llvm/IR/DIBuilder.h
+include/llvm/IR/DataLayout.h
+include/llvm/IR/DebugInfo.h
+include/llvm/IR/DebugInfoFlags.def
+include/llvm/IR/DebugInfoMetadata.h
+include/llvm/IR/DebugLoc.h
+include/llvm/IR/DerivedTypes.h
+include/llvm/IR/DiagnosticInfo.h
+include/llvm/IR/DiagnosticPrinter.h
+include/llvm/IR/Dominators.h
+include/llvm/IR/Function.h
+include/llvm/IR/GVMaterializer.h
+include/llvm/IR/GetElementPtrTypeIterator.h
+include/llvm/IR/GlobalAlias.h
+include/llvm/IR/GlobalIFunc.h
+include/llvm/IR/GlobalIndirectSymbol.h
+include/llvm/IR/GlobalObject.h
+include/llvm/IR/GlobalValue.h
+include/llvm/IR/GlobalVariable.h
+include/llvm/IR/IRBuilder.h
+include/llvm/IR/IRPrintingPasses.h
+include/llvm/IR/InlineAsm.h
+include/llvm/IR/InstIterator.h
+include/llvm/IR/InstVisitor.h
+include/llvm/IR/InstrTypes.h
+include/llvm/IR/Instruction.def
+include/llvm/IR/Instruction.h
+include/llvm/IR/Instructions.h
+include/llvm/IR/IntrinsicInst.h
+include/llvm/IR/Intrinsics.gen
+include/llvm/IR/Intrinsics.h
+include/llvm/IR/Intrinsics.td
+include/llvm/IR/IntrinsicsAArch64.td
+include/llvm/IR/IntrinsicsAMDGPU.td
+include/llvm/IR/IntrinsicsARM.td
+include/llvm/IR/IntrinsicsBPF.td
+include/llvm/IR/IntrinsicsHexagon.td
+include/llvm/IR/IntrinsicsMips.td
+include/llvm/IR/IntrinsicsNVVM.td
+include/llvm/IR/IntrinsicsPowerPC.td
+include/llvm/IR/IntrinsicsSystemZ.td
+include/llvm/IR/IntrinsicsWebAssembly.td
+include/llvm/IR/IntrinsicsX86.td
+include/llvm/IR/IntrinsicsXCore.td
+include/llvm/IR/LLVMContext.h
+include/llvm/IR/LegacyPassManager.h
+include/llvm/IR/LegacyPassManagers.h
+include/llvm/IR/LegacyPassNameParser.h
+include/llvm/IR/MDBuilder.h
+include/llvm/IR/Mangler.h
+include/llvm/IR/Metadata.def
+include/llvm/IR/Metadata.h
+include/llvm/IR/Module.h
+include/llvm/IR/ModuleSlotTracker.h
+include/llvm/IR/ModuleSummaryIndex.h
+include/llvm/IR/NoFolder.h
+include/llvm/IR/OperandTraits.h
+include/llvm/IR/Operator.h
+include/llvm/IR/OptBisect.h
+include/llvm/IR/PassManager.h
+include/llvm/IR/PassManagerInternal.h
+include/llvm/IR/PatternMatch.h
+include/llvm/IR/PredIteratorCache.h
+include/llvm/IR/ProfileSummary.h
+include/llvm/IR/Statepoint.h
+include/llvm/IR/SymbolTableListTraits.h
+include/llvm/IR/TrackingMDRef.h
+include/llvm/IR/Type.h
+include/llvm/IR/TypeBuilder.h
+include/llvm/IR/TypeFinder.h
+include/llvm/IR/Use.h
+include/llvm/IR/UseListOrder.h
+include/llvm/IR/User.h
+include/llvm/IR/Value.def
+include/llvm/IR/Value.h
+include/llvm/IR/ValueHandle.h
+include/llvm/IR/ValueMap.h
+include/llvm/IR/ValueSymbolTable.h
+include/llvm/IR/Verifier.h
+include/llvm/IRReader/IRReader.h
+include/llvm/InitializePasses.h
+include/llvm/LTO/Caching.h
+include/llvm/LTO/Config.h
+include/llvm/LTO/LTO.h
+include/llvm/LTO/LTOBackend.h
+include/llvm/LTO/legacy/LTOCodeGenerator.h
+include/llvm/LTO/legacy/LTOModule.h
+include/llvm/LTO/legacy/ThinLTOCodeGenerator.h
+include/llvm/LTO/legacy/UpdateCompilerUsed.h
+include/llvm/LibDriver/LibDriver.h
+include/llvm/LineEditor/LineEditor.h
+include/llvm/LinkAllIR.h
+include/llvm/LinkAllPasses.h
+include/llvm/Linker/IRMover.h
+include/llvm/Linker/Linker.h
+include/llvm/MC/ConstantPools.h
+include/llvm/MC/LaneBitmask.h
+include/llvm/MC/MCAsmBackend.h
+include/llvm/MC/MCAsmInfo.h
+include/llvm/MC/MCAsmInfoCOFF.h
+include/llvm/MC/MCAsmInfoDarwin.h
+include/llvm/MC/MCAsmInfoELF.h
+include/llvm/MC/MCAsmLayout.h
+include/llvm/MC/MCAssembler.h
+include/llvm/MC/MCCodeEmitter.h
+include/llvm/MC/MCCodeView.h
+include/llvm/MC/MCContext.h
+include/llvm/MC/MCDirectives.h
+include/llvm/MC/MCDisassembler/MCDisassembler.h
+include/llvm/MC/MCDisassembler/MCExternalSymbolizer.h
+include/llvm/MC/MCDisassembler/MCRelocationInfo.h
+include/llvm/MC/MCDisassembler/MCSymbolizer.h
+include/llvm/MC/MCDwarf.h
+include/llvm/MC/MCELFObjectWriter.h
+include/llvm/MC/MCELFStreamer.h
+include/llvm/MC/MCExpr.h
+include/llvm/MC/MCFixedLenDisassembler.h
+include/llvm/MC/MCFixup.h
+include/llvm/MC/MCFixupKindInfo.h
+include/llvm/MC/MCFragment.h
+include/llvm/MC/MCInst.h
+include/llvm/MC/MCInstBuilder.h
+include/llvm/MC/MCInstPrinter.h
+include/llvm/MC/MCInstrAnalysis.h
+include/llvm/MC/MCInstrDesc.h
+include/llvm/MC/MCInstrInfo.h
+include/llvm/MC/MCInstrItineraries.h
+include/llvm/MC/MCLabel.h
+include/llvm/MC/MCLinkerOptimizationHint.h
+include/llvm/MC/MCMachObjectWriter.h
+include/llvm/MC/MCObjectFileInfo.h
+include/llvm/MC/MCObjectStreamer.h
+include/llvm/MC/MCObjectWriter.h
+include/llvm/MC/MCParser/AsmCond.h
+include/llvm/MC/MCParser/AsmLexer.h
+include/llvm/MC/MCParser/MCAsmLexer.h
+include/llvm/MC/MCParser/MCAsmParser.h
+include/llvm/MC/MCParser/MCAsmParserExtension.h
+include/llvm/MC/MCParser/MCAsmParserUtils.h
+include/llvm/MC/MCParser/MCParsedAsmOperand.h
+include/llvm/MC/MCParser/MCTargetAsmParser.h
+include/llvm/MC/MCRegisterInfo.h
+include/llvm/MC/MCSchedule.h
+include/llvm/MC/MCSection.h
+include/llvm/MC/MCSectionCOFF.h
+include/llvm/MC/MCSectionELF.h
+include/llvm/MC/MCSectionMachO.h
+include/llvm/MC/MCStreamer.h
+include/llvm/MC/MCSubtargetInfo.h
+include/llvm/MC/MCSymbol.h
+include/llvm/MC/MCSymbolCOFF.h
+include/llvm/MC/MCSymbolELF.h
+include/llvm/MC/MCSymbolMachO.h
+include/llvm/MC/MCTargetOptions.h
+include/llvm/MC/MCTargetOptionsCommandFlags.h
+include/llvm/MC/MCValue.h
+include/llvm/MC/MCWin64EH.h
+include/llvm/MC/MCWinCOFFObjectWriter.h
+include/llvm/MC/MCWinCOFFStreamer.h
+include/llvm/MC/MCWinEH.h
+include/llvm/MC/MachineLocation.h
+include/llvm/MC/SectionKind.h
+include/llvm/MC/StringTableBuilder.h
+include/llvm/MC/SubtargetFeature.h
+include/llvm/Object/Archive.h
+include/llvm/Object/ArchiveWriter.h
+include/llvm/Object/Binary.h
+include/llvm/Object/COFF.h
+include/llvm/Object/COFFImportFile.h
+include/llvm/Object/ELF.h
+include/llvm/Object/ELFObjectFile.h
+include/llvm/Object/ELFTypes.h
+include/llvm/Object/Error.h
+include/llvm/Object/IRObjectFile.h
+include/llvm/Object/MachO.h
+include/llvm/Object/MachOUniversal.h
+include/llvm/Object/ModuleSummaryIndexObjectFile.h
+include/llvm/Object/ModuleSymbolTable.h
+include/llvm/Object/ObjectFile.h
+include/llvm/Object/RelocVisitor.h
+include/llvm/Object/StackMapParser.h
+include/llvm/Object/SymbolSize.h
+include/llvm/Object/SymbolicFile.h
+include/llvm/Object/Wasm.h
+include/llvm/ObjectYAML/COFFYAML.h
+include/llvm/ObjectYAML/DWARFYAML.h
+include/llvm/ObjectYAML/ELFYAML.h
+include/llvm/ObjectYAML/MachOYAML.h
+include/llvm/ObjectYAML/ObjectYAML.h
+include/llvm/ObjectYAML/YAML.h
+include/llvm/Option/Arg.h
+include/llvm/Option/ArgList.h
+include/llvm/Option/OptParser.td
+include/llvm/Option/OptSpecifier.h
+include/llvm/Option/OptTable.h
+include/llvm/Option/Option.h
+include/llvm/Pass.h
+include/llvm/PassAnalysisSupport.h
+include/llvm/PassInfo.h
+include/llvm/PassRegistry.h
+include/llvm/PassSupport.h
+include/llvm/Passes/PassBuilder.h
+include/llvm/ProfileData/Coverage/CoverageMapping.h
+include/llvm/ProfileData/Coverage/CoverageMappingReader.h
+include/llvm/ProfileData/Coverage/CoverageMappingWriter.h
+include/llvm/ProfileData/InstrProf.h
+include/llvm/ProfileData/InstrProfData.inc
+include/llvm/ProfileData/InstrProfReader.h
+include/llvm/ProfileData/InstrProfWriter.h
+include/llvm/ProfileData/ProfileCommon.h
+include/llvm/ProfileData/SampleProf.h
+include/llvm/ProfileData/SampleProfReader.h
+include/llvm/ProfileData/SampleProfWriter.h
+include/llvm/Support/AArch64TargetParser.def
+include/llvm/Support/ARMBuildAttributes.h
+include/llvm/Support/ARMEHABI.h
+include/llvm/Support/ARMTargetParser.def
+include/llvm/Support/ARMWinEH.h
+include/llvm/Support/AlignOf.h
+include/llvm/Support/Allocator.h
+include/llvm/Support/ArrayRecycler.h
+include/llvm/Support/Atomic.h
+include/llvm/Support/AtomicOrdering.h
+include/llvm/Support/BlockFrequency.h
+include/llvm/Support/BranchProbability.h
+include/llvm/Support/CBindingWrapping.h
+include/llvm/Support/COFF.h
+include/llvm/Support/COM.h
+include/llvm/Support/CachePruning.h
+include/llvm/Support/Capacity.h
+include/llvm/Support/Casting.h
+include/llvm/Support/Chrono.h
+include/llvm/Support/CodeGen.h
+include/llvm/Support/CodeGenCWrappers.h
+include/llvm/Support/CommandLine.h
+include/llvm/Support/Compiler.h
+include/llvm/Support/Compression.h
+include/llvm/Support/ConvertUTF.h
+include/llvm/Support/CrashRecoveryContext.h
+include/llvm/Support/DOTGraphTraits.h
+include/llvm/Support/DataExtractor.h
+include/llvm/Support/DataTypes.h
+include/llvm/Support/Debug.h
+include/llvm/Support/Dwarf.def
+include/llvm/Support/Dwarf.h
+include/llvm/Support/DynamicLibrary.h
+include/llvm/Support/ELF.h
+include/llvm/Support/ELFRelocs/AArch64.def
+include/llvm/Support/ELFRelocs/AMDGPU.def
+include/llvm/Support/ELFRelocs/ARM.def
+include/llvm/Support/ELFRelocs/AVR.def
+include/llvm/Support/ELFRelocs/BPF.def
+include/llvm/Support/ELFRelocs/Hexagon.def
+include/llvm/Support/ELFRelocs/Lanai.def
+include/llvm/Support/ELFRelocs/Mips.def
+include/llvm/Support/ELFRelocs/PowerPC.def
+include/llvm/Support/ELFRelocs/PowerPC64.def
+include/llvm/Support/ELFRelocs/RISCV.def
+include/llvm/Support/ELFRelocs/Sparc.def
+include/llvm/Support/ELFRelocs/SystemZ.def
+include/llvm/Support/ELFRelocs/WebAssembly.def
+include/llvm/Support/ELFRelocs/i386.def
+include/llvm/Support/ELFRelocs/x86_64.def
+include/llvm/Support/Endian.h
+include/llvm/Support/EndianStream.h
+include/llvm/Support/Errc.h
+include/llvm/Support/Errno.h
+include/llvm/Support/Error.h
+include/llvm/Support/ErrorHandling.h
+include/llvm/Support/ErrorOr.h
+include/llvm/Support/FileOutputBuffer.h
+include/llvm/Support/FileSystem.h
+include/llvm/Support/FileUtilities.h
+include/llvm/Support/Format.h
+include/llvm/Support/FormatAdapters.h
+include/llvm/Support/FormatCommon.h
+include/llvm/Support/FormatProviders.h
+include/llvm/Support/FormatVariadic.h
+include/llvm/Support/FormatVariadicDetails.h
+include/llvm/Support/FormattedStream.h
+include/llvm/Support/GCOV.h
+include/llvm/Support/GenericDomTree.h
+include/llvm/Support/GenericDomTreeConstruction.h
+include/llvm/Support/GraphWriter.h
+include/llvm/Support/Host.h
+include/llvm/Support/JamCRC.h
+include/llvm/Support/LEB128.h
+include/llvm/Support/LICENSE.TXT
+include/llvm/Support/LineIterator.h
+include/llvm/Support/Locale.h
+include/llvm/Support/LockFileManager.h
+include/llvm/Support/MD5.h
+include/llvm/Support/MachO.def
+include/llvm/Support/MachO.h
+include/llvm/Support/ManagedStatic.h
+include/llvm/Support/MathExtras.h
+include/llvm/Support/Memory.h
+include/llvm/Support/MemoryBuffer.h
+include/llvm/Support/MipsABIFlags.h
+include/llvm/Support/Mutex.h
+include/llvm/Support/MutexGuard.h
+include/llvm/Support/NativeFormatting.h
+include/llvm/Support/OnDiskHashTable.h
+include/llvm/Support/Options.h
+include/llvm/Support/Path.h
+include/llvm/Support/PluginLoader.h
+include/llvm/Support/PointerLikeTypeTraits.h
+include/llvm/Support/PrettyStackTrace.h
+include/llvm/Support/Printable.h
+include/llvm/Support/Process.h
+include/llvm/Support/Program.h
+include/llvm/Support/RWMutex.h
+include/llvm/Support/RandomNumberGenerator.h
+include/llvm/Support/Recycler.h
+include/llvm/Support/RecyclingAllocator.h
+include/llvm/Support/Regex.h
+include/llvm/Support/Registry.h
+include/llvm/Support/SHA1.h
+include/llvm/Support/SMLoc.h
+include/llvm/Support/SaveAndRestore.h
+include/llvm/Support/ScaledNumber.h
+include/llvm/Support/ScopedPrinter.h
+include/llvm/Support/Signals.h
+include/llvm/Support/Solaris.h
+include/llvm/Support/SourceMgr.h
+include/llvm/Support/SpecialCaseList.h
+include/llvm/Support/StringPool.h
+include/llvm/Support/StringSaver.h
+include/llvm/Support/SwapByteOrder.h
+include/llvm/Support/SystemUtils.h
+include/llvm/Support/TargetParser.h
+include/llvm/Support/TargetRegistry.h
+include/llvm/Support/TargetSelect.h
+include/llvm/Support/ThreadLocal.h
+include/llvm/Support/ThreadPool.h
+include/llvm/Support/Threading.h
+include/llvm/Support/Timer.h
+include/llvm/Support/ToolOutputFile.h
+include/llvm/Support/TrailingObjects.h
+include/llvm/Support/TrigramIndex.h
+include/llvm/Support/TypeName.h
+include/llvm/Support/Unicode.h
+include/llvm/Support/UnicodeCharRanges.h
+include/llvm/Support/UniqueLock.h
+include/llvm/Support/Valgrind.h
+include/llvm/Support/Wasm.h
+include/llvm/Support/Watchdog.h
+include/llvm/Support/Win64EH.h
+include/llvm/Support/WindowsError.h
+include/llvm/Support/YAMLParser.h
+include/llvm/Support/YAMLTraits.h
+include/llvm/Support/circular_raw_ostream.h
+include/llvm/Support/raw_os_ostream.h
+include/llvm/Support/raw_ostream.h
+include/llvm/Support/raw_sha1_ostream.h
+include/llvm/Support/thread.h
+include/llvm/Support/type_traits.h
+include/llvm/Support/xxhash.h
+include/llvm/TableGen/Error.h
+include/llvm/TableGen/Main.h
+include/llvm/TableGen/Record.h
+include/llvm/TableGen/SearchableTable.td
+include/llvm/TableGen/SetTheory.h
+include/llvm/TableGen/StringMatcher.h
+include/llvm/TableGen/StringToOffsetTable.h
+include/llvm/TableGen/TableGenBackend.h
+include/llvm/Target/CostTable.h
+include/llvm/Target/GenericOpcodes.td
+include/llvm/Target/Target.td
+include/llvm/Target/TargetCallingConv.h
+include/llvm/Target/TargetCallingConv.td
+include/llvm/Target/TargetFrameLowering.h
+include/llvm/Target/TargetInstrInfo.h
+include/llvm/Target/TargetIntrinsicInfo.h
+include/llvm/Target/TargetItinerary.td
+include/llvm/Target/TargetLowering.h
+include/llvm/Target/TargetLoweringObjectFile.h
+include/llvm/Target/TargetMachine.h
+include/llvm/Target/TargetOpcodes.def
+include/llvm/Target/TargetOpcodes.h
+include/llvm/Target/TargetOptions.h
+include/llvm/Target/TargetRegisterInfo.h
+include/llvm/Target/TargetSchedule.td
+include/llvm/Target/TargetSelectionDAG.td
+include/llvm/Target/TargetSubtargetInfo.h
+include/llvm/Transforms/Coroutines.h
+include/llvm/Transforms/GCOVProfiler.h
+include/llvm/Transforms/IPO.h
+include/llvm/Transforms/IPO/AlwaysInliner.h
+include/llvm/Transforms/IPO/ConstantMerge.h
+include/llvm/Transforms/IPO/CrossDSOCFI.h
+include/llvm/Transforms/IPO/DeadArgumentElimination.h
+include/llvm/Transforms/IPO/ElimAvailExtern.h
+include/llvm/Transforms/IPO/ForceFunctionAttrs.h
+include/llvm/Transforms/IPO/FunctionAttrs.h
+include/llvm/Transforms/IPO/FunctionImport.h
+include/llvm/Transforms/IPO/GlobalDCE.h
+include/llvm/Transforms/IPO/GlobalOpt.h
+include/llvm/Transforms/IPO/GlobalSplit.h
+include/llvm/Transforms/IPO/InferFunctionAttrs.h
+include/llvm/Transforms/IPO/InlinerPass.h
+include/llvm/Transforms/IPO/Internalize.h
+include/llvm/Transforms/IPO/LowerTypeTests.h
+include/llvm/Transforms/IPO/PartialInlining.h
+include/llvm/Transforms/IPO/PassManagerBuilder.h
+include/llvm/Transforms/IPO/SCCP.h
+include/llvm/Transforms/IPO/StripDeadPrototypes.h
+include/llvm/Transforms/IPO/WholeProgramDevirt.h
+include/llvm/Transforms/InstCombine/InstCombine.h
+include/llvm/Transforms/InstCombine/InstCombineWorklist.h
+include/llvm/Transforms/InstrProfiling.h
+include/llvm/Transforms/Instrumentation.h
+include/llvm/Transforms/ObjCARC.h
+include/llvm/Transforms/PGOInstrumentation.h
+include/llvm/Transforms/SampleProfile.h
+include/llvm/Transforms/Scalar.h
+include/llvm/Transforms/Scalar/ADCE.h
+include/llvm/Transforms/Scalar/AlignmentFromAssumptions.h
+include/llvm/Transforms/Scalar/BDCE.h
+include/llvm/Transforms/Scalar/ConstantHoisting.h
+include/llvm/Transforms/Scalar/CorrelatedValuePropagation.h
+include/llvm/Transforms/Scalar/DCE.h
+include/llvm/Transforms/Scalar/DeadStoreElimination.h
+include/llvm/Transforms/Scalar/EarlyCSE.h
+include/llvm/Transforms/Scalar/Float2Int.h
+include/llvm/Transforms/Scalar/GVN.h
+include/llvm/Transforms/Scalar/GuardWidening.h
+include/llvm/Transforms/Scalar/IndVarSimplify.h
+include/llvm/Transforms/Scalar/JumpThreading.h
+include/llvm/Transforms/Scalar/LICM.h
+include/llvm/Transforms/Scalar/LoopDataPrefetch.h
+include/llvm/Transforms/Scalar/LoopDeletion.h
+include/llvm/Transforms/Scalar/LoopDistribute.h
+include/llvm/Transforms/Scalar/LoopIdiomRecognize.h
+include/llvm/Transforms/Scalar/LoopInstSimplify.h
+include/llvm/Transforms/Scalar/LoopRotation.h
+include/llvm/Transforms/Scalar/LoopSimplifyCFG.h
+include/llvm/Transforms/Scalar/LoopStrengthReduce.h
+include/llvm/Transforms/Scalar/LoopUnrollPass.h
+include/llvm/Transforms/Scalar/LowerAtomic.h
+include/llvm/Transforms/Scalar/LowerExpectIntrinsic.h
+include/llvm/Transforms/Scalar/LowerGuardIntrinsic.h
+include/llvm/Transforms/Scalar/MemCpyOptimizer.h
+include/llvm/Transforms/Scalar/MergedLoadStoreMotion.h
+include/llvm/Transforms/Scalar/NaryReassociate.h
+include/llvm/Transforms/Scalar/PartiallyInlineLibCalls.h
+include/llvm/Transforms/Scalar/Reassociate.h
+include/llvm/Transforms/Scalar/SCCP.h
+include/llvm/Transforms/Scalar/SROA.h
+include/llvm/Transforms/Scalar/SimplifyCFG.h
+include/llvm/Transforms/Scalar/Sink.h
+include/llvm/Transforms/Scalar/SpeculativeExecution.h
+include/llvm/Transforms/Scalar/TailRecursionElimination.h
+include/llvm/Transforms/Utils/ASanStackFrameLayout.h
+include/llvm/Transforms/Utils/AddDiscriminators.h
+include/llvm/Transforms/Utils/BasicBlockUtils.h
+include/llvm/Transforms/Utils/BreakCriticalEdges.h
+include/llvm/Transforms/Utils/BuildLibCalls.h
+include/llvm/Transforms/Utils/BypassSlowDivision.h
+include/llvm/Transforms/Utils/Cloning.h
+include/llvm/Transforms/Utils/CmpInstAnalysis.h
+include/llvm/Transforms/Utils/CodeExtractor.h
+include/llvm/Transforms/Utils/CtorUtils.h
+include/llvm/Transforms/Utils/EscapeEnumerator.h
+include/llvm/Transforms/Utils/Evaluator.h
+include/llvm/Transforms/Utils/FunctionComparator.h
+include/llvm/Transforms/Utils/FunctionImportUtils.h
+include/llvm/Transforms/Utils/GlobalStatus.h
+include/llvm/Transforms/Utils/ImportedFunctionsInliningStatistics.h
+include/llvm/Transforms/Utils/IntegerDivision.h
+include/llvm/Transforms/Utils/LCSSA.h
+include/llvm/Transforms/Utils/LibCallsShrinkWrap.h
+include/llvm/Transforms/Utils/Local.h
+include/llvm/Transforms/Utils/LoopSimplify.h
+include/llvm/Transforms/Utils/LoopUtils.h
+include/llvm/Transforms/Utils/LoopVersioning.h
+include/llvm/Transforms/Utils/LowerInvoke.h
+include/llvm/Transforms/Utils/Mem2Reg.h
+include/llvm/Transforms/Utils/MemorySSA.h
+include/llvm/Transforms/Utils/ModuleUtils.h
+include/llvm/Transforms/Utils/NameAnonGlobals.h
+include/llvm/Transforms/Utils/PromoteMemToReg.h
+include/llvm/Transforms/Utils/SSAUpdater.h
+include/llvm/Transforms/Utils/SSAUpdaterImpl.h
+include/llvm/Transforms/Utils/SanitizerStats.h
+include/llvm/Transforms/Utils/SimplifyIndVar.h
+include/llvm/Transforms/Utils/SimplifyInstructions.h
+include/llvm/Transforms/Utils/SimplifyLibCalls.h
+include/llvm/Transforms/Utils/SplitModule.h
+include/llvm/Transforms/Utils/SymbolRewriter.h
+include/llvm/Transforms/Utils/UnifyFunctionExitNodes.h
+include/llvm/Transforms/Utils/UnrollLoop.h
+include/llvm/Transforms/Utils/ValueMapper.h
+include/llvm/Transforms/Vectorize.h
+include/llvm/Transforms/Vectorize/LoopVectorize.h
+include/llvm/Transforms/Vectorize/SLPVectorizer.h
+lib/BugpointPasses.${SOEXT}
+lib/LLVMHello.${SOEXT}
+lib/cmake/llvm/AddLLVM.cmake
+lib/cmake/llvm/AddLLVMDefinitions.cmake
+lib/cmake/llvm/AddOCaml.cmake
+lib/cmake/llvm/AddSphinxTarget.cmake
+lib/cmake/llvm/CheckAtomic.cmake
+lib/cmake/llvm/CheckCompilerVersion.cmake
+lib/cmake/llvm/ChooseMSVCCRT.cmake
+lib/cmake/llvm/CrossCompile.cmake
+lib/cmake/llvm/DetermineGCCCompatible.cmake
+lib/cmake/llvm/FindOCaml.cmake
+lib/cmake/llvm/FindSphinx.cmake
+lib/cmake/llvm/GenerateVersionFromCVS.cmake
+lib/cmake/llvm/GetSVN.cmake
+lib/cmake/llvm/HandleLLVMOptions.cmake
+lib/cmake/llvm/HandleLLVMStdlib.cmake
+lib/cmake/llvm/LLVM-Config.cmake
+lib/cmake/llvm/LLVMConfig.cmake
+lib/cmake/llvm/LLVMConfigVersion.cmake
+lib/cmake/llvm/LLVMExports-release.cmake
+lib/cmake/llvm/LLVMExports.cmake
+lib/cmake/llvm/LLVMExternalProjectUtils.cmake
+lib/cmake/llvm/LLVMInstallSymlink.cmake
+lib/cmake/llvm/LLVMProcessSources.cmake
+lib/cmake/llvm/TableGen.cmake
+lib/cmake/llvm/VersionFromVCS.cmake
+${PLIST.AArch64}lib/libLLVMAArch64AsmParser.a
+${PLIST.AArch64}lib/libLLVMAArch64AsmPrinter.a
+${PLIST.AArch64}lib/libLLVMAArch64CodeGen.a
+${PLIST.AArch64}lib/libLLVMAArch64Desc.a
+${PLIST.AArch64}lib/libLLVMAArch64Disassembler.a
+${PLIST.AArch64}lib/libLLVMAArch64Info.a
+${PLIST.AArch64}lib/libLLVMAArch64Utils.a
+${PLIST.AMDGPU}lib/libLLVMAMDGPUAsmParser.a
+${PLIST.AMDGPU}lib/libLLVMAMDGPUAsmPrinter.a
+${PLIST.AMDGPU}lib/libLLVMAMDGPUCodeGen.a
+${PLIST.AMDGPU}lib/libLLVMAMDGPUDesc.a
+${PLIST.AMDGPU}lib/libLLVMAMDGPUDisassembler.a
+${PLIST.AMDGPU}lib/libLLVMAMDGPUInfo.a
+${PLIST.AMDGPU}lib/libLLVMAMDGPUUtils.a
+${PLIST.ARM}lib/libLLVMARMAsmParser.a
+${PLIST.ARM}lib/libLLVMARMAsmPrinter.a
+${PLIST.ARM}lib/libLLVMARMCodeGen.a
+${PLIST.ARM}lib/libLLVMARMDesc.a
+${PLIST.ARM}lib/libLLVMARMDisassembler.a
+${PLIST.ARM}lib/libLLVMARMInfo.a
+lib/libLLVMAnalysis.a
+lib/libLLVMAsmParser.a
+lib/libLLVMAsmPrinter.a
+${PLIST.BPF}lib/libLLVMBPFAsmPrinter.a
+${PLIST.BPF}lib/libLLVMBPFCodeGen.a
+${PLIST.BPF}lib/libLLVMBPFDesc.a
+${PLIST.BPF}lib/libLLVMBPFDisassembler.a
+${PLIST.BPF}lib/libLLVMBPFInfo.a
+lib/libLLVMBitReader.a
+lib/libLLVMBitWriter.a
+lib/libLLVMCodeGen.a
+lib/libLLVMCore.a
+lib/libLLVMCoroutines.a
+lib/libLLVMCoverage.a
+lib/libLLVMDebugInfoCodeView.a
+lib/libLLVMDebugInfoDWARF.a
+lib/libLLVMDebugInfoMSF.a
+lib/libLLVMDebugInfoPDB.a
+lib/libLLVMDemangle.a
+lib/libLLVMExecutionEngine.a
+lib/libLLVMGlobalISel.a
+${PLIST.Hexagon}lib/libLLVMHexagonAsmParser.a
+${PLIST.Hexagon}lib/libLLVMHexagonCodeGen.a
+${PLIST.Hexagon}lib/libLLVMHexagonDesc.a
+${PLIST.Hexagon}lib/libLLVMHexagonDisassembler.a
+${PLIST.Hexagon}lib/libLLVMHexagonInfo.a
+lib/libLLVMIRReader.a
+lib/libLLVMInstCombine.a
+lib/libLLVMInstrumentation.a
+lib/libLLVMInterpreter.a
+lib/libLLVMLTO.a
+lib/libLLVMLibDriver.a
+lib/libLLVMLineEditor.a
+lib/libLLVMLinker.a
+lib/libLLVMMC.a
+lib/libLLVMMCDisassembler.a
+lib/libLLVMMCJIT.a
+lib/libLLVMMCParser.a
+lib/libLLVMMIRParser.a
+${PLIST.MSP430}lib/libLLVMMSP430AsmPrinter.a
+${PLIST.MSP430}lib/libLLVMMSP430CodeGen.a
+${PLIST.MSP430}lib/libLLVMMSP430Desc.a
+${PLIST.MSP430}lib/libLLVMMSP430Info.a
+${PLIST.Mips}lib/libLLVMMipsAsmParser.a
+${PLIST.Mips}lib/libLLVMMipsAsmPrinter.a
+${PLIST.Mips}lib/libLLVMMipsCodeGen.a
+${PLIST.Mips}lib/libLLVMMipsDesc.a
+${PLIST.Mips}lib/libLLVMMipsDisassembler.a
+${PLIST.Mips}lib/libLLVMMipsInfo.a
+${PLIST.NVPTX}lib/libLLVMNVPTXAsmPrinter.a
+${PLIST.NVPTX}lib/libLLVMNVPTXCodeGen.a
+${PLIST.NVPTX}lib/libLLVMNVPTXDesc.a
+${PLIST.NVPTX}lib/libLLVMNVPTXInfo.a
+lib/libLLVMObjCARCOpts.a
+lib/libLLVMObject.a
+lib/libLLVMObjectYAML.a
+lib/libLLVMOption.a
+lib/libLLVMOrcJIT.a
+lib/libLLVMPasses.a
+${PLIST.PowerPC}lib/libLLVMPowerPCAsmParser.a
+${PLIST.PowerPC}lib/libLLVMPowerPCAsmPrinter.a
+${PLIST.PowerPC}lib/libLLVMPowerPCCodeGen.a
+${PLIST.PowerPC}lib/libLLVMPowerPCDesc.a
+${PLIST.PowerPC}lib/libLLVMPowerPCDisassembler.a
+${PLIST.PowerPC}lib/libLLVMPowerPCInfo.a
+lib/libLLVMProfileData.a
+lib/libLLVMRuntimeDyld.a
+lib/libLLVMScalarOpts.a
+lib/libLLVMSelectionDAG.a
+${PLIST.Sparc}lib/libLLVMSparcAsmParser.a
+${PLIST.Sparc}lib/libLLVMSparcAsmPrinter.a
+${PLIST.Sparc}lib/libLLVMSparcCodeGen.a
+${PLIST.Sparc}lib/libLLVMSparcDesc.a
+${PLIST.Sparc}lib/libLLVMSparcDisassembler.a
+${PLIST.Sparc}lib/libLLVMSparcInfo.a
+lib/libLLVMSupport.a
+lib/libLLVMSymbolize.a
+${PLIST.SystemZ}lib/libLLVMSystemZAsmParser.a
+${PLIST.SystemZ}lib/libLLVMSystemZAsmPrinter.a
+${PLIST.SystemZ}lib/libLLVMSystemZCodeGen.a
+${PLIST.SystemZ}lib/libLLVMSystemZDesc.a
+${PLIST.SystemZ}lib/libLLVMSystemZDisassembler.a
+${PLIST.SystemZ}lib/libLLVMSystemZInfo.a
+lib/libLLVMTableGen.a
+lib/libLLVMTarget.a
+lib/libLLVMTransformUtils.a
+lib/libLLVMVectorize.a
+${PLIST.X86}lib/libLLVMX86AsmParser.a
+${PLIST.X86}lib/libLLVMX86AsmPrinter.a
+${PLIST.X86}lib/libLLVMX86CodeGen.a
+${PLIST.X86}lib/libLLVMX86Desc.a
+${PLIST.X86}lib/libLLVMX86Disassembler.a
+${PLIST.X86}lib/libLLVMX86Info.a
+${PLIST.X86}lib/libLLVMX86Utils.a
+${PLIST.XCore}lib/libLLVMXCoreAsmPrinter.a
+${PLIST.XCore}lib/libLLVMXCoreCodeGen.a
+${PLIST.XCore}lib/libLLVMXCoreDesc.a
+${PLIST.XCore}lib/libLLVMXCoreDisassembler.a
+${PLIST.XCore}lib/libLLVMXCoreInfo.a
+lib/libLLVMipo.a
+lib/libLTO.${SOEXT}
+lib/libLTO.${SOEXT}.40
+lib/libLTO.${SOEXT}.40.0svn
diff --git a/llvm-netbsd/TODO b/llvm-netbsd/TODO
new file mode 100644
index 0000000..81c1d27
--- /dev/null
+++ b/llvm-netbsd/TODO
@@ -0,0 +1,5 @@
+warning: /tmp/pkgsrc-tmp/wip/lldb-git/work/.destdir/usr/pkg/share/clang/clang-format-bbedit.applescript: executable bit is set on non-executable file.
+warning: /tmp/pkgsrc-tmp/wip/lldb-git/work/.destdir/usr/pkg/share/clang/clang-format-sublime.py: executable bit is set on non-executable file.
+warning: /tmp/pkgsrc-tmp/wip/lldb-git/work/.destdir/usr/pkg/share/clang/clang-format.el: executable bit is set on non-executable file.
+warning: /tmp/pkgsrc-tmp/wip/lldb-git/work/.destdir/usr/pkg/share/clang/clang-format.py: executable bit is set on non-executable file.
+warning: /tmp/pkgsrc-tmp/wip/lldb-git/work/.destdir/usr/pkg/share/man/man1/scan-build.1: executable bit is set on non-executable file.
diff --git a/llvm-netbsd/buildlink3.mk b/llvm-netbsd/buildlink3.mk
new file mode 100644
index 0000000..8511794
--- /dev/null
+++ b/llvm-netbsd/buildlink3.mk
@@ -0,0 +1,16 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	llvm
+
+.if !defined(LLVM_BUILDLINK3_MK)
+LLVM_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.llvm+=	llvm>=3.9.0
+BUILDLINK_PKGSRCDIR.llvm?=	../../wip/llvm-netbsd
+
+LLVM_CONFIG_PATH?=		${BUILDLINK_PREFIX.llvm}/bin/llvm-config
+
+.include "../../devel/zlib/buildlink3.mk"
+.endif	# LLVM_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-llvm
diff --git a/llvm-netbsd/distinfo b/llvm-netbsd/distinfo
new file mode 100644
index 0000000..7931384
--- /dev/null
+++ b/llvm-netbsd/distinfo
@@ -0,0 +1,14 @@
+$NetBSD: distinfo,v 1.35 2015/09/11 01:21:57 tnn Exp $
+
+SHA1 (cfe-3.6.2.src.tar.xz) = 7ba809c9c17819a16b668640a642ed134d7052f0
+RMD160 (cfe-3.6.2.src.tar.xz) = 10d913b4d5317f8c2520e5fc6117df30937317a8
+Size (cfe-3.6.2.src.tar.xz) = 8617576 bytes
+SHA1 (compiler-rt-3.6.2.src.tar.xz) = c6c52d2923a60f1a2ca2f22fea1770fd2e25728d
+RMD160 (compiler-rt-3.6.2.src.tar.xz) = 9b68a32d49d4bef4603d550934192f39fea42895
+Size (compiler-rt-3.6.2.src.tar.xz) = 1128080 bytes
+SHA1 (libcxx-3.6.2.src.tar.xz) = 6c5aee9f05ecf17d1e3ecb1add34a33a5a904469
+RMD160 (libcxx-3.6.2.src.tar.xz) = 42b8832d01d4e6b553babc93cb5dbd4ce2bb1931
+Size (libcxx-3.6.2.src.tar.xz) = 944020 bytes
+SHA1 (llvm-3.6.2.src.tar.xz) = 7a00257eb2bc9431e4c77c3a36b033072c54bc7e
+RMD160 (llvm-3.6.2.src.tar.xz) = 521cbc5fe2925ea3c6e90c7a31f752a04045c972
+Size (llvm-3.6.2.src.tar.xz) = 12802380 bytes
diff --git a/llvm-netbsd/options.mk b/llvm-netbsd/options.mk
new file mode 100644
index 0000000..bdb11ec
--- /dev/null
+++ b/llvm-netbsd/options.mk
@@ -0,0 +1,38 @@
+# $NetBSD$
+
+PKG_OPTIONS_VAR=	PKG_OPTIONS.llvm
+
+LLVM_TARGETS=	AArch64 AMDGPU ARM BPF Hexagon MSP430 Mips NVPTX PowerPC Sparc SystemZ X86 XCore
+
+.for tgt in ${LLVM_TARGETS}
+PLIST_VARS+=			${tgt}
+PKG_SUPPORTED_OPTIONS+=		llvm-target-${tgt:tl}
+.endfor
+
+# Probably safe to assume that only x86 users are interested in
+# cross-compilation for now. This saves some build time for everyone else.
+.if !empty(MACHINE_ARCH:Msparc*)
+PKG_SUGGESTED_OPTIONS+=		llvm-target-sparc
+.elif !empty(MACHINE_ARCH:Mpowerpc*)
+PKG_SUGGESTED_OPTIONS+=		llvm-target-powerpc
+.elif !empty(MACHINE_ARCH:Mearm*)
+PKG_SUGGESTED_OPTIONS+=		llvm-target-arm
+.elif !empty(MACHINE_ARCH:M*mips*)
+PKG_SUGGESTED_OPTIONS+=		llvm-target-mips
+.else
+# X86 and everyone else get all targets by default.
+.  for tgt in ${LLVM_TARGETS}
+PKG_SUGGESTED_OPTIONS+=		llvm-target-${tgt:tl}
+.  endfor
+.endif
+
+.include "../../mk/bsd.options.mk"
+
+.for tgt in ${LLVM_TARGETS}
+.  if !empty(PKG_OPTIONS:Mllvm-target-${tgt:tl})
+PLIST.${tgt}=		yes
+LLVM_TARGETS_TO_BUILD+=	${tgt}
+.  endif
+.endfor
+
+CMAKE_ARGS+=	-DLLVM_TARGETS_TO_BUILD="${LLVM_TARGETS_TO_BUILD:ts;}"


Home | Main Index | Thread Index | Old Index