pkgsrc-WIP-changes archive

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

llvm: start update to 14.0.6



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%gatalith.at@localhost>
Pushed By:	wiz
Date:		Mon Jul 4 09:03:59 2022 +0200
Changeset:	7d994c467894970f61ed96146196d34806f2141b

Modified Files:
	Makefile
Added Files:
	clang/DESCR
	clang/Makefile
	clang/Makefile.common
	clang/PLIST
	clang/PLIST.Darwin
	clang/buildlink3.mk
	clang/distinfo
	clang/patches/patch-lib_Basic_Targets_OSTargets.h
	clang/patches/patch-lib_Driver_ToolChain.cpp
	clang/patches/patch-lib_Driver_ToolChains_Solaris.cpp
	clang/patches/patch-lib_Driver_ToolChains_Solaris.h
	clang/patches/patch-tools_clang-shlib_CMakeLists.txt
	clang/patches/patch-tools_libclang_CMakeLists.txt
	libcxx/DESCR
	libcxx/Makefile
	libcxx/PLIST
	libcxx/buildlink3.mk
	libcxx/distinfo
	libcxx/patches/patch-include_____config
	libcxx/patches/patch-src_filesystem_directory__iterator.cpp
	libcxx/patches/patch-src_support_solaris_xlocale.cpp
	libcxxabi/DESCR
	libcxxabi/Makefile
	libcxxabi/PLIST
	libcxxabi/TODO
	libcxxabi/buildlink3.mk
	libcxxabi/distinfo
	libunwind/DESCR
	libunwind/Makefile
	libunwind/PLIST
	libunwind/TODO
	libunwind/buildlink3.mk
	libunwind/distinfo
	libunwind/patches/patch-include_____libunwind__config.h
	libunwind/patches/patch-src_UnwindRegistersRestore.S
	libunwind/patches/patch-src_UnwindRegistersSave.S
	libunwind/patches/patch-src_config.h
	libunwind/patches/patch-src_libunwind.cpp
	llvm/DESCR
	llvm/Makefile
	llvm/PLIST
	llvm/buildlink3.mk
	llvm/distinfo
	llvm/hacks.mk
	llvm/options.mk
	llvm/patches/patch-CMakeLists.txt
	llvm/patches/patch-cmake_config-ix.cmake
	llvm/patches/patch-cmake_modules_AddLLVM.cmake
	llvm/patches/patch-include_llvm-c_DataTypes.h
	llvm/patches/patch-include_llvm_Analysis_ConstantFolding.h
	llvm/patches/patch-tools_llvm-shlib_CMakeLists.txt
	llvm/version.mk

Log Message:
llvm: start update to 14.0.6

libcxxabi doesn't build

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

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

diffstat:
 Makefile                                           |    9 +-
 clang/DESCR                                        |   22 +
 clang/Makefile                                     |    9 +
 clang/Makefile.common                              |  173 ++
 clang/PLIST                                        |  950 +++++++++
 clang/PLIST.Darwin                                 |    2 +
 clang/buildlink3.mk                                |   40 +
 clang/distinfo                                     |   11 +
 clang/patches/patch-lib_Basic_Targets_OSTargets.h  |   60 +
 clang/patches/patch-lib_Driver_ToolChain.cpp       |   16 +
 .../patch-lib_Driver_ToolChains_Solaris.cpp        |  241 +++
 .../patches/patch-lib_Driver_ToolChains_Solaris.h  |   24 +
 .../patches/patch-tools_clang-shlib_CMakeLists.txt |   14 +
 clang/patches/patch-tools_libclang_CMakeLists.txt  |   34 +
 libcxx/DESCR                                       |   11 +
 libcxx/Makefile                                    |   52 +
 libcxx/PLIST                                       |  395 ++++
 libcxx/buildlink3.mk                               |   14 +
 libcxx/distinfo                                    |   14 +
 libcxx/patches/patch-include_____config            |   15 +
 .../patch-src_filesystem_directory__iterator.cpp   |   28 +
 .../patches/patch-src_support_solaris_xlocale.cpp  |   18 +
 libcxxabi/DESCR                                    |    7 +
 libcxxabi/Makefile                                 |   52 +
 libcxxabi/PLIST                                    |    5 +
 libcxxabi/TODO                                     |   19 +
 libcxxabi/buildlink3.mk                            |   15 +
 libcxxabi/distinfo                                 |   11 +
 libunwind/DESCR                                    |    1 +
 libunwind/Makefile                                 |   49 +
 libunwind/PLIST                                    |    9 +
 libunwind/TODO                                     |    1 +
 libunwind/buildlink3.mk                            |   13 +
 libunwind/distinfo                                 |   16 +
 .../patches/patch-include_____libunwind__config.h  |   15 +
 .../patches/patch-src_UnwindRegistersRestore.S     |   15 +
 libunwind/patches/patch-src_UnwindRegistersSave.S  |   15 +
 libunwind/patches/patch-src_config.h               |   15 +
 libunwind/patches/patch-src_libunwind.cpp          |   15 +
 llvm/DESCR                                         |   22 +
 llvm/Makefile                                      |  129 ++
 llvm/PLIST                                         | 2017 ++++++++++++++++++++
 llvm/buildlink3.mk                                 |  107 ++
 llvm/distinfo                                      |   11 +
 llvm/hacks.mk                                      |   12 +
 llvm/options.mk                                    |   63 +
 llvm/patches/patch-CMakeLists.txt                  |   15 +
 llvm/patches/patch-cmake_config-ix.cmake           |   20 +
 llvm/patches/patch-cmake_modules_AddLLVM.cmake     |   25 +
 llvm/patches/patch-include_llvm-c_DataTypes.h      |   34 +
 .../patch-include_llvm_Analysis_ConstantFolding.h  |   17 +
 llvm/patches/patch-tools_llvm-shlib_CMakeLists.txt |   34 +
 llvm/version.mk                                    |   19 +
 53 files changed, 4948 insertions(+), 2 deletions(-)

diffs:
diff --git a/Makefile b/Makefile
index 7be471f3b4..0476d523e4 100644
--- a/Makefile
+++ b/Makefile
@@ -213,7 +213,6 @@ SUBDIR+=	arx-libertatis-git
 SUBDIR+=	ascii2binary
 SUBDIR+=	aspell-dictionaries
 SUBDIR+=	asql
-SUBDIR+=	ast-ksh
 SUBDIR+=	asterisk11-vicidial
 SUBDIR+=	astguiclient-vicidial
 SUBDIR+=	atanks
@@ -454,6 +453,7 @@ SUBDIR+=	cl-trivial-gray-streams
 SUBDIR+=	cl-unicode
 SUBDIR+=	cl-who
 SUBDIR+=	clamassassin
+SUBDIR+=	clang
 SUBDIR+=	clasp
 SUBDIR+=	classgen
 SUBDIR+=	classic-mac-font-pack
@@ -1969,6 +1969,7 @@ SUBDIR+=	krename
 SUBDIR+=	kronometer
 SUBDIR+=	kscreen
 SUBDIR+=	kscreenlocker
+SUBDIR+=	ksh93
 SUBDIR+=	ksshaskpass
 SUBDIR+=	kstest
 SUBDIR+=	ksysguard
@@ -2052,6 +2053,8 @@ SUBDIR+=	libcsplit
 SUBDIR+=	libcthreads
 SUBDIR+=	libcuba
 SUBDIR+=	libcue
+SUBDIR+=	libcxx
+SUBDIR+=	libcxxabi
 SUBDIR+=	libdbglog
 SUBDIR+=	libdbh2
 SUBDIR+=	libdialog
@@ -2216,6 +2219,7 @@ SUBDIR+=	libucl
 SUBDIR+=	libudev
 SUBDIR+=	libuna
 SUBDIR+=	libunit
+SUBDIR+=	libunwind
 SUBDIR+=	libunwind-git
 SUBDIR+=	libusbmuxd
 SUBDIR+=	libvalhalla
@@ -2276,6 +2280,7 @@ SUBDIR+=	litehtml
 SUBDIR+=	lives
 SUBDIR+=	lizardfs
 SUBDIR+=	llilc-git
+SUBDIR+=	llvm
 SUBDIR+=	llvm-dfbsd
 SUBDIR+=	llvm-project-netbsd
 SUBDIR+=	lmdbg-current
@@ -2298,6 +2303,7 @@ SUBDIR+=	lsyncd
 SUBDIR+=	ltc-tools
 SUBDIR+=	ltp-git
 SUBDIR+=	ltrace
+SUBDIR+=	ltsmin
 SUBDIR+=	lua-MessagePack
 SUBDIR+=	lua-lbn
 SUBDIR+=	lua-ldoc
@@ -5268,7 +5274,6 @@ SUBDIR+=	sic
 SUBDIR+=	sickle
 SUBDIR+=	sigdigger
 SUBDIR+=	signify
-SUBDIR+=	signify-libbsd
 SUBDIR+=	sigutils
 SUBDIR+=	sil
 SUBDIR+=	sil-scheherazade-ttf
diff --git a/clang/DESCR b/clang/DESCR
new file mode 100644
index 0000000000..f00fcdbf80
--- /dev/null
+++ b/clang/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 the 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 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/Makefile b/clang/Makefile
new file mode 100644
index 0000000000..bcef29cf5c
--- /dev/null
+++ b/clang/Makefile
@@ -0,0 +1,9 @@
+# $NetBSD: Makefile,v 1.70 2022/06/30 11:18:32 nia Exp $
+
+.include "Makefile.common"
+
+PKGNAME=	${DISTNAME:S/.src//}
+
+USE_TOOLS+=	perl:run
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/clang/Makefile.common b/clang/Makefile.common
new file mode 100644
index 0000000000..42785d6080
--- /dev/null
+++ b/clang/Makefile.common
@@ -0,0 +1,173 @@
+# $NetBSD: Makefile.common,v 1.49 2022/06/11 13:45:44 fcambus Exp $
+# used by lang/clang/Makefile
+# used by lang/clang-tools-extra/Makefile
+
+.include "../../wip/llvm/version.mk"
+
+DISTNAME=	clang-${LLVM_VERSION}.src
+CATEGORIES=	lang devel
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://clang.llvm.org/
+COMMENT=	C language family frontend for LLVM
+LICENSE=	apache-2.0
+
+CONFIGURE_DIRS=		${WRKDIR}/build
+CMAKE_ARG_PATH=		${WRKSRC}
+
+USE_LANGUAGES=		c c++14
+USE_CMAKE=		yes
+GCC_REQD+=		5
+
+CMAKE_ARGS+=	-DLLVM_CONFIG=${LLVM_CONFIG_PATH:Q}
+CMAKE_ARGS+=	-DCMAKE_BUILD_TYPE=Release
+CMAKE_ARGS+=	-DCMAKE_C_COMPILER=${CC:Q}
+CMAKE_ARGS+=	-DCMAKE_CXX_COMPILER=${CXX:Q}
+
+.include "../../mk/compiler.mk"
+
+CMAKE_ARGS.Darwin+=	-DCMAKE_LIBTOOL=/usr/bin/libtool
+.if defined(OSX_SDK_PATH)
+CMAKE_ARGS.Darwin+=	-DDEFAULT_SYSROOT=${OSX_SDK_PATH:Q}
+.endif
+
+# NetBSD < 10 did not provide ENOTRECOVERABLE
+# https://bugs.llvm.org/show_bug.cgi?id=52587
+.if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} < 099949
+CXXFLAGS+=	-D_GLIBCXX_HAVE_ENOTRECOVERABLE=1
+CXXFLAGS+=	-DENOTRECOVERABLE=98
+.endif
+
+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+=	docs/tools/generate_formatted_state.py
+REPLACE_PYTHON+=	lib/Tooling/DumpTool/generate_cxx_src_locs.py
+REPLACE_PYTHON+=	test/AST/gen_ast_dump_json_test.py
+REPLACE_PYTHON+=	test/Analysis/check-analyzer-fixit.py
+REPLACE_PYTHON+=	test/Driver/check-time-trace-sections.py
+REPLACE_PYTHON+=	tools/clang-format/clang-format-diff.py
+REPLACE_PYTHON+=	tools/clang-format/git-clang-format
+REPLACE_PYTHON+=	tools/scan-build-py/bin/analyze-build
+REPLACE_PYTHON+=	tools/scan-build-py/bin/intercept-build
+REPLACE_PYTHON+=	tools/scan-build-py/bin/scan-build
+REPLACE_PYTHON+=	tools/scan-build-py/libexec/analyze-c++
+REPLACE_PYTHON+=	tools/scan-build-py/libexec/analyze-cc
+REPLACE_PYTHON+=	tools/scan-build-py/libexec/intercept-c++
+REPLACE_PYTHON+=	tools/scan-build-py/libexec/intercept-cc
+REPLACE_PYTHON+=	tools/scan-build/bin/set-xcode-analyzer
+REPLACE_PYTHON+=	tools/scan-view/bin/scan-view
+REPLACE_PYTHON+=	tools/scan-view/share/Reporter.py
+REPLACE_PYTHON+=	tools/scan-view/share/startfile.py
+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/SATest.py
+REPLACE_PYTHON+=	utils/analyzer/SATestAdd.py
+REPLACE_PYTHON+=	utils/analyzer/SATestBuild.py
+REPLACE_PYTHON+=	utils/analyzer/SATestUpdateDiffs.py
+REPLACE_PYTHON+=	utils/analyzer/SumTimerInfo.py
+REPLACE_PYTHON+=	utils/analyzer/exploded-graph-rewriter.py
+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/clangdiag.py
+REPLACE_PYTHON+=	utils/convert_arm_neon.py
+REPLACE_PYTHON+=	utils/creduce-clang-crash.py
+REPLACE_PYTHON+=	utils/hmaptool/hmaptool
+REPLACE_PYTHON+=	utils/modfuzz.py
+REPLACE_PYTHON+=	utils/module-deps-to-rsp.py
+REPLACE_PYTHON+=	utils/token-delta.py
+REPLACE_PYTHON+=	www/builtins.py
+REPLACE_PYTHON+=	www/make_cxx_dr_status
+
+.if ${OPSYS} == "NetBSD" && ${PKGSRC_COMPILER:Mclang}
+# command to check if clang is using libc++ or libstdc++
+LIBCPP_CHECK!=	\
+	printf '%s\n' \
+		'\#include <ciso646>' \
+		'\#ifdef _LIBCPP_VERSION' \
+		'YES' \
+		'\#endif' \
+	| ${CLANGBASE}/bin/clang++ -x c++ -E - 2>&1 \
+	| grep YES || true
+.else
+LIBCPP_CHECK=	NO
+.endif
+
+.if ${OPSYS} == "NetBSD" && ${LIBCPP_CHECK} != YES
+CMAKE_ARGS+=			-DCLANG_DEFAULT_CXX_STDLIB:STRING="libstdc++"
+.endif
+
+# Enable full LLVM suite on SunOS
+.if ${OPSYS} == "SunOS"
+.include "../../wip/compiler-rt/buildlink3.mk"
+.include "../../wip/libcxx/buildlink3.mk"
+.include "../../wip/libcxxabi/buildlink3.mk"
+.include "../../wip/libunwind/buildlink3.mk"
+CMAKE_ARGS+=    -DCLANG_DEFAULT_RTLIB:STRING="compiler-rt"
+CMAKE_ARGS+=    -DCLANG_DEFAULT_CXX_STDLIB:STRING="libc++"
+.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 ${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 z3
+
+.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
+
+.include "../../wip/llvm/buildlink3.mk"
+
+.if !empty(PKG_OPTIONS:Mz3)
+.if empty(PKG_BUILD_OPTIONS.llvm:Mz3)
+PKG_FAIL_REASON+=	"z3 PKG_OPTION must be enabled in lang/llvm"
+.endif
+.include "../../math/z3/buildlink3.mk"
+CMAKE_ARGS+=		-DLLVM_ENABLE_Z3_SOLVER=ON
+.endif
+
+post-extract:
+	${MKDIR} ${WRKDIR}/build
+
+.include "../../textproc/libxml2/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../lang/python/application.mk"
+.include "../../lang/python/tool.mk"
+DEPENDS+=	llvm-${PKGVERSION_NOREV}{,nb*}:../../wip/llvm
diff --git a/clang/PLIST b/clang/PLIST
new file mode 100644
index 0000000000..2326c2013c
--- /dev/null
+++ b/clang/PLIST
@@ -0,0 +1,950 @@
+@comment $NetBSD: PLIST,v 1.33 2022/05/09 11:52:44 adam Exp $
+bin/analyze-build
+bin/c-index-test
+bin/clang
+bin/clang++
+bin/clang-14
+bin/clang-check
+bin/clang-cl
+bin/clang-cpp
+bin/clang-extdef-mapping
+bin/clang-format
+bin/clang-linker-wrapper
+bin/clang-nvlink-wrapper
+bin/clang-offload-bundler
+bin/clang-offload-wrapper
+bin/clang-refactor
+bin/clang-rename
+bin/clang-repl
+bin/clang-scan-deps
+bin/diagtool
+bin/git-clang-format
+bin/hmaptool
+bin/intercept-build
+bin/scan-build
+bin/scan-build-py
+bin/scan-view
+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/ExternC.h
+include/clang-c/FatalErrorHandler.h
+include/clang-c/Index.h
+include/clang-c/Platform.h
+include/clang-c/Rewrite.h
+include/clang/APINotes/APINotesYAMLCompiler.h
+include/clang/APINotes/Types.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/ASTConcept.h
+include/clang/AST/ASTConsumer.h
+include/clang/AST/ASTContext.h
+include/clang/AST/ASTContextAllocate.h
+include/clang/AST/ASTDiagnostic.h
+include/clang/AST/ASTDumper.h
+include/clang/AST/ASTDumperUtils.h
+include/clang/AST/ASTFwd.h
+include/clang/AST/ASTImporter.h
+include/clang/AST/ASTImporterLookupTable.h
+include/clang/AST/ASTImporterSharedState.h
+include/clang/AST/ASTLambda.h
+include/clang/AST/ASTMutationListener.h
+include/clang/AST/ASTNodeTraverser.h
+include/clang/AST/ASTStructuralEquivalence.h
+include/clang/AST/ASTTypeTraits.h
+include/clang/AST/ASTUnresolvedSet.h
+include/clang/AST/ASTVector.h
+include/clang/AST/AbstractBasicReader.h
+include/clang/AST/AbstractBasicReader.inc
+include/clang/AST/AbstractBasicWriter.h
+include/clang/AST/AbstractBasicWriter.inc
+include/clang/AST/AbstractTypeReader.h
+include/clang/AST/AbstractTypeReader.inc
+include/clang/AST/AbstractTypeWriter.h
+include/clang/AST/AbstractTypeWriter.inc
+include/clang/AST/Attr.h
+include/clang/AST/AttrImpl.inc
+include/clang/AST/AttrIterator.h
+include/clang/AST/AttrNodeTraverse.inc
+include/clang/AST/AttrTextNodeDump.inc
+include/clang/AST/AttrVisitor.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/CXXRecordDeclDefinitionBits.def
+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/ComparisonCategories.h
+include/clang/AST/ComputeDependence.h
+include/clang/AST/CurrentSourceLocExprScope.h
+include/clang/AST/DataCollection.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/DeclObjCCommon.h
+include/clang/AST/DeclOpenMP.h
+include/clang/AST/DeclTemplate.h
+include/clang/AST/DeclVisitor.h
+include/clang/AST/DeclarationName.h
+include/clang/AST/DependenceFlags.h
+include/clang/AST/DependentDiagnostic.h
+include/clang/AST/EvaluatedExprVisitor.h
+include/clang/AST/Expr.h
+include/clang/AST/ExprCXX.h
+include/clang/AST/ExprConcepts.h
+include/clang/AST/ExprObjC.h
+include/clang/AST/ExprOpenMP.h
+include/clang/AST/ExternalASTMerger.h
+include/clang/AST/ExternalASTSource.h
+include/clang/AST/FormatString.h
+include/clang/AST/GlobalDecl.h
+include/clang/AST/IgnoreExpr.h
+include/clang/AST/JSONNodeDumper.h
+include/clang/AST/LambdaCapture.h
+include/clang/AST/LexicallyOrderedRecursiveASTVisitor.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/NonTrivialTypeVisitor.h
+include/clang/AST/ODRHash.h
+include/clang/AST/OSLog.h
+include/clang/AST/OpenMPClause.h
+include/clang/AST/OperationKinds.def
+include/clang/AST/OperationKinds.h
+include/clang/AST/OptionalDiagnostic.h
+include/clang/AST/ParentMap.h
+include/clang/AST/ParentMapContext.h
+include/clang/AST/PrettyDeclStackTrace.h
+include/clang/AST/PrettyPrinter.h
+include/clang/AST/QualTypeNames.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/StmtDataCollectors.inc
+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/TemplateArgumentVisitor.h
+include/clang/AST/TemplateBase.h
+include/clang/AST/TemplateName.h
+include/clang/AST/TextNodeDumper.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.inc
+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/ASTMatchers/GtestMatchers.h
+include/clang/Analysis/Analyses/CFGReachabilityAnalysis.h
+include/clang/Analysis/Analyses/CalledOnceCheck.h
+include/clang/Analysis/Analyses/Consumed.h
+include/clang/Analysis/Analyses/Dominators.h
+include/clang/Analysis/Analyses/ExprMutationAnalyzer.h
+include/clang/Analysis/Analyses/LiveVariables.h
+include/clang/Analysis/Analyses/PostOrderCFGView.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/AnalysisDeclContext.h
+include/clang/Analysis/AnalysisDiagnostic.h
+include/clang/Analysis/AnyCall.h
+include/clang/Analysis/BodyFarm.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/ConstructionContext.h
+include/clang/Analysis/DomainSpecific/CocoaConventions.h
+include/clang/Analysis/DomainSpecific/ObjCNoReturn.h
+include/clang/Analysis/FlowSensitive/ControlFlowContext.h
+include/clang/Analysis/FlowSensitive/DataflowAnalysis.h
+include/clang/Analysis/FlowSensitive/DataflowAnalysisContext.h
+include/clang/Analysis/FlowSensitive/DataflowEnvironment.h
+include/clang/Analysis/FlowSensitive/DataflowLattice.h
+include/clang/Analysis/FlowSensitive/DataflowValues.h
+include/clang/Analysis/FlowSensitive/DataflowWorklist.h
+include/clang/Analysis/FlowSensitive/MapLattice.h
+include/clang/Analysis/FlowSensitive/StorageLocation.h
+include/clang/Analysis/FlowSensitive/Transfer.h
+include/clang/Analysis/FlowSensitive/TypeErasedDataflowAnalysis.h
+include/clang/Analysis/FlowSensitive/Value.h
+include/clang/Analysis/IssueHash.h
+include/clang/Analysis/MacroExpansionContext.h
+include/clang/Analysis/PathDiagnostic.h
+include/clang/Analysis/ProgramPoint.h
+include/clang/Analysis/RetainSummaryManager.h
+include/clang/Analysis/SelectorExtras.h
+include/clang/Analysis/Support/BumpVector.h
+include/clang/Basic/AArch64SVEACLETypes.def
+include/clang/Basic/ABI.h
+include/clang/Basic/AddressSpaces.h
+include/clang/Basic/AlignedAllocation.h
+include/clang/Basic/AllDiagnostics.h
+include/clang/Basic/AttrHasAttributeImpl.inc
+include/clang/Basic/AttrKinds.h
+include/clang/Basic/AttrList.inc
+include/clang/Basic/AttrSubMatchRulesList.inc
+include/clang/Basic/AttrSubjectMatchRules.h
+include/clang/Basic/AttributeCommonInfo.h
+include/clang/Basic/Attributes.h
+include/clang/Basic/BitmaskEnum.h
+include/clang/Basic/Builtins.def
+include/clang/Basic/Builtins.h
+include/clang/Basic/BuiltinsAArch64.def
+include/clang/Basic/BuiltinsAArch64NeonSVEBridge.def
+include/clang/Basic/BuiltinsAArch64NeonSVEBridge_cg.def
+include/clang/Basic/BuiltinsAMDGPU.def
+include/clang/Basic/BuiltinsARM.def
+include/clang/Basic/BuiltinsBPF.def
+include/clang/Basic/BuiltinsHexagon.def
+include/clang/Basic/BuiltinsHexagonDep.def
+include/clang/Basic/BuiltinsHexagonMapCustomDep.def
+include/clang/Basic/BuiltinsMips.def
+include/clang/Basic/BuiltinsNEON.def
+include/clang/Basic/BuiltinsNVPTX.def
+include/clang/Basic/BuiltinsPPC.def
+include/clang/Basic/BuiltinsRISCV.def
+include/clang/Basic/BuiltinsRISCVVector.def
+include/clang/Basic/BuiltinsSVE.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/CLWarnings.h
+include/clang/Basic/CapturedStmt.h
+include/clang/Basic/CharInfo.h
+include/clang/Basic/CodeGenOptions.def
+include/clang/Basic/CodeGenOptions.h
+include/clang/Basic/CommentOptions.h
+include/clang/Basic/Cuda.h
+include/clang/Basic/DarwinSDKInfo.h
+include/clang/Basic/DebugInfoOptions.h
+include/clang/Basic/Diagnostic.h
+include/clang/Basic/DiagnosticAST.h
+include/clang/Basic/DiagnosticASTKinds.inc
+include/clang/Basic/DiagnosticAnalysis.h
+include/clang/Basic/DiagnosticAnalysisKinds.inc
+include/clang/Basic/DiagnosticCategories.h
+include/clang/Basic/DiagnosticComment.h
+include/clang/Basic/DiagnosticCommentKinds.inc
+include/clang/Basic/DiagnosticCommonKinds.inc
+include/clang/Basic/DiagnosticCrossTU.h
+include/clang/Basic/DiagnosticCrossTUKinds.inc
+include/clang/Basic/DiagnosticDriver.h
+include/clang/Basic/DiagnosticDriverKinds.inc
+include/clang/Basic/DiagnosticError.h
+include/clang/Basic/DiagnosticFrontend.h
+include/clang/Basic/DiagnosticFrontendKinds.inc
+include/clang/Basic/DiagnosticGroups.inc
+include/clang/Basic/DiagnosticIDs.h
+include/clang/Basic/DiagnosticIndexName.inc
+include/clang/Basic/DiagnosticLex.h
+include/clang/Basic/DiagnosticLexKinds.inc
+include/clang/Basic/DiagnosticOptions.def
+include/clang/Basic/DiagnosticOptions.h
+include/clang/Basic/DiagnosticParse.h
+include/clang/Basic/DiagnosticParseKinds.inc
+include/clang/Basic/DiagnosticRefactoring.h
+include/clang/Basic/DiagnosticRefactoringKinds.inc
+include/clang/Basic/DiagnosticSema.h
+include/clang/Basic/DiagnosticSemaKinds.inc
+include/clang/Basic/DiagnosticSerialization.h
+include/clang/Basic/DiagnosticSerializationKinds.inc
+include/clang/Basic/DirectoryEntry.h
+include/clang/Basic/ExceptionSpecificationType.h
+include/clang/Basic/ExpressionTraits.h
+include/clang/Basic/FPOptions.def
+include/clang/Basic/Features.def
+include/clang/Basic/FileEntry.h
+include/clang/Basic/FileManager.h
+include/clang/Basic/FileSystemOptions.h
+include/clang/Basic/FileSystemStatCache.h
+include/clang/Basic/IdentifierTable.h
+include/clang/Basic/JsonSupport.h
+include/clang/Basic/LLVM.h
+include/clang/Basic/Lambda.h
+include/clang/Basic/LangOptions.def
+include/clang/Basic/LangOptions.h
+include/clang/Basic/LangStandard.h
+include/clang/Basic/LangStandards.def
+include/clang/Basic/Linkage.h
+include/clang/Basic/MSP430Target.def
+include/clang/Basic/MacroBuilder.h
+include/clang/Basic/Module.h
+include/clang/Basic/NoSanitizeList.h
+include/clang/Basic/ObjCRuntime.h
+include/clang/Basic/OpenCLExtensionTypes.def
+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/PPCTypes.def
+include/clang/Basic/PartialDiagnostic.h
+include/clang/Basic/PlistSupport.h
+include/clang/Basic/PragmaKinds.h
+include/clang/Basic/PrettyStackTrace.h
+include/clang/Basic/ProfileList.h
+include/clang/Basic/RISCVVTypes.def
+include/clang/Basic/SanitizerSpecialCaseList.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/Stack.h
+include/clang/Basic/SyncScope.h
+include/clang/Basic/TargetBuiltins.h
+include/clang/Basic/TargetCXXABI.def
+include/clang/Basic/TargetCXXABI.h
+include/clang/Basic/TargetID.h
+include/clang/Basic/TargetInfo.h
+include/clang/Basic/TargetOptions.h
+include/clang/Basic/TemplateKinds.h
+include/clang/Basic/Thunk.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/Visibility.h
+include/clang/Basic/XRayInstr.h
+include/clang/Basic/XRayLists.h
+include/clang/Basic/arm_cde_builtin_aliases.inc
+include/clang/Basic/arm_cde_builtin_cg.inc
+include/clang/Basic/arm_cde_builtin_sema.inc
+include/clang/Basic/arm_cde_builtins.inc
+include/clang/Basic/arm_fp16.inc
+include/clang/Basic/arm_mve_builtin_aliases.inc
+include/clang/Basic/arm_mve_builtin_cg.inc
+include/clang/Basic/arm_mve_builtin_sema.inc
+include/clang/Basic/arm_mve_builtins.inc
+include/clang/Basic/arm_neon.inc
+include/clang/Basic/arm_sve_builtin_cg.inc
+include/clang/Basic/arm_sve_builtins.inc
+include/clang/Basic/arm_sve_sema_rangechecks.inc
+include/clang/Basic/arm_sve_typeflags.inc
+include/clang/Basic/riscv_vector_builtin_cg.inc
+include/clang/Basic/riscv_vector_builtins.inc
+include/clang/CodeGen/BackendUtil.h
+include/clang/CodeGen/CGFunctionInfo.h
+include/clang/CodeGen/CodeGenABITypes.h
+include/clang/CodeGen/CodeGenAction.h
+include/clang/CodeGen/ConstantInitBuilder.h
+include/clang/CodeGen/ConstantInitFuture.h
+include/clang/CodeGen/ModuleBuilder.h
+include/clang/CodeGen/ObjectFilePCHContainerOperations.h
+include/clang/CodeGen/SwiftCallingConv.h
+include/clang/Config/config.h
+include/clang/CrossTU/CrossTUDiagnostic.h
+include/clang/CrossTU/CrossTranslationUnit.h
+include/clang/DirectoryWatcher/DirectoryWatcher.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/InputInfo.h
+include/clang/Driver/Job.h
+include/clang/Driver/Multilib.h
+include/clang/Driver/OptionUtils.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/Driver/XRayArgs.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/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/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/PrecompiledPreamble.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/CommentToXML.h
+include/clang/Index/DeclOccurrence.h
+include/clang/Index/IndexDataConsumer.h
+include/clang/Index/IndexSymbol.h
+include/clang/Index/IndexingAction.h
+include/clang/Index/IndexingOptions.h
+include/clang/Index/USRGeneration.h
+include/clang/IndexSerialization/SerializablePathCollection.h
+include/clang/Interpreter/Interpreter.h
+include/clang/Interpreter/PartialTranslationUnit.h
+include/clang/Lex/CodeCompletionHandler.h
+include/clang/Lex/DependencyDirectivesSourceMinimizer.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/Pragma.h
+include/clang/Lex/PreprocessingRecord.h
+include/clang/Lex/Preprocessor.h
+include/clang/Lex/PreprocessorExcludedConditionalDirectiveSkipMapping.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/Lex/VariadicMacroSupport.h
+include/clang/Parse/AttrParserStringSwitches.inc
+include/clang/Parse/AttrSubMatchRulesParserStringSwitches.inc
+include/clang/Parse/LoopHint.h
+include/clang/Parse/ParseAST.h
+include/clang/Parse/ParseDiagnostic.h
+include/clang/Parse/Parser.h
+include/clang/Parse/RAIIObjectsForParser.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/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/MultiplexExternalSemaSource.h
+include/clang/Sema/ObjCMethodList.h
+include/clang/Sema/Overload.h
+include/clang/Sema/Ownership.h
+include/clang/Sema/ParsedAttr.h
+include/clang/Sema/ParsedTemplate.h
+include/clang/Sema/Scope.h
+include/clang/Sema/ScopeInfo.h
+include/clang/Sema/Sema.h
+include/clang/Sema/SemaConcept.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/TemplateInstCallback.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/ASTRecordReader.h
+include/clang/Serialization/ASTRecordWriter.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/InMemoryModuleCache.h
+include/clang/Serialization/ModuleFile.h
+include/clang/Serialization/ModuleFileExtension.h
+include/clang/Serialization/ModuleManager.h
+include/clang/Serialization/PCHContainerOperations.h
+include/clang/Serialization/SerializationDiagnostic.h
+include/clang/Serialization/TypeBitCodes.def
+include/clang/StaticAnalyzer/Checkers/BuiltinCheckerRegistration.h
+include/clang/StaticAnalyzer/Checkers/Checkers.inc
+include/clang/StaticAnalyzer/Checkers/LocalCheckers.h
+include/clang/StaticAnalyzer/Checkers/MPIFunctionClassifier.h
+include/clang/StaticAnalyzer/Checkers/SValExplainer.h
+include/clang/StaticAnalyzer/Core/Analyses.def
+include/clang/StaticAnalyzer/Core/AnalyzerOptions.def
+include/clang/StaticAnalyzer/Core/AnalyzerOptions.h
+include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h
+include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitors.h
+include/clang/StaticAnalyzer/Core/BugReporter/BugType.h
+include/clang/StaticAnalyzer/Core/BugReporter/CommonBugCategories.h
+include/clang/StaticAnalyzer/Core/Checker.h
+include/clang/StaticAnalyzer/Core/CheckerManager.h
+include/clang/StaticAnalyzer/Core/CheckerRegistryData.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/CallDescription.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/DynamicCastInfo.h
+include/clang/StaticAnalyzer/Core/PathSensitive/DynamicExtent.h
+include/clang/StaticAnalyzer/Core/PathSensitive/DynamicType.h
+include/clang/StaticAnalyzer/Core/PathSensitive/DynamicTypeInfo.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/LoopUnrolling.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/RangedConstraintManager.h
+include/clang/StaticAnalyzer/Core/PathSensitive/Regions.def
+include/clang/StaticAnalyzer/Core/PathSensitive/SMTConstraintManager.h
+include/clang/StaticAnalyzer/Core/PathSensitive/SMTConv.h
+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/SimpleConstraintManager.h
+include/clang/StaticAnalyzer/Core/PathSensitive/Store.h
+include/clang/StaticAnalyzer/Core/PathSensitive/StoreRef.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/WorkList.h
+include/clang/StaticAnalyzer/Frontend/AnalysisConsumer.h
+include/clang/StaticAnalyzer/Frontend/AnalyzerHelpFlags.h
+include/clang/StaticAnalyzer/Frontend/CheckerRegistry.h
+include/clang/StaticAnalyzer/Frontend/FrontendActions.h
+include/clang/StaticAnalyzer/Frontend/ModelConsumer.h
+include/clang/Testing/CommandLineArgs.h
+include/clang/Testing/TestClangConfig.h
+include/clang/Tooling/ASTDiff/ASTDiff.h
+include/clang/Tooling/ASTDiff/ASTDiffInternal.h
+include/clang/Tooling/AllTUsExecution.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/Diagnostic.h
+include/clang/Tooling/Core/Replacement.h
+include/clang/Tooling/DependencyScanning/DependencyScanningFilesystem.h
+include/clang/Tooling/DependencyScanning/DependencyScanningService.h
+include/clang/Tooling/DependencyScanning/DependencyScanningTool.h
+include/clang/Tooling/DependencyScanning/DependencyScanningWorker.h
+include/clang/Tooling/DependencyScanning/ModuleDepCollector.h
+include/clang/Tooling/DiagnosticsYaml.h
+include/clang/Tooling/Execution.h
+include/clang/Tooling/FileMatchTrie.h
+include/clang/Tooling/FixIt.h
+include/clang/Tooling/Inclusions/HeaderIncludes.h
+include/clang/Tooling/Inclusions/IncludeStyle.h
+include/clang/Tooling/JSONCompilationDatabase.h
+include/clang/Tooling/NodeIntrospection.h
+include/clang/Tooling/NodeIntrospection.inc
+include/clang/Tooling/Refactoring.h
+include/clang/Tooling/Refactoring/ASTSelection.h
+include/clang/Tooling/Refactoring/AtomicChange.h
+include/clang/Tooling/Refactoring/Extract/Extract.h
+include/clang/Tooling/Refactoring/Extract/SourceExtraction.h
+include/clang/Tooling/Refactoring/Lookup.h
+include/clang/Tooling/Refactoring/RecursiveSymbolVisitor.h
+include/clang/Tooling/Refactoring/RefactoringAction.h
+include/clang/Tooling/Refactoring/RefactoringActionRule.h
+include/clang/Tooling/Refactoring/RefactoringActionRuleRequirements.h
+include/clang/Tooling/Refactoring/RefactoringActionRules.h
+include/clang/Tooling/Refactoring/RefactoringActionRulesInternal.h
+include/clang/Tooling/Refactoring/RefactoringDiagnostic.h
+include/clang/Tooling/Refactoring/RefactoringOption.h
+include/clang/Tooling/Refactoring/RefactoringOptionVisitor.h
+include/clang/Tooling/Refactoring/RefactoringOptions.h
+include/clang/Tooling/Refactoring/RefactoringResultConsumer.h
+include/clang/Tooling/Refactoring/RefactoringRuleContext.h
+include/clang/Tooling/Refactoring/Rename/RenamingAction.h
+include/clang/Tooling/Refactoring/Rename/SymbolName.h
+include/clang/Tooling/Refactoring/Rename/SymbolOccurrences.h
+include/clang/Tooling/Refactoring/Rename/USRFinder.h
+include/clang/Tooling/Refactoring/Rename/USRFindingAction.h
+include/clang/Tooling/Refactoring/Rename/USRLocFinder.h
+include/clang/Tooling/RefactoringCallbacks.h
+include/clang/Tooling/ReplacementsYaml.h
+include/clang/Tooling/StandaloneExecution.h
+include/clang/Tooling/Syntax/BuildTree.h
+include/clang/Tooling/Syntax/Mutations.h
+include/clang/Tooling/Syntax/NodeClasses.inc
+include/clang/Tooling/Syntax/Nodes.h
+include/clang/Tooling/Syntax/Nodes.inc
+include/clang/Tooling/Syntax/Tokens.h
+include/clang/Tooling/Syntax/Tree.h
+include/clang/Tooling/ToolExecutorPluginRegistry.h
+include/clang/Tooling/Tooling.h
+include/clang/Tooling/Transformer/MatchConsumer.h
+include/clang/Tooling/Transformer/Parsing.h
+include/clang/Tooling/Transformer/RangeSelector.h
+include/clang/Tooling/Transformer/RewriteRule.h
+include/clang/Tooling/Transformer/SourceCode.h
+include/clang/Tooling/Transformer/SourceCodeBuilders.h
+include/clang/Tooling/Transformer/Stencil.h
+include/clang/Tooling/Transformer/Transformer.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_device_functions.h
+lib/clang/${PKGVERSION}/include/__clang_cuda_intrinsics.h
+lib/clang/${PKGVERSION}/include/__clang_cuda_libdevice_declares.h
+lib/clang/${PKGVERSION}/include/__clang_cuda_math.h
+lib/clang/${PKGVERSION}/include/__clang_cuda_math_forward_declares.h
+lib/clang/${PKGVERSION}/include/__clang_cuda_runtime_wrapper.h
+lib/clang/${PKGVERSION}/include/__clang_cuda_texture_intrinsics.h
+lib/clang/${PKGVERSION}/include/__clang_hip_cmath.h
+lib/clang/${PKGVERSION}/include/__clang_hip_libdevice_declares.h
+lib/clang/${PKGVERSION}/include/__clang_hip_math.h
+lib/clang/${PKGVERSION}/include/__clang_hip_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/amxintrin.h
+lib/clang/${PKGVERSION}/include/arm64intr.h
+lib/clang/${PKGVERSION}/include/arm_acle.h
+lib/clang/${PKGVERSION}/include/arm_bf16.h
+lib/clang/${PKGVERSION}/include/arm_cde.h
+lib/clang/${PKGVERSION}/include/arm_cmse.h
+lib/clang/${PKGVERSION}/include/arm_fp16.h
+lib/clang/${PKGVERSION}/include/arm_mve.h
+lib/clang/${PKGVERSION}/include/arm_neon.h
+lib/clang/${PKGVERSION}/include/arm_sve.h
+lib/clang/${PKGVERSION}/include/armintr.h
+lib/clang/${PKGVERSION}/include/avx2intrin.h
+lib/clang/${PKGVERSION}/include/avx512bf16intrin.h
+lib/clang/${PKGVERSION}/include/avx512bitalgintrin.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/avx512fp16intrin.h
+lib/clang/${PKGVERSION}/include/avx512ifmaintrin.h
+lib/clang/${PKGVERSION}/include/avx512ifmavlintrin.h
+lib/clang/${PKGVERSION}/include/avx512pfintrin.h
+lib/clang/${PKGVERSION}/include/avx512vbmi2intrin.h
+lib/clang/${PKGVERSION}/include/avx512vbmiintrin.h
+lib/clang/${PKGVERSION}/include/avx512vbmivlintrin.h
+lib/clang/${PKGVERSION}/include/avx512vlbf16intrin.h
+lib/clang/${PKGVERSION}/include/avx512vlbitalgintrin.h
+lib/clang/${PKGVERSION}/include/avx512vlbwintrin.h
+lib/clang/${PKGVERSION}/include/avx512vlcdintrin.h
+lib/clang/${PKGVERSION}/include/avx512vldqintrin.h
+lib/clang/${PKGVERSION}/include/avx512vlfp16intrin.h
+lib/clang/${PKGVERSION}/include/avx512vlintrin.h
+lib/clang/${PKGVERSION}/include/avx512vlvbmi2intrin.h
+lib/clang/${PKGVERSION}/include/avx512vlvnniintrin.h
+lib/clang/${PKGVERSION}/include/avx512vlvp2intersectintrin.h
+lib/clang/${PKGVERSION}/include/avx512vnniintrin.h
+lib/clang/${PKGVERSION}/include/avx512vp2intersectintrin.h
+lib/clang/${PKGVERSION}/include/avx512vpopcntdqintrin.h
+lib/clang/${PKGVERSION}/include/avx512vpopcntdqvlintrin.h
+lib/clang/${PKGVERSION}/include/avxintrin.h
+lib/clang/${PKGVERSION}/include/avxvnniintrin.h
+lib/clang/${PKGVERSION}/include/bmi2intrin.h
+lib/clang/${PKGVERSION}/include/bmiintrin.h
+lib/clang/${PKGVERSION}/include/builtins.h
+lib/clang/${PKGVERSION}/include/cet.h
+lib/clang/${PKGVERSION}/include/cetintrin.h
+lib/clang/${PKGVERSION}/include/cldemoteintrin.h
+lib/clang/${PKGVERSION}/include/clflushoptintrin.h
+lib/clang/${PKGVERSION}/include/clwbintrin.h
+lib/clang/${PKGVERSION}/include/clzerointrin.h
+lib/clang/${PKGVERSION}/include/cpuid.h
+lib/clang/${PKGVERSION}/include/crc32intrin.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/enqcmdintrin.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/gfniintrin.h
+lib/clang/${PKGVERSION}/include/hexagon_circ_brev_intrinsics.h
+lib/clang/${PKGVERSION}/include/hexagon_protos.h
+lib/clang/${PKGVERSION}/include/hexagon_types.h
+lib/clang/${PKGVERSION}/include/hresetintrin.h
+lib/clang/${PKGVERSION}/include/htmintrin.h
+lib/clang/${PKGVERSION}/include/htmxlintrin.h
+lib/clang/${PKGVERSION}/include/hvx_hexagon_protos.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/invpcidintrin.h
+lib/clang/${PKGVERSION}/include/iso646.h
+lib/clang/${PKGVERSION}/include/keylockerintrin.h
+lib/clang/${PKGVERSION}/include/limits.h
+lib/clang/${PKGVERSION}/include/lwpintrin.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/movdirintrin.h
+lib/clang/${PKGVERSION}/include/msa.h
+lib/clang/${PKGVERSION}/include/mwaitxintrin.h
+lib/clang/${PKGVERSION}/include/nmmintrin.h
+lib/clang/${PKGVERSION}/include/opencl-c-base.h
+lib/clang/${PKGVERSION}/include/opencl-c.h
+lib/clang/${PKGVERSION}/include/openmp_wrappers/__clang_openmp_device_functions.h
+lib/clang/${PKGVERSION}/include/openmp_wrappers/cmath
+lib/clang/${PKGVERSION}/include/openmp_wrappers/complex
+lib/clang/${PKGVERSION}/include/openmp_wrappers/complex.h
+lib/clang/${PKGVERSION}/include/openmp_wrappers/complex_cmath.h
+lib/clang/${PKGVERSION}/include/openmp_wrappers/math.h
+lib/clang/${PKGVERSION}/include/openmp_wrappers/new
+lib/clang/${PKGVERSION}/include/pconfigintrin.h
+lib/clang/${PKGVERSION}/include/pkuintrin.h
+lib/clang/${PKGVERSION}/include/pmmintrin.h
+lib/clang/${PKGVERSION}/include/popcntintrin.h
+lib/clang/${PKGVERSION}/include/ppc_wrappers/emmintrin.h
+lib/clang/${PKGVERSION}/include/ppc_wrappers/mm_malloc.h
+lib/clang/${PKGVERSION}/include/ppc_wrappers/mmintrin.h
+lib/clang/${PKGVERSION}/include/ppc_wrappers/pmmintrin.h
+lib/clang/${PKGVERSION}/include/ppc_wrappers/smmintrin.h
+lib/clang/${PKGVERSION}/include/ppc_wrappers/tmmintrin.h
+lib/clang/${PKGVERSION}/include/ppc_wrappers/xmmintrin.h
+lib/clang/${PKGVERSION}/include/prfchwintrin.h
+lib/clang/${PKGVERSION}/include/ptwriteintrin.h
+lib/clang/${PKGVERSION}/include/rdseedintrin.h
+lib/clang/${PKGVERSION}/include/riscv_vector.h
+lib/clang/${PKGVERSION}/include/rtmintrin.h
+lib/clang/${PKGVERSION}/include/s390intrin.h
+lib/clang/${PKGVERSION}/include/serializeintrin.h
+lib/clang/${PKGVERSION}/include/sgxintrin.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/tsxldtrkintrin.h
+lib/clang/${PKGVERSION}/include/uintrintrin.h
+lib/clang/${PKGVERSION}/include/unwind.h
+lib/clang/${PKGVERSION}/include/vadefs.h
+lib/clang/${PKGVERSION}/include/vaesintrin.h
+lib/clang/${PKGVERSION}/include/varargs.h
+lib/clang/${PKGVERSION}/include/vecintrin.h
+lib/clang/${PKGVERSION}/include/vpclmulqdqintrin.h
+lib/clang/${PKGVERSION}/include/waitpkgintrin.h
+lib/clang/${PKGVERSION}/include/wasm_simd128.h
+lib/clang/${PKGVERSION}/include/wbnoinvdintrin.h
+lib/clang/${PKGVERSION}/include/wmmintrin.h
+lib/clang/${PKGVERSION}/include/x86gprintrin.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/AddClang.cmake
+lib/cmake/clang/ClangConfig.cmake
+lib/cmake/clang/ClangTargets-release.cmake
+lib/cmake/clang/ClangTargets.cmake
+${PLIST.notdylib}lib/libclang-cpp.so.14
+lib/libclang-cpp.${SOEXT}
+${PLIST.notdylib}lib/libclang.${SOEXT}.${PKGVERSION}
+${PLIST.notdylib}lib/libclang.${SOEXT}.13
+lib/libclang.${SOEXT}
+lib/libclangAPINotes.a
+lib/libclangARCMigrate.a
+lib/libclangAST.a
+lib/libclangASTMatchers.a
+lib/libclangAnalysis.a
+lib/libclangAnalysisFlowSensitive.a
+lib/libclangBasic.a
+lib/libclangCodeGen.a
+lib/libclangCrossTU.a
+lib/libclangDependencyScanning.a
+lib/libclangDirectoryWatcher.a
+lib/libclangDriver.a
+lib/libclangDynamicASTMatchers.a
+lib/libclangEdit.a
+lib/libclangFormat.a
+lib/libclangFrontend.a
+lib/libclangFrontendTool.a
+lib/libclangHandleCXX.a
+lib/libclangHandleLLVM.a
+lib/libclangIndex.a
+lib/libclangIndexSerialization.a
+lib/libclangInterpreter.a
+lib/libclangLex.a
+lib/libclangParse.a
+lib/libclangRewrite.a
+lib/libclangRewriteFrontend.a
+lib/libclangSema.a
+lib/libclangSerialization.a
+lib/libclangStaticAnalyzerCheckers.a
+lib/libclangStaticAnalyzerCore.a
+lib/libclangStaticAnalyzerFrontend.a
+lib/libclangTesting.a
+lib/libclangTooling.a
+lib/libclangToolingASTDiff.a
+lib/libclangToolingCore.a
+lib/libclangToolingInclusions.a
+lib/libclangToolingRefactoring.a
+lib/libclangToolingSyntax.a
+lib/libclangTransformer.a
+lib/libear/__init__.py
+lib/libear/config.h.in
+lib/libear/ear.c
+lib/libscanbuild/__init__.py
+lib/libscanbuild/analyze.py
+lib/libscanbuild/arguments.py
+lib/libscanbuild/clang.py
+lib/libscanbuild/compilation.py
+lib/libscanbuild/intercept.py
+lib/libscanbuild/report.py
+lib/libscanbuild/resources/scanview.css
+lib/libscanbuild/resources/selectable.js
+lib/libscanbuild/resources/sorttable.js
+lib/libscanbuild/shell.py
+libexec/analyze-c++
+libexec/analyze-cc
+libexec/c++-analyzer
+libexec/ccc-analyzer
+libexec/intercept-c++
+libexec/intercept-cc
+man/man1/scan-build.1
+share/clang/bash-autocomplete.sh
+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/clang-rename.el
+share/clang/clang-rename.py
+share/scan-build/scanview.css
+share/scan-build/sorttable.js
+share/scan-view/Reporter.py
+share/scan-view/ScanView.py
+share/scan-view/bugcatcher.ico
+share/scan-view/startfile.py
diff --git a/clang/PLIST.Darwin b/clang/PLIST.Darwin
new file mode 100644
index 0000000000..73b4f29499
--- /dev/null
+++ b/clang/PLIST.Darwin
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST.Darwin,v 1.5 2020/07/01 14:46:37 adam Exp $
+bin/set-xcode-analyzer
diff --git a/clang/buildlink3.mk b/clang/buildlink3.mk
new file mode 100644
index 0000000000..8a266da54c
--- /dev/null
+++ b/clang/buildlink3.mk
@@ -0,0 +1,40 @@
+# $NetBSD: buildlink3.mk,v 1.18 2022/06/28 11:34:09 wiz Exp $
+
+BUILDLINK_TREE+=	clang
+
+.if !defined(CLANG_BUILDLINK3_MK)
+CLANG_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.clang+=	clang>=14.0
+BUILDLINK_PKGSRCDIR.clang?=	../../wip/clang
+
+BUILDLINK_FILES.clang+=		bin/c-index-test
+BUILDLINK_FILES.clang+=		bin/clang
+BUILDLINK_FILES.clang+=		bin/clang++
+BUILDLINK_FILES.clang+=		bin/clang-14
+BUILDLINK_FILES.clang+=		bin/clang-check
+BUILDLINK_FILES.clang+=		bin/clang-cl
+BUILDLINK_FILES.clang+=		bin/clang-cpp
+BUILDLINK_FILES.clang+=		bin/clang-extdef-mapping
+BUILDLINK_FILES.clang+=		bin/clang-format
+BUILDLINK_FILES.clang+=		bin/clang-import-test
+BUILDLINK_FILES.clang+=		bin/clang-offload-bundler
+BUILDLINK_FILES.clang+=		bin/clang-offload-wrapper
+BUILDLINK_FILES.clang+=		bin/clang-refactor
+BUILDLINK_FILES.clang+=		bin/clang-rename
+BUILDLINK_FILES.clang+=		bin/clang-repl
+BUILDLINK_FILES.clang+=		bin/clang-scan-deps
+BUILDLINK_FILES.clang+=		bin/diagtool
+BUILDLINK_FILES.clang+=		bin/git-clang-format
+BUILDLINK_FILES.clang+=		bin/hmaptool
+BUILDLINK_FILES.clang+=		bin/intercept-build
+BUILDLINK_FILES.clang+=		bin/scan-build
+BUILDLINK_FILES.clang+=		bin/scan-build-py
+BUILDLINK_FILES.clang+=		bin/scan-view
+
+.include "../../textproc/libxml2/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../wip/llvm/buildlink3.mk"
+.endif	# CLANG_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-clang
diff --git a/clang/distinfo b/clang/distinfo
new file mode 100644
index 0000000000..8be8c680d2
--- /dev/null
+++ b/clang/distinfo
@@ -0,0 +1,11 @@
+$NetBSD: distinfo,v 1.73 2022/02/03 20:38:39 adam Exp $
+
+BLAKE2s (clang-14.0.6.src.tar.xz) = a39d30a3475f93605cf5cf63374500d78b1583e5c738b3ad7693a9ef08c137c4
+SHA512 (clang-14.0.6.src.tar.xz) = 5f5497b57dd116225e90f321902f1015beb50c0b1bb90d0fc6c026f13aa748feabe44f98eb75e86f98f3b1785ad5e850210732f3eae75b942ecd520527dcd30b
+Size (clang-14.0.6.src.tar.xz) = 18539496 bytes
+SHA1 (patch-lib_Basic_Targets_OSTargets.h) = 02533d1de2c92a431d9c5d4567f348deff056b99
+SHA1 (patch-lib_Driver_ToolChain.cpp) = 33a8e346a72893140fde42245e4b108f3a9b9e3e
+SHA1 (patch-lib_Driver_ToolChains_Solaris.cpp) = 29e6ca7cf0bf0b01f50305f50cd555cbb75995e1
+SHA1 (patch-lib_Driver_ToolChains_Solaris.h) = 22d1ddef34b8df3cc29c4632108d45904797aff3
+SHA1 (patch-tools_clang-shlib_CMakeLists.txt) = 2dce9cfc1e114a79fab457211eea1ee93c2198f4
+SHA1 (patch-tools_libclang_CMakeLists.txt) = 7e5655fc753ef20c8b08d1de438b26dcd3434525
diff --git a/clang/patches/patch-lib_Basic_Targets_OSTargets.h b/clang/patches/patch-lib_Basic_Targets_OSTargets.h
new file mode 100644
index 0000000000..97a06a1fdc
--- /dev/null
+++ b/clang/patches/patch-lib_Basic_Targets_OSTargets.h
@@ -0,0 +1,60 @@
+$NetBSD: patch-lib_Basic_Targets_OSTargets.h,v 1.4 2019/10/19 13:54:29 adam Exp $
+
+Sync SunOS default defines with a working reality.
+NetBSD __float128, needed to build anything with base libstdc++
+which assumes __float128.
+
+--- lib/Basic/Targets/OSTargets.h.orig	2019-08-01 08:49:35.000000000 +0000
++++ lib/Basic/Targets/OSTargets.h
+@@ -436,12 +436,22 @@ protected:
+     Builder.defineMacro("__ELF__");
+     if (Opts.POSIXThreads)
+       Builder.defineMacro("_REENTRANT");
++    if (this->HasFloat128)
++      Builder.defineMacro("__FLOAT128__");
+   }
+ 
+ public:
+   NetBSDTargetInfo(const llvm::Triple &Triple, const TargetOptions &Opts)
+       : OSTargetInfo<Target>(Triple, Opts) {
+     this->MCountName = "__mcount";
++    switch (Triple.getArch()) {
++    default:
++      break;
++    case llvm::Triple::x86:
++    case llvm::Triple::x86_64:
++      this->HasFloat128 = true;
++      break;
++    }
+   }
+ };
+ 
+@@ -610,22 +620,15 @@ protected:
+     Builder.defineMacro("__ELF__");
+     Builder.defineMacro("__svr4__");
+     Builder.defineMacro("__SVR4");
+-    // Solaris headers require _XOPEN_SOURCE to be set to 600 for C99 and
+-    // newer, but to 500 for everything else.  feature_test.h has a check to
+-    // ensure that you are not using C99 with an old version of X/Open or C89
+-    // with a new version.
+-    if (Opts.C99)
+-      Builder.defineMacro("_XOPEN_SOURCE", "600");
+-    else
+-      Builder.defineMacro("_XOPEN_SOURCE", "500");
++    // Compatibility with GCC to satisfy <sys/feature_tests.h> requirements.
+     if (Opts.CPlusPlus) {
+-      Builder.defineMacro("__C99FEATURES__");
++      Builder.defineMacro("__STDC_VERSION__", "199901L");
++      Builder.defineMacro("_XOPEN_SOURCE", "600");
+       Builder.defineMacro("_FILE_OFFSET_BITS", "64");
++      Builder.defineMacro("_LARGEFILE_SOURCE");
++      Builder.defineMacro("_LARGEFILE64_SOURCE");
++      Builder.defineMacro("__EXTENSIONS__");
+     }
+-    // GCC restricts the next two to C++.
+-    Builder.defineMacro("_LARGEFILE_SOURCE");
+-    Builder.defineMacro("_LARGEFILE64_SOURCE");
+-    Builder.defineMacro("__EXTENSIONS__");
+     if (Opts.POSIXThreads)
+       Builder.defineMacro("_REENTRANT");
+     if (this->HasFloat128)
diff --git a/clang/patches/patch-lib_Driver_ToolChain.cpp b/clang/patches/patch-lib_Driver_ToolChain.cpp
new file mode 100644
index 0000000000..c18216f5d1
--- /dev/null
+++ b/clang/patches/patch-lib_Driver_ToolChain.cpp
@@ -0,0 +1,16 @@
+$NetBSD: patch-lib_Driver_ToolChain.cpp,v 1.2 2021/07/12 18:42:06 adam Exp $
+
+[LLD] Add NetBSD support as a new flavor of LLD (nb.lld)
+https://reviews.llvm.org/D70048
+
+--- lib/Driver/ToolChain.cpp.orig	2019-07-11 19:06:38.000000000 +0000
++++ lib/Driver/ToolChain.cpp
+@@ -506,6 +506,8 @@ std::string ToolChain::GetLinkerPath() c
+     llvm::SmallString<8> LinkerName;
+     if (Triple.isOSDarwin())
+       LinkerName.append("ld64.");
++    else if (Triple.isOSNetBSD())
++      LinkerName.append("nb.");
+     else
+       LinkerName.append("ld.");
+     LinkerName.append(UseLinker);
diff --git a/clang/patches/patch-lib_Driver_ToolChains_Solaris.cpp b/clang/patches/patch-lib_Driver_ToolChains_Solaris.cpp
new file mode 100644
index 0000000000..a73dcdfdfa
--- /dev/null
+++ b/clang/patches/patch-lib_Driver_ToolChains_Solaris.cpp
@@ -0,0 +1,241 @@
+$NetBSD: patch-lib_Driver_ToolChains_Solaris.cpp,v 1.8 2021/11/23 20:55:43 wiz Exp $
+
+Use compiler-rt instead of libgcc.
+Pull in libcxx correctly.
+Specify paths to system objects explicitly.
+Don't specify --dynamic-linker, makes it impossible for the user to use -Wl,-r
+Ensure we reset to -zdefaultextract prior to adding compiler-rt.
+Test removing -Bdynamic for golang.
+
+--- lib/Driver/ToolChains/Solaris.cpp.orig	2022-06-22 16:46:24.000000000 +0000
++++ lib/Driver/ToolChains/Solaris.cpp
+@@ -50,8 +50,28 @@ void solaris::Linker::ConstructJob(Compi
+                                    const InputInfoList &Inputs,
+                                    const ArgList &Args,
+                                    const char *LinkingOutput) const {
++  const Driver &D = getToolChain().getDriver();
+   ArgStringList CmdArgs;
+ 
++  // XXX: assumes pkgsrc layout
++  std::string LibPath = llvm::sys::path::parent_path(D.getInstalledDir()).str();
++  LibPath += "/lib/";
++
++  std::string SysPath = "/usr/lib/";
++  switch (getToolChain().getArch()) {
++  case llvm::Triple::x86:
++  case llvm::Triple::sparc:
++    break;
++  case llvm::Triple::x86_64:
++    SysPath += "amd64/";
++    break;
++  case llvm::Triple::sparcv9:
++    SysPath += "sparcv9/";
++    break;
++  default:
++    llvm_unreachable("Unsupported architecture");
++  }
++
+   // Demangle C++ names in errors
+   CmdArgs.push_back("-C");
+ 
+@@ -64,7 +84,6 @@ void solaris::Linker::ConstructJob(Compi
+     CmdArgs.push_back("-Bstatic");
+     CmdArgs.push_back("-dn");
+   } else {
+-    CmdArgs.push_back("-Bdynamic");
+     if (Args.hasArg(options::OPT_shared)) {
+       CmdArgs.push_back("-shared");
+     }
+@@ -86,9 +105,9 @@ void solaris::Linker::ConstructJob(Compi
+                    options::OPT_r)) {
+     if (!Args.hasArg(options::OPT_shared))
+       CmdArgs.push_back(
+-          Args.MakeArgString(getToolChain().GetFilePath("crt1.o")));
++          Args.MakeArgString(SysPath + "crt1.o"));
+ 
+-    CmdArgs.push_back(Args.MakeArgString(getToolChain().GetFilePath("crti.o")));
++    CmdArgs.push_back(Args.MakeArgString(SysPath + "crti.o"));
+ 
+     const Arg *Std = Args.getLastArg(options::OPT_std_EQ, options::OPT_ansi);
+     bool HaveAnsi = false;
+@@ -103,16 +122,14 @@ void solaris::Linker::ConstructJob(Compi
+     // Use values-Xc.o for -ansi, -std=c*, -std=iso9899:199409.
+     if (HaveAnsi || (LangStd && !LangStd->isGNUMode()))
+       values_X = "values-Xc.o";
+-    CmdArgs.push_back(Args.MakeArgString(getToolChain().GetFilePath(values_X)));
++    CmdArgs.push_back(Args.MakeArgString(SysPath + values_X));
+ 
+     const char *values_xpg = "values-xpg6.o";
+     // Use values-xpg4.o for -std=c90, -std=gnu90, -std=iso9899:199409.
+     if (LangStd && LangStd->getLanguage() == Language::C && !LangStd->isC99())
+       values_xpg = "values-xpg4.o";
+     CmdArgs.push_back(
+-        Args.MakeArgString(getToolChain().GetFilePath(values_xpg)));
+-    CmdArgs.push_back(
+-        Args.MakeArgString(getToolChain().GetFilePath("crtbegin.o")));
++        Args.MakeArgString(SysPath + values_xpg));
+   }
+ 
+   getToolChain().AddFilePathLibArgs(Args, CmdArgs);
+@@ -125,15 +142,6 @@ void solaris::Linker::ConstructJob(Compi
+ 
+   if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nodefaultlibs,
+                    options::OPT_r)) {
+-    if (getToolChain().ShouldLinkCXXStdlib(Args))
+-      getToolChain().AddCXXStdlibLibArgs(Args, CmdArgs);
+-    if (Args.hasArg(options::OPT_fstack_protector) ||
+-        Args.hasArg(options::OPT_fstack_protector_strong) ||
+-        Args.hasArg(options::OPT_fstack_protector_all)) {
+-      // Explicitly link ssp libraries, not folded into Solaris libc.
+-      CmdArgs.push_back("-lssp_nonshared");
+-      CmdArgs.push_back("-lssp");
+-    }
+     // LLVM support for atomics on 32-bit SPARC V8+ is incomplete, so
+     // forcibly link with libatomic as a workaround.
+     if (getToolChain().getTriple().getArch() == llvm::Triple::sparc) {
+@@ -141,24 +149,23 @@ void solaris::Linker::ConstructJob(Compi
+       CmdArgs.push_back("-latomic");
+       CmdArgs.push_back(getAsNeededOption(getToolChain(), false));
+     }
+-    CmdArgs.push_back("-lgcc_s");
+-    CmdArgs.push_back("-lc");
+-    if (!Args.hasArg(options::OPT_shared)) {
+-      CmdArgs.push_back("-lgcc");
++    // This specifically uses -Wl to avoid CMake parsing it and trying to
++    // feed "-zdefaultextract" back into clang, which doesn't support the
++    // non-space version.
++    CmdArgs.push_back("-Wl,-zdefaultextract");
++    AddRunTimeLibs(getToolChain(), D, CmdArgs, Args);
++    CmdArgs.push_back(Args.MakeArgString(LibPath + "libunwind.a"));
++    if (D.CCCIsCXX()) {
++      if (getToolChain().ShouldLinkCXXStdlib(Args))
++        getToolChain().AddCXXStdlibLibArgs(Args, CmdArgs);
+       CmdArgs.push_back("-lm");
+     }
++    CmdArgs.push_back("-lc");
+     if (NeedsSanitizerDeps)
+       linkSanitizerRuntimeDeps(getToolChain(), CmdArgs);
+   }
+ 
+-  if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nostartfiles,
+-                   options::OPT_r)) {
+-    CmdArgs.push_back(
+-        Args.MakeArgString(getToolChain().GetFilePath("crtend.o")));
+-    CmdArgs.push_back(
+-        Args.MakeArgString(getToolChain().GetFilePath("crtn.o")));
+-  }
+-
++  CmdArgs.push_back(Args.MakeArgString(SysPath + "crtn.o"));
+   getToolChain().addProfileRTLibs(Args, CmdArgs);
+ 
+   const char *Exec = Args.MakeArgString(getToolChain().GetLinkerPath());
+@@ -187,26 +194,9 @@ Solaris::Solaris(const Driver &D, const 
+                  const ArgList &Args)
+     : Generic_ELF(D, Triple, Args) {
+ 
+-  GCCInstallation.init(Triple, Args);
+-
+-  StringRef LibSuffix = getSolarisLibSuffix(Triple);
+-  path_list &Paths = getFilePaths();
+-  if (GCCInstallation.isValid()) {
+-    // On Solaris gcc uses both an architecture-specific path with triple in it
+-    // as well as a more generic lib path (+arch suffix).
+-    addPathIfExists(D,
+-                    GCCInstallation.getInstallPath() +
+-                        GCCInstallation.getMultilib().gccSuffix(),
+-                    Paths);
+-    addPathIfExists(D, GCCInstallation.getParentLibPath() + LibSuffix, Paths);
+-  }
+-
+-  // If we are currently running Clang inside of the requested system root,
+-  // add its parent library path to those searched.
+-  if (StringRef(D.Dir).startswith(D.SysRoot))
+-    addPathIfExists(D, D.Dir + "/../lib", Paths);
+-
+-  addPathIfExists(D, D.SysRoot + "/usr/lib" + LibSuffix, Paths);
++  // No special handling, the C runtime files are found directly above
++  // and crle handles adding the default system library paths if they
++  // are necessary.
+ }
+ 
+ SanitizerMask Solaris::getSupportedSanitizers() const {
+@@ -231,6 +221,31 @@ Tool *Solaris::buildAssembler() const {
+ 
+ Tool *Solaris::buildLinker() const { return new tools::solaris::Linker(*this); }
+ 
++void Solaris::AddCXXStdlibLibArgs(const ArgList &Args,
++                                  ArgStringList &CmdArgs) const {
++  CXXStdlibType Type = GetCXXStdlibType(Args);
++
++  // Currently assumes pkgsrc layout where libcxx and libcxxabi are installed
++  // in the same prefixed directory that we are.
++  std::string LibPath = llvm::sys::path::parent_path(getDriver().getInstalledDir()).str();
++  LibPath += "/lib";
++
++  switch (Type) {
++  case ToolChain::CST_Libcxx:
++    CmdArgs.push_back(Args.MakeArgString(StringRef("-L") + LibPath));
++    CmdArgs.push_back(Args.MakeArgString(StringRef("-R") + LibPath));
++    CmdArgs.push_back("-lc++");
++    CmdArgs.push_back("-lc++abi");
++    break;
++
++  // XXX: This won't work without being told exactly where libstdc++ is, but
++  // that changes based on distribution.  Maybe return ENOTSUP here?
++  case ToolChain::CST_Libstdcxx:
++    CmdArgs.push_back("-lstdc++");
++    break;
++  }
++}
++
+ void Solaris::AddClangSystemIncludeArgs(const ArgList &DriverArgs,
+                                         ArgStringList &CC1Args) const {
+   const Driver &D = getDriver();
+@@ -263,38 +278,20 @@ void Solaris::AddClangSystemIncludeArgs(
+     return;
+   }
+ 
+-  // Add include directories specific to the selected multilib set and multilib.
+-  if (GCCInstallation.isValid()) {
+-    const MultilibSet::IncludeDirsFunc &Callback =
+-        Multilibs.includeDirsCallback();
+-    if (Callback) {
+-      for (const auto &Path : Callback(GCCInstallation.getMultilib()))
+-        addExternCSystemIncludeIfExists(
+-            DriverArgs, CC1Args, GCCInstallation.getInstallPath() + Path);
+-    }
+-  }
+-
+   addExternCSystemInclude(DriverArgs, CC1Args, D.SysRoot + "/usr/include");
+ }
+ 
+ void Solaris::addLibStdCxxIncludePaths(
+     const llvm::opt::ArgList &DriverArgs,
+     llvm::opt::ArgStringList &CC1Args) const {
+-  // We need a detected GCC installation on Solaris (similar to Linux)
+-  // to provide libstdc++'s headers.
+-  if (!GCCInstallation.isValid())
+-    return;
++  // Location of GCC includes is not reliable so do not support it.
++  return;
++}
+ 
+-  // By default, look for the C++ headers in an include directory adjacent to
+-  // the lib directory of the GCC installation.
+-  // On Solaris this usually looks like /usr/gcc/X.Y/include/c++/X.Y.Z
+-  StringRef LibDir = GCCInstallation.getParentLibPath();
+-  StringRef TripleStr = GCCInstallation.getTriple().str();
+-  const Multilib &Multilib = GCCInstallation.getMultilib();
+-  const GCCVersion &Version = GCCInstallation.getVersion();
+-
+-  // The primary search for libstdc++ supports multiarch variants.
+-  addLibStdCXXIncludePaths(LibDir.str() + "/../include/c++/" + Version.Text,
+-                           TripleStr, Multilib.includeSuffix(), DriverArgs,
+-                           CC1Args);
++void Solaris::addLibCxxIncludePaths(
++     const llvm::opt::ArgList &DriverArgs,
++     llvm::opt::ArgStringList &CC1Args) const {
++  addSystemInclude(DriverArgs, CC1Args,
++                   llvm::sys::path::parent_path(getDriver().getInstalledDir())
++                   + "/include/c++/v1");
+ }
diff --git a/clang/patches/patch-lib_Driver_ToolChains_Solaris.h b/clang/patches/patch-lib_Driver_ToolChains_Solaris.h
new file mode 100644
index 0000000000..80f57c36ca
--- /dev/null
+++ b/clang/patches/patch-lib_Driver_ToolChains_Solaris.h
@@ -0,0 +1,24 @@
+$NetBSD: patch-lib_Driver_ToolChains_Solaris.h,v 1.4 2021/07/12 18:42:06 adam Exp $
+
+Override AddCXXStdlibLibArgs().
+
+--- lib/Driver/ToolChains/Solaris.h.orig	2021-04-06 16:38:18.000000000 +0000
++++ lib/Driver/ToolChains/Solaris.h
+@@ -59,11 +59,17 @@ public:
+                             llvm::opt::ArgStringList &CC1Args) const override;
+ 
+   void
++  addLibCxxIncludePaths(const llvm::opt::ArgList &DriverArgs,
++                        llvm::opt::ArgStringList &CC1Args) const override;
++  void
+   addLibStdCxxIncludePaths(const llvm::opt::ArgList &DriverArgs,
+                            llvm::opt::ArgStringList &CC1Args) const override;
+ 
+   SanitizerMask getSupportedSanitizers() const override;
+   unsigned GetDefaultDwarfVersion() const override { return 2; }
++  void AddCXXStdlibLibArgs(
++     const llvm::opt::ArgList &Args,
++     llvm::opt::ArgStringList &CmdArgs) const override;
+ 
+   const char *getDefaultLinker() const override {
+     // clang currently uses Solaris ld-only options.
diff --git a/clang/patches/patch-tools_clang-shlib_CMakeLists.txt b/clang/patches/patch-tools_clang-shlib_CMakeLists.txt
new file mode 100644
index 0000000000..6c9700de3e
--- /dev/null
+++ b/clang/patches/patch-tools_clang-shlib_CMakeLists.txt
@@ -0,0 +1,14 @@
+$NetBSD: patch-tools_clang-shlib_CMakeLists.txt,v 1.2 2022/01/14 08:58:48 tm Exp $
+
+-B flag symbolic-functions is not supported on Solaris before 11.4
+
+--- tools/clang-shlib/CMakeLists.txt.orig	2021-09-24 16:18:10.000000000 +0000
++++ tools/clang-shlib/CMakeLists.txt
+@@ -50,6 +50,6 @@ add_clang_library(clang-cpp
+                   ${_DEPS})
+ # Optimize function calls for default visibility definitions to avoid PLT and
+ # reduce dynamic relocations.
+-if (NOT APPLE AND NOT MINGW)
++if (NOT APPLE AND NOT MINGW AND NOT "SunOS" MATCHES ${CMAKE_SYSTEM_NAME})
+   target_link_options(clang-cpp PRIVATE LINKER:-Bsymbolic-functions)
+ endif()
diff --git a/clang/patches/patch-tools_libclang_CMakeLists.txt b/clang/patches/patch-tools_libclang_CMakeLists.txt
new file mode 100644
index 0000000000..56ab216a74
--- /dev/null
+++ b/clang/patches/patch-tools_libclang_CMakeLists.txt
@@ -0,0 +1,34 @@
+$NetBSD: patch-tools_libclang_CMakeLists.txt,v 1.2 2022/01/14 08:58:48 tm Exp $
+
+Only the linker on Solaris 11.4 supports GNU ld version script and only if
+the special option gnu-version-script-compat is used. Older Solaris linker
+doesn't support version script.
+
+--- tools/libclang/CMakeLists.txt.orig	2021-09-24 16:18:10.000000000 +0000
++++ tools/libclang/CMakeLists.txt
+@@ -167,11 +167,21 @@ if(ENABLE_SHARED)
+     endif()
+   endif()
+   if (USE_VERSION_SCRIPT)
+-    target_link_options(libclang PRIVATE "-Wl,--version-script,${CMAKE_CURRENT_SOURCE_DIR}/libclang.map")
+-    # The Solaris 11.4 linker supports a subset of GNU ld version scripts,
+-    # but requires a special option to enable it.
+     if (${CMAKE_SYSTEM_NAME} MATCHES "SunOS")
+-      target_link_options(libclang PRIVATE "-Wl,-z,gnu-version-script-compat")
++      include(CheckLinkerFlag)
++      # The Solaris 11.4 linker supports a subset of GNU ld version scripts,
++      # but requires a special option to enable it.
++      llvm_check_linker_flag(CXX "-Wl,-z,gnu-version-script-compat" LINKER_SUPPORTS_Z_GNU_VERSION_SCRIPT_COMPAT)
++      # Older Solaris (and illumos) linker doesn't support GNU ld version 
++      # and doesn't support GNU version script compat.
++      if (LINKER_SUPPORTS_Z_GNU_VERSION_SCRIPT_COMPAT)
++	target_link_options(libclang PRIVATE "-Wl,--version-script,${CMAKE_CURRENT_SOURCE_DIR}/libclang.map")
++	target_link_options(libclang PRIVATE "-Wl,-z,gnu-version-script-compat")
++      else()
++        target_link_options(libclang PRIVATE "-Wl,-M,${CMAKE_CURRENT_SOURCE_DIR}/libclang.map")
++      endif()
++    else() 
++      target_link_options(libclang PRIVATE "-Wl,--version-script,${CMAKE_CURRENT_SOURCE_DIR}/libclang.map")
+     endif()
+     # Ensure that libclang.so gets rebuilt when the linker script changes.
+     set_property(SOURCE ARCMigrate.cpp APPEND PROPERTY
diff --git a/libcxx/DESCR b/libcxx/DESCR
new file mode 100644
index 0000000000..34fd1f90e1
--- /dev/null
+++ b/libcxx/DESCR
@@ -0,0 +1,11 @@
+libc++ is a new implementation of the C++ standard library, targeting
+C++11.
+
+Features and Goals
+ * Correctness as defined by the C++11 standard.
+ * Fast execution.
+ * Minimal memory use.
+ * Fast compile times.
+ * ABI compatibility with gcc's libstdc++ for some low-level features
+   such as exception objects, rtti and memory allocation.
+ * Extensive unit tests.
diff --git a/libcxx/Makefile b/libcxx/Makefile
new file mode 100644
index 0000000000..e4aa7c2e63
--- /dev/null
+++ b/libcxx/Makefile
@@ -0,0 +1,52 @@
+# $NetBSD: Makefile,v 1.11 2021/07/12 18:46:07 adam Exp $
+
+.include "../../wip/llvm/version.mk"
+
+DISTNAME=	libcxx-${LLVM_VERSION}.src
+PKGNAME=	${DISTNAME:S/.src//}
+CATEGORIES=	lang devel
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://libcxx.llvm.org/
+COMMENT=	C++ Standard Library
+LICENSE=	apache-2.0
+
+# libcxx requires libcxxabi's cxxabi.h to build, but libcxxabi requires
+# libcxx's includes to build, so we have this unholy extra distfiles thing
+# in both of them to get them to build against each other without causing
+# circular dependencies.  This must be kept in sync with libcxxabi/Makefile.
+LIBCXXABI=	libcxxabi-${LLVM_VERSION}.src
+LLVMDIST=	llvm-${LLVM_VERSION}.src
+_EXTRA_DIST=	${LIBCXXABI}${EXTRACT_SUFX} ${LLVMDIST}${EXTRACT_SUFX}
+SITES.${LIBCXXABI}${EXTRACT_SUFX}=	${MASTER_SITES:=${GITHUB_PROJECT}/releases/download/${GITHUB_RELEASE}/}
+SITES.${LLLVMDIST}${EXTRACT_SUFX}=	${MASTER_SITES:=${GITHUB_PROJECT}/releases/download/${GITHUB_RELEASE}/}
+
+DISTFILES=	${DEFAULT_DISTFILES} ${_EXTRA_DIST}
+
+CONFIGURE_DIRS=	${WRKDIR}/build
+CMAKE_ARG_PATH=	${WRKSRC}
+
+USE_LANGUAGES=	c c++
+USE_CMAKE=	yes
+GCC_REQD+=	4.8
+SSP_SUPPORTED=	no
+
+CMAKE_ARGS+=	-DCMAKE_BUILD_TYPE=Release
+CMAKE_ARGS+=	-DCMAKE_C_COMPILER=${CC:Q}
+CMAKE_ARGS+=	-DCMAKE_CXX_COMPILER=${CXX:Q}
+CMAKE_ARGS+=	-DCMAKE_CXX_LINK_FLAGS=${LDFLAGS:Q}
+CMAKE_ARGS+=	-DLIBCXX_CXX_ABI=libcxxabi
+CMAKE_ARGS+=	-DLIBCXX_CXX_ABI_INCLUDE_PATHS=${WRKDIR}/${LIBCXXABI}/include
+CMAKE_ARGS+=	-DLIBCXXABI_USE_LLVM_UNWINDER=ON
+CMAKE_ARGS+=	-DLIBCXX_ENABLE_ABI_LINKER_SCRIPT=OFF
+
+# avoid conflict with stddef.h
+CXXFLAGS.NetBSD+=	-D__DEFINED_max_align_t=1
+
+post-extract:
+	${MKDIR} ${WRKDIR}/build
+	${LN} -f -s ${WRKDIR}/${LIBCXXABI} ${WRKDIR}/libcxxabi
+	${LN} -f -s ${WRKDIR}/${LLVMDIST} ${WRKDIR}/llvm
+
+.include "../../wip/libcxxabi/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/libcxx/PLIST b/libcxx/PLIST
new file mode 100644
index 0000000000..27e1a1c81a
--- /dev/null
+++ b/libcxx/PLIST
@@ -0,0 +1,395 @@
+@comment $NetBSD: PLIST,v 1.7 2021/11/23 20:55:43 wiz Exp $
+include/c++/v1/__algorithm/adjacent_find.h
+include/c++/v1/__algorithm/all_of.h
+include/c++/v1/__algorithm/any_of.h
+include/c++/v1/__algorithm/binary_search.h
+include/c++/v1/__algorithm/clamp.h
+include/c++/v1/__algorithm/comp.h
+include/c++/v1/__algorithm/comp_ref_type.h
+include/c++/v1/__algorithm/copy.h
+include/c++/v1/__algorithm/copy_backward.h
+include/c++/v1/__algorithm/copy_if.h
+include/c++/v1/__algorithm/copy_n.h
+include/c++/v1/__algorithm/count.h
+include/c++/v1/__algorithm/count_if.h
+include/c++/v1/__algorithm/equal.h
+include/c++/v1/__algorithm/equal_range.h
+include/c++/v1/__algorithm/fill.h
+include/c++/v1/__algorithm/fill_n.h
+include/c++/v1/__algorithm/find.h
+include/c++/v1/__algorithm/find_end.h
+include/c++/v1/__algorithm/find_first_of.h
+include/c++/v1/__algorithm/find_if.h
+include/c++/v1/__algorithm/find_if_not.h
+include/c++/v1/__algorithm/for_each.h
+include/c++/v1/__algorithm/for_each_n.h
+include/c++/v1/__algorithm/generate.h
+include/c++/v1/__algorithm/generate_n.h
+include/c++/v1/__algorithm/half_positive.h
+include/c++/v1/__algorithm/includes.h
+include/c++/v1/__algorithm/inplace_merge.h
+include/c++/v1/__algorithm/is_heap.h
+include/c++/v1/__algorithm/is_heap_until.h
+include/c++/v1/__algorithm/is_partitioned.h
+include/c++/v1/__algorithm/is_permutation.h
+include/c++/v1/__algorithm/is_sorted.h
+include/c++/v1/__algorithm/is_sorted_until.h
+include/c++/v1/__algorithm/iter_swap.h
+include/c++/v1/__algorithm/lexicographical_compare.h
+include/c++/v1/__algorithm/lower_bound.h
+include/c++/v1/__algorithm/make_heap.h
+include/c++/v1/__algorithm/max.h
+include/c++/v1/__algorithm/max_element.h
+include/c++/v1/__algorithm/merge.h
+include/c++/v1/__algorithm/min.h
+include/c++/v1/__algorithm/min_element.h
+include/c++/v1/__algorithm/minmax.h
+include/c++/v1/__algorithm/minmax_element.h
+include/c++/v1/__algorithm/mismatch.h
+include/c++/v1/__algorithm/move.h
+include/c++/v1/__algorithm/move_backward.h
+include/c++/v1/__algorithm/next_permutation.h
+include/c++/v1/__algorithm/none_of.h
+include/c++/v1/__algorithm/nth_element.h
+include/c++/v1/__algorithm/partial_sort.h
+include/c++/v1/__algorithm/partial_sort_copy.h
+include/c++/v1/__algorithm/partition.h
+include/c++/v1/__algorithm/partition_copy.h
+include/c++/v1/__algorithm/partition_point.h
+include/c++/v1/__algorithm/pop_heap.h
+include/c++/v1/__algorithm/prev_permutation.h
+include/c++/v1/__algorithm/push_heap.h
+include/c++/v1/__algorithm/remove.h
+include/c++/v1/__algorithm/remove_copy.h
+include/c++/v1/__algorithm/remove_copy_if.h
+include/c++/v1/__algorithm/remove_if.h
+include/c++/v1/__algorithm/replace.h
+include/c++/v1/__algorithm/replace_copy.h
+include/c++/v1/__algorithm/replace_copy_if.h
+include/c++/v1/__algorithm/replace_if.h
+include/c++/v1/__algorithm/reverse.h
+include/c++/v1/__algorithm/reverse_copy.h
+include/c++/v1/__algorithm/rotate.h
+include/c++/v1/__algorithm/rotate_copy.h
+include/c++/v1/__algorithm/sample.h
+include/c++/v1/__algorithm/search.h
+include/c++/v1/__algorithm/search_n.h
+include/c++/v1/__algorithm/set_difference.h
+include/c++/v1/__algorithm/set_intersection.h
+include/c++/v1/__algorithm/set_symmetric_difference.h
+include/c++/v1/__algorithm/set_union.h
+include/c++/v1/__algorithm/shift_left.h
+include/c++/v1/__algorithm/shift_right.h
+include/c++/v1/__algorithm/shuffle.h
+include/c++/v1/__algorithm/sift_down.h
+include/c++/v1/__algorithm/sort.h
+include/c++/v1/__algorithm/sort_heap.h
+include/c++/v1/__algorithm/stable_partition.h
+include/c++/v1/__algorithm/stable_sort.h
+include/c++/v1/__algorithm/swap_ranges.h
+include/c++/v1/__algorithm/transform.h
+include/c++/v1/__algorithm/unique.h
+include/c++/v1/__algorithm/unique_copy.h
+include/c++/v1/__algorithm/unwrap_iter.h
+include/c++/v1/__algorithm/upper_bound.h
+include/c++/v1/__availability
+include/c++/v1/__bit_reference
+include/c++/v1/__bits
+include/c++/v1/__bsd_locale_defaults.h
+include/c++/v1/__bsd_locale_fallbacks.h
+include/c++/v1/__config
+include/c++/v1/__config_site
+include/c++/v1/__cxxabi_config.h
+include/c++/v1/__debug
+include/c++/v1/__errc
+include/c++/v1/__format/format_error.h
+include/c++/v1/__format/format_parse_context.h
+include/c++/v1/__function_like.h
+include/c++/v1/__functional/binary_function.h
+include/c++/v1/__functional/binary_negate.h
+include/c++/v1/__functional/bind.h
+include/c++/v1/__functional/bind_front.h
+include/c++/v1/__functional/binder1st.h
+include/c++/v1/__functional/binder2nd.h
+include/c++/v1/__functional/default_searcher.h
+include/c++/v1/__functional/function.h
+include/c++/v1/__functional/hash.h
+include/c++/v1/__functional/identity.h
+include/c++/v1/__functional/invoke.h
+include/c++/v1/__functional/is_transparent.h
+include/c++/v1/__functional/mem_fn.h
+include/c++/v1/__functional/mem_fun_ref.h
+include/c++/v1/__functional/not_fn.h
+include/c++/v1/__functional/operations.h
+include/c++/v1/__functional/perfect_forward.h
+include/c++/v1/__functional/pointer_to_binary_function.h
+include/c++/v1/__functional/pointer_to_unary_function.h
+include/c++/v1/__functional/ranges_operations.h
+include/c++/v1/__functional/reference_wrapper.h
+include/c++/v1/__functional/unary_function.h
+include/c++/v1/__functional/unary_negate.h
+include/c++/v1/__functional/unwrap_ref.h
+include/c++/v1/__functional/weak_result_type.h
+include/c++/v1/__functional_base
+include/c++/v1/__hash_table
+include/c++/v1/__iterator/access.h
+include/c++/v1/__iterator/advance.h
+include/c++/v1/__iterator/back_insert_iterator.h
+include/c++/v1/__iterator/common_iterator.h
+include/c++/v1/__iterator/concepts.h
+include/c++/v1/__iterator/counted_iterator.h
+include/c++/v1/__iterator/data.h
+include/c++/v1/__iterator/default_sentinel.h
+include/c++/v1/__iterator/distance.h
+include/c++/v1/__iterator/empty.h
+include/c++/v1/__iterator/erase_if_container.h
+include/c++/v1/__iterator/front_insert_iterator.h
+include/c++/v1/__iterator/incrementable_traits.h
+include/c++/v1/__iterator/insert_iterator.h
+include/c++/v1/__iterator/istream_iterator.h
+include/c++/v1/__iterator/istreambuf_iterator.h
+include/c++/v1/__iterator/iter_move.h
+include/c++/v1/__iterator/iter_swap.h
+include/c++/v1/__iterator/iterator.h
+include/c++/v1/__iterator/iterator_traits.h
+include/c++/v1/__iterator/move_iterator.h
+include/c++/v1/__iterator/next.h
+include/c++/v1/__iterator/ostream_iterator.h
+include/c++/v1/__iterator/ostreambuf_iterator.h
+include/c++/v1/__iterator/prev.h
+include/c++/v1/__iterator/projected.h
+include/c++/v1/__iterator/readable_traits.h
+include/c++/v1/__iterator/reverse_access.h
+include/c++/v1/__iterator/reverse_iterator.h
+include/c++/v1/__iterator/size.h
+include/c++/v1/__iterator/wrap_iter.h
+include/c++/v1/__libcpp_version
+include/c++/v1/__locale
+include/c++/v1/__memory/addressof.h
+include/c++/v1/__memory/allocation_guard.h
+include/c++/v1/__memory/allocator.h
+include/c++/v1/__memory/allocator_arg_t.h
+include/c++/v1/__memory/allocator_traits.h
+include/c++/v1/__memory/auto_ptr.h
+include/c++/v1/__memory/compressed_pair.h
+include/c++/v1/__memory/construct_at.h
+include/c++/v1/__memory/pointer_safety.h
+include/c++/v1/__memory/pointer_traits.h
+include/c++/v1/__memory/raw_storage_iterator.h
+include/c++/v1/__memory/shared_ptr.h
+include/c++/v1/__memory/temporary_buffer.h
+include/c++/v1/__memory/uninitialized_algorithms.h
+include/c++/v1/__memory/unique_ptr.h
+include/c++/v1/__memory/uses_allocator.h
+include/c++/v1/__mutex_base
+include/c++/v1/__node_handle
+include/c++/v1/__nullptr
+include/c++/v1/__random/uniform_int_distribution.h
+include/c++/v1/__ranges/access.h
+include/c++/v1/__ranges/all.h
+include/c++/v1/__ranges/common_view.h
+include/c++/v1/__ranges/concepts.h
+include/c++/v1/__ranges/copyable_box.h
+include/c++/v1/__ranges/dangling.h
+include/c++/v1/__ranges/data.h
+include/c++/v1/__ranges/drop_view.h
+include/c++/v1/__ranges/empty.h
+include/c++/v1/__ranges/empty_view.h
+include/c++/v1/__ranges/enable_borrowed_range.h
+include/c++/v1/__ranges/enable_view.h
+include/c++/v1/__ranges/non_propagating_cache.h
+include/c++/v1/__ranges/ref_view.h
+include/c++/v1/__ranges/size.h
+include/c++/v1/__ranges/subrange.h
+include/c++/v1/__ranges/transform_view.h
+include/c++/v1/__ranges/view_interface.h
+include/c++/v1/__split_buffer
+include/c++/v1/__std_stream
+include/c++/v1/__string
+include/c++/v1/__support/android/locale_bionic.h
+include/c++/v1/__support/fuchsia/xlocale.h
+include/c++/v1/__support/ibm/gettod_zos.h
+include/c++/v1/__support/ibm/limits.h
+include/c++/v1/__support/ibm/locale_mgmt_aix.h
+include/c++/v1/__support/ibm/locale_mgmt_zos.h
+include/c++/v1/__support/ibm/nanosleep.h
+include/c++/v1/__support/ibm/support.h
+include/c++/v1/__support/ibm/xlocale.h
+include/c++/v1/__support/musl/xlocale.h
+include/c++/v1/__support/newlib/xlocale.h
+include/c++/v1/__support/nuttx/xlocale.h
+include/c++/v1/__support/openbsd/xlocale.h
+include/c++/v1/__support/solaris/floatingpoint.h
+include/c++/v1/__support/solaris/wchar.h
+include/c++/v1/__support/solaris/xlocale.h
+include/c++/v1/__support/win32/limits_msvc_win32.h
+include/c++/v1/__support/win32/locale_win32.h
+include/c++/v1/__support/xlocale/__nop_locale_mgmt.h
+include/c++/v1/__support/xlocale/__posix_l_fallback.h
+include/c++/v1/__support/xlocale/__strtonum_fallback.h
+include/c++/v1/__threading_support
+include/c++/v1/__tree
+include/c++/v1/__tuple
+include/c++/v1/__undef_macros
+include/c++/v1/__utility/__decay_copy.h
+include/c++/v1/__utility/as_const.h
+include/c++/v1/__utility/cmp.h
+include/c++/v1/__utility/declval.h
+include/c++/v1/__utility/exchange.h
+include/c++/v1/__utility/forward.h
+include/c++/v1/__utility/in_place.h
+include/c++/v1/__utility/integer_sequence.h
+include/c++/v1/__utility/move.h
+include/c++/v1/__utility/pair.h
+include/c++/v1/__utility/piecewise_construct.h
+include/c++/v1/__utility/rel_ops.h
+include/c++/v1/__utility/swap.h
+include/c++/v1/__utility/to_underlying.h
+include/c++/v1/__variant/monostate.h
+include/c++/v1/algorithm
+include/c++/v1/any
+include/c++/v1/array
+include/c++/v1/atomic
+include/c++/v1/barrier
+include/c++/v1/bit
+include/c++/v1/bitset
+include/c++/v1/cassert
+include/c++/v1/ccomplex
+include/c++/v1/cctype
+include/c++/v1/cerrno
+include/c++/v1/cfenv
+include/c++/v1/cfloat
+include/c++/v1/charconv
+include/c++/v1/chrono
+include/c++/v1/cinttypes
+include/c++/v1/ciso646
+include/c++/v1/climits
+include/c++/v1/clocale
+include/c++/v1/cmath
+include/c++/v1/codecvt
+include/c++/v1/compare
+include/c++/v1/complex
+include/c++/v1/complex.h
+include/c++/v1/concepts
+include/c++/v1/condition_variable
+include/c++/v1/csetjmp
+include/c++/v1/csignal
+include/c++/v1/cstdarg
+include/c++/v1/cstdbool
+include/c++/v1/cstddef
+include/c++/v1/cstdint
+include/c++/v1/cstdio
+include/c++/v1/cstdlib
+include/c++/v1/cstring
+include/c++/v1/ctgmath
+include/c++/v1/ctime
+include/c++/v1/ctype.h
+include/c++/v1/cwchar
+include/c++/v1/cwctype
+include/c++/v1/cxxabi.h
+include/c++/v1/deque
+include/c++/v1/errno.h
+include/c++/v1/exception
+include/c++/v1/execution
+include/c++/v1/experimental/__config
+include/c++/v1/experimental/__memory
+include/c++/v1/experimental/algorithm
+include/c++/v1/experimental/coroutine
+include/c++/v1/experimental/deque
+include/c++/v1/experimental/filesystem
+include/c++/v1/experimental/forward_list
+include/c++/v1/experimental/functional
+include/c++/v1/experimental/iterator
+include/c++/v1/experimental/list
+include/c++/v1/experimental/map
+include/c++/v1/experimental/memory_resource
+include/c++/v1/experimental/propagate_const
+include/c++/v1/experimental/regex
+include/c++/v1/experimental/set
+include/c++/v1/experimental/simd
+include/c++/v1/experimental/string
+include/c++/v1/experimental/type_traits
+include/c++/v1/experimental/unordered_map
+include/c++/v1/experimental/unordered_set
+include/c++/v1/experimental/utility
+include/c++/v1/experimental/vector
+include/c++/v1/ext/__hash
+include/c++/v1/ext/hash_map
+include/c++/v1/ext/hash_set
+include/c++/v1/fenv.h
+include/c++/v1/filesystem
+include/c++/v1/float.h
+include/c++/v1/format
+include/c++/v1/forward_list
+include/c++/v1/fstream
+include/c++/v1/functional
+include/c++/v1/future
+include/c++/v1/initializer_list
+include/c++/v1/inttypes.h
+include/c++/v1/iomanip
+include/c++/v1/ios
+include/c++/v1/iosfwd
+include/c++/v1/iostream
+include/c++/v1/istream
+include/c++/v1/iterator
+include/c++/v1/latch
+include/c++/v1/limits
+include/c++/v1/limits.h
+include/c++/v1/list
+include/c++/v1/locale
+include/c++/v1/locale.h
+include/c++/v1/map
+include/c++/v1/math.h
+include/c++/v1/memory
+include/c++/v1/module.modulemap
+include/c++/v1/mutex
+include/c++/v1/new
+include/c++/v1/numbers
+include/c++/v1/numeric
+include/c++/v1/optional
+include/c++/v1/ostream
+include/c++/v1/queue
+include/c++/v1/random
+include/c++/v1/ranges
+include/c++/v1/ratio
+include/c++/v1/regex
+include/c++/v1/scoped_allocator
+include/c++/v1/semaphore
+include/c++/v1/set
+include/c++/v1/setjmp.h
+include/c++/v1/shared_mutex
+include/c++/v1/span
+include/c++/v1/sstream
+include/c++/v1/stack
+include/c++/v1/stdbool.h
+include/c++/v1/stddef.h
+include/c++/v1/stdexcept
+include/c++/v1/stdint.h
+include/c++/v1/stdio.h
+include/c++/v1/stdlib.h
+include/c++/v1/streambuf
+include/c++/v1/string
+include/c++/v1/string.h
+include/c++/v1/string_view
+include/c++/v1/strstream
+include/c++/v1/system_error
+include/c++/v1/tgmath.h
+include/c++/v1/thread
+include/c++/v1/tuple
+include/c++/v1/type_traits
+include/c++/v1/typeindex
+include/c++/v1/typeinfo
+include/c++/v1/unordered_map
+include/c++/v1/unordered_set
+include/c++/v1/utility
+include/c++/v1/valarray
+include/c++/v1/variant
+include/c++/v1/vector
+include/c++/v1/version
+include/c++/v1/wchar.h
+include/c++/v1/wctype.h
+lib/libc++.a
+lib/libc++.so
+lib/libc++.so.1
+lib/libc++.so.1.0
+lib/libc++experimental.a
diff --git a/libcxx/buildlink3.mk b/libcxx/buildlink3.mk
new file mode 100644
index 0000000000..488788e3a6
--- /dev/null
+++ b/libcxx/buildlink3.mk
@@ -0,0 +1,14 @@
+# $NetBSD: buildlink3.mk,v 1.5 2021/07/12 18:46:07 adam Exp $
+
+BUILDLINK_TREE+=	libcxx
+
+.if !defined(LIBCXX_BUILDLINK3_MK)
+LIBCXX_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libcxx+=	libcxx>=14.0.0
+BUILDLINK_PKGSRCDIR.libcxx?=	../../wip/libcxx
+
+.include "../../wip/llvm/buildlink3.mk"
+.endif	# LIBCXX_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-libcxx
diff --git a/libcxx/distinfo b/libcxx/distinfo
new file mode 100644
index 0000000000..18905cbf05
--- /dev/null
+++ b/libcxx/distinfo
@@ -0,0 +1,14 @@
+$NetBSD: distinfo,v 1.17 2022/02/03 20:38:39 adam Exp $
+
+BLAKE2s (libcxx-14.0.6.src.tar.xz) = e77dfac79fb977adf84345b7e4c2762b3fa89f3d1f611baa8f8fa6831d1bc68a
+SHA512 (libcxx-14.0.6.src.tar.xz) = c39bb01317e8ae7e5b23a677754a866953b6c45188c194d3d76fbd276de9565df8bcbcab8cf6606584af7dd30a61f39376c0e2de6b8c32c69f7fc592587e710d
+Size (libcxx-14.0.6.src.tar.xz) = 3065120 bytes
+BLAKE2s (libcxxabi-14.0.6.src.tar.xz) = c2bc894a75176b7f24517b6c045ddaccc61375453d56331f51dc9d03821804cc
+SHA512 (libcxxabi-14.0.6.src.tar.xz) = f61926ce9c8bf4d704d9ee03a795ebd23730099d56c385e3cbd1f8b588b337c1394d6548f55e1452df5040117a80765c977ba256547d53cd21895e91ef0fffa6
+Size (libcxxabi-14.0.6.src.tar.xz) = 561844 bytes
+BLAKE2s (llvm-14.0.6.src.tar.xz) = 2d44946453add45426569fd4187654f83881341c5c0109e4ffacc60e8f73af60
+SHA512 (llvm-14.0.6.src.tar.xz) = 6461bdde27aac17fa44c3e99a85ec47ffb181d0d4e5c3ef1c4286a59583e3b0c51af3c8081a300f45b99524340773a3011380059e3b3a571c3b0a8733e96fc1d
+Size (llvm-14.0.6.src.tar.xz) = 49660136 bytes
+SHA1 (patch-include_____config) = ff0d5a0fcc1431f21ce25667cbc01c2307542212
+SHA1 (patch-src_filesystem_directory__iterator.cpp) = 90ebbb80e4ec161405397d6d7c5d1d19a7284325
+SHA1 (patch-src_support_solaris_xlocale.cpp) = 8085adb5b2647151a162c620506b479f7c71c753
diff --git a/libcxx/patches/patch-include_____config b/libcxx/patches/patch-include_____config
new file mode 100644
index 0000000000..da0db3c648
--- /dev/null
+++ b/libcxx/patches/patch-include_____config
@@ -0,0 +1,15 @@
+$NetBSD: patch-include_____config,v 1.1 2021/07/23 09:39:34 jperkin Exp $
+
+Avoid init_priority() on SunOS.
+
+--- include/__config.orig	2021-06-28 16:23:38.000000000 +0000
++++ include/__config
+@@ -1439,7 +1439,7 @@ extern "C" _LIBCPP_FUNC_VIS void __sanit
+ #define _LIBCPP_HAS_NO_FGETPOS_FSETPOS
+ #endif
+ 
+-#if __has_attribute(init_priority)
++#if __has_attribute(init_priority) && !defined(__sun)
+ # define _LIBCPP_INIT_PRIORITY_MAX __attribute__((init_priority(101)))
+ #else
+ # define _LIBCPP_INIT_PRIORITY_MAX
diff --git a/libcxx/patches/patch-src_filesystem_directory__iterator.cpp b/libcxx/patches/patch-src_filesystem_directory__iterator.cpp
new file mode 100644
index 0000000000..60989c6b8c
--- /dev/null
+++ b/libcxx/patches/patch-src_filesystem_directory__iterator.cpp
@@ -0,0 +1,28 @@
+$NetBSD: patch-src_filesystem_directory__iterator.cpp,v 1.2 2019/10/19 13:59:07 adam Exp $
+
+Support POSIX file modes.
+
+--- src/filesystem/directory_iterator.cpp.orig	2019-02-01 23:52:17.000000000 +0000
++++ src/filesystem/directory_iterator.cpp
+@@ -28,7 +28,21 @@ namespace {
+ #if defined(DT_BLK)
+ template <class DirEntT, class = decltype(DirEntT::d_type)>
+ static file_type get_file_type(DirEntT* ent, int) {
++#ifdef __sun
++#define DT_BLK		S_IFBLK
++#define DT_CHR		S_IFCHR
++#define DT_DIR		S_IFDIR
++#define DT_FIFO		S_IFIFO
++#define DT_LNK		S_IFLNK
++#define DT_REG		S_IFREG
++#define DT_SOCK		S_IFSOCK
++#define DT_UNKNOWN	0
++  struct stat s;
++  stat(ent->d_name, &s);
++  switch (s.st_mode & 0xF000) {
++#else
+   switch (ent->d_type) {
++#endif
+   case DT_BLK:
+     return file_type::block;
+   case DT_CHR:
diff --git a/libcxx/patches/patch-src_support_solaris_xlocale.cpp b/libcxx/patches/patch-src_support_solaris_xlocale.cpp
new file mode 100644
index 0000000000..dac5e7f5be
--- /dev/null
+++ b/libcxx/patches/patch-src_support_solaris_xlocale.cpp
@@ -0,0 +1,18 @@
+$NetBSD: patch-src_support_solaris_xlocale.cpp,v 1.1 2022/01/09 23:20:59 tnn Exp $
+
+don't try to use sys/localedef.h on SunOS if nonexistent
+OpenIndiana doesn't seem to ship the header.
+Userland shouldn't use it, according to Garrett D'Amore:
+https://illumos.topicbox.com/groups/developer/T6cfd2e6cd87f3485-M30dac0cb6fffae62ef45b9a8
+
+--- src/support/solaris/xlocale.cpp.orig	2021-09-24 16:18:10.000000000 +0000
++++ src/support/solaris/xlocale.cpp
+@@ -6,7 +6,7 @@
+ //
+ //===----------------------------------------------------------------------===//
+ 
+-#ifdef __sun__
++#if defined(__sun__) && __has_include(<sys/localedef.h>)
+ 
+ #include "__support/solaris/xlocale.h"
+ #include <stdarg.h>
diff --git a/libcxxabi/DESCR b/libcxxabi/DESCR
new file mode 100644
index 0000000000..7b53a18eda
--- /dev/null
+++ b/libcxxabi/DESCR
@@ -0,0 +1,7 @@
+libc++abi is a new implementation of low level support for a standard
+C++ library.
+
+Features and Goals
+ * Correctness as defined by the C++11 standard.
+ * Provide a portable sublayer to ease the porting of libc++
+ * On Mac OS X, be ABI compatible with the existing low-level support.
diff --git a/libcxxabi/Makefile b/libcxxabi/Makefile
new file mode 100644
index 0000000000..2607741a0c
--- /dev/null
+++ b/libcxxabi/Makefile
@@ -0,0 +1,52 @@
+# $NetBSD: Makefile,v 1.12 2021/11/23 20:55:43 wiz Exp $
+
+.include "../../wip/llvm/version.mk"
+
+DISTNAME=	libcxxabi-${LLVM_VERSION}.src
+PKGNAME=	${DISTNAME:S/.src//}
+CATEGORIES=	lang devel
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://libcxxabi.llvm.org/
+COMMENT=	C++ Standard Library
+LICENSE=	apache-2.0
+
+# libcxx requires libcxxabi's cxxabi.h to build, but libcxxabi requires
+# libcxx's includes to build, so we have this unholy extra distfiles thing
+# in both of them to get them to build against each other without causing
+# circular dependencies.  This must be kept in sync with libcxxabi/Makefile.
+LIBCXX=		libcxx-${LLVM_VERSION}.src
+LLVMDIST=	llvm-${LLVM_VERSION}.src
+_EXTRA_DIST=	${LIBCXX}${EXTRACT_SUFX} ${LLVMDIST}${EXTRACT_SUFX}
+SITES.${LIBCXX}${EXTRACT_SUFX}=		${MASTER_SITES:=${GITHUB_PROJECT}/releases/download/${GITHUB_RELEASE}/}
+SITES.${LLLVMDIST}${EXTRACT_SUFX}=	${MASTER_SITES:=${GITHUB_PROJECT}/releases/download/${GITHUB_RELEASE}/}
+
+DISTFILES=	${DEFAULT_DISTFILES} ${_EXTRA_DIST}
+
+CONFIGURE_DIRS=	${WRKDIR}/build
+CMAKE_ARG_PATH=	${WRKSRC}
+
+USE_LANGUAGES=	c c++
+USE_CMAKE=	yes
+GCC_REQD+=	4.8
+SSP_SUPPORTED=	no
+
+CMAKE_ARGS+=	-DCMAKE_BUILD_TYPE=Release
+CMAKE_ARGS+=	-DCMAKE_C_COMPILER=${CC:Q}
+CMAKE_ARGS+=	-DCMAKE_CXX_COMPILER=${CXX:Q}
+CMAKE_ARGS+=	-DLIBCXXABI_LIBCXX_INCLUDES=${WRKDIR}/${LIBCXX}/include
+CMAKE_ARGS+=	-DLIBCXXABI_USE_LLVM_UNWINDER=ON
+
+# avoid conflict with stddef.h
+CXXFLAGS.NetBSD+=	-D__DEFINED_max_align_t=1
+
+post-extract:
+	${MKDIR} ${WRKDIR}/build
+	${LN} -f -s ${WRKDIR}/${LIBCXX} ${WRKDIR}/libcxx
+	${LN} -f -s ${WRKDIR}/${LLVMDIST} ${WRKDIR}/llvm
+        # TODO: not sure what should create this and with which contents
+	${TOUCH} ${WRKDIR}/${LIBCXX}/include/__config_site
+
+.include "../../wip/libunwind/buildlink3.mk"
+.include "../../wip/llvm/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/libcxxabi/PLIST b/libcxxabi/PLIST
new file mode 100644
index 0000000000..cf361b307d
--- /dev/null
+++ b/libcxxabi/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1 2018/08/09 14:13:25 jperkin Exp $
+lib/libc++abi.a
+lib/libc++abi.so
+lib/libc++abi.so.1
+lib/libc++abi.so.1.0
diff --git a/libcxxabi/TODO b/libcxxabi/TODO
new file mode 100644
index 0000000000..c6893eb4ff
--- /dev/null
+++ b/libcxxabi/TODO
@@ -0,0 +1,19 @@
+In file included from /scratch/lang/libcxxabi/work/libcxx-14.0.6.src/include/__compare/strong_order.h:12,
+                 from /scratch/lang/libcxxabi/work/libcxx-14.0.6.src/include/__compare/weak_order.h:14,
+                 from /scratch/lang/libcxxabi/work/libcxx-14.0.6.src/include/__compare/partial_order.h:14,
+                 from /scratch/lang/libcxxabi/work/libcxx-14.0.6.src/include/__compare/compare_partial_order_fallback.h:13,
+                 from /scratch/lang/libcxxabi/work/libcxx-14.0.6.src/include/compare:144,
+                 from /scratch/lang/libcxxabi/work/libcxx-14.0.6.src/include/utility:236,
+                 from /scratch/lang/libcxxabi/work/libcxx-14.0.6.src/include/__functional_base:26,
+                 from /scratch/lang/libcxxabi/work/libcxx-14.0.6.src/include/memory:808,
+                 from /scratch/lang/libcxxabi/work/libcxxabi-14.0.6.src/../libcxx/src/include/atomic_support.h:13,
+                 from /scratch/lang/libcxxabi/work/libcxxabi-14.0.6.src/src/cxa_guard_impl.h:47,
+                 from /scratch/lang/libcxxabi/work/libcxxabi-14.0.6.src/src/cxa_guard.cpp:15:
+/scratch/lang/libcxxabi/work/libcxx-14.0.6.src/include/__bit/bit_cast.h: In function 'constexpr _ToType std::__1::bit_cast(const _FromType&)':
+/scratch/lang/libcxxabi/work/libcxx-14.0.6.src/include/__bit/bit_cast.h:31:38: error: expected primary-expression before ',' token
+   31 |     return __builtin_bit_cast(_ToType, __from);
+      |                                      ^
+
+
+See also
+https://github.com/llvm/llvm-project/issues/54018
diff --git a/libcxxabi/buildlink3.mk b/libcxxabi/buildlink3.mk
new file mode 100644
index 0000000000..6dd48b77cc
--- /dev/null
+++ b/libcxxabi/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.5 2021/07/12 18:46:07 adam Exp $
+
+BUILDLINK_TREE+=	libcxxabi
+
+.if !defined(LIBCXXABI_BUILDLINK3_MK)
+LIBCXXABI_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libcxxabi+=	libcxxabi>=14.0.0
+BUILDLINK_PKGSRCDIR.libcxxabi?=		../../wip/libcxxabi
+
+.include "../../wip/llvm/buildlink3.mk"
+.include "../../wip/libunwind/buildlink3.mk"
+.endif	# LIBCXXABI_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-libcxxabi
diff --git a/libcxxabi/distinfo b/libcxxabi/distinfo
new file mode 100644
index 0000000000..bb5bca2b55
--- /dev/null
+++ b/libcxxabi/distinfo
@@ -0,0 +1,11 @@
+$NetBSD: distinfo,v 1.14 2022/02/03 20:38:39 adam Exp $
+
+BLAKE2s (libcxx-14.0.6.src.tar.xz) = e77dfac79fb977adf84345b7e4c2762b3fa89f3d1f611baa8f8fa6831d1bc68a
+SHA512 (libcxx-14.0.6.src.tar.xz) = c39bb01317e8ae7e5b23a677754a866953b6c45188c194d3d76fbd276de9565df8bcbcab8cf6606584af7dd30a61f39376c0e2de6b8c32c69f7fc592587e710d
+Size (libcxx-14.0.6.src.tar.xz) = 3065120 bytes
+BLAKE2s (libcxxabi-14.0.6.src.tar.xz) = c2bc894a75176b7f24517b6c045ddaccc61375453d56331f51dc9d03821804cc
+SHA512 (libcxxabi-14.0.6.src.tar.xz) = f61926ce9c8bf4d704d9ee03a795ebd23730099d56c385e3cbd1f8b588b337c1394d6548f55e1452df5040117a80765c977ba256547d53cd21895e91ef0fffa6
+Size (libcxxabi-14.0.6.src.tar.xz) = 561844 bytes
+BLAKE2s (llvm-14.0.6.src.tar.xz) = 2d44946453add45426569fd4187654f83881341c5c0109e4ffacc60e8f73af60
+SHA512 (llvm-14.0.6.src.tar.xz) = 6461bdde27aac17fa44c3e99a85ec47ffb181d0d4e5c3ef1c4286a59583e3b0c51af3c8081a300f45b99524340773a3011380059e3b3a571c3b0a8733e96fc1d
+Size (llvm-14.0.6.src.tar.xz) = 49660136 bytes
diff --git a/libunwind/DESCR b/libunwind/DESCR
new file mode 100644
index 0000000000..93d20deb5d
--- /dev/null
+++ b/libunwind/DESCR
@@ -0,0 +1 @@
+LLVM libunwind
diff --git a/libunwind/Makefile b/libunwind/Makefile
new file mode 100644
index 0000000000..a0fac7421d
--- /dev/null
+++ b/libunwind/Makefile
@@ -0,0 +1,49 @@
+# $NetBSD: Makefile,v 1.25 2021/07/12 18:46:07 adam Exp $
+
+.include "../../wip/llvm/version.mk"
+
+DISTNAME=	libunwind-${LLVM_VERSION}.src
+PKGNAME=	${DISTNAME:S/.src//}
+CATEGORIES=	lang devel
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+#HOMEPAGE=	http://libunwind.llvm.org/
+COMMENT=	LLVM libunwind
+LICENSE=	apache-2.0
+
+# libunwind requires llvm and libcxx source code to build
+LIBCXX=		libcxx-${LLVM_VERSION}.src
+LLVMDIST=	llvm-${LLVM_VERSION}.src
+_EXTRA_DIST=	${LIBCXX}${EXTRACT_SUFX} ${LLVMDIST}${EXTRACT_SUFX}
+SITES.${LIBCXX}${EXTRACT_SUFX}=		${MASTER_SITES:=${GITHUB_PROJECT}/releases/download/${GITHUB_RELEASE}/}
+SITES.${LLLVMDIST}${EXTRACT_SUFX}=	${MASTER_SITES:=${GITHUB_PROJECT}/releases/download/${GITHUB_RELEASE}/}
+
+DISTFILES=	${DEFAULT_DISTFILES} ${_EXTRA_DIST}
+
+CONFIGURE_DIRS=	${WRKDIR}/build
+CMAKE_ARG_PATH=	${WRKSRC}
+
+USE_CMAKE=		yes
+USE_LANGUAGES=		c c++11
+USE_TOOLS+=		pax
+GCC_REQD+=		4.8
+SSP_SUPPORTED=		no
+
+CMAKE_ARGS+=	-DCMAKE_BUILD_TYPE=Release
+CMAKE_ARGS+=	-DCMAKE_C_COMPILER=${CC:Q}
+CMAKE_ARGS+=	-DCMAKE_CXX_COMPILER=${CXX:Q}
+
+INSTALLATION_DIRS=	include
+
+post-extract:
+	${MKDIR} ${WRKDIR}/build
+	${LN} -f -s ${WRKDIR}/${LIBCXX} ${WRKDIR}/libcxx
+	${LN} -f -s ${WRKDIR}/${LLVMDIST} ${WRKDIR}/llvm
+
+post-install:
+	${RM} -f ${WRKSRC}/include/__libunwind_config.h.orig
+	cd ${WRKSRC}/include && ${PAX} -rw . ${DESTDIR}${PREFIX}/include
+
+BUILDLINK_DEPMETHOD.llvm=	build
+.include "../../wip/llvm/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/libunwind/PLIST b/libunwind/PLIST
new file mode 100644
index 0000000000..dd53c19913
--- /dev/null
+++ b/libunwind/PLIST
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.2 2017/03/17 22:38:18 adam Exp $
+include/__libunwind_config.h
+include/libunwind.h
+include/mach-o/compact_unwind_encoding.h
+include/unwind.h
+lib/libunwind.a
+lib/libunwind.so
+lib/libunwind.so.1
+lib/libunwind.so.1.0
diff --git a/libunwind/TODO b/libunwind/TODO
new file mode 100644
index 0000000000..fe5ff49ad8
--- /dev/null
+++ b/libunwind/TODO
@@ -0,0 +1 @@
+make patches apply
diff --git a/libunwind/buildlink3.mk b/libunwind/buildlink3.mk
new file mode 100644
index 0000000000..65f036c9d7
--- /dev/null
+++ b/libunwind/buildlink3.mk
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.10 2021/11/23 21:42:02 wiz Exp $
+
+BUILDLINK_TREE+=	libunwind
+
+.if !defined(LIBUNWIND_BUILDLINK3_MK)
+LIBUNWIND_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libunwind+=	libunwind>=14.0.0
+BUILDLINK_PKGSRCDIR.libunwind?=		../../wip/libunwind
+
+.endif	# LIBUNWIND_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-libunwind
diff --git a/libunwind/distinfo b/libunwind/distinfo
new file mode 100644
index 0000000000..b92a965412
--- /dev/null
+++ b/libunwind/distinfo
@@ -0,0 +1,16 @@
+$NetBSD: distinfo,v 1.24 2022/02/03 20:38:39 adam Exp $
+
+BLAKE2s (libcxx-14.0.6.src.tar.xz) = e77dfac79fb977adf84345b7e4c2762b3fa89f3d1f611baa8f8fa6831d1bc68a
+SHA512 (libcxx-14.0.6.src.tar.xz) = c39bb01317e8ae7e5b23a677754a866953b6c45188c194d3d76fbd276de9565df8bcbcab8cf6606584af7dd30a61f39376c0e2de6b8c32c69f7fc592587e710d
+Size (libcxx-14.0.6.src.tar.xz) = 3065120 bytes
+BLAKE2s (libunwind-14.0.6.src.tar.xz) = 21da632762db6524a46c1f721908b233265afe83728c1de5dd7757c662db0d99
+SHA512 (libunwind-14.0.6.src.tar.xz) = c8f3804c47ac33273238899e5682f9cb52465dcceff0e0ecf9925469620c6c9a62cc2c708a35a0e156b666e1198df52c5fff1da9d5ee3194605dfd62c296b058
+Size (libunwind-14.0.6.src.tar.xz) = 108680 bytes
+BLAKE2s (llvm-14.0.6.src.tar.xz) = 2d44946453add45426569fd4187654f83881341c5c0109e4ffacc60e8f73af60
+SHA512 (llvm-14.0.6.src.tar.xz) = 6461bdde27aac17fa44c3e99a85ec47ffb181d0d4e5c3ef1c4286a59583e3b0c51af3c8081a300f45b99524340773a3011380059e3b3a571c3b0a8733e96fc1d
+Size (llvm-14.0.6.src.tar.xz) = 49660136 bytes
+SHA1 (patch-include_____libunwind__config.h) = b1727e79e7a00e4e5c412584dcfc357a696e2d6a
+SHA1 (patch-src_UnwindRegistersRestore.S) = bd8aa0754a87315efbe6cedcb81febcb32c8a020
+SHA1 (patch-src_UnwindRegistersSave.S) = 6c976325c8d871550d75fa51047e6a0b92f00f52
+SHA1 (patch-src_config.h) = c41a01427316ce7713a5b357a3a7a76a71ad8e6f
+SHA1 (patch-src_libunwind.cpp) = 6da6a2ac31364113e9b1f3e9377669dbc56cfa2a
diff --git a/libunwind/patches/patch-include_____libunwind__config.h b/libunwind/patches/patch-include_____libunwind__config.h
new file mode 100644
index 0000000000..9bca857a12
--- /dev/null
+++ b/libunwind/patches/patch-include_____libunwind__config.h
@@ -0,0 +1,15 @@
+$NetBSD: patch-include_____libunwind__config.h,v 1.1 2020/10/18 17:06:35 he Exp $
+
+Gcc doesn't define __ppc__, but defines __powerpc__ on NetBSD/powerpc.
+
+--- include/__libunwind_config.h.orig	2020-07-07 16:21:37.000000000 +0000
++++ include/__libunwind_config.h
+@@ -50,7 +50,7 @@
+ #  define _LIBUNWIND_CONTEXT_SIZE 167
+ #  define _LIBUNWIND_CURSOR_SIZE 179
+ #  define _LIBUNWIND_HIGHEST_DWARF_REGISTER _LIBUNWIND_HIGHEST_DWARF_REGISTER_PPC64
+-# elif defined(__ppc__)
++# elif defined(__ppc__) || defined(__powerpc__)
+ #  define _LIBUNWIND_TARGET_PPC 1
+ #  define _LIBUNWIND_CONTEXT_SIZE 117
+ #  define _LIBUNWIND_CURSOR_SIZE 124
diff --git a/libunwind/patches/patch-src_UnwindRegistersRestore.S b/libunwind/patches/patch-src_UnwindRegistersRestore.S
new file mode 100644
index 0000000000..38e49a332e
--- /dev/null
+++ b/libunwind/patches/patch-src_UnwindRegistersRestore.S
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_UnwindRegistersRestore.S,v 1.1 2020/10/18 17:06:35 he Exp $
+
+Gcc doesn't define __ppc__, but defines __powerpc__ on NetBSD/powerpc.
+
+--- src/UnwindRegistersRestore.S.orig	2020-07-07 16:21:37.000000000 +0000
++++ src/UnwindRegistersRestore.S
+@@ -392,7 +392,7 @@ Lnovec:
+   PPC64_LR(3)
+   bctr
+ 
+-#elif defined(__ppc__)
++#elif defined(__ppc__) || defined(__powerpc__)
+ 
+ DEFINE_LIBUNWIND_FUNCTION(_ZN9libunwind13Registers_ppc6jumptoEv)
+ //
diff --git a/libunwind/patches/patch-src_UnwindRegistersSave.S b/libunwind/patches/patch-src_UnwindRegistersSave.S
new file mode 100644
index 0000000000..e0f8417793
--- /dev/null
+++ b/libunwind/patches/patch-src_UnwindRegistersSave.S
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_UnwindRegistersSave.S,v 1.1 2020/10/18 17:06:35 he Exp $
+
+Gcc doesn't define __ppc__, but defines __powerpc__ on NetBSD/powerpc.
+
+--- src/UnwindRegistersSave.S.orig	2020-07-07 16:21:37.000000000 +0000
++++ src/UnwindRegistersSave.S
+@@ -554,7 +554,7 @@ DEFINE_LIBUNWIND_FUNCTION(__unw_getconte
+   blr
+ 
+ 
+-#elif defined(__ppc__)
++#elif defined(__ppc__) || defined(__powerpc__)
+ 
+ //
+ // extern int unw_getcontext(unw_context_t* thread_state)
diff --git a/libunwind/patches/patch-src_config.h b/libunwind/patches/patch-src_config.h
new file mode 100644
index 0000000000..197c5039b9
--- /dev/null
+++ b/libunwind/patches/patch-src_config.h
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_config.h,v 1.1 2020/10/18 17:06:35 he Exp $
+
+Gcc doesn't define __ppc__, but defines __powerpc__ on NetBSD/powerpc.
+
+--- src/config.h.orig	2020-07-07 16:21:37.000000000 +0000
++++ src/config.h
+@@ -95,7 +95,7 @@
+ #define _LIBUNWIND_BUILD_SJLJ_APIS
+ #endif
+ 
+-#if defined(__i386__) || defined(__x86_64__) || defined(__ppc__) || defined(__ppc64__) || defined(__powerpc64__)
++#if defined(__i386__) || defined(__x86_64__) || defined(__ppc__) || defined(__ppc64__) || defined(__powerpc64__) || defined(__powerpc__)
+ #define _LIBUNWIND_SUPPORT_FRAME_APIS
+ #endif
+ 
diff --git a/libunwind/patches/patch-src_libunwind.cpp b/libunwind/patches/patch-src_libunwind.cpp
new file mode 100644
index 0000000000..d169f1712c
--- /dev/null
+++ b/libunwind/patches/patch-src_libunwind.cpp
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_libunwind.cpp,v 1.1 2020/10/18 17:06:35 he Exp $
+
+Gcc doesn't define __ppc__, but defines __powerpc__ on NetBSD/powerpc.
+
+--- src/libunwind.cpp.orig	2020-07-07 16:21:37.000000000 +0000
++++ src/libunwind.cpp
+@@ -42,7 +42,7 @@ _LIBUNWIND_HIDDEN int __unw_init_local(u
+ # define REGISTER_KIND Registers_x86_64
+ #elif defined(__powerpc64__)
+ # define REGISTER_KIND Registers_ppc64
+-#elif defined(__ppc__)
++#elif defined(__ppc__) || defined(__powerpc__)
+ # define REGISTER_KIND Registers_ppc
+ #elif defined(__aarch64__)
+ # define REGISTER_KIND Registers_arm64
diff --git a/llvm/DESCR b/llvm/DESCR
new file mode 100644
index 0000000000..f00fcdbf80
--- /dev/null
+++ b/llvm/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 the 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 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/Makefile b/llvm/Makefile
new file mode 100644
index 0000000000..fd146f783e
--- /dev/null
+++ b/llvm/Makefile
@@ -0,0 +1,129 @@
+# $NetBSD: Makefile,v 1.71 2022/06/28 11:34:13 wiz Exp $
+#
+# when updating this, please also update:
+# devel/include-what-you-use
+# devel/lld
+# devel/lldb
+# devel/polly
+# lang/clang
+# lang/clang-tools-extra
+# lang/compiler-rt
+# lang/libcxx
+# lang/libcxxabi
+# lang/libunwind
+# parallel/openmp
+#
+# Do not update:
+#   lang/libLLVM
+# because pkgsrc provides multiple versions and lang/libLLVM is
+# logically libLLVM4.
+#
+# Always update all */buildlink3.mk to require the latest stable release
+# version in BUILDLINK_API_DEPENDS, as there is no backwards compatibility
+
+.include "version.mk"
+
+DISTNAME=	llvm-${LLVM_VERSION}.src
+PKGNAME=	${DISTNAME:S/.src//}
+CATEGORIES=	lang devel
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://llvm.org/
+COMMENT=	Low Level Virtual Machine compiler infrastructure
+LICENSE=	apache-2.0
+
+USE_LANGUAGES=		c c++14
+USE_CMAKE=		yes
+GCC_REQD+=		5
+PYTHON_FOR_BUILD_ONLY=	yes
+
+NOT_FOR_PLATFORM+=	*-*-alpha
+NOT_FOR_PLATFORM+=	*-*-vax
+
+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+=	-DCMAKE_CXX_LINK_FLAGS=${LDFLAGS:Q}
+CMAKE_ARGS+=	-DLLVM_BUILD_LLVM_DYLIB=ON
+CMAKE_ARGS+=	-DLLVM_INCLUDE_BENCHMARKS=OFF
+CMAKE_ARGS+=	-DLLVM_INSTALL_UTILS=ON
+CMAKE_ARGS+=	-DLLVM_LINK_LLVM_DYLIB=ON
+CMAKE_ARGS+=	-DLLVM_ENABLE_RTTI=ON
+
+CMAKE_ARGS.Darwin+=	-DCMAKE_LIBTOOL=/usr/bin/libtool
+
+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_PERL+=		utils/llvm-native-gxx
+
+REPLACE_PYTHON+=	tools/opt-viewer/*.py
+REPLACE_PYTHON+=	tools/sancov/*.py
+REPLACE_PYTHON+=	utils/*.py
+REPLACE_PYTHON+=	utils/Misc/zkill
+REPLACE_PYTHON+=	utils/bisect
+REPLACE_PYTHON+=	utils/clang-parse-diagnostics-file
+REPLACE_PYTHON+=	utils/lit/tests/Inputs/googletest-format/DummySubDir/OneTest.py
+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
+
+# It may be that the Solaris linker is more strict here and they can be removed on
+# all platforms.  Change this to a patch if verified.
+SUBST_CLASSES.SunOS+=	linkmap
+SUBST_STAGE.linkmap=	pre-configure
+SUBST_FILES.linkmap=	tools/lto/lto.exports
+SUBST_FILES.linkmap+=	tools/remarks-shlib/Remarks.exports
+SUBST_SED.linkmap=	-e '/^LLVM/d'
+
+LDFLAGS.SunOS+=		-lsocket -lnsl
+
+.include "../../mk/bsd.prefs.mk"
+
+PLIST_VARS+=	notdylib
+.if ${SHLIB_TYPE} == "dylib"
+SOEXT=		dylib
+.else
+SOEXT=		so
+PLIST.notdylib=	yes
+.endif
+PLIST_SUBST+=	SOEXT=${SOEXT}
+
+# needs std::atomic with 64-bit CAS
+.if ${MACHINE_ARCH} == "i386"
+CXXFLAGS+=	-march=i586
+.endif
+
+.if !empty(MACHINE_ARCH:Mpowerpc*)
+# Needed to avoid "relocation truncated to fit: R_PPC_REL24"
+CFLAGS+=	-mlongcall
+CXXFLAGS+=	-mlongcall
+.endif
+
+.if ${OPSYS} == "NetBSD"
+CMAKE_ARGS+=	-DPKGSRC_LLVM_PTHREADLIB=-lpthread
+.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:
+	${MKDIR} ${WRKDIR}/build
+.for f in config.guess config.sub
+	cp ../../mk/gnu-config/${f} ${WRKSRC}/cmake/${f}
+.endfor
+
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../lang/python/application.mk"
+.include "../../lang/python/tool.mk"
+.include "../../textproc/libxml2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/llvm/PLIST b/llvm/PLIST
new file mode 100644
index 0000000000..c403d0d29e
--- /dev/null
+++ b/llvm/PLIST
@@ -0,0 +1,2017 @@
+@comment $NetBSD$
+@comment $NetBSD: PLIST,v 1.19 2021/11/26 19:55:13 wiz Exp $
+bin/FileCheck
+bin/bugpoint
+bin/count
+bin/dsymutil
+bin/llc
+bin/lli
+bin/lli-child-target
+bin/llvm-PerfectShuffle
+bin/llvm-addr2line
+bin/llvm-ar
+bin/llvm-as
+bin/llvm-bcanalyzer
+bin/llvm-bitcode-strip
+bin/llvm-c-test
+bin/llvm-cat
+bin/llvm-cfi-verify
+bin/llvm-config
+bin/llvm-cov
+bin/llvm-cvtres
+bin/llvm-cxxdump
+bin/llvm-cxxfilt
+bin/llvm-cxxmap
+bin/llvm-debuginfod-find
+bin/llvm-diff
+bin/llvm-dis
+bin/llvm-dlltool
+bin/llvm-dwarfdump
+bin/llvm-dwp
+bin/llvm-exegesis
+bin/llvm-extract
+bin/llvm-gsymutil
+bin/llvm-ifs
+bin/llvm-install-name-tool
+bin/llvm-jitlink
+bin/llvm-jitlink-executor
+bin/llvm-lib
+bin/llvm-libtool-darwin
+bin/llvm-link
+bin/llvm-lipo
+bin/llvm-lto
+bin/llvm-lto2
+bin/llvm-mc
+bin/llvm-mca
+bin/llvm-ml
+bin/llvm-modextract
+bin/llvm-mt
+bin/llvm-nm
+bin/llvm-objcopy
+bin/llvm-objdump
+bin/llvm-opt-report
+bin/llvm-otool
+bin/llvm-pdbutil
+bin/llvm-profdata
+bin/llvm-profgen
+bin/llvm-ranlib
+bin/llvm-rc
+bin/llvm-readelf
+bin/llvm-readobj
+bin/llvm-reduce
+bin/llvm-rtdyld
+bin/llvm-sim
+bin/llvm-size
+bin/llvm-split
+bin/llvm-stress
+bin/llvm-strings
+bin/llvm-strip
+bin/llvm-symbolizer
+bin/llvm-tapi-diff
+bin/llvm-tblgen
+bin/llvm-tli-checker
+bin/llvm-undname
+bin/llvm-windres
+bin/llvm-xray
+bin/not
+bin/obj2yaml
+bin/opt
+bin/sancov
+bin/sanstats
+bin/split-file
+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/Comdat.h
+include/llvm-c/Core.h
+include/llvm-c/DataTypes.h
+include/llvm-c/DebugInfo.h
+include/llvm-c/Deprecated.h
+include/llvm-c/Disassembler.h
+include/llvm-c/DisassemblerTypes.h
+include/llvm-c/Error.h
+include/llvm-c/ErrorHandling.h
+include/llvm-c/ExecutionEngine.h
+include/llvm-c/ExternC.h
+include/llvm-c/IRReader.h
+include/llvm-c/Initialization.h
+include/llvm-c/LLJIT.h
+include/llvm-c/Linker.h
+include/llvm-c/Object.h
+include/llvm-c/Orc.h
+include/llvm-c/OrcEE.h
+include/llvm-c/Remarks.h
+include/llvm-c/Support.h
+include/llvm-c/Target.h
+include/llvm-c/TargetMachine.h
+include/llvm-c/Transforms/AggressiveInstCombine.h
+include/llvm-c/Transforms/Coroutines.h
+include/llvm-c/Transforms/IPO.h
+include/llvm-c/Transforms/InstCombine.h
+include/llvm-c/Transforms/PassBuilder.h
+include/llvm-c/Transforms/PassManagerBuilder.h
+include/llvm-c/Transforms/Scalar.h
+include/llvm-c/Transforms/Utils.h
+include/llvm-c/Transforms/Vectorize.h
+include/llvm-c/Types.h
+include/llvm-c/lto.h
+include/llvm/ADT/APFixedPoint.h
+include/llvm/ADT/APFloat.h
+include/llvm/ADT/APInt.h
+include/llvm/ADT/APSInt.h
+include/llvm/ADT/AllocatorList.h
+include/llvm/ADT/Any.h
+include/llvm/ADT/ArrayRef.h
+include/llvm/ADT/BitVector.h
+include/llvm/ADT/Bitfields.h
+include/llvm/ADT/BitmaskEnum.h
+include/llvm/ADT/BreadthFirstIterator.h
+include/llvm/ADT/CachedHashString.h
+include/llvm/ADT/CoalescingBitVector.h
+include/llvm/ADT/CombinationGenerator.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/DirectedGraph.h
+include/llvm/ADT/EnumeratedArray.h
+include/llvm/ADT/EpochTracker.h
+include/llvm/ADT/EquivalenceClasses.h
+include/llvm/ADT/FloatingPointMode.h
+include/llvm/ADT/FoldingSet.h
+include/llvm/ADT/FunctionExtras.h
+include/llvm/ADT/GenericCycleImpl.h
+include/llvm/ADT/GenericCycleInfo.h
+include/llvm/ADT/GenericSSAContext.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/STLArrayExtras.h
+include/llvm/ADT/STLExtras.h
+include/llvm/ADT/STLForwardCompat.h
+include/llvm/ADT/STLFunctionalExtras.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/StringMapEntry.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/TypeSwitch.h
+include/llvm/ADT/UniqueVector.h
+include/llvm/ADT/bit.h
+include/llvm/ADT/edit_distance.h
+include/llvm/ADT/fallible_iterator.h
+include/llvm/ADT/identity.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/AssumeBundleQueries.h
+include/llvm/Analysis/AssumptionCache.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/CFLAliasAnalysisUtils.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/CmpInstAnalysis.h
+include/llvm/Analysis/CodeMetrics.h
+include/llvm/Analysis/ConstantFolding.h
+include/llvm/Analysis/ConstraintSystem.h
+include/llvm/Analysis/CostModel.h
+include/llvm/Analysis/CycleAnalysis.h
+include/llvm/Analysis/DDG.h
+include/llvm/Analysis/DDGPrinter.h
+include/llvm/Analysis/DOTGraphTraitsPass.h
+include/llvm/Analysis/Delinearization.h
+include/llvm/Analysis/DemandedBits.h
+include/llvm/Analysis/DependenceAnalysis.h
+include/llvm/Analysis/DependenceGraphBuilder.h
+include/llvm/Analysis/DivergenceAnalysis.h
+include/llvm/Analysis/DomPrinter.h
+include/llvm/Analysis/DomTreeUpdater.h
+include/llvm/Analysis/DominanceFrontier.h
+include/llvm/Analysis/DominanceFrontierImpl.h
+include/llvm/Analysis/EHPersonalities.h
+include/llvm/Analysis/FunctionPropertiesAnalysis.h
+include/llvm/Analysis/GlobalsModRef.h
+include/llvm/Analysis/GuardUtils.h
+include/llvm/Analysis/HeatUtils.h
+include/llvm/Analysis/IRSimilarityIdentifier.h
+include/llvm/Analysis/IVDescriptors.h
+include/llvm/Analysis/IVUsers.h
+include/llvm/Analysis/IndirectCallPromotionAnalysis.h
+include/llvm/Analysis/IndirectCallVisitor.h
+include/llvm/Analysis/InlineAdvisor.h
+include/llvm/Analysis/InlineCost.h
+include/llvm/Analysis/InlineModelFeatureMaps.h
+include/llvm/Analysis/InlineOrder.h
+include/llvm/Analysis/InlineSizeEstimatorAnalysis.h
+include/llvm/Analysis/InstCount.h
+include/llvm/Analysis/InstSimplifyFolder.h
+include/llvm/Analysis/InstructionPrecedenceTracking.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/LegacyDivergenceAnalysis.h
+include/llvm/Analysis/Lint.h
+include/llvm/Analysis/Loads.h
+include/llvm/Analysis/LoopAccessAnalysis.h
+include/llvm/Analysis/LoopAnalysisManager.h
+include/llvm/Analysis/LoopCacheAnalysis.h
+include/llvm/Analysis/LoopInfo.h
+include/llvm/Analysis/LoopInfoImpl.h
+include/llvm/Analysis/LoopIterator.h
+include/llvm/Analysis/LoopNestAnalysis.h
+include/llvm/Analysis/LoopPass.h
+include/llvm/Analysis/LoopUnrollAnalyzer.h
+include/llvm/Analysis/MLInlineAdvisor.h
+include/llvm/Analysis/MLModelRunner.h
+include/llvm/Analysis/MemDerefPrinter.h
+include/llvm/Analysis/MemoryBuiltins.h
+include/llvm/Analysis/MemoryDependenceAnalysis.h
+include/llvm/Analysis/MemoryLocation.h
+include/llvm/Analysis/MemorySSA.h
+include/llvm/Analysis/MemorySSAUpdater.h
+include/llvm/Analysis/ModelUnderTrainingRunner.h
+include/llvm/Analysis/ModuleDebugInfoPrinter.h
+include/llvm/Analysis/ModuleSummaryAnalysis.h
+include/llvm/Analysis/MustExecute.h
+include/llvm/Analysis/NoInferenceModelRunner.h
+include/llvm/Analysis/ObjCARCAliasAnalysis.h
+include/llvm/Analysis/ObjCARCAnalysisUtils.h
+include/llvm/Analysis/ObjCARCInstKind.h
+include/llvm/Analysis/ObjCARCUtil.h
+include/llvm/Analysis/OptimizationRemarkEmitter.h
+include/llvm/Analysis/OverflowInstAnalysis.h
+include/llvm/Analysis/PHITransAddr.h
+include/llvm/Analysis/Passes.h
+include/llvm/Analysis/PhiValues.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/ReleaseModeModelRunner.h
+include/llvm/Analysis/ReplayInlineAdvisor.h
+include/llvm/Analysis/ScalarEvolution.h
+include/llvm/Analysis/ScalarEvolutionAliasAnalysis.h
+include/llvm/Analysis/ScalarEvolutionDivision.h
+include/llvm/Analysis/ScalarEvolutionExpressions.h
+include/llvm/Analysis/ScalarEvolutionNormalization.h
+include/llvm/Analysis/ScopedNoAliasAA.h
+include/llvm/Analysis/SparsePropagation.h
+include/llvm/Analysis/StackLifetime.h
+include/llvm/Analysis/StackSafetyAnalysis.h
+include/llvm/Analysis/SyncDependenceAnalysis.h
+include/llvm/Analysis/SyntheticCountsUtils.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/Utils/ImportedFunctionsInliningStatistics.h
+include/llvm/Analysis/Utils/Local.h
+include/llvm/Analysis/Utils/TFUtils.h
+include/llvm/Analysis/ValueLattice.h
+include/llvm/Analysis/ValueLatticeUtils.h
+include/llvm/Analysis/ValueTracking.h
+include/llvm/Analysis/VecFuncs.def
+include/llvm/Analysis/VectorUtils.h
+include/llvm/AsmParser/LLLexer.h
+include/llvm/AsmParser/LLParser.h
+include/llvm/AsmParser/LLToken.h
+include/llvm/AsmParser/Parser.h
+include/llvm/AsmParser/SlotMapping.h
+include/llvm/BinaryFormat/AMDGPUMetadataVerifier.h
+include/llvm/BinaryFormat/COFF.h
+include/llvm/BinaryFormat/Dwarf.def
+include/llvm/BinaryFormat/Dwarf.h
+include/llvm/BinaryFormat/DynamicTags.def
+include/llvm/BinaryFormat/ELF.h
+include/llvm/BinaryFormat/ELFRelocs/AArch64.def
+include/llvm/BinaryFormat/ELFRelocs/AMDGPU.def
+include/llvm/BinaryFormat/ELFRelocs/ARC.def
+include/llvm/BinaryFormat/ELFRelocs/ARM.def
+include/llvm/BinaryFormat/ELFRelocs/AVR.def
+include/llvm/BinaryFormat/ELFRelocs/BPF.def
+include/llvm/BinaryFormat/ELFRelocs/CSKY.def
+include/llvm/BinaryFormat/ELFRelocs/Hexagon.def
+include/llvm/BinaryFormat/ELFRelocs/Lanai.def
+include/llvm/BinaryFormat/ELFRelocs/M68k.def
+include/llvm/BinaryFormat/ELFRelocs/MSP430.def
+include/llvm/BinaryFormat/ELFRelocs/Mips.def
+include/llvm/BinaryFormat/ELFRelocs/PowerPC.def
+include/llvm/BinaryFormat/ELFRelocs/PowerPC64.def
+include/llvm/BinaryFormat/ELFRelocs/RISCV.def
+include/llvm/BinaryFormat/ELFRelocs/Sparc.def
+include/llvm/BinaryFormat/ELFRelocs/SystemZ.def
+include/llvm/BinaryFormat/ELFRelocs/VE.def
+include/llvm/BinaryFormat/ELFRelocs/i386.def
+include/llvm/BinaryFormat/ELFRelocs/x86_64.def
+include/llvm/BinaryFormat/MachO.def
+include/llvm/BinaryFormat/MachO.h
+include/llvm/BinaryFormat/Magic.h
+include/llvm/BinaryFormat/Minidump.h
+include/llvm/BinaryFormat/MinidumpConstants.def
+include/llvm/BinaryFormat/MsgPack.def
+include/llvm/BinaryFormat/MsgPack.h
+include/llvm/BinaryFormat/MsgPackDocument.h
+include/llvm/BinaryFormat/MsgPackReader.h
+include/llvm/BinaryFormat/MsgPackWriter.h
+include/llvm/BinaryFormat/Swift.def
+include/llvm/BinaryFormat/Swift.h
+include/llvm/BinaryFormat/Wasm.h
+include/llvm/BinaryFormat/WasmRelocs.def
+include/llvm/BinaryFormat/WasmTraits.h
+include/llvm/BinaryFormat/XCOFF.h
+include/llvm/Bitcode/BitcodeAnalyzer.h
+include/llvm/Bitcode/BitcodeCommon.h
+include/llvm/Bitcode/BitcodeConvenience.h
+include/llvm/Bitcode/BitcodeReader.h
+include/llvm/Bitcode/BitcodeWriter.h
+include/llvm/Bitcode/BitcodeWriterPass.h
+include/llvm/Bitcode/LLVMBitCodes.h
+include/llvm/Bitstream/BitCodes.h
+include/llvm/Bitstream/BitstreamReader.h
+include/llvm/Bitstream/BitstreamWriter.h
+include/llvm/CodeGen/AccelTable.h
+include/llvm/CodeGen/Analysis.h
+include/llvm/CodeGen/AntiDepBreaker.h
+include/llvm/CodeGen/AsmPrinter.h
+include/llvm/CodeGen/AsmPrinterHandler.h
+include/llvm/CodeGen/AtomicExpandUtils.h
+include/llvm/CodeGen/BasicBlockSectionUtils.h
+include/llvm/CodeGen/BasicTTIImpl.h
+include/llvm/CodeGen/CSEConfigBase.h
+include/llvm/CodeGen/CalcSpillWeights.h
+include/llvm/CodeGen/CallingConvLower.h
+include/llvm/CodeGen/CodeGenCommonISel.h
+include/llvm/CodeGen/CodeGenPassBuilder.h
+include/llvm/CodeGen/CommandFlags.h
+include/llvm/CodeGen/CostTable.h
+include/llvm/CodeGen/DAGCombine.h
+include/llvm/CodeGen/DFAPacketizer.h
+include/llvm/CodeGen/DIE.h
+include/llvm/CodeGen/DIEValue.def
+include/llvm/CodeGen/DbgEntityHistoryCalculator.h
+include/llvm/CodeGen/DebugHandlerBase.h
+include/llvm/CodeGen/DwarfStringPoolEntry.h
+include/llvm/CodeGen/EdgeBundles.h
+include/llvm/CodeGen/ExecutionDomainFix.h
+include/llvm/CodeGen/ExpandReductions.h
+include/llvm/CodeGen/ExpandVectorPredication.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/GlobalISel/CSEInfo.h
+include/llvm/CodeGen/GlobalISel/CSEMIRBuilder.h
+include/llvm/CodeGen/GlobalISel/CallLowering.h
+include/llvm/CodeGen/GlobalISel/Combiner.h
+include/llvm/CodeGen/GlobalISel/CombinerHelper.h
+include/llvm/CodeGen/GlobalISel/CombinerInfo.h
+include/llvm/CodeGen/GlobalISel/GISelChangeObserver.h
+include/llvm/CodeGen/GlobalISel/GISelKnownBits.h
+include/llvm/CodeGen/GlobalISel/GISelWorkList.h
+include/llvm/CodeGen/GlobalISel/GenericMachineInstrs.h
+include/llvm/CodeGen/GlobalISel/IRTranslator.h
+include/llvm/CodeGen/GlobalISel/InlineAsmLowering.h
+include/llvm/CodeGen/GlobalISel/InstructionSelect.h
+include/llvm/CodeGen/GlobalISel/InstructionSelector.h
+include/llvm/CodeGen/GlobalISel/InstructionSelectorImpl.h
+include/llvm/CodeGen/GlobalISel/LegacyLegalizerInfo.h
+include/llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h
+include/llvm/CodeGen/GlobalISel/Legalizer.h
+include/llvm/CodeGen/GlobalISel/LegalizerHelper.h
+include/llvm/CodeGen/GlobalISel/LegalizerInfo.h
+include/llvm/CodeGen/GlobalISel/LoadStoreOpt.h
+include/llvm/CodeGen/GlobalISel/Localizer.h
+include/llvm/CodeGen/GlobalISel/LostDebugLocObserver.h
+include/llvm/CodeGen/GlobalISel/MIPatternMatch.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/Utils.h
+include/llvm/CodeGen/ISDOpcodes.h
+include/llvm/CodeGen/IndirectThunks.h
+include/llvm/CodeGen/IntrinsicLowering.h
+include/llvm/CodeGen/LatencyPriorityQueue.h
+include/llvm/CodeGen/LazyMachineBlockFrequencyInfo.h
+include/llvm/CodeGen/LexicalScopes.h
+include/llvm/CodeGen/LinkAllAsmWriterComponents.h
+include/llvm/CodeGen/LinkAllCodegenComponents.h
+include/llvm/CodeGen/LiveInterval.h
+include/llvm/CodeGen/LiveIntervalCalc.h
+include/llvm/CodeGen/LiveIntervalUnion.h
+include/llvm/CodeGen/LiveIntervals.h
+include/llvm/CodeGen/LivePhysRegs.h
+include/llvm/CodeGen/LiveRangeCalc.h
+include/llvm/CodeGen/LiveRangeEdit.h
+include/llvm/CodeGen/LiveRegMatrix.h
+include/llvm/CodeGen/LiveRegUnits.h
+include/llvm/CodeGen/LiveStacks.h
+include/llvm/CodeGen/LiveVariables.h
+include/llvm/CodeGen/LoopTraversal.h
+include/llvm/CodeGen/LowLevelType.h
+include/llvm/CodeGen/MBFIWrapper.h
+include/llvm/CodeGen/MIRFSDiscriminator.h
+include/llvm/CodeGen/MIRFormatter.h
+include/llvm/CodeGen/MIRParser/MIParser.h
+include/llvm/CodeGen/MIRParser/MIRParser.h
+include/llvm/CodeGen/MIRPrinter.h
+include/llvm/CodeGen/MIRSampleProfile.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/MachineCycleAnalysis.h
+include/llvm/CodeGen/MachineDominanceFrontier.h
+include/llvm/CodeGen/MachineDominators.h
+include/llvm/CodeGen/MachineFrameInfo.h
+include/llvm/CodeGen/MachineFunction.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/MachineLoopUtils.h
+include/llvm/CodeGen/MachineMemOperand.h
+include/llvm/CodeGen/MachineModuleInfo.h
+include/llvm/CodeGen/MachineModuleInfoImpls.h
+include/llvm/CodeGen/MachineModuleSlotTracker.h
+include/llvm/CodeGen/MachineOperand.h
+include/llvm/CodeGen/MachineOptimizationRemarkEmitter.h
+include/llvm/CodeGen/MachineOutliner.h
+include/llvm/CodeGen/MachinePassManager.h
+include/llvm/CodeGen/MachinePassRegistry.def
+include/llvm/CodeGen/MachinePassRegistry.h
+include/llvm/CodeGen/MachinePipeliner.h
+include/llvm/CodeGen/MachinePostDominators.h
+include/llvm/CodeGen/MachineRegionInfo.h
+include/llvm/CodeGen/MachineRegisterInfo.h
+include/llvm/CodeGen/MachineSSAContext.h
+include/llvm/CodeGen/MachineSSAUpdater.h
+include/llvm/CodeGen/MachineScheduler.h
+include/llvm/CodeGen/MachineSizeOpts.h
+include/llvm/CodeGen/MachineStableHash.h
+include/llvm/CodeGen/MachineTraceMetrics.h
+include/llvm/CodeGen/MacroFusion.h
+include/llvm/CodeGen/ModuloSchedule.h
+include/llvm/CodeGen/MultiHazardRecognizer.h
+include/llvm/CodeGen/NonRelocatableStringpool.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/RDFGraph.h
+include/llvm/CodeGen/RDFLiveness.h
+include/llvm/CodeGen/RDFRegisters.h
+include/llvm/CodeGen/ReachingDefAnalysis.h
+include/llvm/CodeGen/RegAllocCommon.h
+include/llvm/CodeGen/RegAllocPBQP.h
+include/llvm/CodeGen/RegAllocRegistry.h
+include/llvm/CodeGen/Register.h
+include/llvm/CodeGen/RegisterClassInfo.h
+include/llvm/CodeGen/RegisterPressure.h
+include/llvm/CodeGen/RegisterScavenging.h
+include/llvm/CodeGen/RegisterUsageInfo.h
+include/llvm/CodeGen/ReplaceWithVeclib.h
+include/llvm/CodeGen/ResourcePriorityQueue.h
+include/llvm/CodeGen/RuntimeLibcalls.h
+include/llvm/CodeGen/SDNodeProperties.td
+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/SelectionDAGAddressAnalysis.h
+include/llvm/CodeGen/SelectionDAGISel.h
+include/llvm/CodeGen/SelectionDAGNodes.h
+include/llvm/CodeGen/SelectionDAGTargetInfo.h
+include/llvm/CodeGen/SlotIndexes.h
+include/llvm/CodeGen/Spiller.h
+include/llvm/CodeGen/StableHashing.h
+include/llvm/CodeGen/StackMaps.h
+include/llvm/CodeGen/StackProtector.h
+include/llvm/CodeGen/SwiftErrorValueTracking.h
+include/llvm/CodeGen/SwitchLoweringUtils.h
+include/llvm/CodeGen/TailDuplicator.h
+include/llvm/CodeGen/TargetCallingConv.h
+include/llvm/CodeGen/TargetFrameLowering.h
+include/llvm/CodeGen/TargetInstrInfo.h
+include/llvm/CodeGen/TargetLowering.h
+include/llvm/CodeGen/TargetLoweringObjectFileImpl.h
+include/llvm/CodeGen/TargetOpcodes.h
+include/llvm/CodeGen/TargetPassConfig.h
+include/llvm/CodeGen/TargetRegisterInfo.h
+include/llvm/CodeGen/TargetSchedule.h
+include/llvm/CodeGen/TargetSubtargetInfo.h
+include/llvm/CodeGen/TileShapeInfo.h
+include/llvm/CodeGen/UnreachableBlockElim.h
+include/llvm/CodeGen/VLIWMachineScheduler.h
+include/llvm/CodeGen/ValueTypes.h
+include/llvm/CodeGen/ValueTypes.td
+include/llvm/CodeGen/VirtRegMap.h
+include/llvm/CodeGen/WasmEHFuncInfo.h
+include/llvm/CodeGen/WinEHFuncInfo.h
+include/llvm/Config/AsmParsers.def
+include/llvm/Config/AsmPrinters.def
+include/llvm/Config/Disassemblers.def
+include/llvm/Config/TargetMCAs.def
+include/llvm/Config/Targets.def
+include/llvm/Config/abi-breaking.h
+include/llvm/Config/llvm-config.h
+include/llvm/DWARFLinker/DWARFLinker.h
+include/llvm/DWARFLinker/DWARFLinkerCompileUnit.h
+include/llvm/DWARFLinker/DWARFLinkerDeclContext.h
+include/llvm/DWARFLinker/DWARFStreamer.h
+include/llvm/DWP/DWP.h
+include/llvm/DWP/DWPError.h
+include/llvm/DWP/DWPStringPool.h
+include/llvm/DebugInfo/CodeView/AppendingTypeTableBuilder.h
+include/llvm/DebugInfo/CodeView/CVRecord.h
+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/CodeViewRegisters.def
+include/llvm/DebugInfo/CodeView/CodeViewSymbols.def
+include/llvm/DebugInfo/CodeView/CodeViewTypes.def
+include/llvm/DebugInfo/CodeView/ContinuationRecordBuilder.h
+include/llvm/DebugInfo/CodeView/DebugChecksumsSubsection.h
+include/llvm/DebugInfo/CodeView/DebugCrossExSubsection.h
+include/llvm/DebugInfo/CodeView/DebugCrossImpSubsection.h
+include/llvm/DebugInfo/CodeView/DebugFrameDataSubsection.h
+include/llvm/DebugInfo/CodeView/DebugInlineeLinesSubsection.h
+include/llvm/DebugInfo/CodeView/DebugLinesSubsection.h
+include/llvm/DebugInfo/CodeView/DebugStringTableSubsection.h
+include/llvm/DebugInfo/CodeView/DebugSubsection.h
+include/llvm/DebugInfo/CodeView/DebugSubsectionRecord.h
+include/llvm/DebugInfo/CodeView/DebugSubsectionVisitor.h
+include/llvm/DebugInfo/CodeView/DebugSymbolRVASubsection.h
+include/llvm/DebugInfo/CodeView/DebugSymbolsSubsection.h
+include/llvm/DebugInfo/CodeView/DebugUnknownSubsection.h
+include/llvm/DebugInfo/CodeView/EnumTables.h
+include/llvm/DebugInfo/CodeView/Formatters.h
+include/llvm/DebugInfo/CodeView/FunctionId.h
+include/llvm/DebugInfo/CodeView/GUID.h
+include/llvm/DebugInfo/CodeView/GlobalTypeTableBuilder.h
+include/llvm/DebugInfo/CodeView/LazyRandomTypeCollection.h
+include/llvm/DebugInfo/CodeView/Line.h
+include/llvm/DebugInfo/CodeView/MergingTypeTableBuilder.h
+include/llvm/DebugInfo/CodeView/RecordName.h
+include/llvm/DebugInfo/CodeView/RecordSerialization.h
+include/llvm/DebugInfo/CodeView/SimpleTypeSerializer.h
+include/llvm/DebugInfo/CodeView/StringsAndChecksums.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/SymbolRecordHelpers.h
+include/llvm/DebugInfo/CodeView/SymbolRecordMapping.h
+include/llvm/DebugInfo/CodeView/SymbolSerializer.h
+include/llvm/DebugInfo/CodeView/SymbolVisitorCallbackPipeline.h
+include/llvm/DebugInfo/CodeView/SymbolVisitorCallbacks.h
+include/llvm/DebugInfo/CodeView/SymbolVisitorDelegate.h
+include/llvm/DebugInfo/CodeView/TypeCollection.h
+include/llvm/DebugInfo/CodeView/TypeDeserializer.h
+include/llvm/DebugInfo/CodeView/TypeDumpVisitor.h
+include/llvm/DebugInfo/CodeView/TypeHashing.h
+include/llvm/DebugInfo/CodeView/TypeIndex.h
+include/llvm/DebugInfo/CodeView/TypeIndexDiscovery.h
+include/llvm/DebugInfo/CodeView/TypeRecord.h
+include/llvm/DebugInfo/CodeView/TypeRecordHelpers.h
+include/llvm/DebugInfo/CodeView/TypeRecordMapping.h
+include/llvm/DebugInfo/CodeView/TypeStreamMerger.h
+include/llvm/DebugInfo/CodeView/TypeSymbolEmitter.h
+include/llvm/DebugInfo/CodeView/TypeTableCollection.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/DWARFAddressRange.h
+include/llvm/DebugInfo/DWARF/DWARFAttribute.h
+include/llvm/DebugInfo/DWARF/DWARFCompileUnit.h
+include/llvm/DebugInfo/DWARF/DWARFContext.h
+include/llvm/DebugInfo/DWARF/DWARFDataExtractor.h
+include/llvm/DebugInfo/DWARF/DWARFDebugAbbrev.h
+include/llvm/DebugInfo/DWARF/DWARFDebugAddr.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/DWARFDebugPubTable.h
+include/llvm/DebugInfo/DWARF/DWARFDebugRangeList.h
+include/llvm/DebugInfo/DWARF/DWARFDebugRnglists.h
+include/llvm/DebugInfo/DWARF/DWARFDie.h
+include/llvm/DebugInfo/DWARF/DWARFExpression.h
+include/llvm/DebugInfo/DWARF/DWARFFormValue.h
+include/llvm/DebugInfo/DWARF/DWARFGdbIndex.h
+include/llvm/DebugInfo/DWARF/DWARFListTable.h
+include/llvm/DebugInfo/DWARF/DWARFLocationExpression.h
+include/llvm/DebugInfo/DWARF/DWARFObject.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/DWARF/DWARFVerifier.h
+include/llvm/DebugInfo/GSYM/DwarfTransformer.h
+include/llvm/DebugInfo/GSYM/FileEntry.h
+include/llvm/DebugInfo/GSYM/FileWriter.h
+include/llvm/DebugInfo/GSYM/FunctionInfo.h
+include/llvm/DebugInfo/GSYM/GsymCreator.h
+include/llvm/DebugInfo/GSYM/GsymReader.h
+include/llvm/DebugInfo/GSYM/Header.h
+include/llvm/DebugInfo/GSYM/InlineInfo.h
+include/llvm/DebugInfo/GSYM/LineEntry.h
+include/llvm/DebugInfo/GSYM/LineTable.h
+include/llvm/DebugInfo/GSYM/LookupResult.h
+include/llvm/DebugInfo/GSYM/ObjectFileTransformer.h
+include/llvm/DebugInfo/GSYM/Range.h
+include/llvm/DebugInfo/GSYM/StringTable.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/MappedBlockStream.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/DIAEnumFrameData.h
+include/llvm/DebugInfo/PDB/DIA/DIAEnumInjectedSources.h
+include/llvm/DebugInfo/PDB/DIA/DIAEnumLineNumbers.h
+include/llvm/DebugInfo/PDB/DIA/DIAEnumSectionContribs.h
+include/llvm/DebugInfo/PDB/DIA/DIAEnumSourceFiles.h
+include/llvm/DebugInfo/PDB/DIA/DIAEnumSymbols.h
+include/llvm/DebugInfo/PDB/DIA/DIAEnumTables.h
+include/llvm/DebugInfo/PDB/DIA/DIAError.h
+include/llvm/DebugInfo/PDB/DIA/DIAFrameData.h
+include/llvm/DebugInfo/PDB/DIA/DIAInjectedSource.h
+include/llvm/DebugInfo/PDB/DIA/DIALineNumber.h
+include/llvm/DebugInfo/PDB/DIA/DIARawSymbol.h
+include/llvm/DebugInfo/PDB/DIA/DIASectionContrib.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/DIA/DIATable.h
+include/llvm/DebugInfo/PDB/DIA/DIAUtils.h
+include/llvm/DebugInfo/PDB/GenericError.h
+include/llvm/DebugInfo/PDB/IPDBDataStream.h
+include/llvm/DebugInfo/PDB/IPDBEnumChildren.h
+include/llvm/DebugInfo/PDB/IPDBFrameData.h
+include/llvm/DebugInfo/PDB/IPDBInjectedSource.h
+include/llvm/DebugInfo/PDB/IPDBLineNumber.h
+include/llvm/DebugInfo/PDB/IPDBRawSymbol.h
+include/llvm/DebugInfo/PDB/IPDBSectionContrib.h
+include/llvm/DebugInfo/PDB/IPDBSession.h
+include/llvm/DebugInfo/PDB/IPDBSourceFile.h
+include/llvm/DebugInfo/PDB/IPDBTable.h
+include/llvm/DebugInfo/PDB/Native/DbiModuleDescriptor.h
+include/llvm/DebugInfo/PDB/Native/DbiModuleDescriptorBuilder.h
+include/llvm/DebugInfo/PDB/Native/DbiModuleList.h
+include/llvm/DebugInfo/PDB/Native/DbiStream.h
+include/llvm/DebugInfo/PDB/Native/DbiStreamBuilder.h
+include/llvm/DebugInfo/PDB/Native/EnumTables.h
+include/llvm/DebugInfo/PDB/Native/Formatters.h
+include/llvm/DebugInfo/PDB/Native/GSIStreamBuilder.h
+include/llvm/DebugInfo/PDB/Native/GlobalsStream.h
+include/llvm/DebugInfo/PDB/Native/Hash.h
+include/llvm/DebugInfo/PDB/Native/HashTable.h
+include/llvm/DebugInfo/PDB/Native/ISectionContribVisitor.h
+include/llvm/DebugInfo/PDB/Native/InfoStream.h
+include/llvm/DebugInfo/PDB/Native/InfoStreamBuilder.h
+include/llvm/DebugInfo/PDB/Native/InjectedSourceStream.h
+include/llvm/DebugInfo/PDB/Native/ModuleDebugStream.h
+include/llvm/DebugInfo/PDB/Native/NamedStreamMap.h
+include/llvm/DebugInfo/PDB/Native/NativeCompilandSymbol.h
+include/llvm/DebugInfo/PDB/Native/NativeEnumGlobals.h
+include/llvm/DebugInfo/PDB/Native/NativeEnumInjectedSources.h
+include/llvm/DebugInfo/PDB/Native/NativeEnumLineNumbers.h
+include/llvm/DebugInfo/PDB/Native/NativeEnumModules.h
+include/llvm/DebugInfo/PDB/Native/NativeEnumSymbols.h
+include/llvm/DebugInfo/PDB/Native/NativeEnumTypes.h
+include/llvm/DebugInfo/PDB/Native/NativeExeSymbol.h
+include/llvm/DebugInfo/PDB/Native/NativeFunctionSymbol.h
+include/llvm/DebugInfo/PDB/Native/NativeInlineSiteSymbol.h
+include/llvm/DebugInfo/PDB/Native/NativeLineNumber.h
+include/llvm/DebugInfo/PDB/Native/NativePublicSymbol.h
+include/llvm/DebugInfo/PDB/Native/NativeRawSymbol.h
+include/llvm/DebugInfo/PDB/Native/NativeSession.h
+include/llvm/DebugInfo/PDB/Native/NativeSourceFile.h
+include/llvm/DebugInfo/PDB/Native/NativeSymbolEnumerator.h
+include/llvm/DebugInfo/PDB/Native/NativeTypeArray.h
+include/llvm/DebugInfo/PDB/Native/NativeTypeBuiltin.h
+include/llvm/DebugInfo/PDB/Native/NativeTypeEnum.h
+include/llvm/DebugInfo/PDB/Native/NativeTypeFunctionSig.h
+include/llvm/DebugInfo/PDB/Native/NativeTypePointer.h
+include/llvm/DebugInfo/PDB/Native/NativeTypeTypedef.h
+include/llvm/DebugInfo/PDB/Native/NativeTypeUDT.h
+include/llvm/DebugInfo/PDB/Native/NativeTypeVTShape.h
+include/llvm/DebugInfo/PDB/Native/PDBFile.h
+include/llvm/DebugInfo/PDB/Native/PDBFileBuilder.h
+include/llvm/DebugInfo/PDB/Native/PDBStringTable.h
+include/llvm/DebugInfo/PDB/Native/PDBStringTableBuilder.h
+include/llvm/DebugInfo/PDB/Native/PublicsStream.h
+include/llvm/DebugInfo/PDB/Native/RawConstants.h
+include/llvm/DebugInfo/PDB/Native/RawError.h
+include/llvm/DebugInfo/PDB/Native/RawTypes.h
+include/llvm/DebugInfo/PDB/Native/SymbolCache.h
+include/llvm/DebugInfo/PDB/Native/SymbolStream.h
+include/llvm/DebugInfo/PDB/Native/TpiHashing.h
+include/llvm/DebugInfo/PDB/Native/TpiStream.h
+include/llvm/DebugInfo/PDB/Native/TpiStreamBuilder.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/UDTLayout.h
+include/llvm/DebugInfo/Symbolize/DIFetcher.h
+include/llvm/DebugInfo/Symbolize/DIPrinter.h
+include/llvm/DebugInfo/Symbolize/SymbolizableModule.h
+include/llvm/DebugInfo/Symbolize/Symbolize.h
+include/llvm/Debuginfod/DIFetcher.h
+include/llvm/Debuginfod/Debuginfod.h
+include/llvm/Debuginfod/HTTPClient.h
+include/llvm/Demangle/Demangle.h
+include/llvm/Demangle/DemangleConfig.h
+include/llvm/Demangle/ItaniumDemangle.h
+include/llvm/Demangle/MicrosoftDemangle.h
+include/llvm/Demangle/MicrosoftDemangleNodes.h
+include/llvm/Demangle/StringView.h
+include/llvm/Demangle/Utility.h
+include/llvm/ExecutionEngine/ExecutionEngine.h
+include/llvm/ExecutionEngine/GenericValue.h
+include/llvm/ExecutionEngine/Interpreter.h
+include/llvm/ExecutionEngine/JITEventListener.h
+include/llvm/ExecutionEngine/JITLink/EHFrameSupport.h
+include/llvm/ExecutionEngine/JITLink/ELF.h
+include/llvm/ExecutionEngine/JITLink/ELF_aarch64.h
+include/llvm/ExecutionEngine/JITLink/ELF_riscv.h
+include/llvm/ExecutionEngine/JITLink/ELF_x86_64.h
+include/llvm/ExecutionEngine/JITLink/JITLink.h
+include/llvm/ExecutionEngine/JITLink/JITLinkDylib.h
+include/llvm/ExecutionEngine/JITLink/JITLinkMemoryManager.h
+include/llvm/ExecutionEngine/JITLink/MachO.h
+include/llvm/ExecutionEngine/JITLink/MachO_arm64.h
+include/llvm/ExecutionEngine/JITLink/MachO_x86_64.h
+include/llvm/ExecutionEngine/JITLink/MemoryFlags.h
+include/llvm/ExecutionEngine/JITLink/TableManager.h
+include/llvm/ExecutionEngine/JITLink/aarch64.h
+include/llvm/ExecutionEngine/JITLink/riscv.h
+include/llvm/ExecutionEngine/JITLink/x86_64.h
+include/llvm/ExecutionEngine/JITSymbol.h
+include/llvm/ExecutionEngine/MCJIT.h
+include/llvm/ExecutionEngine/OProfileWrapper.h
+include/llvm/ExecutionEngine/ObjectCache.h
+include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h
+include/llvm/ExecutionEngine/Orc/CompileUtils.h
+include/llvm/ExecutionEngine/Orc/Core.h
+include/llvm/ExecutionEngine/Orc/DebugObjectManagerPlugin.h
+include/llvm/ExecutionEngine/Orc/DebugUtils.h
+include/llvm/ExecutionEngine/Orc/DebuggerSupportPlugin.h
+include/llvm/ExecutionEngine/Orc/ELFNixPlatform.h
+include/llvm/ExecutionEngine/Orc/EPCDebugObjectRegistrar.h
+include/llvm/ExecutionEngine/Orc/EPCDynamicLibrarySearchGenerator.h
+include/llvm/ExecutionEngine/Orc/EPCEHFrameRegistrar.h
+include/llvm/ExecutionEngine/Orc/EPCGenericDylibManager.h
+include/llvm/ExecutionEngine/Orc/EPCGenericJITLinkMemoryManager.h
+include/llvm/ExecutionEngine/Orc/EPCGenericMemoryAccess.h
+include/llvm/ExecutionEngine/Orc/EPCGenericRTDyldMemoryManager.h
+include/llvm/ExecutionEngine/Orc/EPCIndirectionUtils.h
+include/llvm/ExecutionEngine/Orc/ExecutionUtils.h
+include/llvm/ExecutionEngine/Orc/ExecutorProcessControl.h
+include/llvm/ExecutionEngine/Orc/IRCompileLayer.h
+include/llvm/ExecutionEngine/Orc/IRTransformLayer.h
+include/llvm/ExecutionEngine/Orc/IndirectionUtils.h
+include/llvm/ExecutionEngine/Orc/JITTargetMachineBuilder.h
+include/llvm/ExecutionEngine/Orc/LLJIT.h
+include/llvm/ExecutionEngine/Orc/Layer.h
+include/llvm/ExecutionEngine/Orc/LazyReexports.h
+include/llvm/ExecutionEngine/Orc/LookupAndRecordAddrs.h
+include/llvm/ExecutionEngine/Orc/MachOPlatform.h
+include/llvm/ExecutionEngine/Orc/Mangling.h
+include/llvm/ExecutionEngine/Orc/ObjectFileInterface.h
+include/llvm/ExecutionEngine/Orc/ObjectLinkingLayer.h
+include/llvm/ExecutionEngine/Orc/ObjectTransformLayer.h
+include/llvm/ExecutionEngine/Orc/OrcABISupport.h
+include/llvm/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.h
+include/llvm/ExecutionEngine/Orc/Shared/AllocationActions.h
+include/llvm/ExecutionEngine/Orc/Shared/ExecutorAddress.h
+include/llvm/ExecutionEngine/Orc/Shared/OrcError.h
+include/llvm/ExecutionEngine/Orc/Shared/OrcRTBridge.h
+include/llvm/ExecutionEngine/Orc/Shared/SimplePackedSerialization.h
+include/llvm/ExecutionEngine/Orc/Shared/SimpleRemoteEPCUtils.h
+include/llvm/ExecutionEngine/Orc/Shared/TargetProcessControlTypes.h
+include/llvm/ExecutionEngine/Orc/Shared/WrapperFunctionUtils.h
+include/llvm/ExecutionEngine/Orc/SimpleRemoteEPC.h
+include/llvm/ExecutionEngine/Orc/SpeculateAnalyses.h
+include/llvm/ExecutionEngine/Orc/Speculation.h
+include/llvm/ExecutionEngine/Orc/SymbolStringPool.h
+include/llvm/ExecutionEngine/Orc/TargetProcess/ExecutorBootstrapService.h
+include/llvm/ExecutionEngine/Orc/TargetProcess/JITLoaderGDB.h
+include/llvm/ExecutionEngine/Orc/TargetProcess/RegisterEHFrames.h
+include/llvm/ExecutionEngine/Orc/TargetProcess/SimpleExecutorDylibManager.h
+include/llvm/ExecutionEngine/Orc/TargetProcess/SimpleExecutorMemoryManager.h
+include/llvm/ExecutionEngine/Orc/TargetProcess/SimpleRemoteEPCServer.h
+include/llvm/ExecutionEngine/Orc/TargetProcess/TargetExecutionUtils.h
+include/llvm/ExecutionEngine/Orc/TaskDispatch.h
+include/llvm/ExecutionEngine/Orc/ThreadSafeModule.h
+include/llvm/ExecutionEngine/RTDyldMemoryManager.h
+include/llvm/ExecutionEngine/RuntimeDyld.h
+include/llvm/ExecutionEngine/RuntimeDyldChecker.h
+include/llvm/ExecutionEngine/SectionMemoryManager.h
+include/llvm/FileCheck/FileCheck.h
+include/llvm/Frontend/Directive/DirectiveBase.td
+include/llvm/Frontend/OpenACC/ACC.h.inc
+include/llvm/Frontend/OpenACC/ACC.inc
+include/llvm/Frontend/OpenACC/ACC.td
+include/llvm/Frontend/OpenMP/OMP.h.inc
+include/llvm/Frontend/OpenMP/OMP.inc
+include/llvm/Frontend/OpenMP/OMP.td
+include/llvm/Frontend/OpenMP/OMPAssume.h
+include/llvm/Frontend/OpenMP/OMPConstants.h
+include/llvm/Frontend/OpenMP/OMPContext.h
+include/llvm/Frontend/OpenMP/OMPGridValues.h
+include/llvm/Frontend/OpenMP/OMPIRBuilder.h
+include/llvm/Frontend/OpenMP/OMPKinds.def
+include/llvm/FuzzMutate/FuzzerCLI.h
+include/llvm/FuzzMutate/IRMutator.h
+include/llvm/FuzzMutate/OpDescriptor.h
+include/llvm/FuzzMutate/Operations.h
+include/llvm/FuzzMutate/Random.h
+include/llvm/FuzzMutate/RandomIRBuilder.h
+include/llvm/IR/AbstractCallSite.h
+include/llvm/IR/Argument.h
+include/llvm/IR/AssemblyAnnotationWriter.h
+include/llvm/IR/Assumptions.h
+include/llvm/IR/Attributes.h
+include/llvm/IR/Attributes.inc
+include/llvm/IR/Attributes.td
+include/llvm/IR/AttributesAMDGPU.td
+include/llvm/IR/AutoUpgrade.h
+include/llvm/IR/BasicBlock.h
+include/llvm/IR/BuiltinGCs.h
+include/llvm/IR/CFG.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/ConstrainedOps.def
+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/DerivedUser.h
+include/llvm/IR/DiagnosticHandler.h
+include/llvm/IR/DiagnosticInfo.h
+include/llvm/IR/DiagnosticPrinter.h
+include/llvm/IR/Dominators.h
+include/llvm/IR/FPEnv.h
+include/llvm/IR/FixedMetadataKinds.def
+include/llvm/IR/FixedPointBuilder.h
+include/llvm/IR/Function.h
+include/llvm/IR/GCStrategy.h
+include/llvm/IR/GVMaterializer.h
+include/llvm/IR/GetElementPtrTypeIterator.h
+include/llvm/IR/GlobalAlias.h
+include/llvm/IR/GlobalIFunc.h
+include/llvm/IR/GlobalObject.h
+include/llvm/IR/GlobalValue.h
+include/llvm/IR/GlobalVariable.h
+include/llvm/IR/IRBuilder.h
+include/llvm/IR/IRBuilderFolder.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/IntrinsicEnums.inc
+include/llvm/IR/IntrinsicImpl.inc
+include/llvm/IR/IntrinsicInst.h
+include/llvm/IR/Intrinsics.h
+include/llvm/IR/Intrinsics.td
+include/llvm/IR/IntrinsicsAArch64.h
+include/llvm/IR/IntrinsicsAArch64.td
+include/llvm/IR/IntrinsicsAMDGPU.h
+include/llvm/IR/IntrinsicsAMDGPU.td
+include/llvm/IR/IntrinsicsARM.h
+include/llvm/IR/IntrinsicsARM.td
+include/llvm/IR/IntrinsicsBPF.h
+include/llvm/IR/IntrinsicsBPF.td
+include/llvm/IR/IntrinsicsHexagon.h
+include/llvm/IR/IntrinsicsHexagon.td
+include/llvm/IR/IntrinsicsHexagonDep.td
+include/llvm/IR/IntrinsicsMips.h
+include/llvm/IR/IntrinsicsMips.td
+include/llvm/IR/IntrinsicsNVPTX.h
+include/llvm/IR/IntrinsicsNVVM.td
+include/llvm/IR/IntrinsicsPowerPC.h
+include/llvm/IR/IntrinsicsPowerPC.td
+include/llvm/IR/IntrinsicsR600.h
+include/llvm/IR/IntrinsicsRISCV.h
+include/llvm/IR/IntrinsicsRISCV.td
+include/llvm/IR/IntrinsicsS390.h
+include/llvm/IR/IntrinsicsSystemZ.td
+include/llvm/IR/IntrinsicsVE.h
+include/llvm/IR/IntrinsicsVE.td
+include/llvm/IR/IntrinsicsVEVL.gen.td
+include/llvm/IR/IntrinsicsWebAssembly.h
+include/llvm/IR/IntrinsicsWebAssembly.td
+include/llvm/IR/IntrinsicsX86.h
+include/llvm/IR/IntrinsicsX86.td
+include/llvm/IR/IntrinsicsXCore.h
+include/llvm/IR/IntrinsicsXCore.td
+include/llvm/IR/LLVMContext.h
+include/llvm/IR/LLVMRemarkStreamer.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/MatrixBuilder.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/ModuleSummaryIndexYAML.h
+include/llvm/IR/NoFolder.h
+include/llvm/IR/OperandTraits.h
+include/llvm/IR/Operator.h
+include/llvm/IR/OptBisect.h
+include/llvm/IR/PassInstrumentation.h
+include/llvm/IR/PassManager.h
+include/llvm/IR/PassManagerImpl.h
+include/llvm/IR/PassManagerInternal.h
+include/llvm/IR/PassTimingInfo.h
+include/llvm/IR/PatternMatch.h
+include/llvm/IR/PredIteratorCache.h
+include/llvm/IR/PrintPasses.h
+include/llvm/IR/ProfileSummary.h
+include/llvm/IR/PseudoProbe.h
+include/llvm/IR/ReplaceConstant.h
+include/llvm/IR/RuntimeLibcalls.def
+include/llvm/IR/SSAContext.h
+include/llvm/IR/SafepointIRVerifier.h
+include/llvm/IR/Statepoint.h
+include/llvm/IR/StructuralHash.h
+include/llvm/IR/SymbolTableListTraits.h
+include/llvm/IR/TrackingMDRef.h
+include/llvm/IR/Type.h
+include/llvm/IR/TypeFinder.h
+include/llvm/IR/Use.h
+include/llvm/IR/UseListOrder.h
+include/llvm/IR/User.h
+include/llvm/IR/VPIntrinsics.def
+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/InterfaceStub/ELFObjHandler.h
+include/llvm/InterfaceStub/IFSHandler.h
+include/llvm/InterfaceStub/IFSStub.h
+include/llvm/LTO/Config.h
+include/llvm/LTO/LTO.h
+include/llvm/LTO/LTOBackend.h
+include/llvm/LTO/SummaryBasedOptimizations.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/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/MCAsmInfoGOFF.h
+include/llvm/MC/MCAsmInfoWasm.h
+include/llvm/MC/MCAsmInfoXCOFF.h
+include/llvm/MC/MCAsmLayout.h
+include/llvm/MC/MCAsmMacro.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/MCPseudoProbe.h
+include/llvm/MC/MCRegister.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/MCSectionGOFF.h
+include/llvm/MC/MCSectionMachO.h
+include/llvm/MC/MCSectionWasm.h
+include/llvm/MC/MCSectionXCOFF.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/MCSymbolGOFF.h
+include/llvm/MC/MCSymbolMachO.h
+include/llvm/MC/MCSymbolWasm.h
+include/llvm/MC/MCSymbolXCOFF.h
+include/llvm/MC/MCTargetOptions.h
+include/llvm/MC/MCTargetOptionsCommandFlags.h
+include/llvm/MC/MCValue.h
+include/llvm/MC/MCWasmObjectWriter.h
+include/llvm/MC/MCWasmStreamer.h
+include/llvm/MC/MCWin64EH.h
+include/llvm/MC/MCWinCOFFObjectWriter.h
+include/llvm/MC/MCWinCOFFStreamer.h
+include/llvm/MC/MCWinEH.h
+include/llvm/MC/MCXCOFFObjectWriter.h
+include/llvm/MC/MCXCOFFStreamer.h
+include/llvm/MC/MachineLocation.h
+include/llvm/MC/SectionKind.h
+include/llvm/MC/StringTableBuilder.h
+include/llvm/MC/SubtargetFeature.h
+include/llvm/MC/TargetRegistry.h
+include/llvm/MCA/CodeEmitter.h
+include/llvm/MCA/Context.h
+include/llvm/MCA/CustomBehaviour.h
+include/llvm/MCA/HWEventListener.h
+include/llvm/MCA/HardwareUnits/HardwareUnit.h
+include/llvm/MCA/HardwareUnits/LSUnit.h
+include/llvm/MCA/HardwareUnits/RegisterFile.h
+include/llvm/MCA/HardwareUnits/ResourceManager.h
+include/llvm/MCA/HardwareUnits/RetireControlUnit.h
+include/llvm/MCA/HardwareUnits/Scheduler.h
+include/llvm/MCA/InstrBuilder.h
+include/llvm/MCA/Instruction.h
+include/llvm/MCA/Pipeline.h
+include/llvm/MCA/SourceMgr.h
+include/llvm/MCA/Stages/DispatchStage.h
+include/llvm/MCA/Stages/EntryStage.h
+include/llvm/MCA/Stages/ExecuteStage.h
+include/llvm/MCA/Stages/InOrderIssueStage.h
+include/llvm/MCA/Stages/InstructionTables.h
+include/llvm/MCA/Stages/MicroOpQueueStage.h
+include/llvm/MCA/Stages/RetireStage.h
+include/llvm/MCA/Stages/Stage.h
+include/llvm/MCA/Support.h
+include/llvm/MCA/View.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/COFFModuleDefinition.h
+include/llvm/Object/CVDebugRecord.h
+include/llvm/Object/Decompressor.h
+include/llvm/Object/ELF.h
+include/llvm/Object/ELFObjectFile.h
+include/llvm/Object/ELFTypes.h
+include/llvm/Object/Error.h
+include/llvm/Object/FaultMapParser.h
+include/llvm/Object/IRObjectFile.h
+include/llvm/Object/IRSymtab.h
+include/llvm/Object/MachO.h
+include/llvm/Object/MachOUniversal.h
+include/llvm/Object/MachOUniversalWriter.h
+include/llvm/Object/Minidump.h
+include/llvm/Object/ModuleSymbolTable.h
+include/llvm/Object/ObjectFile.h
+include/llvm/Object/RelocationResolver.h
+include/llvm/Object/StackMapParser.h
+include/llvm/Object/SymbolSize.h
+include/llvm/Object/SymbolicFile.h
+include/llvm/Object/TapiFile.h
+include/llvm/Object/TapiUniversal.h
+include/llvm/Object/Wasm.h
+include/llvm/Object/WindowsMachineFlag.h
+include/llvm/Object/WindowsResource.h
+include/llvm/Object/XCOFFObjectFile.h
+include/llvm/ObjectYAML/ArchiveYAML.h
+include/llvm/ObjectYAML/COFFYAML.h
+include/llvm/ObjectYAML/CodeViewYAMLDebugSections.h
+include/llvm/ObjectYAML/CodeViewYAMLSymbols.h
+include/llvm/ObjectYAML/CodeViewYAMLTypeHashing.h
+include/llvm/ObjectYAML/CodeViewYAMLTypes.h
+include/llvm/ObjectYAML/DWARFEmitter.h
+include/llvm/ObjectYAML/DWARFYAML.h
+include/llvm/ObjectYAML/ELFYAML.h
+include/llvm/ObjectYAML/MachOYAML.h
+include/llvm/ObjectYAML/MinidumpYAML.h
+include/llvm/ObjectYAML/ObjectYAML.h
+include/llvm/ObjectYAML/WasmYAML.h
+include/llvm/ObjectYAML/XCOFFYAML.h
+include/llvm/ObjectYAML/YAML.h
+include/llvm/ObjectYAML/yaml2obj.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/OptimizationLevel.h
+include/llvm/Passes/PassBuilder.h
+include/llvm/Passes/PassPlugin.h
+include/llvm/Passes/StandardInstrumentations.h
+include/llvm/ProfileData/Coverage/CoverageMapping.h
+include/llvm/ProfileData/Coverage/CoverageMappingReader.h
+include/llvm/ProfileData/Coverage/CoverageMappingWriter.h
+include/llvm/ProfileData/GCOV.h
+include/llvm/ProfileData/InstrProf.h
+include/llvm/ProfileData/InstrProfCorrelator.h
+include/llvm/ProfileData/InstrProfData.inc
+include/llvm/ProfileData/InstrProfReader.h
+include/llvm/ProfileData/InstrProfWriter.h
+include/llvm/ProfileData/MemProfData.inc
+include/llvm/ProfileData/ProfileCommon.h
+include/llvm/ProfileData/RawMemProfReader.h
+include/llvm/ProfileData/SampleProf.h
+include/llvm/ProfileData/SampleProfReader.h
+include/llvm/ProfileData/SampleProfWriter.h
+include/llvm/Remarks/BitstreamRemarkContainer.h
+include/llvm/Remarks/BitstreamRemarkParser.h
+include/llvm/Remarks/BitstreamRemarkSerializer.h
+include/llvm/Remarks/HotnessThresholdParser.h
+include/llvm/Remarks/Remark.h
+include/llvm/Remarks/RemarkFormat.h
+include/llvm/Remarks/RemarkLinker.h
+include/llvm/Remarks/RemarkParser.h
+include/llvm/Remarks/RemarkSerializer.h
+include/llvm/Remarks/RemarkStreamer.h
+include/llvm/Remarks/RemarkStringTable.h
+include/llvm/Remarks/YAMLRemarkSerializer.h
+include/llvm/Support/AArch64TargetParser.def
+include/llvm/Support/AArch64TargetParser.h
+include/llvm/Support/AMDGPUMetadata.h
+include/llvm/Support/AMDHSAKernelDescriptor.h
+include/llvm/Support/ARMAttributeParser.h
+include/llvm/Support/ARMBuildAttributes.h
+include/llvm/Support/ARMEHABI.h
+include/llvm/Support/ARMTargetParser.def
+include/llvm/Support/ARMTargetParser.h
+include/llvm/Support/ARMWinEH.h
+include/llvm/Support/AlignOf.h
+include/llvm/Support/Alignment.h
+include/llvm/Support/Allocator.h
+include/llvm/Support/AllocatorBase.h
+include/llvm/Support/ArrayRecycler.h
+include/llvm/Support/Atomic.h
+include/llvm/Support/AtomicOrdering.h
+include/llvm/Support/AutoConvert.h
+include/llvm/Support/Automaton.h
+include/llvm/Support/BCD.h
+include/llvm/Support/Base64.h
+include/llvm/Support/BinaryByteStream.h
+include/llvm/Support/BinaryItemStream.h
+include/llvm/Support/BinaryStream.h
+include/llvm/Support/BinaryStreamArray.h
+include/llvm/Support/BinaryStreamError.h
+include/llvm/Support/BinaryStreamReader.h
+include/llvm/Support/BinaryStreamRef.h
+include/llvm/Support/BinaryStreamWriter.h
+include/llvm/Support/BlockFrequency.h
+include/llvm/Support/BranchProbability.h
+include/llvm/Support/BuryPointer.h
+include/llvm/Support/CBindingWrapping.h
+include/llvm/Support/CFGDiff.h
+include/llvm/Support/CFGUpdate.h
+include/llvm/Support/COM.h
+include/llvm/Support/CRC.h
+include/llvm/Support/CachePruning.h
+include/llvm/Support/Caching.h
+include/llvm/Support/Capacity.h
+include/llvm/Support/Casting.h
+include/llvm/Support/CheckedArithmetic.h
+include/llvm/Support/Chrono.h
+include/llvm/Support/CodeGen.h
+include/llvm/Support/CodeGenCoverage.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/DJB.h
+include/llvm/Support/DOTGraphTraits.h
+include/llvm/Support/DataExtractor.h
+include/llvm/Support/DataTypes.h
+include/llvm/Support/Debug.h
+include/llvm/Support/DebugCounter.h
+include/llvm/Support/Discriminator.h
+include/llvm/Support/DivisionByConstantInfo.h
+include/llvm/Support/Duration.h
+include/llvm/Support/DynamicLibrary.h
+include/llvm/Support/ELFAttributeParser.h
+include/llvm/Support/ELFAttributes.h
+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/ExitCodes.h
+include/llvm/Support/ExtensibleRTTI.h
+include/llvm/Support/Extension.def
+include/llvm/Support/FileCollector.h
+include/llvm/Support/FileOutputBuffer.h
+include/llvm/Support/FileSystem.h
+include/llvm/Support/FileSystem/UniqueID.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/GenericDomTree.h
+include/llvm/Support/GenericDomTreeConstruction.h
+include/llvm/Support/GenericIteratedDominanceFrontier.h
+include/llvm/Support/GlobPattern.h
+include/llvm/Support/GraphWriter.h
+include/llvm/Support/HashBuilder.h
+include/llvm/Support/Host.h
+include/llvm/Support/InitLLVM.h
+include/llvm/Support/InstructionCost.h
+include/llvm/Support/ItaniumManglingCanonicalizer.h
+include/llvm/Support/JSON.h
+include/llvm/Support/KnownBits.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/LowLevelTypeImpl.h
+include/llvm/Support/MD5.h
+include/llvm/Support/MSP430AttributeParser.h
+include/llvm/Support/MSP430Attributes.h
+include/llvm/Support/MSVCErrorWorkarounds.h
+include/llvm/Support/MachineValueType.h
+include/llvm/Support/ManagedStatic.h
+include/llvm/Support/MathExtras.h
+include/llvm/Support/MemAlloc.h
+include/llvm/Support/Memory.h
+include/llvm/Support/MemoryBuffer.h
+include/llvm/Support/MemoryBufferRef.h
+include/llvm/Support/MipsABIFlags.h
+include/llvm/Support/Mutex.h
+include/llvm/Support/NativeFormatting.h
+include/llvm/Support/OnDiskHashTable.h
+include/llvm/Support/OptimizedStructLayout.h
+include/llvm/Support/PGOOptions.h
+include/llvm/Support/Parallel.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/RISCVAttributeParser.h
+include/llvm/Support/RISCVAttributes.h
+include/llvm/Support/RISCVISAInfo.h
+include/llvm/Support/RISCVTargetParser.def
+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/ReverseIteration.h
+include/llvm/Support/SHA1.h
+include/llvm/Support/SHA256.h
+include/llvm/Support/SMLoc.h
+include/llvm/Support/SMTAPI.h
+include/llvm/Support/SaveAndRestore.h
+include/llvm/Support/ScaledNumber.h
+include/llvm/Support/ScopedPrinter.h
+include/llvm/Support/Signals.h
+include/llvm/Support/Signposts.h
+include/llvm/Support/SmallVectorMemoryBuffer.h
+include/llvm/Support/Solaris/sys/regset.h
+include/llvm/Support/SourceMgr.h
+include/llvm/Support/SpecialCaseList.h
+include/llvm/Support/StringSaver.h
+include/llvm/Support/SuffixTree.h
+include/llvm/Support/SwapByteOrder.h
+include/llvm/Support/SymbolRemappingReader.h
+include/llvm/Support/SystemUtils.h
+include/llvm/Support/TarWriter.h
+include/llvm/Support/TargetOpcodes.def
+include/llvm/Support/TargetParser.h
+include/llvm/Support/TargetSelect.h
+include/llvm/Support/TaskQueue.h
+include/llvm/Support/ThreadLocal.h
+include/llvm/Support/ThreadPool.h
+include/llvm/Support/Threading.h
+include/llvm/Support/TimeProfiler.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/TypeSize.h
+include/llvm/Support/Unicode.h
+include/llvm/Support/UnicodeCharRanges.h
+include/llvm/Support/VCSRevision.h
+include/llvm/Support/Valgrind.h
+include/llvm/Support/VersionTuple.h
+include/llvm/Support/VirtualFileSystem.h
+include/llvm/Support/Watchdog.h
+include/llvm/Support/Win64EH.h
+include/llvm/Support/Windows/WindowsSupport.h
+include/llvm/Support/WindowsError.h
+include/llvm/Support/WithColor.h
+include/llvm/Support/X86DisassemblerDecoderCommon.h
+include/llvm/Support/X86TargetParser.def
+include/llvm/Support/X86TargetParser.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/Automaton.td
+include/llvm/TableGen/DirectiveEmitter.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/CGPassBuilderOption.h
+include/llvm/Target/CodeGenCWrappers.h
+include/llvm/Target/GenericOpcodes.td
+include/llvm/Target/GlobalISel/Combine.td
+include/llvm/Target/GlobalISel/RegisterBank.td
+include/llvm/Target/GlobalISel/SelectionDAGCompat.td
+include/llvm/Target/GlobalISel/Target.td
+include/llvm/Target/Target.td
+include/llvm/Target/TargetCallingConv.td
+include/llvm/Target/TargetInstrPredicate.td
+include/llvm/Target/TargetIntrinsicInfo.h
+include/llvm/Target/TargetItinerary.td
+include/llvm/Target/TargetLoweringObjectFile.h
+include/llvm/Target/TargetMachine.h
+include/llvm/Target/TargetOptions.h
+include/llvm/Target/TargetPfmCounters.td
+include/llvm/Target/TargetSchedule.td
+include/llvm/Target/TargetSelectionDAG.td
+include/llvm/Testing/Support/Annotations.h
+include/llvm/Testing/Support/Error.h
+include/llvm/Testing/Support/SupportHelpers.h
+include/llvm/TextAPI/Architecture.def
+include/llvm/TextAPI/Architecture.h
+include/llvm/TextAPI/ArchitectureSet.h
+include/llvm/TextAPI/InterfaceFile.h
+include/llvm/TextAPI/PackedVersion.h
+include/llvm/TextAPI/Platform.h
+include/llvm/TextAPI/Symbol.h
+include/llvm/TextAPI/Target.h
+include/llvm/TextAPI/TextAPIReader.h
+include/llvm/TextAPI/TextAPIWriter.h
+include/llvm/ToolDrivers/llvm-dlltool/DlltoolDriver.h
+include/llvm/ToolDrivers/llvm-lib/LibDriver.h
+include/llvm/Transforms/AggressiveInstCombine/AggressiveInstCombine.h
+include/llvm/Transforms/CFGuard.h
+include/llvm/Transforms/Coroutines.h
+include/llvm/Transforms/Coroutines/CoroCleanup.h
+include/llvm/Transforms/Coroutines/CoroEarly.h
+include/llvm/Transforms/Coroutines/CoroElide.h
+include/llvm/Transforms/Coroutines/CoroSplit.h
+include/llvm/Transforms/IPO.h
+include/llvm/Transforms/IPO/AlwaysInliner.h
+include/llvm/Transforms/IPO/Annotation2Metadata.h
+include/llvm/Transforms/IPO/ArgumentPromotion.h
+include/llvm/Transforms/IPO/Attributor.h
+include/llvm/Transforms/IPO/BlockExtractor.h
+include/llvm/Transforms/IPO/CalledValuePropagation.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/HotColdSplitting.h
+include/llvm/Transforms/IPO/IROutliner.h
+include/llvm/Transforms/IPO/InferFunctionAttrs.h
+include/llvm/Transforms/IPO/Inliner.h
+include/llvm/Transforms/IPO/Internalize.h
+include/llvm/Transforms/IPO/LoopExtractor.h
+include/llvm/Transforms/IPO/LowerTypeTests.h
+include/llvm/Transforms/IPO/MergeFunctions.h
+include/llvm/Transforms/IPO/ModuleInliner.h
+include/llvm/Transforms/IPO/OpenMPOpt.h
+include/llvm/Transforms/IPO/PartialInlining.h
+include/llvm/Transforms/IPO/PassManagerBuilder.h
+include/llvm/Transforms/IPO/ProfiledCallGraph.h
+include/llvm/Transforms/IPO/SCCP.h
+include/llvm/Transforms/IPO/SampleContextTracker.h
+include/llvm/Transforms/IPO/SampleProfile.h
+include/llvm/Transforms/IPO/SampleProfileProbe.h
+include/llvm/Transforms/IPO/StripDeadPrototypes.h
+include/llvm/Transforms/IPO/StripSymbols.h
+include/llvm/Transforms/IPO/SyntheticCountsPropagation.h
+include/llvm/Transforms/IPO/ThinLTOBitcodeWriter.h
+include/llvm/Transforms/IPO/WholeProgramDevirt.h
+include/llvm/Transforms/InstCombine/InstCombine.h
+include/llvm/Transforms/InstCombine/InstCombiner.h
+include/llvm/Transforms/Instrumentation.h
+include/llvm/Transforms/Instrumentation/AddressSanitizer.h
+include/llvm/Transforms/Instrumentation/AddressSanitizerCommon.h
+include/llvm/Transforms/Instrumentation/AddressSanitizerOptions.h
+include/llvm/Transforms/Instrumentation/BoundsChecking.h
+include/llvm/Transforms/Instrumentation/CGProfile.h
+include/llvm/Transforms/Instrumentation/ControlHeightReduction.h
+include/llvm/Transforms/Instrumentation/DataFlowSanitizer.h
+include/llvm/Transforms/Instrumentation/GCOVProfiler.h
+include/llvm/Transforms/Instrumentation/HWAddressSanitizer.h
+include/llvm/Transforms/Instrumentation/InstrOrderFile.h
+include/llvm/Transforms/Instrumentation/InstrProfiling.h
+include/llvm/Transforms/Instrumentation/MemProfiler.h
+include/llvm/Transforms/Instrumentation/MemorySanitizer.h
+include/llvm/Transforms/Instrumentation/PGOInstrumentation.h
+include/llvm/Transforms/Instrumentation/PoisonChecking.h
+include/llvm/Transforms/Instrumentation/SanitizerCoverage.h
+include/llvm/Transforms/Instrumentation/ThreadSanitizer.h
+include/llvm/Transforms/ObjCARC.h
+include/llvm/Transforms/Scalar.h
+include/llvm/Transforms/Scalar/ADCE.h
+include/llvm/Transforms/Scalar/AlignmentFromAssumptions.h
+include/llvm/Transforms/Scalar/AnnotationRemarks.h
+include/llvm/Transforms/Scalar/BDCE.h
+include/llvm/Transforms/Scalar/CallSiteSplitting.h
+include/llvm/Transforms/Scalar/ConstantHoisting.h
+include/llvm/Transforms/Scalar/ConstraintElimination.h
+include/llvm/Transforms/Scalar/CorrelatedValuePropagation.h
+include/llvm/Transforms/Scalar/DCE.h
+include/llvm/Transforms/Scalar/DFAJumpThreading.h
+include/llvm/Transforms/Scalar/DeadStoreElimination.h
+include/llvm/Transforms/Scalar/DivRemPairs.h
+include/llvm/Transforms/Scalar/EarlyCSE.h
+include/llvm/Transforms/Scalar/FlattenCFG.h
+include/llvm/Transforms/Scalar/Float2Int.h
+include/llvm/Transforms/Scalar/GVN.h
+include/llvm/Transforms/Scalar/GVNExpression.h
+include/llvm/Transforms/Scalar/GuardWidening.h
+include/llvm/Transforms/Scalar/IVUsersPrinter.h
+include/llvm/Transforms/Scalar/IndVarSimplify.h
+include/llvm/Transforms/Scalar/InductiveRangeCheckElimination.h
+include/llvm/Transforms/Scalar/InferAddressSpaces.h
+include/llvm/Transforms/Scalar/InstSimplifyPass.h
+include/llvm/Transforms/Scalar/JumpThreading.h
+include/llvm/Transforms/Scalar/LICM.h
+include/llvm/Transforms/Scalar/LoopAccessAnalysisPrinter.h
+include/llvm/Transforms/Scalar/LoopBoundSplit.h
+include/llvm/Transforms/Scalar/LoopDataPrefetch.h
+include/llvm/Transforms/Scalar/LoopDeletion.h
+include/llvm/Transforms/Scalar/LoopDistribute.h
+include/llvm/Transforms/Scalar/LoopFlatten.h
+include/llvm/Transforms/Scalar/LoopFuse.h
+include/llvm/Transforms/Scalar/LoopIdiomRecognize.h
+include/llvm/Transforms/Scalar/LoopInstSimplify.h
+include/llvm/Transforms/Scalar/LoopInterchange.h
+include/llvm/Transforms/Scalar/LoopLoadElimination.h
+include/llvm/Transforms/Scalar/LoopPassManager.h
+include/llvm/Transforms/Scalar/LoopPredication.h
+include/llvm/Transforms/Scalar/LoopReroll.h
+include/llvm/Transforms/Scalar/LoopRotation.h
+include/llvm/Transforms/Scalar/LoopSimplifyCFG.h
+include/llvm/Transforms/Scalar/LoopSink.h
+include/llvm/Transforms/Scalar/LoopStrengthReduce.h
+include/llvm/Transforms/Scalar/LoopUnrollAndJamPass.h
+include/llvm/Transforms/Scalar/LoopUnrollPass.h
+include/llvm/Transforms/Scalar/LoopVersioningLICM.h
+include/llvm/Transforms/Scalar/LowerAtomic.h
+include/llvm/Transforms/Scalar/LowerConstantIntrinsics.h
+include/llvm/Transforms/Scalar/LowerExpectIntrinsic.h
+include/llvm/Transforms/Scalar/LowerGuardIntrinsic.h
+include/llvm/Transforms/Scalar/LowerMatrixIntrinsics.h
+include/llvm/Transforms/Scalar/LowerWidenableCondition.h
+include/llvm/Transforms/Scalar/MakeGuardsExplicit.h
+include/llvm/Transforms/Scalar/MemCpyOptimizer.h
+include/llvm/Transforms/Scalar/MergeICmps.h
+include/llvm/Transforms/Scalar/MergedLoadStoreMotion.h
+include/llvm/Transforms/Scalar/NaryReassociate.h
+include/llvm/Transforms/Scalar/NewGVN.h
+include/llvm/Transforms/Scalar/PartiallyInlineLibCalls.h
+include/llvm/Transforms/Scalar/Reassociate.h
+include/llvm/Transforms/Scalar/Reg2Mem.h
+include/llvm/Transforms/Scalar/RewriteStatepointsForGC.h
+include/llvm/Transforms/Scalar/SCCP.h
+include/llvm/Transforms/Scalar/SROA.h
+include/llvm/Transforms/Scalar/ScalarizeMaskedMemIntrin.h
+include/llvm/Transforms/Scalar/Scalarizer.h
+include/llvm/Transforms/Scalar/SeparateConstOffsetFromGEP.h
+include/llvm/Transforms/Scalar/SimpleLoopUnswitch.h
+include/llvm/Transforms/Scalar/SimplifyCFG.h
+include/llvm/Transforms/Scalar/Sink.h
+include/llvm/Transforms/Scalar/SpeculativeExecution.h
+include/llvm/Transforms/Scalar/StraightLineStrengthReduce.h
+include/llvm/Transforms/Scalar/StructurizeCFG.h
+include/llvm/Transforms/Scalar/TailRecursionElimination.h
+include/llvm/Transforms/Scalar/WarnMissedTransforms.h
+include/llvm/Transforms/Utils.h
+include/llvm/Transforms/Utils/AMDGPUEmitPrintf.h
+include/llvm/Transforms/Utils/ASanStackFrameLayout.h
+include/llvm/Transforms/Utils/AddDiscriminators.h
+include/llvm/Transforms/Utils/AssumeBundleBuilder.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/CallGraphUpdater.h
+include/llvm/Transforms/Utils/CallPromotionUtils.h
+include/llvm/Transforms/Utils/CanonicalizeAliases.h
+include/llvm/Transforms/Utils/CanonicalizeFreezeInLoops.h
+include/llvm/Transforms/Utils/Cloning.h
+include/llvm/Transforms/Utils/CodeExtractor.h
+include/llvm/Transforms/Utils/CodeLayout.h
+include/llvm/Transforms/Utils/CodeMoverUtils.h
+include/llvm/Transforms/Utils/CtorUtils.h
+include/llvm/Transforms/Utils/Debugify.h
+include/llvm/Transforms/Utils/EntryExitInstrumenter.h
+include/llvm/Transforms/Utils/EscapeEnumerator.h
+include/llvm/Transforms/Utils/Evaluator.h
+include/llvm/Transforms/Utils/FixIrreducible.h
+include/llvm/Transforms/Utils/FunctionComparator.h
+include/llvm/Transforms/Utils/FunctionImportUtils.h
+include/llvm/Transforms/Utils/GlobalStatus.h
+include/llvm/Transforms/Utils/GuardUtils.h
+include/llvm/Transforms/Utils/HelloWorld.h
+include/llvm/Transforms/Utils/InjectTLIMappings.h
+include/llvm/Transforms/Utils/InstructionNamer.h
+include/llvm/Transforms/Utils/InstructionWorklist.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/LoopPeel.h
+include/llvm/Transforms/Utils/LoopRotationUtils.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/LowerMemIntrinsics.h
+include/llvm/Transforms/Utils/LowerSwitch.h
+include/llvm/Transforms/Utils/MatrixUtils.h
+include/llvm/Transforms/Utils/Mem2Reg.h
+include/llvm/Transforms/Utils/MemoryOpRemark.h
+include/llvm/Transforms/Utils/MetaRenamer.h
+include/llvm/Transforms/Utils/ModuleUtils.h
+include/llvm/Transforms/Utils/NameAnonGlobals.h
+include/llvm/Transforms/Utils/PredicateInfo.h
+include/llvm/Transforms/Utils/PromoteMemToReg.h
+include/llvm/Transforms/Utils/RelLookupTableConverter.h
+include/llvm/Transforms/Utils/SCCPSolver.h
+include/llvm/Transforms/Utils/SSAUpdater.h
+include/llvm/Transforms/Utils/SSAUpdaterBulk.h
+include/llvm/Transforms/Utils/SSAUpdaterImpl.h
+include/llvm/Transforms/Utils/SampleProfileInference.h
+include/llvm/Transforms/Utils/SampleProfileLoaderBaseImpl.h
+include/llvm/Transforms/Utils/SampleProfileLoaderBaseUtil.h
+include/llvm/Transforms/Utils/SanitizerStats.h
+include/llvm/Transforms/Utils/ScalarEvolutionExpander.h
+include/llvm/Transforms/Utils/SimplifyCFGOptions.h
+include/llvm/Transforms/Utils/SimplifyIndVar.h
+include/llvm/Transforms/Utils/SimplifyLibCalls.h
+include/llvm/Transforms/Utils/SizeOpts.h
+include/llvm/Transforms/Utils/SplitModule.h
+include/llvm/Transforms/Utils/StripGCRelocates.h
+include/llvm/Transforms/Utils/StripNonLineTableDebugInfo.h
+include/llvm/Transforms/Utils/SymbolRewriter.h
+include/llvm/Transforms/Utils/UnifyFunctionExitNodes.h
+include/llvm/Transforms/Utils/UnifyLoopExits.h
+include/llvm/Transforms/Utils/UnrollLoop.h
+include/llvm/Transforms/Utils/VNCoercion.h
+include/llvm/Transforms/Utils/ValueMapper.h
+include/llvm/Transforms/Vectorize.h
+include/llvm/Transforms/Vectorize/LoadStoreVectorizer.h
+include/llvm/Transforms/Vectorize/LoopVectorizationLegality.h
+include/llvm/Transforms/Vectorize/LoopVectorize.h
+include/llvm/Transforms/Vectorize/SLPVectorizer.h
+include/llvm/Transforms/Vectorize/VectorCombine.h
+include/llvm/WindowsManifest/WindowsManifestMerger.h
+include/llvm/WindowsResource/ResourceProcessor.h
+include/llvm/WindowsResource/ResourceScriptToken.h
+include/llvm/WindowsResource/ResourceScriptTokenList.h
+include/llvm/XRay/BlockIndexer.h
+include/llvm/XRay/BlockPrinter.h
+include/llvm/XRay/BlockVerifier.h
+include/llvm/XRay/FDRLogBuilder.h
+include/llvm/XRay/FDRRecordConsumer.h
+include/llvm/XRay/FDRRecordProducer.h
+include/llvm/XRay/FDRRecords.h
+include/llvm/XRay/FDRTraceExpander.h
+include/llvm/XRay/FDRTraceWriter.h
+include/llvm/XRay/FileHeaderReader.h
+include/llvm/XRay/Graph.h
+include/llvm/XRay/InstrumentationMap.h
+include/llvm/XRay/Profile.h
+include/llvm/XRay/RecordPrinter.h
+include/llvm/XRay/Trace.h
+include/llvm/XRay/XRayRecord.h
+include/llvm/XRay/YAMLXRayRecord.h
+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/CoverageReport.cmake
+lib/cmake/llvm/CrossCompile.cmake
+lib/cmake/llvm/DetermineGCCCompatible.cmake
+lib/cmake/llvm/FindFFI.cmake
+lib/cmake/llvm/FindGRPC.cmake
+lib/cmake/llvm/FindLibpfm.cmake
+lib/cmake/llvm/FindOCaml.cmake
+lib/cmake/llvm/FindSphinx.cmake
+lib/cmake/llvm/FindTerminfo.cmake
+lib/cmake/llvm/FindZ3.cmake
+lib/cmake/llvm/GenerateVersionFromVCS.cmake
+lib/cmake/llvm/GetErrcMessages.cmake
+lib/cmake/llvm/GetLibraryName.cmake
+lib/cmake/llvm/HandleLLVMOptions.cmake
+lib/cmake/llvm/HandleLLVMStdlib.cmake
+lib/cmake/llvm/LLVM-Build.cmake
+lib/cmake/llvm/LLVM-Config.cmake
+lib/cmake/llvm/LLVMCheckLinkerFlag.cmake
+lib/cmake/llvm/LLVMConfig.cmake
+lib/cmake/llvm/LLVMConfigExtensions.cmake
+lib/cmake/llvm/LLVMConfigVersion.cmake
+lib/cmake/llvm/LLVMDistributionSupport.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/TensorFlowCompile.cmake
+lib/cmake/llvm/UseLibtool.cmake
+lib/cmake/llvm/VersionFromVCS.cmake
+lib/libLLVM-${PKGVERSION}.${SOEXT}
+lib/libLLVM-14.so
+lib/libLLVM.${SOEXT}
+${PLIST.AArch64}lib/libLLVMAArch64AsmParser.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/libLLVMAMDGPUCodeGen.a
+${PLIST.AMDGPU}lib/libLLVMAMDGPUDesc.a
+${PLIST.AMDGPU}lib/libLLVMAMDGPUDisassembler.a
+${PLIST.AMDGPU}lib/libLLVMAMDGPUInfo.a
+${PLIST.AMDGPU}lib/libLLVMAMDGPUTargetMCA.a
+${PLIST.AMDGPU}lib/libLLVMAMDGPUUtils.a
+${PLIST.ARM}lib/libLLVMARMAsmParser.a
+${PLIST.ARM}lib/libLLVMARMCodeGen.a
+${PLIST.ARM}lib/libLLVMARMDesc.a
+${PLIST.ARM}lib/libLLVMARMDisassembler.a
+${PLIST.ARM}lib/libLLVMARMInfo.a
+${PLIST.ARM}lib/libLLVMARMUtils.a
+${PLIST.AVR}lib/libLLVMAVRAsmParser.a
+${PLIST.AVR}lib/libLLVMAVRCodeGen.a
+${PLIST.AVR}lib/libLLVMAVRDesc.a
+${PLIST.AVR}lib/libLLVMAVRDisassembler.a
+${PLIST.AVR}lib/libLLVMAVRInfo.a
+lib/libLLVMAggressiveInstCombine.a
+lib/libLLVMAnalysis.a
+lib/libLLVMAsmParser.a
+lib/libLLVMAsmPrinter.a
+${PLIST.BPF}lib/libLLVMBPFAsmParser.a
+${PLIST.BPF}lib/libLLVMBPFCodeGen.a
+${PLIST.BPF}lib/libLLVMBPFDesc.a
+${PLIST.BPF}lib/libLLVMBPFDisassembler.a
+${PLIST.BPF}lib/libLLVMBPFInfo.a
+lib/libLLVMBinaryFormat.a
+lib/libLLVMBitReader.a
+lib/libLLVMBitWriter.a
+lib/libLLVMBitstreamReader.a
+lib/libLLVMCFGuard.a
+lib/libLLVMCFIVerify.a
+lib/libLLVMCodeGen.a
+lib/libLLVMCore.a
+lib/libLLVMCoroutines.a
+lib/libLLVMCoverage.a
+lib/libLLVMDWARFLinker.a
+lib/libLLVMDWP.a
+lib/libLLVMDebugInfoCodeView.a
+lib/libLLVMDebugInfoDWARF.a
+lib/libLLVMDebugInfoGSYM.a
+lib/libLLVMDebugInfoMSF.a
+lib/libLLVMDebugInfoPDB.a
+lib/libLLVMDebuginfod.a
+lib/libLLVMDemangle.a
+lib/libLLVMDiff.a
+lib/libLLVMDlltoolDriver.a
+lib/libLLVMExecutionEngine.a
+lib/libLLVMExegesis.a
+${PLIST.AArch64}lib/libLLVMExegesisAArch64.a
+${PLIST.Mips}lib/libLLVMExegesisMips.a
+${PLIST.PowerPC}lib/libLLVMExegesisPowerPC.a
+${PLIST.X86}lib/libLLVMExegesisX86.a
+lib/libLLVMExtensions.a
+lib/libLLVMFileCheck.a
+lib/libLLVMFrontendOpenACC.a
+lib/libLLVMFrontendOpenMP.a
+lib/libLLVMFuzzMutate.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/libLLVMInterfaceStub.a
+lib/libLLVMInterpreter.a
+lib/libLLVMJITLink.a
+lib/libLLVMLTO.a
+${PLIST.Lanai}lib/libLLVMLanaiAsmParser.a
+${PLIST.Lanai}lib/libLLVMLanaiCodeGen.a
+${PLIST.Lanai}lib/libLLVMLanaiDesc.a
+${PLIST.Lanai}lib/libLLVMLanaiDisassembler.a
+${PLIST.Lanai}lib/libLLVMLanaiInfo.a
+lib/libLLVMLibDriver.a
+lib/libLLVMLineEditor.a
+lib/libLLVMLinker.a
+lib/libLLVMMC.a
+lib/libLLVMMCA.a
+lib/libLLVMMCDisassembler.a
+lib/libLLVMMCJIT.a
+lib/libLLVMMCParser.a
+lib/libLLVMMIRParser.a
+${PLIST.MSP430}lib/libLLVMMSP430AsmParser.a
+${PLIST.MSP430}lib/libLLVMMSP430CodeGen.a
+${PLIST.MSP430}lib/libLLVMMSP430Desc.a
+${PLIST.MSP430}lib/libLLVMMSP430Disassembler.a
+${PLIST.MSP430}lib/libLLVMMSP430Info.a
+${PLIST.Mips}lib/libLLVMMipsAsmParser.a
+${PLIST.Mips}lib/libLLVMMipsCodeGen.a
+${PLIST.Mips}lib/libLLVMMipsDesc.a
+${PLIST.Mips}lib/libLLVMMipsDisassembler.a
+${PLIST.Mips}lib/libLLVMMipsInfo.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/libLLVMOrcShared.a
+lib/libLLVMOrcTargetProcess.a
+lib/libLLVMPasses.a
+${PLIST.PowerPC}lib/libLLVMPowerPCAsmParser.a
+${PLIST.PowerPC}lib/libLLVMPowerPCCodeGen.a
+${PLIST.PowerPC}lib/libLLVMPowerPCDesc.a
+${PLIST.PowerPC}lib/libLLVMPowerPCDisassembler.a
+${PLIST.PowerPC}lib/libLLVMPowerPCInfo.a
+lib/libLLVMProfileData.a
+${PLIST.RISCV}lib/libLLVMRISCVAsmParser.a
+${PLIST.RISCV}lib/libLLVMRISCVCodeGen.a
+${PLIST.RISCV}lib/libLLVMRISCVDesc.a
+${PLIST.RISCV}lib/libLLVMRISCVDisassembler.a
+${PLIST.RISCV}lib/libLLVMRISCVInfo.a
+lib/libLLVMRemarks.a
+lib/libLLVMRuntimeDyld.a
+lib/libLLVMScalarOpts.a
+lib/libLLVMSelectionDAG.a
+${PLIST.Sparc}lib/libLLVMSparcAsmParser.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/libLLVMSystemZCodeGen.a
+${PLIST.SystemZ}lib/libLLVMSystemZDesc.a
+${PLIST.SystemZ}lib/libLLVMSystemZDisassembler.a
+${PLIST.SystemZ}lib/libLLVMSystemZInfo.a
+lib/libLLVMTableGen.a
+lib/libLLVMTableGenGlobalISel.a
+lib/libLLVMTarget.a
+lib/libLLVMTextAPI.a
+lib/libLLVMTransformUtils.a
+lib/libLLVMVectorize.a
+${PLIST.WebAssembly}lib/libLLVMWebAssemblyAsmParser.a
+${PLIST.WebAssembly}lib/libLLVMWebAssemblyCodeGen.a
+${PLIST.WebAssembly}lib/libLLVMWebAssemblyDesc.a
+${PLIST.WebAssembly}lib/libLLVMWebAssemblyDisassembler.a
+${PLIST.WebAssembly}lib/libLLVMWebAssemblyInfo.a
+${PLIST.WebAssembly}lib/libLLVMWebAssemblyUtils.a
+lib/libLLVMWindowsManifest.a
+${PLIST.X86}lib/libLLVMX86AsmParser.a
+${PLIST.X86}lib/libLLVMX86CodeGen.a
+${PLIST.X86}lib/libLLVMX86Desc.a
+${PLIST.X86}lib/libLLVMX86Disassembler.a
+${PLIST.X86}lib/libLLVMX86Info.a
+${PLIST.X86}lib/libLLVMX86TargetMCA.a
+${PLIST.XCore}lib/libLLVMXCoreCodeGen.a
+${PLIST.XCore}lib/libLLVMXCoreDesc.a
+${PLIST.XCore}lib/libLLVMXCoreDisassembler.a
+${PLIST.XCore}lib/libLLVMXCoreInfo.a
+lib/libLLVMXRay.a
+lib/libLLVMipo.a
+lib/libLTO.${SOEXT}
+${PLIST.notdylib}lib/libLTO.${SOEXT}.14
+lib/libRemarks.${SOEXT}
+${PLIST.notdylib}lib/libRemarks.${SOEXT}.14
+share/opt-viewer/opt-diff.py
+share/opt-viewer/opt-stats.py
+share/opt-viewer/opt-viewer.py
+share/opt-viewer/optpmap.py
+share/opt-viewer/optrecord.py
+share/opt-viewer/style.css
diff --git a/llvm/buildlink3.mk b/llvm/buildlink3.mk
new file mode 100644
index 0000000000..8784c9f741
--- /dev/null
+++ b/llvm/buildlink3.mk
@@ -0,0 +1,107 @@
+# $NetBSD: buildlink3.mk,v 1.18 2022/06/28 11:34:13 wiz Exp $
+
+BUILDLINK_TREE+=	llvm
+
+.if !defined(LLVM_BUILDLINK3_MK)
+LLVM_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.llvm+=	llvm>=14
+BUILDLINK_PKGSRCDIR.llvm?=	../../wip/llvm
+
+LLVM_CONFIG_PATH?=		${BUILDLINK_PREFIX.llvm}/bin/llvm-config
+
+BUILDLINK_FILES.llvm+=		bin/FileCheck
+BUILDLINK_FILES.llvm+=		bin/bugpoint
+BUILDLINK_FILES.llvm+=		bin/count
+BUILDLINK_FILES.llvm+=		bin/dsymutil
+BUILDLINK_FILES.llvm+=		bin/llc
+BUILDLINK_FILES.llvm+=		bin/lli
+BUILDLINK_FILES.llvm+=		bin/lli-child-target
+BUILDLINK_FILES.llvm+=		bin/llvm-PerfectShuffle
+BUILDLINK_FILES.llvm+=		bin/llvm-addr2line
+BUILDLINK_FILES.llvm+=		bin/llvm-ar
+BUILDLINK_FILES.llvm+=		bin/llvm-as
+BUILDLINK_FILES.llvm+=		bin/llvm-bcanalyzer
+BUILDLINK_FILES.llvm+=		bin/llvm-bitcode-strip
+BUILDLINK_FILES.llvm+=		bin/llvm-c-test
+BUILDLINK_FILES.llvm+=		bin/llvm-cat
+BUILDLINK_FILES.llvm+=		bin/llvm-cfi-verify
+BUILDLINK_FILES.llvm+=		bin/llvm-config
+BUILDLINK_FILES.llvm+=		bin/llvm-cov
+BUILDLINK_FILES.llvm+=		bin/llvm-cvtres
+BUILDLINK_FILES.llvm+=		bin/llvm-cxxdump
+BUILDLINK_FILES.llvm+=		bin/llvm-cxxfilt
+BUILDLINK_FILES.llvm+=		bin/llvm-cxxmap
+BUILDLINK_FILES.llvm+=		bin/llvm-diff
+BUILDLINK_FILES.llvm+=		bin/llvm-dis
+BUILDLINK_FILES.llvm+=		bin/llvm-dlltool
+BUILDLINK_FILES.llvm+=		bin/llvm-dwarfdump
+BUILDLINK_FILES.llvm+=		bin/llvm-dwp
+BUILDLINK_FILES.llvm+=		bin/llvm-exegesis
+BUILDLINK_FILES.llvm+=		bin/llvm-extract
+BUILDLINK_FILES.llvm+=		bin/llvm-gsymutil
+BUILDLINK_FILES.llvm+=		bin/llvm-ifs
+BUILDLINK_FILES.llvm+=		bin/llvm-install-name-tool
+BUILDLINK_FILES.llvm+=		bin/llvm-jitlink
+BUILDLINK_FILES.llvm+=		bin/llvm-jitlink-executor
+BUILDLINK_FILES.llvm+=		bin/llvm-lib
+BUILDLINK_FILES.llvm+=		bin/llvm-libtool-darwin
+BUILDLINK_FILES.llvm+=		bin/llvm-link
+BUILDLINK_FILES.llvm+=		bin/llvm-lipo
+BUILDLINK_FILES.llvm+=		bin/llvm-lto
+BUILDLINK_FILES.llvm+=		bin/llvm-lto2
+BUILDLINK_FILES.llvm+=		bin/llvm-mc
+BUILDLINK_FILES.llvm+=		bin/llvm-mca
+BUILDLINK_FILES.llvm+=		bin/llvm-ml
+BUILDLINK_FILES.llvm+=		bin/llvm-modextract
+BUILDLINK_FILES.llvm+=		bin/llvm-mt
+BUILDLINK_FILES.llvm+=		bin/llvm-nm
+BUILDLINK_FILES.llvm+=		bin/llvm-objcopy
+BUILDLINK_FILES.llvm+=		bin/llvm-objdump
+BUILDLINK_FILES.llvm+=		bin/llvm-opt-report
+BUILDLINK_FILES.llvm+=		bin/llvm-otool
+BUILDLINK_FILES.llvm+=		bin/llvm-pdbutil
+BUILDLINK_FILES.llvm+=		bin/llvm-profdata
+BUILDLINK_FILES.llvm+=		bin/llvm-profgen
+BUILDLINK_FILES.llvm+=		bin/llvm-ranlib
+BUILDLINK_FILES.llvm+=		bin/llvm-rc
+BUILDLINK_FILES.llvm+=		bin/llvm-readelf
+BUILDLINK_FILES.llvm+=		bin/llvm-readobj
+BUILDLINK_FILES.llvm+=		bin/llvm-reduce
+BUILDLINK_FILES.llvm+=		bin/llvm-rtdyld
+BUILDLINK_FILES.llvm+=		bin/llvm-sim
+BUILDLINK_FILES.llvm+=		bin/llvm-size
+BUILDLINK_FILES.llvm+=		bin/llvm-split
+BUILDLINK_FILES.llvm+=		bin/llvm-stress
+BUILDLINK_FILES.llvm+=		bin/llvm-strings
+BUILDLINK_FILES.llvm+=		bin/llvm-strip
+BUILDLINK_FILES.llvm+=		bin/llvm-symbolizer
+BUILDLINK_FILES.llvm+=		bin/llvm-tapi-diff
+BUILDLINK_FILES.llvm+=		bin/llvm-tblgen
+BUILDLINK_FILES.llvm+=		bin/llvm-undname
+BUILDLINK_FILES.llvm+=		bin/llvm-windres
+BUILDLINK_FILES.llvm+=		bin/llvm-xray
+BUILDLINK_FILES.llvm+=		bin/not
+BUILDLINK_FILES.llvm+=		bin/obj2yaml
+BUILDLINK_FILES.llvm+=		bin/opt
+BUILDLINK_FILES.llvm+=		bin/sancov
+BUILDLINK_FILES.llvm+=		bin/sanstats
+BUILDLINK_FILES.llvm+=		bin/split-file
+BUILDLINK_FILES.llvm+=		bin/verify-uselistorder
+BUILDLINK_FILES.llvm+=		bin/yaml-bench
+BUILDLINK_FILES.llvm+=		bin/yaml2obj
+
+pkgbase := llvm
+.include "../../mk/pkg-build-options.mk"
+.if ${PKG_BUILD_OPTIONS.llvm:Mterminfo}
+.include "../../mk/terminfo.buildlink3.mk"
+.endif
+
+.if ${PKG_BUILD_OPTIONS.llvm:Mz3}
+.include "../../math/z3/buildlink3.mk"
+.endif
+
+.include "../../devel/zlib/buildlink3.mk"
+.endif	# LLVM_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-llvm
diff --git a/llvm/distinfo b/llvm/distinfo
new file mode 100644
index 0000000000..3f1b832fd7
--- /dev/null
+++ b/llvm/distinfo
@@ -0,0 +1,11 @@
+$NetBSD: distinfo,v 1.34 2022/02/03 20:38:39 adam Exp $
+
+BLAKE2s (llvm-14.0.6.src.tar.xz) = 2d44946453add45426569fd4187654f83881341c5c0109e4ffacc60e8f73af60
+SHA512 (llvm-14.0.6.src.tar.xz) = 6461bdde27aac17fa44c3e99a85ec47ffb181d0d4e5c3ef1c4286a59583e3b0c51af3c8081a300f45b99524340773a3011380059e3b3a571c3b0a8733e96fc1d
+Size (llvm-14.0.6.src.tar.xz) = 49660136 bytes
+SHA1 (patch-CMakeLists.txt) = 78e2dab2bf73f7e466ca2788fe6444e39b4ebd80
+SHA1 (patch-cmake_config-ix.cmake) = bd4ad5b56f49c356f162994524e6e708005dace8
+SHA1 (patch-cmake_modules_AddLLVM.cmake) = 148897aeba8c29b9cf55eade62554710ae0f63f3
+SHA1 (patch-include_llvm-c_DataTypes.h) = 790c9458d6590a0d6985fdcbd8785da340b9779b
+SHA1 (patch-include_llvm_Analysis_ConstantFolding.h) = 56b9374da236c346565897977040255b9766cab8
+SHA1 (patch-tools_llvm-shlib_CMakeLists.txt) = 97b9c7c3487989c2909dd0294a67a5328d9ef309
diff --git a/llvm/hacks.mk b/llvm/hacks.mk
new file mode 100644
index 0000000000..c8daa58455
--- /dev/null
+++ b/llvm/hacks.mk
@@ -0,0 +1,12 @@
+# $NetBSD: hacks.mk,v 1.1 2020/09/20 09:37:17 he Exp $
+
+.if !defined(LLVM_HACKS_MK)
+LLVM_HACKS_MK=	defined
+
+# [Sun Sep 20 11:08:39 CEST 2020 : he]
+# On NetBSD/powerpc, use devel/libatomic to get 8-byte atomics.
+.if ${MACHINE_ARCH} == "powerpc"
+.include "../../devel/libatomic/buildlink3.mk"
+.endif
+
+.endif	# LLVM_HACKS_MK
diff --git a/llvm/options.mk b/llvm/options.mk
new file mode 100644
index 0000000000..efa176e012
--- /dev/null
+++ b/llvm/options.mk
@@ -0,0 +1,63 @@
+# $NetBSD: options.mk,v 1.13 2022/06/11 13:44:05 fcambus Exp $
+
+PKG_OPTIONS_VAR=	PKG_OPTIONS.llvm
+
+LLVM_TARGETS=	AArch64 AMDGPU ARM AVR BPF Hexagon Lanai Mips MSP430 NVPTX PowerPC RISCV Sparc SystemZ WebAssembly X86 XCore
+
+.for tgt in ${LLVM_TARGETS}
+PLIST_VARS+=			${tgt}
+PKG_SUPPORTED_OPTIONS+=		llvm-target-${tgt:tl}
+.endfor
+PKG_SUPPORTED_OPTIONS+=		terminfo z3
+
+# Terminfo is used for colour output, only enable it by default if terminfo
+# is builtin to avoid unnecessary dependencies which could cause bootstrap
+# issues.
+CHECK_BUILTIN.terminfo:=	yes
+.include "../../mk/terminfo.builtin.mk"
+CHECK_BUILTIN.terminfo:=	no
+.if !empty(USE_BUILTIN.terminfo:M[yY][eE][sS])
+PKG_SUGGESTED_OPTIONS+=		terminfo
+.endif
+
+# 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 ${MACHINE_ARCH} == aarch64
+PKG_SUGGESTED_OPTIONS+=	llvm-target-aarch64
+PKG_SUGGESTED_OPTIONS+=	llvm-target-webassembly
+.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
+
+.if !empty(PKG_OPTIONS:Mterminfo)
+.include "../../mk/terminfo.buildlink3.mk"
+.else
+CMAKE_ARGS+=	-DLLVM_ENABLE_TERMINFO=OFF
+.endif
+
+.if !empty(PKG_OPTIONS:Mz3)
+.include "../../math/z3/buildlink3.mk"
+CMAKE_ARGS+=	-DLLVM_ENABLE_Z3_SOLVER=ON
+.endif
+
+CMAKE_ARGS+=	-DLLVM_TARGETS_TO_BUILD="${LLVM_TARGETS_TO_BUILD:ts;}"
diff --git a/llvm/patches/patch-CMakeLists.txt b/llvm/patches/patch-CMakeLists.txt
new file mode 100644
index 0000000000..9f71556a36
--- /dev/null
+++ b/llvm/patches/patch-CMakeLists.txt
@@ -0,0 +1,15 @@
+$NetBSD: patch-CMakeLists.txt,v 1.1 2018/01/08 10:48:34 jperkin Exp $
+
+Don't implement sys/regset.h workaround, fix source instead.
+
+--- CMakeLists.txt.orig	2017-08-15 00:16:21.000000000 +0000
++++ CMakeLists.txt
+@@ -809,7 +809,7 @@ endif(${CMAKE_SYSTEM_NAME} MATCHES "(Fre
+ 
+ if( ${CMAKE_SYSTEM_NAME} MATCHES SunOS )
+    # special hack for Solaris to handle crazy system sys/regset.h
+-   include_directories("${LLVM_MAIN_INCLUDE_DIR}/llvm/Support/Solaris")
++   #include_directories("${LLVM_MAIN_INCLUDE_DIR}/llvm/Support/Solaris")
+ endif( ${CMAKE_SYSTEM_NAME} MATCHES SunOS )
+ 
+ # Make sure we don't get -rdynamic in every binary. For those that need it,
diff --git a/llvm/patches/patch-cmake_config-ix.cmake b/llvm/patches/patch-cmake_config-ix.cmake
new file mode 100644
index 0000000000..0c7ead7353
--- /dev/null
+++ b/llvm/patches/patch-cmake_config-ix.cmake
@@ -0,0 +1,20 @@
+$NetBSD: patch-cmake_config-ix.cmake,v 1.6 2021/12/26 21:52:11 he Exp $
+
+Do not generate invalid llvm-config in pkgsrc.
+Allow override of pthread library selection via PKGSRC_LLVM_PTHREADLIB.
+
+--- cmake/config-ix.cmake.orig	2022-06-22 16:46:24.000000000 +0000
++++ cmake/config-ix.cmake
+@@ -113,7 +113,11 @@ if(HAVE_LIBPTHREAD)
+   set(CMAKE_THREAD_PREFER_PTHREAD TRUE)
+   set(THREADS_HAVE_PTHREAD_ARG Off)
+   find_package(Threads REQUIRED)
+-  set(LLVM_PTHREAD_LIB ${CMAKE_THREAD_LIBS_INIT})
++  if(PKGSRC_LLVM_PTHREADLIB)
++    set(LLVM_PTHREAD_LIB ${PKGSRC_LLVM_PTHREADLIB})
++  else()
++    set(LLVM_PTHREAD_LIB ${CMAKE_THREAD_LIBS_INIT})
++  endif()
+ endif()
+ 
+ if(LLVM_ENABLE_ZLIB)
diff --git a/llvm/patches/patch-cmake_modules_AddLLVM.cmake b/llvm/patches/patch-cmake_modules_AddLLVM.cmake
new file mode 100644
index 0000000000..788c13c2f6
--- /dev/null
+++ b/llvm/patches/patch-cmake_modules_AddLLVM.cmake
@@ -0,0 +1,25 @@
+$NetBSD: patch-cmake_modules_AddLLVM.cmake,v 1.8 2021/11/23 20:55:44 wiz Exp $
+
+On Darwin, create symbolic links to shared libraries.
+On Darwin, use correct install-name for shared libraries.
+
+--- cmake/modules/AddLLVM.cmake.orig	2021-09-24 16:18:10.000000000 +0000
++++ cmake/modules/AddLLVM.cmake
+@@ -607,7 +607,7 @@ function(llvm_add_library name)
+   endif()
+ 
+   if(ARG_SHARED)
+-    if(NOT APPLE AND ARG_SONAME)
++    if(ARG_SONAME)
+       get_target_property(output_name ${name} OUTPUT_NAME)
+       if(${output_name} STREQUAL "output_name-NOTFOUND")
+         set(output_name ${name})
+@@ -2118,7 +2118,7 @@ function(llvm_setup_rpath name)
+   endif()
+ 
+   if (APPLE)
+-    set(_install_name_dir INSTALL_NAME_DIR "@rpath")
++    set(_install_name_dir INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/lib")
+     set(_install_rpath "@loader_path/../lib${LLVM_LIBDIR_SUFFIX}" ${extra_libdir})
+   elseif(${CMAKE_SYSTEM_NAME} MATCHES "AIX" AND BUILD_SHARED_LIBS)
+     # $ORIGIN is not interpreted at link time by aix ld.
diff --git a/llvm/patches/patch-include_llvm-c_DataTypes.h b/llvm/patches/patch-include_llvm-c_DataTypes.h
new file mode 100644
index 0000000000..9711ecd2cb
--- /dev/null
+++ b/llvm/patches/patch-include_llvm-c_DataTypes.h
@@ -0,0 +1,34 @@
+$NetBSD: patch-include_llvm-c_DataTypes.h,v 1.2 2021/07/12 18:41:02 adam Exp $
+
+Don't implement sys/regset.h workaround, fix source instead.
+
+--- include/llvm-c/DataTypes.h.orig	2021-04-06 16:38:18.000000000 +0000
++++ include/llvm-c/DataTypes.h
+@@ -77,4 +77,27 @@ typedef signed int ssize_t;
+ # define UINT64_MAX 0xffffffffffffffffULL
+ #endif
+ 
++#if defined(__sun)
++#include <sys/regset.h>
++#undef CS
++#undef DS
++#undef ES
++#undef FS
++#undef GS
++#undef SS
++#undef EAX
++#undef ECX
++#undef EDX
++#undef EBX
++#undef ESP
++#undef EBP
++#undef ESI
++#undef EDI
++#undef EIP
++#undef UESP
++#undef EFL
++#undef ERR
++#undef TRAPNO
++#endif
++
+ #endif /* LLVM_C_DATATYPES_H */
diff --git a/llvm/patches/patch-include_llvm_Analysis_ConstantFolding.h b/llvm/patches/patch-include_llvm_Analysis_ConstantFolding.h
new file mode 100644
index 0000000000..0287e9c89e
--- /dev/null
+++ b/llvm/patches/patch-include_llvm_Analysis_ConstantFolding.h
@@ -0,0 +1,17 @@
+$NetBSD: patch-include_llvm_Analysis_ConstantFolding.h,v 1.1 2018/12/15 23:41:45 jperkin Exp $
+
+Fix SunOS CS conflict not handled by include/llvm-c/DataTypes.h
+
+--- include/llvm/Analysis/ConstantFolding.h.orig	2018-05-01 15:54:18.000000000 +0000
++++ include/llvm/Analysis/ConstantFolding.h
+@@ -20,6 +20,10 @@
+ #ifndef LLVM_ANALYSIS_CONSTANTFOLDING_H
+ #define LLVM_ANALYSIS_CONSTANTFOLDING_H
+ 
++#ifdef __sun
++#undef CS
++#endif
++
+ namespace llvm {
+ class APInt;
+ template <typename T> class ArrayRef;
diff --git a/llvm/patches/patch-tools_llvm-shlib_CMakeLists.txt b/llvm/patches/patch-tools_llvm-shlib_CMakeLists.txt
new file mode 100644
index 0000000000..d881ebd51a
--- /dev/null
+++ b/llvm/patches/patch-tools_llvm-shlib_CMakeLists.txt
@@ -0,0 +1,34 @@
+$NetBSD: patch-tools_llvm-shlib_CMakeLists.txt,v 1.7 2021/11/23 20:55:44 wiz Exp $
+
+Use the Linux style linking everywhere except Darwin and SunOS.
+
+--- tools/llvm-shlib/CMakeLists.txt.orig	2021-09-24 16:18:10.000000000 +0000
++++ tools/llvm-shlib/CMakeLists.txt
+@@ -33,13 +33,11 @@ if(LLVM_BUILD_LLVM_DYLIB)
+   add_llvm_library(LLVM SHARED DISABLE_LLVM_LINK_LLVM_DYLIB SONAME ${INSTALL_WITH_TOOLCHAIN} ${SOURCES})
+ 
+   list(REMOVE_DUPLICATES LIB_NAMES)
+-  if(("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux") OR (MINGW) OR (HAIKU)
+-     OR ("${CMAKE_SYSTEM_NAME}" STREQUAL "FreeBSD")
+-     OR ("${CMAKE_SYSTEM_NAME}" STREQUAL "GNU")
+-     OR ("${CMAKE_SYSTEM_NAME}" STREQUAL "OpenBSD")
+-     OR ("${CMAKE_SYSTEM_NAME}" STREQUAL "Fuchsia")
+-     OR ("${CMAKE_SYSTEM_NAME}" STREQUAL "DragonFly")
+-     OR ("${CMAKE_SYSTEM_NAME}" STREQUAL "SunOS")) # FIXME: It should be "GNU ld for elf"
++  if("${CMAKE_SYSTEM_NAME}" STREQUAL "SunOS")
++    set(LIB_NAMES -Wl,-Bsymbolic -Wl,-z -Wl,allextract ${LIB_NAMES} -Wl,-z -Wl,defaultextract)
++  elseif("${CMAKE_SYSTEM_NAME}" STREQUAL "Darwin")
++    set(LIB_NAMES -Wl,-all_load ${LIB_NAMES})
++  else()
+     configure_file(
+     ${CMAKE_CURRENT_SOURCE_DIR}/simple_version_script.map.in
+     ${LLVM_LIBRARY_DIR}/tools/llvm-shlib/simple_version_script.map)
+@@ -57,8 +55,6 @@ if(LLVM_BUILD_LLVM_DYLIB)
+       # inside and outside libLLVM.so.
+       target_link_options(LLVM PRIVATE LINKER:-Bsymbolic-functions)
+     endif()
+-  elseif("${CMAKE_SYSTEM_NAME}" STREQUAL "Darwin")
+-    set(LIB_NAMES -Wl,-all_load ${LIB_NAMES})
+   endif()
+ 
+   target_link_libraries(LLVM PRIVATE ${LIB_NAMES})
diff --git a/llvm/version.mk b/llvm/version.mk
new file mode 100644
index 0000000000..ba4065d8fa
--- /dev/null
+++ b/llvm/version.mk
@@ -0,0 +1,19 @@
+# $NetBSD: version.mk,v 1.8 2022/05/28 01:51:16 gutteridge Exp $
+# used by devel/lld
+# used by devel/lldb
+# used by devel/polly
+# used by lang/clang
+# used by lang/clang-tools-extra
+# used by lang/compiler-rt
+# used by lang/libcxx
+# used by lang/libcxxabi
+# used by lang/libunwind
+# used by lang/wasi-compiler-rt
+# used by lang/wasi-libcxx
+# used by parallel/openmp
+
+LLVM_VERSION=	14.0.6
+MASTER_SITES=	${MASTER_SITE_GITHUB:=llvm/}
+GITHUB_PROJECT=	llvm-project
+GITHUB_RELEASE=	llvmorg-${PKGVERSION_NOREV}
+EXTRACT_SUFX=	.tar.xz


Home | Main Index | Thread Index | Old Index