Merge remote-tracking branch 'origin/19' into proxmox/bookworm

This commit is contained in:
Fabian Grünbichler 2024-10-22 12:35:53 +02:00
commit 42ff440227
154 changed files with 2709 additions and 4664 deletions

134
.gitignore vendored Normal file
View File

@ -0,0 +1,134 @@
.ci
.clang-format
.clang-tidy
.git
.git-blame-ignore-revs
.gitattributes
.github
.mailmap
# upstream toplevel files
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE.TXT
README.md
SECURITY.md
pyproject.toml
# upstream directories
bolt
clang
clang-tools-extra
cmake
compiler-rt
cross-project-tests
flang
integration-test-suite
libc
libclc
libcxx
libcxxabi
libunwind
lld
lldb
llvm
llvm-libgcc
mlir
offload
openmp
polly
pstl
runtimes
third-party
utils
# build files
build-llvm
build-wasm
stamps
usage-*.svg*
# generated debian files
debian/*.debhelper.log
debian/*.dirs
debian/*.docs
debian/*.examples
debian/*.install
debian/*.links
debian/*.lintian-overrides
debian/*.oinfo.debhelper
debian/*.olist.debhelper
debian/*.manpages
debian/*.substvars
debian/.debhelper
debian/man
debian/tmp
debian/usr
debian/libclang1-19.symbols
debian/libllvm-19-ocaml-dev.META
debian/libomp5-19.symbols
debian/lldb-19.postinst
debian/llvm-19-runtime.binfmt
debian/llvm-19-runtime.binfmt.conf
debian/llvm-19-runtime.postinst
debian/llvm-19-runtime.prerm
debian/pollycc
# package directories
debian/bolt-19
debian/clang-19-doc
debian/clang-19-examples
debian/clang-19
debian/clang-format-19
debian/clang-tidy-19
debian/clang-tools-19
debian/clangd-19
debian/flang-19
debian/libbolt-19-dev
debian/libc++-19-dev-wasm32
debian/libc++-19-dev
debian/libc++1-19
debian/libc++abi-19-dev-wasm32
debian/libc++abi-19-dev
debian/libc++abi1-19
debian/libclang-19-dev
debian/libclang-common-19-dev
debian/libclang-cpp19-dev
debian/libclang-cpp19
debian/libclang-rt-19-dev-wasm32
debian/libclang-rt-19-dev-wasm64
debian/libclang-rt-19-dev
debian/libclang1-19
debian/libclc-19-dev
debian/libclc-19
debian/libflang-19-dev
debian/libfuzzer-19-dev
debian/liblld-19-dev
debian/liblld-19
debian/liblldb-19-dev
debian/liblldb-19
debian/libllvm-19-ocaml-dev
debian/libllvm19
debian/libllvmlibc-19-dev
debian/libmlir-19-dev
debian/libmlir-19
debian/libomp-19-dev
debian/libomp-19-doc
debian/libomp5-19
debian/libpolly-19-dev
debian/libunwind-19-dev
debian/libunwind-19
debian/lld-19
debian/lldb-19
debian/llvm-19-dev
debian/llvm-19-doc
debian/llvm-19-examples
debian/llvm-19-linker-tools
debian/llvm-19-runtime
debian/llvm-19-tools
debian/llvm-19
debian/mlir-19-tools
debian/python3-clang-19
debian/python3-lldb-19

689
debian/changelog vendored
View File

@ -1,40 +1,186 @@
llvm-toolchain-18 (1:18.1.8-12~bpo12+pve1) proxmox-rust; urgency=medium llvm-toolchain-19 (1:19.1.2-2) UNRELEASED; urgency=medium
* Rebuild for Debian Bookworm / Proxmox [ Samuel Thibault ]
* libclang-common-X.Y-dev.install.in: Don't try to install xray and profile
headers on hurd-any.
-- Proxmox Support Team <support@proxmox.com> Thu, 10 Oct 2024 14:55:15 +0200 [ Sylvestre Ledru ]
* Use the | hello trick for g++-multilib for s390x / Ubuntu Oracular
llvm-toolchain-18 (1:18.1.8-12) unstable; urgency=medium -- Sylvestre Ledru <sylvestre@debian.org> Mon, 21 Oct 2024 10:20:12 +0200
* Ensure that at least 1 CPU is used for build llvm-toolchain-19 (1:19.1.2-1) unstable; urgency=medium
Thanks to Santiago Vila for the patch
(Closes: #1082359) [ Samuel Thibault ]
* patches/hurd/hurd-f_type.diff: Fix hurd build against glibc ≥ 2.39.
* libomp-X.Y-dev.install.in: Don't try to ship ompd gdb plugin on
hurd-amd64 ; ship libomptarget.
* libomp5-X.Y.install.in: Ship libomptarget.
* libomp5-X.Y.symbols.in: Fix symbols on hurd-any.
* rules: Fix syntax on non-linux.
[ John Paul Adrian Glaubitz ]
* Don't try to install xray and profile headers on powerpc
[ Sylvestre Ledru ]
* New release
* Update Standards version to 4.7.0
-- Sylvestre Ledru <sylvestre@debian.org> Tue, 15 Oct 2024 15:11:47 +0200
llvm-toolchain-19 (1:19.1.1-1) unstable; urgency=medium
[ Sylvestre Ledru ]
* Don't enable intel-pt on Ubuntu Bionic * Don't enable intel-pt on Ubuntu Bionic
* Backport a miscompilation fix (Closes: #1082727) * Add disabled info in the build log
* Disable LLVM libc on bionic
* Fix the bootstrapping (Closes: #1082610) * Fix the bootstrapping (Closes: #1082610)
Thanks to Andrey Feofilaktov for the patch Thanks to Andrey Feofilaktov for the patch
* clang provides objc++-compiler (Closes: #1082744) * clang provides objc++-compiler (Closes: #1082744)
* Update Standards version to 4.7.0
-- Sylvestre Ledru <sylvestre@debian.org> Mon, 23 Sep 2024 13:23:31 +0200 [ Matthias Klose ]
* New upstream release
* Update watch file and add .git* files to exclude in the tarball.
llvm-toolchain-18 (1:18.1.8-11~bpo12+pve1) proxmox-rust; urgency=medium -- Matthias Klose <doko@debian.org> Wed, 02 Oct 2024 06:11:01 +0200
* Rebuild for Debian Bookworm / Proxmox llvm-toolchain-19 (1:19.1.0-4) unstable; urgency=medium
-- Proxmox Support Team <support@proxmox.com> Mon, 09 Sep 2024 14:53:07 +0200 [ Sylvestre Ledru ]
* Adjust the workaround for apt.llvm.org version upgrades
https://github.com/llvm/llvm-project/issues/109276
* Ensure that at least 1 CPU is used for build
Thanks to Santiago Vila for the patch
(Closes: #1082360)
llvm-toolchain-18 (1:18.1.8-11) unstable; urgency=medium [ Matthias Klose ]
* Don't relax versioned shlibs dependencies for snapshot builds and
prerelease versions.
* libllvm19: No symlinks in the llvm-19 subdir. Closes: #1081192, #1082495.
* Drop ocaml on armhf, ocamlopt disappeared making build ftbfs -- Matthias Klose <doko@debian.org> Sun, 22 Sep 2024 16:36:31 +0200
* Drop extra space in changelog
* Sync spirv architectures with sid builds
* Fix x32 build failure due to orc library not being installed
* Add back LLVM_EXPERIMENTAL_TARGETS_TO_BUILD to PASSTHROUGH variables, to help m68k
-- Gianfranco Costamagna <locutusofborg@debian.org> Mon, 09 Sep 2024 08:42:27 +0200 llvm-toolchain-19 (1:19.1.0-3) unstable; urgency=medium
llvm-toolchain-18 (1:18.1.8-10) unstable; urgency=medium * Fix typo in dh_makeshlibs calls.
-- Matthias Klose <doko@debian.org> Wed, 18 Sep 2024 17:26:29 +0200
llvm-toolchain-19 (1:19.1.0-2) unstable; urgency=medium
* Call dh_makeshlibs with the version of the first upstream
release (1:19.1.0). Looking back at the 1.18 release cycle,
these libraries didn't see any instability in the ABIs.
* debian/qualify-clang.sh: Fix typo.
-- Matthias Klose <doko@debian.org> Wed, 18 Sep 2024 10:29:19 +0200
llvm-toolchain-19 (1:19.1.0-1) unstable; urgency=medium
* New upstream release 19.1.0.
[ Matthias Klose ]
* debian/qualify-clang.sh: Skip llvmlibc test, if libllvmlibc-dev is not
available.
* Build-depend on llvm-spirv-19.
[ YunQiang Su ]
* also pass -mxgot in LDFLAGS.
* d/p/mips-mlir-xgot.diff: Pass -mxgot for mlir.
-- Matthias Klose <doko@debian.org> Tue, 17 Sep 2024 18:04:21 +0200
llvm-toolchain-19 (1:19.1.0~++rc4-5) unstable; urgency=medium
* Move the libLLVM.so.1 symlink into llvm-19-dev. Closes: #1081192.
-- Matthias Klose <doko@debian.org> Mon, 09 Sep 2024 11:20:16 +0200
llvm-toolchain-19 (1:19.1.0~++rc4-4) unstable; urgency=medium
[ Matthias Klose ]
* Consolidate disabling CMake's package validation checks a bit.
* debian/qualify-clang.sh: Skip OpenMP test, if libomp-dev is not available.
* Disable CMake's package validation check for libLLVM.so.1.
* Limit lldb autopkg test to the lldb architectures.
* Generate debian/tests/* files.
* Disable the usage-wrapper/memory tracking by default.
* Replace LLDB_DISABLE_ARCHS macro with LLDB_ARCHS macro.
* Remove unused kfreebsd patches, and remove references to kfreebsd and s390.
* Remove references to alpha, hppa, powerpcspe and sh4.
* Fix usage-wrapper build dependency.
[ Aurelien Jarno ]
* Enable lldb on riscv64.
* Enable lldb autopkgtest on riscv64.
-- Matthias Klose <doko@debian.org> Sun, 08 Sep 2024 17:36:43 +0200
llvm-toolchain-19 (1:19.1.0~++rc4-2) unstable; urgency=medium
* Disable z3 again for Ubuntu, and make the libz3-dev (build) dependency
conditional.
* Use -mxgot on mips64el.
* Disable tests on mips64el, they do timeout.
-- Matthias Klose <doko@debian.org> Wed, 04 Sep 2024 15:16:40 +0200
llvm-toolchain-19 (1:19.1.0~++rc4-1) unstable; urgency=medium
* New release candidate.
[ Matthias Klose ]
* Also explicitly link with -latomic on mips64el.
* Disable openmp on loong64 (ld: cannot find -lomptarget.rtl.host).
* Build without z3 on sh4 (ftbfs).
* Also configure with -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD="M68k;Xtensa".
* debian/tests/*: s/18/19/.
* debian/qualify-clang.sh: Don't check for libclang-cpp.so.$VERSION symlink.
* libllvm19: Restore the symlink /usr/lib/llvm-19/lib/libLLVM.so.1, apparently
CMake's LLVMExports.cmake requires it. But why?
[ Samuel Thibault ]
* Add hurd-amd64 support.
[ Sylvestre Ledru ]
* Remove the cmake dependency on libLibcTableGenUtil.a
see https://github.com/llvm/llvm-project/issues/99819
* New snapshot release
-- Matthias Klose <doko@debian.org> Tue, 03 Sep 2024 21:48:12 +0200
llvm-toolchain-19 (1:19.1.0~++rc3-2) unstable; urgency=medium
* Fix binary-indep build.
* Disable openmp on mips64el (ld: cannot find -lomptarget.rtl.host).
* Disable memory tracking on the Hurd and some ports architectures.
-- Matthias Klose <doko@debian.org> Sat, 31 Aug 2024 08:10:14 +0200
llvm-toolchain-19 (1:19.1.0~++rc3-1) unstable; urgency=medium
* Add a .gitignore file with all toplevel upstream files and directories.
* Add some memory tracking, getting some information on memory hogs.
* Don't require g++-multilib on s390x for newer Ubuntu releases.
* Factor-out ocaml architectures.
* Don't try to install xray and profile headers on armel and armhf.
* Disable ocaml on armhf, requires ocamlopt.
* Factor-out omp architectures.
* Disable openmp on riscv64 (ld: cannot find -lomptarget.rtl.host).
* Factor-out flang architectures.
* Disable flang on mips64el (currently not supported).
* Don't try to install hwasan_symbolize on x32.
* Don't try to install xray and profile headers on x32.
* Fix installation of the shared libllvm and libclang-cpp libraries
under their soname. Closes: #1072200.
* Drop some of the unnecessary libllvm symlinks.
* debian/orig-tar.sh: Don't include .git/.github metadata.
* debian/rules. Call again dh_ocaml. Closes: #1078234.
* debian/rules: Don't create a stamp for the override_dh_auto_install target.
-- Matthias Klose <doko@debian.org> Fri, 30 Aug 2024 19:32:59 +0200
llvm-toolchain-19 (1:19.1.0~++rc3-1~exp1) experimental; urgency=medium
[ Matthias Klose ] [ Matthias Klose ]
* ld.lld: When no package-metadata option is given, fall-back * ld.lld: When no package-metadata option is given, fall-back
@ -43,139 +189,21 @@ llvm-toolchain-18 (1:18.1.8-10) unstable; urgency=medium
[ Emanuele Rocca ] [ Emanuele Rocca ]
* Enable bolt on arm64, now supported upstream. * Enable bolt on arm64, now supported upstream.
[ Bo YU ]
* Backport two commits to fix riscv64 issue. (Closes: #1080435)
-- Sylvestre Ledru <sylvestre@debian.org> Sat, 07 Sep 2024 23:08:26 +0200
llvm-toolchain-18 (1:18.1.8-9) unstable; urgency=medium
[ Gianfranco Costamagna ]
* Mention in changelog also the SVE fixes from llvm-17
* Drop mips D154390 patch, already upstream
[ Sylvestre Ledru ] [ Sylvestre Ledru ]
* Really fix breaks/replaces (Closes: #1077587) * remove llvm-cgdata - see 9e90c40564e21dc5f1a12e08cfdf29305aaf9f50
* New snapshot release
-- Sylvestre Ledru <sylvestre@debian.org> Sat, 03 Aug 2024 20:07:17 +0200 -- Sylvestre Ledru <sylvestre@debian.org> Tue, 20 Aug 2024 19:52:02 +0200
llvm-toolchain-18 (1:18.1.8-8) unstable; urgency=medium llvm-toolchain-19 (1:19.1.0~++rc2-1~exp1) experimental; urgency=medium
[ Sylvestre Ledru ] * New testing release
* Fix breaks/replaces (Closes: #1077587)
[ Gianfranco Costamagna ] -- Sylvestre Ledru <sylvestre@debian.org> Mon, 05 Aug 2024 15:25:06 +0200
* Merge llvm-toolchain-17 1:17.0.6-13 into llvm-18 branch
- Make SVE types available in device targets (Closes: #1076578)
-- Sylvestre Ledru <sylvestre@debian.org> Tue, 30 Jul 2024 10:48:59 +0200 llvm-toolchain-19 (1:19.1.0~++20240724103243+7af27be6633a-1~exp1) experimental; urgency=medium
llvm-toolchain-18 (1:18.1.8-7) unstable; urgency=medium
* Unbreak the cmake tools
-- Sylvestre Ledru <sylvestre@debian.org> Sun, 28 Jul 2024 09:49:06 +0200
llvm-toolchain-18 (1:18.1.8-6) unstable; urgency=medium
* Make libllvm multi arch ready again ... (Closes: #1076131)
* bring back spirv
-- Sylvestre Ledru <sylvestre@debian.org> Fri, 26 Jul 2024 17:34:31 +0200
llvm-toolchain-18 (1:18.1.8-5) unstable; urgency=medium
* Fix the broken Breaks/replaces for apt.llvm.org
Closes: https://github.com/llvm/llvm-project/issues/99502
* Bring back libLLVM.so.18.1 as symlink library
(LP: #2073604)
* temporary disable spirv to unbreak the build
[ John Paul Adrian Glaubitz ] [ John Paul Adrian Glaubitz ]
* Make regexp to grep for LLVM_DEFAULT_TARGET_TRIPLE less ambigious
-- Sylvestre Ledru <sylvestre@debian.org> Wed, 24 Jul 2024 11:54:39 +0200
llvm-toolchain-18 (1:18.1.8-4) unstable; urgency=medium
* fix the symlinks after LLVM_ENABLE_PER_TARGET_RUNTIME_DIR=OFF
Probably caused
https://github.com/llvm/llvm-project/issues/99017
* Move back /usr/lib/llvm-18/lib/libLLVM-18.so.1 to libllvm18 (Closes: #1076469)
And add breaks/replaces to make sure the upgrade goes smoothly
[ Matthias Klose ]
* Construct the --package-metadata option just from ELF_PACKAGE_METADATA.
-- Sylvestre Ledru <sylvestre@debian.org> Tue, 16 Jul 2024 18:02:17 +0200
llvm-toolchain-18 (1:18.1.8-3) unstable; urgency=medium
[ Sylvestre Ledru ]
* Revert LLVM_ENABLE_PER_TARGET_RUNTIME_DIR=ON
9ca35f30383d89e4fdd45d15e0eb82c832df4b8c
For causing https://github.com/llvm/llvm-project/issues/96210
* Disable LLDB_BUILD_INTEL_PT on Ubuntu bionic
* Make libllvm co-installable again (Closes: #1076131)
-- Sylvestre Ledru <sylvestre@debian.org> Mon, 15 Jul 2024 09:49:47 +0200
llvm-toolchain-18 (1:18.1.8-2) unstable; urgency=medium
[ Matthias Klose ]
* Pass --package-metadata on distros with supporting linkers (starting
with Debian trixie and Ubuntu noble).
The package metadata is constructed from the environment variables
DEB_BUILD_OS_RELEASE_ID, DEB_SOURCE, DEB_VERSION and DEB_HOST_ARCH.
Setting NO_PKG_METADATA=1 disables the generation of the package metadata.
[ Sylvestre Ledru ]
* Try to unbreak powerpc & sparc64
-- Sylvestre Ledru <sylvestre@debian.org> Sun, 07 Jul 2024 22:01:17 +0200
llvm-toolchain-17 (1:17.0.6-13) unstable; urgency=medium
[ Emanuele Rocca ]
* Make SVE types available in device targets (Closes: #1076578)
[ Matthias Klose ]
* Pass --package-metadata on distros with supporting linkers (starting
with Debian trixie and Ubuntu noble).
The package metadata is constructed from the environment variables
DEB_BUILD_OS_RELEASE_ID, DEB_SOURCE, DEB_VERSION and DEB_HOST_ARCH.
Setting NO_PKG_METADATA=1 disables the generation of the package metadata.
-- Gianfranco Costamagna <locutusofborg@debian.org> Tue, 30 Jul 2024 09:15:47 +0200
llvm-toolchain-18 (1:18.1.8-2~exp2) experimental; urgency=medium
* Change the LLVM_HOST_TRIPLE option from i386-linux-gnu to
i386-pc-linux-gnu
and arm-linux-gnueabihf to arm-pc-linux-gnueabihf
Otherwise, it will fail with:
Cannot find builtins library for the target architecture
-- Sylvestre Ledru <sylvestre@debian.org> Sun, 07 Jul 2024 00:38:27 +0200
llvm-toolchain-18 (1:18.1.8-2~exp1) experimental; urgency=medium
[ Sylvestre Ledru ]
* Enable LLVM_ENABLE_PER_TARGET_RUNTIME_DIR
to move the libraries into multi archi directories
* Bring back libLLVM to be installed in /usr/lib/llvm-18/lib/libLLVM-18.so
instead of /usr/lib/llvm-18/lib/libLLVM.so
Same for libclang (remove usr/lib/llvm-18/lib/libclang.so.1
This should make the packages multiarch co installable again
(Closes: #1067699, #1067005)
(LP: #2063207)
* Introduce the new variable @DEB_HOST_MULTIARCH_LLVM@ in the build system
because the LLVM triple is different than Debian
x86_64-pc-linux-gnu instead of x86_64-linux-gnu
* autopkgtest: only run libllvmlibc test on supported archs
[ John Paul Adrian Glaubitz ]
* Don't install Gold plugin on sparc64
* Disable LLVM testsuite on x32 * Disable LLVM testsuite on x32
* Install liborc_rt-x86_64.a on x32 * Install liborc_rt-x86_64.a on x32
* Install hwasan_symbolize on x32 * Install hwasan_symbolize on x32
@ -183,146 +211,88 @@ llvm-toolchain-18 (1:18.1.8-2~exp1) experimental; urgency=medium
[ Norbert Lange ] [ Norbert Lange ]
* build lldb with Intel PT support on x86, amd64 * build lldb with Intel PT support on x86, amd64
[ Aurelien Jarno ] [ Sylvestre Ledru ]
* Enable lldb on riscv64. * Prepare upload to 19
* Adjust the clang-X-doc path after the change
[ Zixing Liu <zixing.liu@canonical.com> ] d7dd778cde84110e38521a6b55dfeb4e1c649ec2
* d/p/clang-record-gcc-switches-by-default.patch: add a patch to force clang * bring back clang-nvlink-wrapper
record gcc switches by default following upstream commit: 37d0568a6593adfe791c1327d99731050540e97a
* ship llvm-cgdata
[ Gianfranco Costamagna ]
* Rename check-libcxxabi in check-cxxabi.
* Rename check-libcxx in check-cxx
* Drop removed check-sanitizer (Closes: #1073201)
-- Sylvestre Ledru <sylvestre@debian.org> Mon, 01 Jul 2024 22:27:25 +0200
llvm-toolchain-18 (1:18.1.8-1) unstable; urgency=medium
* New upstream release
-- Sylvestre Ledru <sylvestre@debian.org> Fri, 21 Jun 2024 22:00:49 +0200
llvm-toolchain-18 (1:18.1.7-1) unstable; urgency=medium
* New upstream release
-- Sylvestre Ledru <sylvestre@debian.org> Fri, 14 Jun 2024 10:14:20 +0200
llvm-toolchain-18 (1:18.1.7~++20240605091817+7e6ece9b4f2d-1~exp1) UNRELEASED; urgency=medium
* experimental New snapshot release
-- Sylvestre Ledru <sylvestre@debian.org> Wed, 05 Jun 2024 09:18:34 +0200
llvm-toolchain-18 (1:18.1.6-1) unstable; urgency=medium
* New upstream release
* Don't install gold on mips64el armel loong64
* Unbreak autopkgtest
-- Sylvestre Ledru <sylvestre@debian.org> Sun, 19 May 2024 09:27:44 +0200
llvm-toolchain-18 (1:18.1.5-3) unstable; urgency=medium
* Do not try to install gold on riscv64 (Closes: #1070909)
Thanks to Aurelien Jarno for the fix
* Disable --as-needed on armel (Closes: #1070811)
-- Sylvestre Ledru <sylvestre@debian.org> Sun, 12 May 2024 09:03:09 +0200
llvm-toolchain-18 (1:18.1.5-2) unstable; urgency=medium
* Add oracular as supported release
-- Gianfranco Costamagna <locutusofborg@debian.org> Sat, 04 May 2024 07:32:59 +0200
llvm-toolchain-18 (1:18.1.5-1) unstable; urgency=medium
* New upstream release
* Be explicit with what ships in llvm-18-linker-tools
to make sure we always ships gold.
Will avoid issues like:
https://github.com/llvm/llvm-project/issues/87553
Might break the build on some Debian archs.
-- Sylvestre Ledru <sylvestre@debian.org> Fri, 03 May 2024 11:18:56 +0200
llvm-toolchain-18 (1:18.1.5~++20240430100627+f341c76b9461-1~exp1) UNRELEASED; urgency=medium
* experimental New snapshot release
-- Sylvestre Ledru <sylvestre@debian.org> Tue, 30 Apr 2024 10:06:39 +0200
llvm-toolchain-18 (1:18.1.4-1) unstable; urgency=medium
* New upstream release
-- Sylvestre Ledru <sylvestre@debian.org> Thu, 18 Apr 2024 11:45:22 +0200
llvm-toolchain-18 (1:18.1.3-1) unstable; urgency=medium
* New upstream release
* Only install mold when used
but disabled for now because of https://github.com/rui314/mold/issues/1224
-- Sylvestre Ledru <sylvestre@debian.org> Thu, 04 Apr 2024 07:57:13 +0200
llvm-toolchain-18 (1:18.1.2-1) unstable; urgency=medium
[ Matthias Klose ] [ Matthias Klose ]
* Pass --package-metadata on distros with supporting linkers (starting
with Debian trixie and Ubuntu noble).
The package metadata is constructed from the environment variables
ELF_PACKAGE_METADATA.
Setting NO_PKG_METADATA=1 disables the generation of the package metadata.
-- Sylvestre Ledru <sylvestre@debian.org> Sun, 28 Jul 2024 21:39:57 +0200
llvm-toolchain-snapshot (1:19~++20240529093513+2cfea14a57ad-1~exp1) experimental; urgency=medium
* experimental New snapshot release
* after upstream 330d8983d25d08580fc1642fea48b2473f47a9da
adjust the RUNTIMES build to include offload (was openmp/libomptarget)
* try to build with LLVM_LIBC_GPU_BUILD
* Move openmp from PROJECTS to RUNTIMES
Should fix:
https://github.com/llvm/llvm-project/issues/90707
* Also ship libc++.modules.json in libc++-19-dev-wasm32
* Install libLibcTableGenUtil and rpc files in llvmlibc
* Ship zos_wrappers/builtins.h in libclang-common-19-dev
* Disable openmp on i386 - wasn't officially supported
* Disable the cmake check for LibcTableGenUtil. Closes upstream issue #92359
* Ship usr/lib/llvm-@LLVM_VERSION@/lib/libCUF*.a in libflang
* Ship reduce-chunk-list in llvm
-- Sylvestre Ledru <sylvestre@debian.org> Wed, 29 May 2024 09:36:25 +0200
llvm-toolchain-snapshot (1:19~++20240421021844+e095d978ba47-1~exp1) experimental; urgency=medium
[ Matthias Klose ]
* Make libclang-common-19-dev architecture dependent.
* Add python3-pexpect in the build dep for lldb.
* Fix sanitizer build on 32bit time_t64 architectures.
* Refresh the 23-strlcpy_strlcat_warning_removed patch.
* Build-depend on llvm-spirv-18 instead of llvm-spirv-17. * Build-depend on llvm-spirv-18 instead of llvm-spirv-17.
* Add a stage1 profile to disable curl, grpc and spirv. * Add a stage1 profile to disable curl, grpc and spirv.
* Build with --as-needed.
[ Sylvestre Ledru ] [ Sylvestre Ledru ]
* New upstream release * New snapshot release
* Build using mold as a linker * Also install libMLIRExecutionEngineShared.so
* Remove lang-to-external-fc to match upstream change in
4841d70a4b7d7cd8c492c16a9da339ec75bca135
-- Sylvestre Ledru <sylvestre@debian.org> Fri, 22 Mar 2024 21:24:08 +0100 -- Sylvestre Ledru <sylvestre@debian.org> Sun, 21 Apr 2024 14:21:37 +0200
llvm-toolchain-18 (1:18.1.1-1) unstable; urgency=medium llvm-toolchain-snapshot (1:19~++20240304085905+c7fdd8c11e54-1~exp1) experimental; urgency=medium
[ Matthias Klose ]
* Fix sanitizer build on 32bit time_t64 architectures.
* Enable compiler-rt runtime again for 32bit time_t64 architectures.
* Revert: mark profile and xray include files as optional on armel and armhf.
[ Sylvestre Ledru ] [ Sylvestre Ledru ]
* Disable libc on bionic for apt.llvm.org * New snapshot release
* Try to address a link issue with libclang-cpp.so.18 (GH: #83986) * hwasan_symbolize is now built also on i386
* Update of the libomp symbols
* Also install usr/lib/llvm-19/lib/libLLVM.so.1
and usr/lib/llvm-19/lib/libLLVM.so.19.0
* Install clang-installapi as part of clang-tools
* Disable the install of libomp in sub arch
Following 1977404d20ab29ff78a58d8c0f1f4c5e7aef6b16
-- Sylvestre Ledru <sylvestre@debian.org> Fri, 08 Mar 2024 20:27:05 +0100 [ John Paul Adrian Glaubitz ]
* Install *clang_rt* on sparc and sparc64
* Run chrpath for libclang on sparc and sparc64
llvm-toolchain-18 (1:18.1.0-2) unstable; urgency=medium -- Sylvestre Ledru <sylvestre@debian.org> Mon, 04 Mar 2024 09:00:56 +0100
* Uncomment wrong removal of rm code from last upload. llvm-toolchain-snapshot (1:19~++20240125092523+41fe98a6e7e5-1~exp1) experimental; urgency=medium
- this should fix the current FTBFS
-- Gianfranco Costamagna <locutusofborg@debian.org> Wed, 06 Mar 2024 21:49:10 +0100 * branch of 19
* refresh libomp5 symbol list
* For the usage of -DLIBCXXABI_USE_LLVM_UNWINDER=OFF when we don't build unwind
https://github.com/llvm/llvm-project/issues/77846
* remove the unconditionally defined -DLIBUNWIND_USE_COMPILER_RT=ON
* Also pass -DLIBCXXABI_USE_LLVM_UNWINDER:BOOL=OFF to libcxx-wasm32-wasi builds
llvm-toolchain-18 (1:18.1.0-1) unstable; urgency=medium -- Sylvestre Ledru <sylvestre@debian.org> Thu, 25 Jan 2024 14:51:10 +0100
* New stable release
* Add a test to verify C++ modules tests
-- Sylvestre Ledru <sylvestre@debian.org> Wed, 06 Mar 2024 11:29:56 +0100
llvm-toolchain-18 (1:18.1.0~rc4-2) unstable; urgency=medium
[ Sylvestre Ledru ]
* Disable libllvmlibc-18-dev on armhf (Closes: #1065503)
* Adjust some symlinks with the rc4 changes
[ Matthias Klose ]
* Make libclang-common-18-dev architecture dependent, mark profile and xray
include files as optional on armel and armhf.
[ Gianfranco Costamagna ]
* Simplify rules file now that time64_t is default.
* Use mxgot on mips64el
* Disable tests on mips64el, they do timeout
-- Sylvestre Ledru <sylvestre@debian.org> Wed, 06 Mar 2024 09:21:57 +0100
llvm-toolchain-18 (1:18.1.0~rc4-1) unstable; urgency=medium llvm-toolchain-18 (1:18.1.0~rc4-1) unstable; urgency=medium
@ -336,6 +306,18 @@ llvm-toolchain-18 (1:18.1.0~rc4-1) unstable; urgency=medium
see https://discourse.llvm.org/t/libc-c-23-module-installation-support/77061/1 see https://discourse.llvm.org/t/libc-c-23-module-installation-support/77061/1
* Add a new package libllvmlibc-18-dev to ship LLVM libc (experimental for now) * Add a new package libllvmlibc-18-dev to ship LLVM libc (experimental for now)
(amd64, arm64 and armhf) (amd64, arm64 and armhf)
[ John Paul Adrian Glaubitz ]
* Install *clang_rt* on sparc and sparc64
* Run chrpath for libclang on sparc and sparc64
[ Sylvestre Ledru ]
* New snapshot release
* add -DLIBCXX_INSTALL_MODULES=ON to install libc++ C++-20 modules
see https://discourse.llvm.org/t/libc-c-23-module-installation-support/77061/1
* Add a new package libllvmlibc-18-dev to ship LLVM libc (experimental for now)
(amd64, arm64 and armhf)
* Also install usr/lib/llvm-19/lib/libLLVM.so.1
and usr/lib/llvm-19/lib/libLLVM.so.18.0
-- Sylvestre Ledru <sylvestre@debian.org> Wed, 28 Feb 2024 11:08:41 +0100 -- Sylvestre Ledru <sylvestre@debian.org> Wed, 28 Feb 2024 11:08:41 +0100
@ -344,6 +326,36 @@ llvm-toolchain-18 (1:18.1.0~rc2-4) unstable; urgency=medium
* Fix 32bit builds, exclude i386, don't build clang-rt there * Fix 32bit builds, exclude i386, don't build clang-rt there
* Revert gold linker on mips64el * Revert gold linker on mips64el
* Disable stack protector on mips64el * Disable stack protector on mips64el
[ John Paul Adrian Glaubitz ]
* Install *clang_rt* on sparc and sparc64
* Run chrpath for libclang on sparc and sparc64
[ Sylvestre Ledru ]
* add -DLIBCXX_INSTALL_MODULES=ON
see https://discourse.llvm.org/t/libc-c-23-module-installation-support/77061/1
Ship libc++-18-dev /usr/lib/llvm-18/lib/libc++.modules.json /usr/lib/llvm-18/include/c++/v1/std.compat.cppm
/usr/lib/llvm-18/include/c++/v1/std.cppm
[ John Paul Adrian Glaubitz ]
* Install *clang_rt* on sparc and sparc64
* Run chrpath for libclang on sparc and sparc64
[ Sylvestre Ledru ]
* add -DLIBCXX_INSTALL_MODULES=ON to install libc++ C++-20 modules
see https://discourse.llvm.org/t/libc-c-23-module-installation-support/77061/1
[ John Paul Adrian Glaubitz ]
* Install *clang_rt* on sparc and sparc64
* Run chrpath for libclang on sparc and sparc64
[ Sylvestre Ledru ]
* add -DLIBCXX_INSTALL_MODULES=ON to install libc++ C++-20 modules
see https://discourse.llvm.org/t/libc-c-23-module-installation-support/77061/1
* Add a new package libllvmlibc-18-dev to ship LLVM libc (experimental for now)
* Fix 32bit builds, exclude i386, don't build clang-rt there
* Revert gold linker on mips64el
* Disable stack protector on mips64el
* Fix 32bit builds, exclude i386, don't build clang-rt there
* Revert gold linker on mips64el
* Disable stack protector on mips64el
-- Gianfranco Costamagna <locutusofborg@debian.org> Thu, 22 Feb 2024 17:58:05 +0100 -- Gianfranco Costamagna <locutusofborg@debian.org> Thu, 22 Feb 2024 17:58:05 +0100
@ -372,7 +384,7 @@ llvm-toolchain-18 (1:18.1.0~rc2-1) unstable; urgency=medium
llvm-toolchain-18 (1:18.1.0~rc1-3) unstable; urgency=medium llvm-toolchain-18 (1:18.1.0~rc1-3) unstable; urgency=medium
* Fix previus upload, time64 is effective only in one specific place of * Fix previous upload, time64 is effective only in one specific place of
rules file rules file
* Fix some test using still clang-17 * Fix some test using still clang-17
* Switch testing to 18 line * Switch testing to 18 line
@ -409,12 +421,12 @@ llvm-toolchain-18 (1:18.1.0-rc1-1~exp1) experimental; urgency=medium
llvm-toolchain-18 (1:18.1.0~++20240126095841+0991d3c7b53d-1~exp1) experimental; urgency=medium llvm-toolchain-18 (1:18.1.0~++20240126095841+0991d3c7b53d-1~exp1) experimental; urgency=medium
* Branching of 18 * Branching of 18
note that it is normal that the versionning starts from 18.1 note that it is normal that the versioning starts from 18.1
See https://discourse.llvm.org/t/rfc-name-the-first-release-from-a-branch-n-1-0-instead-of-n-0-0/75384 See https://discourse.llvm.org/t/rfc-name-the-first-release-from-a-branch-n-1-0-instead-of-n-0-0/75384
* refresh libomp5 symbol list * refresh libomp5 symbol list
* For the usage of -DLIBCXXABI_USE_LLVM_UNWINDER=OFF when we don't build unwind * For the usage of -DLIBCXXABI_USE_LLVM_UNWINDER=OFF when we don't build unwind
https://github.com/llvm/llvm-project/issues/77846 https://github.com/llvm/llvm-project/issues/77846
* remove the unconditionnaly defined -DLIBUNWIND_USE_COMPILER_RT=ON * remove the unconditionally defined -DLIBUNWIND_USE_COMPILER_RT=ON
* Also pass -DLIBCXXABI_USE_LLVM_UNWINDER:BOOL=OFF to libcxx-wasm32-wasi builds * Also pass -DLIBCXXABI_USE_LLVM_UNWINDER:BOOL=OFF to libcxx-wasm32-wasi builds
-- Sylvestre Ledru <sylvestre@debian.org> Fri, 26 Jan 2024 09:44:56 +0100 -- Sylvestre Ledru <sylvestre@debian.org> Fri, 26 Jan 2024 09:44:56 +0100
@ -501,55 +513,7 @@ llvm-toolchain-snapshot (1:18~++20230725115106+b6847edfc235-1~exp1) experimental
-- Sylvestre Ledru <sylvestre@debian.org> Tue, 25 Jul 2023 23:52:42 +0200 -- Sylvestre Ledru <sylvestre@debian.org> Tue, 25 Jul 2023 23:52:42 +0200
llvm-toolchain-17 (1:17.0.6-12) unstable; urgency=medium llvm-toolchain-17 (1:17.0.6-6) UNRELEASED; urgency=medium
* Add oracular as supported release
-- Gianfranco Costamagna <locutusofborg@debian.org> Sat, 04 May 2024 07:30:47 +0200
llvm-toolchain-17 (1:17.0.6-11) unstable; urgency=medium
* Disable --as-needed on armel
* Pass LLVM_EXPERIMENTAL_TARGETS_TO_BUILD to stage 1 to (try to) build M68k
(Closes: #1067646)
-- Sylvestre Ledru <sylvestre@debian.org> Sun, 28 Apr 2024 18:00:09 +0200
llvm-toolchain-17 (1:17.0.6-10) unstable; urgency=medium
[ Matthias Klose ]
* Fix libomp symbols file for t64.
[ Sylvestre Ledru ]
* Allow build on machines without too many CPU
Thanks to Santiago Vila for the patch
(Closes: #1067714)
* Disable Loongson SIMD Extension (LSX) and Loongson
Advanced SIMD Extension (LASX) on 17 (Closes: #1068169)
-- Sylvestre Ledru <sylvestre@debian.org> Wed, 24 Apr 2024 12:22:47 +0200
llvm-toolchain-17 (1:17.0.6-9) unstable; urgency=medium
[ Gianfranco Costamagna ]
* Bump version to -9, the -8 is already used in Ubuntu
[ Matthias Klose ]
* Make libclang-common-17-dev architecture dependent.
* Fix sanitizer build on 32bit time_t64 architectures.
* Enable compiler-rt runtime again for 32bit time_t64 architectures.
* Add a stage1 profile to disable curl, grpc and spirv.
* Build with --as-needed.
-- Matthias Klose <doko@debian.org> Fri, 08 Mar 2024 14:52:29 +0100
llvm-toolchain-17 (1:17.0.6-7) unstable; urgency=medium
* Fix mxgot export on mips64el
-- Gianfranco Costamagna <locutusofborg@debian.org> Mon, 04 Mar 2024 16:09:18 +0100
llvm-toolchain-17 (1:17.0.6-6) unstable; urgency=medium
[ chenli ] [ chenli ]
* Enable flang on loong64 * Enable flang on loong64
@ -557,13 +521,6 @@ llvm-toolchain-17 (1:17.0.6-6) unstable; urgency=medium
[ Sylvestre Ledru ] [ Sylvestre Ledru ]
* try to enable sccache on 'my' s390x machines * try to enable sccache on 'my' s390x machines
[ Steve Langasek ]
* Rename libraries for 64-bit time_t transition.
[ Gianfranco Costamagna ]
* Fix 32bit builds
* Export mxgot on mips64el
-- Sylvestre Ledru <sylvestre@debian.org> Wed, 24 Jan 2024 13:29:35 +0100 -- Sylvestre Ledru <sylvestre@debian.org> Wed, 24 Jan 2024 13:29:35 +0100
llvm-toolchain-17 (1:17.0.6-5) unstable; urgency=medium llvm-toolchain-17 (1:17.0.6-5) unstable; urgency=medium
@ -818,74 +775,6 @@ llvm-toolchain-snapshot (1:17~++20230128060150+75153adeda1a-1~exp1) experimental
-- Sylvestre Ledru <sylvestre@debian.org> Sat, 28 Jan 2023 18:07:40 +0100 -- Sylvestre Ledru <sylvestre@debian.org> Sat, 28 Jan 2023 18:07:40 +0100
llvm-toolchain-16 (1:16.0.6-26) unstable; urgency=medium
* Disable --as-needed on armel
-- Sylvestre Ledru <sylvestre@debian.org> Sat, 27 Apr 2024 01:12:00 +0200
llvm-toolchain-16 (1:16.0.6-25) unstable; urgency=medium
* Fix libomp symbols file for t64.
-- Matthias Klose <doko@debian.org> Sun, 14 Apr 2024 11:55:50 +0200
llvm-toolchain-16 (1:16.0.6-24) unstable; urgency=medium
[ Matthias Klose ]
* Add a stage1 profile to disable curl, grpc and spirv.
* Build with --as-needed.
* ASan: move allocator base to avoid conflict with high-entropy ASLR
for x86-64 Linux. Patch taken from LLVM 17.
-- Matthias Klose <doko@debian.org> Sat, 16 Mar 2024 22:12:22 +0100
llvm-toolchain-16 (1:16.0.6-23) unstable; urgency=medium
[ Matthias Klose ]
* Fix sanitizer build on 32bit time_t64 architectures.
-- Gianfranco Costamagna <locutusofborg@debian.org> Mon, 11 Mar 2024 22:48:48 +0100
llvm-toolchain-16 (1:16.0.6-22) unstable; urgency=medium
[ Gianfranco Costamagna ]
* Disable tests on mips64el
[ Matthias Klose ]
* Fix sanitizer build on 32bit time_t64 architectures.
-- Gianfranco Costamagna <locutusofborg@debian.org> Wed, 06 Mar 2024 08:38:53 +0100
llvm-toolchain-16 (1:16.0.6-21) unstable; urgency=medium
[ Steve Langasek ]
* Rename libraries for 64-bit time_t transition.
[ Gianfranco Costamagna ]
* Fix 32bit builds
-- Gianfranco Costamagna <locutusofborg@debian.org> Sun, 03 Mar 2024 12:02:57 +0100
llvm-toolchain-16 (1:16.0.6-20) unstable; urgency=medium
[ John Paul Adrian Glaubitz ]
* Don't install *clang_rt* on sparc and sparc64
[ Matthias Klose ]
* Remove unused import of imp module in scan-view, removed in Python 3.12.
-- John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> Sat, 24 Feb 2024 08:54:59 +0100
llvm-toolchain-16 (1:16.0.6-19) unstable; urgency=medium
* Revert my ugly fix for 1052002.
[ Faidon Liambotis ]
* Improve the fix for the bug 1052002.
-- Sylvestre Ledru <sylvestre@debian.org> Thu, 23 Nov 2023 16:27:52 +0100
llvm-toolchain-16 (1:16.0.6-18) unstable; urgency=medium llvm-toolchain-16 (1:16.0.6-18) unstable; urgency=medium
[ Gianfranco Costamagna ] [ Gianfranco Costamagna ]
@ -928,7 +817,7 @@ llvm-toolchain-16 (1:16.0.6-16) unstable; urgency=medium
[ Gianfranco Costamagna ] [ Gianfranco Costamagna ]
* Make libclang-common-16-dev arch:any (Closes: #1041455) * Make libclang-common-16-dev arch:any (Closes: #1041455)
It was arch:all because all the code isn't arch dependant It was arch:all because all the code isn't arch dependent
However, it causes issues for cross build. However, it causes issues for cross build.
So, back to any and libclang-common-@LLVM_VERSION@-dev (= ${binary:Version}) So, back to any and libclang-common-@LLVM_VERSION@-dev (= ${binary:Version})
instead of source instead of source
@ -7185,7 +7074,7 @@ llvm-toolchain-3.4 (1:3.4~+rc3-1) unstable; urgency=low
llvm-toolchain-3.4 (1:3.4~+rc2-3) unstable; urgency=low llvm-toolchain-3.4 (1:3.4~+rc2-3) unstable; urgency=low
* Fix the bad declaration on the lldb desactivation * Fix the bad declaration on the lldb deactivation
* Also disable lldb under powerpc * Also disable lldb under powerpc
* Hopefully, fix lldb under Kfreebsd-* (thanks to Ed Maste if it works) * Hopefully, fix lldb under Kfreebsd-* (thanks to Ed Maste if it works)

View File

@ -1,3 +1,3 @@
usr/lib/llvm-@LLVM_VERSION@/share/clang/clang-doc-default-stylesheet.css usr/lib/llvm-@LLVM_VERSION@/share/clang-doc/clang-doc-default-stylesheet.css
usr/lib/llvm-@LLVM_VERSION@/share/clang/index.js usr/lib/llvm-@LLVM_VERSION@/share/clang-doc/index.js

View File

@ -38,6 +38,8 @@ usr/lib/llvm-@LLVM_VERSION@/bin/clang-tblgen
usr/lib/llvm-@LLVM_VERSION@/bin/clang-include-cleaner usr/lib/llvm-@LLVM_VERSION@/bin/clang-include-cleaner
usr/lib/llvm-@LLVM_VERSION@/bin/amdgpu-arch usr/lib/llvm-@LLVM_VERSION@/bin/amdgpu-arch
usr/lib/llvm-@LLVM_VERSION@/bin/nvptx-arch usr/lib/llvm-@LLVM_VERSION@/bin/nvptx-arch
usr/lib/llvm-@LLVM_VERSION@/bin/clang-installapi
usr/lib/llvm-@LLVM_VERSION@/bin/clang-nvlink-wrapper
usr/lib/llvm-@LLVM_VERSION@/bin/analyze-build usr/lib/llvm-@LLVM_VERSION@/bin/analyze-build
usr/lib/llvm-@LLVM_VERSION@/bin/intercept-build usr/lib/llvm-@LLVM_VERSION@/bin/intercept-build
@ -62,7 +64,7 @@ usr/lib/llvm-@LLVM_VERSION@/libexec/intercept-c++
usr/lib/llvm-@LLVM_VERSION@/libexec/intercept-cc usr/lib/llvm-@LLVM_VERSION@/libexec/intercept-cc
# See compiler-rt/cmake/Modules/AllSupportedArchDefs.cmake / HWASAN_SUPPORTED_ARCH # See compiler-rt/cmake/Modules/AllSupportedArchDefs.cmake / HWASAN_SUPPORTED_ARCH
[amd64 arm64 riscv64 i386 x32] usr/lib/llvm-@LLVM_VERSION@/lib/clang/@LLVM_VERSION@/bin/hwasan_symbolize [amd64 arm64 riscv64 i386] usr/lib/llvm-@LLVM_VERSION@/lib/clang/@LLVM_VERSION@/bin/hwasan_symbolize
clang/tools/scan-build-@LLVM_VERSION@ usr/share/clang/ clang/tools/scan-build-@LLVM_VERSION@ usr/share/clang/
clang/tools/scan-view-@LLVM_VERSION@ usr/share/clang/ clang/tools/scan-view-@LLVM_VERSION@ usr/share/clang/
@ -105,3 +107,5 @@ usr/bin/clang-tblgen-@LLVM_VERSION@
usr/bin/clang-include-cleaner-@LLVM_VERSION@ usr/bin/clang-include-cleaner-@LLVM_VERSION@
usr/bin/amdgpu-arch-@LLVM_VERSION@ usr/bin/amdgpu-arch-@LLVM_VERSION@
usr/bin/nvptx-arch-@LLVM_VERSION@ usr/bin/nvptx-arch-@LLVM_VERSION@
usr/bin/clang-installapi-@LLVM_VERSION@
usr/bin/clang-nvlink-wrapper-@LLVM_VERSION@

274
debian/control vendored
View File

@ -1,4 +1,4 @@
Source: llvm-toolchain-18 Source: llvm-toolchain-19
Section: devel Section: devel
Priority: optional Priority: optional
Rules-Requires-Root: no Rules-Requires-Root: no
@ -16,18 +16,18 @@ Build-Depends: debhelper (>= 10.0), cmake, ninja-build,
libipt-dev [amd64 i386], libipt-dev [amd64 i386],
lcov, procps, help2man, lcov, procps, help2man,
zlib1g-dev, libzstd-dev, zlib1g-dev, libzstd-dev,
g++-multilib [amd64 i386 kfreebsd-amd64 mips64 mips64el mipsel powerpc ppc64 sparc sparc64 x32], g++-multilib [amd64 i386 mips64 mips64el mipsel powerpc ppc64 s390x sparc sparc64 x32] | hello,
libjs-mathjax, python3-myst-parser | python3-recommonmark, libjs-mathjax, python3-myst-parser | python3-recommonmark, python3-pexpect,
doxygen, doxygen, time,
ocaml-base [amd64 arm64 ppc64el riscv64 s390x] | ocaml-nox [amd64 arm64 ppc64el riscv64 s390x], ocaml-base [amd64 arm64 ppc64el riscv64 s390x] | ocaml-nox [amd64 arm64 ppc64el riscv64 s390x],
ocaml-findlib [amd64 arm64 ppc64el riscv64 s390x], ocaml-findlib [amd64 arm64 ppc64el riscv64 s390x],
libctypes-ocaml-dev [amd64 arm64 ppc64el riscv64 s390x], libctypes-ocaml-dev [amd64 arm64 ppc64el riscv64 s390x],
dh-exec, dh-ocaml [amd64 arm64 ppc64el riscv64 s390x], dh-exec, dh-ocaml [amd64 arm64 ppc64el riscv64 s390x],
libpfm4-dev [linux-any], python3-setuptools, libz3-dev, libpfm4-dev [linux-any], python3-setuptools, libz3-dev [!sh4],
# "| hello" is for older buster/bionic distros without spirv support # "| hello" is for older buster/bionic distros without spirv support
# We need to keep the constraints coherent between the two alternatives, otherwise # We need to keep the constraints coherent between the two alternatives, otherwise
# hello would get installed unexpectedly and prevent e.g. wasi-libc from getting pulled # hello would get installed unexpectedly and prevent e.g. wasi-libc from getting pulled
llvm-spirv-18 [amd64 arm64 armhf i386 ppc64el mips64el riscv64 s390x ppc64 hurd-i386 loong64 sparc64 x32] <!stage1> | hello [amd64 arm64 armhf i386 ppc64el mips64el riscv64 s390x ppc64 hurd-i386 loong64 sparc64 x32] <!stage1>, llvm-spirv-19 [amd64 arm64 armhf i386 ppc64 ppc64el riscv64 s390x] <!stage1> | hello [amd64 arm64 armhf i386 ppc64 ppc64el riscv64 s390x] <!stage1>,
spirv-tools [linux-any] <!stage1> | hello [linux-any] <!stage1>, spirv-tools [linux-any] <!stage1> | hello [linux-any] <!stage1>,
wasi-libc | hello, wasi-libc | hello,
libcurl4-openssl-dev <!stage1> | libcurl-dev <!stage1>, libcurl4-openssl-dev <!stage1> | libcurl-dev <!stage1>,
@ -38,23 +38,23 @@ Build-Depends: debhelper (>= 10.0), cmake, ninja-build,
Build-Conflicts: oprofile Build-Conflicts: oprofile
Standards-Version: 4.7.0 Standards-Version: 4.7.0
Homepage: https://www.llvm.org/ Homepage: https://www.llvm.org/
Vcs-Git: https://salsa.debian.org/pkg-llvm-team/llvm-toolchain.git -b 18 Vcs-Git: https://salsa.debian.org/pkg-llvm-team/llvm-toolchain.git -b 19
Vcs-Browser: https://salsa.debian.org/pkg-llvm-team/llvm-toolchain/tree/18 Vcs-Browser: https://salsa.debian.org/pkg-llvm-team/llvm-toolchain/tree/19
# ------------- clang ------------- # ------------- clang -------------
Package: clang-18 Package: clang-19
Architecture: any Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, ${dep:devlibs}, Depends: ${shlibs:Depends}, ${misc:Depends}, ${dep:devlibs},
${dep:devlibs-objc}, ${dep:devlibs-objc},
libllvm18 (= ${binary:Version}), libllvm19 (= ${binary:Version}),
libclang-common-18-dev (= ${binary:Version}), libclang-common-19-dev (= ${binary:Version}),
llvm-18-linker-tools (= ${binary:Version}), llvm-19-linker-tools (= ${binary:Version}),
libclang1-18 (= ${binary:Version}), libc6-dev, binutils libclang1-19 (= ${binary:Version}), libc6-dev, binutils
Provides: c-compiler, objc-compiler, c++-compiler, objc++-compiler Provides: c-compiler, objc-compiler, c++-compiler, objc++-compiler
Recommends: llvm-18-dev, python3 Recommends: llvm-19-dev, python3
# libomp-18-dev # libomp-19-dev
Suggests: clang-18-doc, wasi-libc Suggests: clang-19-doc, wasi-libc
Description: C, C++ and Objective-C compiler Description: C, C++ and Objective-C compiler
Clang project is a C, C++, Objective C and Objective C++ front-end Clang project is a C, C++, Objective C and Objective C++ front-end
based on the LLVM compiler. Its goal is to offer a replacement to the based on the LLVM compiler. Its goal is to offer a replacement to the
@ -63,9 +63,9 @@ Description: C, C++ and Objective-C compiler
Clang implements all of the ISO C++ 1998, 11, 14 and 17 standards and also Clang implements all of the ISO C++ 1998, 11, 14 and 17 standards and also
provides most of the support of C++20. provides most of the support of C++20.
Package: clang-tools-18 Package: clang-tools-19
Architecture: any Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, clang-18 (= ${binary:Version}), Depends: ${shlibs:Depends}, ${misc:Depends}, clang-19 (= ${binary:Version}),
python3 python3
Description: clang-based tools for C/C++ developments Description: clang-based tools for C/C++ developments
Clang project is a C, C++, Objective C and Objective C++ front-end Clang project is a C, C++, Objective C and Objective C++ front-end
@ -77,10 +77,10 @@ Description: clang-based tools for C/C++ developments
. .
This package contains some clang-based tools like scan-build, clang-cl, etc. This package contains some clang-based tools like scan-build, clang-cl, etc.
Package: clang-format-18 Package: clang-format-19
Architecture: any Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, python3, Depends: ${shlibs:Depends}, ${misc:Depends}, python3,
libllvm18 (= ${binary:Version}) libllvm19 (= ${binary:Version})
Description: Tool to format C/C++/Obj-C code Description: Tool to format C/C++/Obj-C code
Clang-format is both a library and a stand-alone tool with the goal of Clang-format is both a library and a stand-alone tool with the goal of
automatically reformatting C++ sources files according to configurable automatically reformatting C++ sources files according to configurable
@ -93,23 +93,23 @@ Description: Tool to format C/C++/Obj-C code
. .
This package also provides vim and emacs plugins. This package also provides vim and emacs plugins.
Package: clang-tidy-18 Package: clang-tidy-19
Architecture: any Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, python3, Depends: ${shlibs:Depends}, ${misc:Depends}, python3,
libllvm18 (= ${binary:Version}), libllvm19 (= ${binary:Version}),
libclang-common-18-dev (= ${binary:Version}), libclang-common-19-dev (= ${binary:Version}),
clang-tools-18, python3-yaml clang-tools-19, python3-yaml
Description: clang-based C++ linter tool Description: clang-based C++ linter tool
Provide an extensible framework for diagnosing and fixing typical programming Provide an extensible framework for diagnosing and fixing typical programming
errors, like style violations, interface misuse, or bugs that can be deduced errors, like style violations, interface misuse, or bugs that can be deduced
via static analysis. clang-tidy is modular and provides a convenient interface via static analysis. clang-tidy is modular and provides a convenient interface
for writing new checks. for writing new checks.
Package: clangd-18 Package: clangd-19
Architecture: any Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, Depends: ${shlibs:Depends}, ${misc:Depends},
libllvm18 (= ${binary:Version}), libllvm19 (= ${binary:Version}),
libclang-common-18-dev (= ${binary:Version}), libclang-common-19-dev (= ${binary:Version}),
Description: Language server that provides IDE-like features to editors Description: Language server that provides IDE-like features to editors
clangd understands your C++ code and adds smart features to your editor: clangd understands your C++ code and adds smart features to your editor:
- code completion - code completion
@ -120,7 +120,7 @@ Description: Language server that provides IDE-like features to editors
clangd is a language server that implements the Language Server Protocol; clangd is a language server that implements the Language Server Protocol;
it can work with many editors through a plugin. it can work with many editors through a plugin.
Package: clang-18-doc Package: clang-19-doc
Architecture: all Architecture: all
Multi-Arch: foreign Multi-Arch: foreign
Section: doc Section: doc
@ -135,7 +135,7 @@ Description: C, C++ and Objective-C compiler - Documentation
. .
This package contains the documentation. This package contains the documentation.
Package: libclang1-18 Package: libclang1-19
Provides: ${t64:Provides} Provides: ${t64:Provides}
Section: libs Section: libs
Architecture: any Architecture: any
@ -157,12 +157,12 @@ Description: C interface to the Clang library
locations with elements within the AST, and other facilities that support locations with elements within the AST, and other facilities that support
Clang-based development tools. Clang-based development tools.
Package: libclang-18-dev Package: libclang-19-dev
Architecture: any Architecture: any
Section: libdevel Section: libdevel
Depends: ${shlibs:Depends}, ${misc:Depends}, ${dep:devlibs}, Depends: ${shlibs:Depends}, ${misc:Depends}, ${dep:devlibs},
${dep:devlibs-objc}, libclang1-18 (= ${binary:Version}), ${dep:devlibs-objc}, libclang1-19 (= ${binary:Version}),
libclang-common-18-dev (= ${binary:Version}) libclang-common-19-dev (= ${binary:Version})
Description: Clang library - Development package Description: Clang library - Development package
Clang project is a C, C++, Objective C and Objective C++ front-end Clang project is a C, C++, Objective C and Objective C++ front-end
based on the LLVM compiler. Its goal is to offer a replacement to the based on the LLVM compiler. Its goal is to offer a replacement to the
@ -172,14 +172,14 @@ Description: Clang library - Development package
provides most of the support of C++20. provides most of the support of C++20.
. .
This package contains the Clang headers to develop extensions over This package contains the Clang headers to develop extensions over
libclang1-18. libclang1-19.
Package: libclang-common-18-dev Package: libclang-common-19-dev
Architecture: any Architecture: any
Multi-Arch: same Multi-Arch: same
Section: libdevel Section: libdevel
Depends: ${shlibs:Depends}, ${misc:Depends}, Depends: ${shlibs:Depends}, ${misc:Depends},
Recommends: libclang-rt-18-dev Recommends: libclang-rt-19-dev
Description: Clang library - Common development package Description: Clang library - Common development package
Clang project is a C, C++, Objective C and Objective C++ front-end Clang project is a C, C++, Objective C and Objective C++ front-end
based on the LLVM compiler. Its goal is to offer a replacement to the based on the LLVM compiler. Its goal is to offer a replacement to the
@ -192,7 +192,7 @@ Description: Clang library - Common development package
# ------------- compiler-rt ------------- # ------------- compiler-rt -------------
Package: libclang-rt-18-dev Package: libclang-rt-19-dev
Architecture: any Architecture: any
Multi-Arch: same Multi-Arch: same
Section: libdevel Section: libdevel
@ -208,7 +208,7 @@ Description: Compiler-rt - development package
DataFlowSanitizer, etc DataFlowSanitizer, etc
* profile - Library which is used to collect coverage information. * profile - Library which is used to collect coverage information.
Package: libclang-rt-18-dev-wasm32 Package: libclang-rt-19-dev-wasm32
Architecture: all Architecture: all
Multi-Arch: foreign Multi-Arch: foreign
Section: libdevel Section: libdevel
@ -216,7 +216,7 @@ Depends: ${shlibs:Depends}, ${misc:Depends}
Description: Compiler-rt - wasm32 builtins Description: Compiler-rt - wasm32 builtins
Provides the compiler-rt builtins for WebAssembly 32 bits Provides the compiler-rt builtins for WebAssembly 32 bits
Package: libclang-rt-18-dev-wasm64 Package: libclang-rt-19-dev-wasm64
Architecture: all Architecture: all
Multi-Arch: foreign Multi-Arch: foreign
Section: libdevel Section: libdevel
@ -226,7 +226,7 @@ Description: Compiler-rt - wasm64 builtins
# ------------- polly ------------- # ------------- polly -------------
Package: libpolly-18-dev Package: libpolly-19-dev
Architecture: any Architecture: any
Multi-Arch: same Multi-Arch: same
Section: libdevel Section: libdevel
@ -237,11 +237,11 @@ Description: High-level loop and data-locality optimizer
# ------------- clang libraries ------------- # ------------- clang libraries -------------
Package: libclang-cpp18 Package: libclang-cpp19
Provides: ${t64:Provides} Provides: ${t64:Provides}
Section: libs Section: libs
Architecture: any Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, libllvm18 (= ${binary:Version}) Depends: ${shlibs:Depends}, ${misc:Depends}, libllvm19 (= ${binary:Version})
Pre-Depends: ${misc:Pre-Depends} Pre-Depends: ${misc:Pre-Depends}
Description: C++ interface to the Clang library Description: C++ interface to the Clang library
Clang project is a C, C++, Objective C and Objective C++ front-end Clang project is a C, C++, Objective C and Objective C++ front-end
@ -259,12 +259,12 @@ Description: C++ interface to the Clang library
locations with elements within the AST, and other facilities that support locations with elements within the AST, and other facilities that support
Clang-based development tools. Clang-based development tools.
Package: libclang-cpp18-dev Package: libclang-cpp19-dev
Architecture: any Architecture: any
Section: libdevel Section: libdevel
Depends: ${shlibs:Depends}, ${misc:Depends}, ${dep:devlibs}, Depends: ${shlibs:Depends}, ${misc:Depends}, ${dep:devlibs},
libclang-cpp18 (= ${binary:Version}) libclang-cpp19 (= ${binary:Version})
# Move of libclang-cpp.so into libclang-cpp18.dev # Move of libclang-cpp.so into libclang-cpp19.dev
Description: C++ interface to the Clang library Description: C++ interface to the Clang library
Clang project is a C, C++, Objective C and Objective C++ front-end Clang project is a C, C++, Objective C and Objective C++ front-end
based on the LLVM compiler. Its goal is to offer a replacement to the based on the LLVM compiler. Its goal is to offer a replacement to the
@ -285,10 +285,10 @@ Description: C++ interface to the Clang library
linker at build time. linker at build time.
Package: libfuzzer-18-dev Package: libfuzzer-19-dev
Architecture: linux-any Architecture: linux-any
Section: libdevel Section: libdevel
Depends: ${shlibs:Depends}, ${misc:Depends}, clang-18 (= ${binary:Version}) Depends: ${shlibs:Depends}, ${misc:Depends}, clang-19 (= ${binary:Version})
Description: Library for coverage-guided fuzz testing Description: Library for coverage-guided fuzz testing
LibFuzzer is a library for in-process, coverage-guided, evolutionary fuzzing LibFuzzer is a library for in-process, coverage-guided, evolutionary fuzzing
of other libraries. of other libraries.
@ -306,10 +306,10 @@ Description: Library for coverage-guided fuzz testing
instrumentation. instrumentation.
Package: python3-clang-18 Package: python3-clang-19
Section: python Section: python
Architecture: any Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, python3, libclang-18-dev Depends: ${shlibs:Depends}, ${misc:Depends}, python3, libclang-19-dev
Replaces: python-clang-x.y, Replaces: python-clang-x.y,
Conflicts: python-clang-x.y Conflicts: python-clang-x.y
Provides: python-clang-x.y Provides: python-clang-x.y
@ -323,7 +323,7 @@ Description: Clang Python Bindings
. .
This binding package provides access to the Clang compiler and libraries. This binding package provides access to the Clang compiler and libraries.
Package: clang-18-examples Package: clang-19-examples
Architecture: all Architecture: all
Multi-Arch: foreign Multi-Arch: foreign
Section: doc Section: doc
@ -340,15 +340,15 @@ Description: Clang examples
# ------------- LLVM ------------- # ------------- LLVM -------------
Package: libllvm18 Package: libllvm19
Provides: ${t64:Provides} Provides: ${t64:Provides}
Architecture: any Architecture: any
Section: libs Section: libs
Depends: ${shlibs:Depends}, ${misc:Depends} Depends: ${shlibs:Depends}, ${misc:Depends}
Pre-Depends: ${misc:Pre-Depends} Pre-Depends: ${misc:Pre-Depends}
Multi-Arch: same Multi-Arch: same
Breaks: llvm-18-dev (<< 1:18.1.8-8) Breaks: llvm-19-dev (<< 1:19.1.0~++rc3-1~exp2)
Replaces: llvm-18-dev (<< 1:18.1.8-8) Replaces: llvm-19-dev (<< 1:19.1.0~++rc3-1~exp2)
Description: Modular compiler and toolchain technologies, runtime library Description: Modular compiler and toolchain technologies, runtime library
LLVM is a collection of libraries and tools that make it easy to build LLVM is a collection of libraries and tools that make it easy to build
compilers, optimizers, just-in-time code generators, and many other compilers, optimizers, just-in-time code generators, and many other
@ -356,7 +356,7 @@ Description: Modular compiler and toolchain technologies, runtime library
. .
This package contains the LLVM runtime library. This package contains the LLVM runtime library.
Package: llvm-18-linker-tools Package: llvm-19-linker-tools
Architecture: any Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends} Depends: ${shlibs:Depends}, ${misc:Depends}
Description: Modular compiler and toolchain technologies - Plugins Description: Modular compiler and toolchain technologies - Plugins
@ -366,13 +366,13 @@ Description: Modular compiler and toolchain technologies - Plugins
. .
This package contains the LLVMgold and LLVMPolly linker plugins. This package contains the LLVMgold and LLVMPolly linker plugins.
Package: llvm-18 Package: llvm-19
Architecture: any Architecture: any
Suggests: llvm-18-doc Suggests: llvm-19-doc
Depends: llvm-18-runtime (= ${binary:Version}), Depends: llvm-19-runtime (= ${binary:Version}),
llvm-18-linker-tools (= ${binary:Version}), llvm-19-linker-tools (= ${binary:Version}),
${shlibs:Depends}, ${misc:Depends} ${shlibs:Depends}, ${misc:Depends}
Recommends: llvm-18-dev Recommends: llvm-19-dev
Description: Modular compiler and toolchain technologies Description: Modular compiler and toolchain technologies
LLVM is a collection of libraries and tools that make it easy to build LLVM is a collection of libraries and tools that make it easy to build
compilers, optimizers, just-in-time code generators, and many other compilers, optimizers, just-in-time code generators, and many other
@ -396,7 +396,7 @@ Description: Modular compiler and toolchain technologies
a young scheme front-end, and Java support is in development. LLVM can a young scheme front-end, and Java support is in development. LLVM can
generate code for X96, SparcV10, PowerPC or many other architectures. generate code for X96, SparcV10, PowerPC or many other architectures.
Package: llvm-18-runtime Package: llvm-19-runtime
Architecture: any Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends} Depends: ${shlibs:Depends}, ${misc:Depends}
Recommends: binfmt-support | systemd Recommends: binfmt-support | systemd
@ -416,14 +416,14 @@ Description: Modular compiler and toolchain technologies, IR interpreter
This package provides the minimal required to execute programs in LLVM This package provides the minimal required to execute programs in LLVM
format. format.
Package: llvm-18-dev Package: llvm-19-dev
Architecture: any Architecture: any
Depends: ${shlibs:Depends}, libffi-dev, ${misc:Depends}, Depends: ${shlibs:Depends}, libffi-dev, ${misc:Depends},
llvm-18 (= ${binary:Version}), libllvm18 (= ${binary:Version}), libncurses-dev, llvm-19 (= ${binary:Version}), libllvm19 (= ${binary:Version}), libncurses-dev,
llvm-18-tools (= ${binary:Version}), libclang-cpp18 (= ${binary:Version}), llvm-19-tools (= ${binary:Version}), libclang-cpp19 (= ${binary:Version}),
libz3-dev, libxml2-dev libxml2-dev, libz3-dev [!sh4],
Breaks: libllvm18 (<< 1:18.1.8-9) Breaks: libllvm19 (<< 1:19.1.0-4)
Replaces: libllvm18 (<< 1:18.1.8-9) Replaces: libllvm19 (<< 1:19.1.0-4)
Description: Modular compiler and toolchain technologies, libraries and headers Description: Modular compiler and toolchain technologies, libraries and headers
LLVM is a collection of libraries and tools that make it easy to build LLVM is a collection of libraries and tools that make it easy to build
compilers, optimizers, just-in-time code generators, and many other compilers, optimizers, just-in-time code generators, and many other
@ -440,7 +440,7 @@ Description: Modular compiler and toolchain technologies, libraries and headers
This package provides the libraries and headers to develop applications This package provides the libraries and headers to develop applications
using llvm. using llvm.
Package: llvm-18-tools Package: llvm-19-tools
Architecture: any Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, python3, Depends: ${shlibs:Depends}, ${misc:Depends}, python3,
python3-pygments, python3-yaml, python3-pygments, python3-yaml,
@ -460,11 +460,11 @@ Description: Modular compiler and toolchain technologies, tools
. .
This package provides tools for testing. This package provides tools for testing.
Package: libllvm-18-ocaml-dev Package: libllvm-19-ocaml-dev
Section: ocaml Section: ocaml
Architecture: amd64 arm64 ppc64el s390x riscv64 Architecture: amd64 arm64 ppc64el riscv64 s390x
Suggests: llvm-18-doc Suggests: llvm-19-doc
Depends: ${shlibs:Depends}, ${misc:Depends}, ${ocaml:Depends}, llvm-18-dev (= ${binary:Version}) Depends: ${shlibs:Depends}, ${misc:Depends}, ${ocaml:Depends}, llvm-19-dev (= ${binary:Version})
Replaces: libllvm-x.y-ocaml-dev Replaces: libllvm-x.y-ocaml-dev
Conflicts: libllvm-x.y-ocaml-dev Conflicts: libllvm-x.y-ocaml-dev
Provides: ${ocaml:Provides}, libllvm-x.y-ocaml-dev Provides: ${ocaml:Provides}, libllvm-x.y-ocaml-dev
@ -483,7 +483,7 @@ Description: Modular compiler and toolchain technologies, OCaml bindings
. .
This package provides the OCaml bindings to develop applications using llvm. This package provides the OCaml bindings to develop applications using llvm.
Package: llvm-18-doc Package: llvm-19-doc
Section: doc Section: doc
Architecture: all Architecture: all
Multi-Arch: foreign Multi-Arch: foreign
@ -503,10 +503,10 @@ Description: Modular compiler and toolchain technologies, documentation
. .
This package contains all documentation (extensive). This package contains all documentation (extensive).
Package: llvm-18-examples Package: llvm-19-examples
Section: doc Section: doc
Architecture: all Architecture: all
Depends: ${misc:Depends}, llvm-18-dev (>= ${source:Version}), llvm-18-dev (<< ${source:Version}+c~) Depends: ${misc:Depends}, llvm-19-dev (>= ${source:Version}), llvm-19-dev (<< ${source:Version}+c~)
Description: Modular compiler and toolchain technologies, examples Description: Modular compiler and toolchain technologies, examples
LLVM is a collection of libraries and tools that make it easy to build LLVM is a collection of libraries and tools that make it easy to build
compilers, optimizers, just-in-time code generators, and many other compilers, optimizers, just-in-time code generators, and many other
@ -526,20 +526,20 @@ Description: Modular compiler and toolchain technologies, examples
# ------------- lld ------------- # ------------- lld -------------
Package: lld-18 Package: lld-19
Architecture: amd64 arm64 armel armhf i386 mipsel mips64el ppc64el kfreebsd-amd64 kfreebsd-i386 s390 s390x sparc alpha hppa m68k powerpcspe ppc64 sh4 sparc64 x32 riscv64 loong64 Architecture: amd64 arm64 armel armhf i386 mipsel mips64el ppc64el s390x sparc m68k ppc64 sparc64 x32 riscv64 loong64
# ia64 hurd powerpc have been removed # ia64 hurd powerpc have been removed
Depends: ${shlibs:Depends}, ${misc:Depends}, libllvm18 (= ${binary:Version}) Depends: ${shlibs:Depends}, ${misc:Depends}, libllvm19 (= ${binary:Version})
Pre-Depends: ${misc:Pre-Depends} Pre-Depends: ${misc:Pre-Depends}
Description: LLVM-based linker Description: LLVM-based linker
LLD is a new, high-performance linker. It is built as a set of reusable LLD is a new, high-performance linker. It is built as a set of reusable
components which highly leverage existing libraries in the larger LLVM components which highly leverage existing libraries in the larger LLVM
Project. Project.
Package: liblld-18 Package: liblld-19
Architecture: amd64 arm64 armel armhf i386 mipsel mips64el ppc64el kfreebsd-amd64 kfreebsd-i386 s390 s390x sparc alpha hppa m68k powerpcspe ppc64 sh4 sparc64 x32 riscv64 loong64 Architecture: amd64 arm64 armel armhf i386 mipsel mips64el ppc64el s390x sparc m68k ppc64 sparc64 x32 riscv64 loong64
# ia64 hurd powerpc have been removed # ia64 hurd powerpc have been removed
Depends: ${shlibs:Depends}, ${misc:Depends}, libllvm18 (= ${binary:Version}) Depends: ${shlibs:Depends}, ${misc:Depends}, libllvm19 (= ${binary:Version})
Pre-Depends: ${misc:Pre-Depends} Pre-Depends: ${misc:Pre-Depends}
Section: libs Section: libs
Description: LLVM-based linker, library Description: LLVM-based linker, library
@ -549,12 +549,12 @@ Description: LLVM-based linker, library
. .
This package contains the LLD runtime library. This package contains the LLD runtime library.
Package: liblld-18-dev Package: liblld-19-dev
Section: libdevel Section: libdevel
Architecture: amd64 arm64 armel armhf i386 mipsel mips64el ppc64el kfreebsd-amd64 kfreebsd-i386 s390 s390x sparc alpha hppa m68k powerpcspe ppc64 sh4 sparc64 x32 riscv64 loong64 Architecture: amd64 arm64 armel armhf i386 mipsel mips64el ppc64el s390x sparc m68k ppc64 sparc64 x32 riscv64 loong64
# ia64 hurd powerpc have been removed # ia64 hurd powerpc have been removed
Depends: ${shlibs:Depends}, ${misc:Depends}, lld-18 (= ${binary:Version}), Depends: ${shlibs:Depends}, ${misc:Depends}, lld-19 (= ${binary:Version}),
liblld-18 (= ${binary:Version}), libzstd-dev, zlib1g-dev liblld-19 (= ${binary:Version}), libzstd-dev, zlib1g-dev
Pre-Depends: ${misc:Pre-Depends} Pre-Depends: ${misc:Pre-Depends}
Description: LLVM-based linker, header files Description: LLVM-based linker, header files
LLD is a new, high-performance linker. It is built as a set of reusable LLD is a new, high-performance linker. It is built as a set of reusable
@ -566,22 +566,20 @@ Description: LLVM-based linker, header files
# ------------- lldb ------------- # ------------- lldb -------------
Package: lldb-18 Package: lldb-19
Architecture: amd64 arm64 armel armhf i386 ppc64el kfreebsd-amd64 kfreebsd-i386 s390 s390x sparc hppa m68k sh4 x32 loong64 riscv64 Architecture: amd64 arm64 armel armhf i386 loong64 m68k ppc64el riscv64 s390x x32
# ia64 hurd powerpc powerpcspe ppc64 alpha s390x sparc64 mipsel mips64el have been removed Depends: ${shlibs:Depends}, ${misc:Depends}, libllvm19 (= ${binary:Version}),
Depends: ${shlibs:Depends}, ${misc:Depends}, libllvm18 (= ${binary:Version}), python3-lldb-19
python3-lldb-18
Pre-Depends: ${misc:Pre-Depends} Pre-Depends: ${misc:Pre-Depends}
Description: Next generation, high-performance debugger Description: Next generation, high-performance debugger
LLDB is a next generation, high-performance debugger. It is built as a set of LLDB is a next generation, high-performance debugger. It is built as a set of
reusable components which highly leverage existing libraries in the larger LLVM reusable components which highly leverage existing libraries in the larger LLVM
Project, such as the Clang expression parser and LLVM disassembler. Project, such as the Clang expression parser and LLVM disassembler.
Package: liblldb-18 Package: liblldb-19
Provides: ${t64:Provides} Provides: ${t64:Provides}
Architecture: amd64 arm64 armel armhf i386 ppc64el kfreebsd-amd64 kfreebsd-i386 s390 s390x sparc hppa m68k sh4 x32 loong64 riscv64 Architecture: amd64 arm64 armel armhf i386 loong64 m68k ppc64el riscv64 s390x x32
# ia64 hurd powerpc powerpcspe ppc64 alpha s390x sparc64 mipsel mips64el have been removed Depends: ${shlibs:Depends}, ${misc:Depends}, libllvm19 (= ${binary:Version})
Depends: ${shlibs:Depends}, ${misc:Depends}, libllvm18 (= ${binary:Version})
Pre-Depends: ${misc:Pre-Depends} Pre-Depends: ${misc:Pre-Depends}
Section: libs Section: libs
Description: Next generation, high-performance debugger, library Description: Next generation, high-performance debugger, library
@ -591,11 +589,10 @@ Description: Next generation, high-performance debugger, library
. .
This package contains the LLDB runtime library. This package contains the LLDB runtime library.
Package: python3-lldb-18 Package: python3-lldb-19
Section: python Section: python
Architecture: amd64 arm64 armel armhf i386 ppc64el kfreebsd-amd64 kfreebsd-i386 s390 s390x sparc hppa m68k sh4 x32 loong64 riscv64 Architecture: amd64 arm64 armel armhf i386 loong64 m68k ppc64el riscv64 s390x x32
# ia64 hurd powerpc powerpcspe ppc64 alpha s390x sparc64 mipsel mips64el have been removed Depends: ${shlibs:Depends}, ${misc:Depends}, ${python3:Depends}, liblldb-19 (= ${binary:Version})
Depends: ${shlibs:Depends}, ${misc:Depends}, ${python3:Depends}, liblldb-18 (= ${binary:Version})
Conflicts: python3-lldb-x.y Conflicts: python3-lldb-x.y
Replaces: python3-lldb-x.y Replaces: python3-lldb-x.y
Provides: python3-lldb-x.y Provides: python3-lldb-x.y
@ -607,11 +604,10 @@ Description: Next generation, high-performance debugger, python3 lib
. .
This binding package provides access to lldb. This binding package provides access to lldb.
Package: liblldb-18-dev Package: liblldb-19-dev
Section: libdevel Section: libdevel
Architecture: amd64 arm64 armel armhf i386 ppc64el kfreebsd-amd64 kfreebsd-i386 s390 s390x sparc hppa m68k sh4 x32 loong64 riscv64 Architecture: amd64 arm64 armel armhf i386 loong64 m68k ppc64el riscv64 s390x x32
# ia64 hurd powerpc powerpcspe ppc64 alpha s390x sparc64 mipsel mips64el have been removed Depends: ${shlibs:Depends}, ${misc:Depends}, lldb-19 (= ${binary:Version})
Depends: ${shlibs:Depends}, ${misc:Depends}, lldb-18 (= ${binary:Version})
Pre-Depends: ${misc:Pre-Depends} Pre-Depends: ${misc:Pre-Depends}
Description: Next generation, high-performance debugger, header files Description: Next generation, high-performance debugger, header files
LLDB is a next generation, high-performance debugger. It is built as a set of LLDB is a next generation, high-performance debugger. It is built as a set of
@ -625,11 +621,11 @@ Description: Next generation, high-performance debugger, header files
# 44 because it was the first version in which openmp & libc++ have been # 44 because it was the first version in which openmp & libc++ have been
# managed in llvm-defaults # managed in llvm-defaults
Package: libomp-18-dev Package: libomp-19-dev
Section: libdevel Section: libdevel
Architecture: amd64 arm64 armhf i386 loong64 mips64el ppc64el ppc64 riscv64 Architecture: amd64 arm64 armhf ppc64 ppc64el hurd-amd64
Depends: libomp5-18 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} Depends: libomp5-19 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
Suggests: libomp-18-doc Suggests: libomp-19-doc
Breaks: libiomp-dev (<< 3.7-1) Breaks: libiomp-dev (<< 3.7-1)
Provides: libomp-x.y-dev Provides: libomp-x.y-dev
Conflicts: libomp-x.y-dev Conflicts: libomp-x.y-dev
@ -639,9 +635,9 @@ Description: LLVM OpenMP runtime - dev package
linked against, and that manages the multiple threads in an OpenMP program linked against, and that manages the multiple threads in an OpenMP program
while it is executing. while it is executing.
Package: libomp5-18 Package: libomp5-19
Multi-Arch: same Multi-Arch: same
Architecture: amd64 arm64 armhf i386 loong64 mips64el ppc64el ppc64 riscv64 Architecture: amd64 arm64 armhf ppc64 ppc64el hurd-amd64
Depends: ${shlibs:Depends}, ${misc:Depends} Depends: ${shlibs:Depends}, ${misc:Depends}
Provides: ${t64:Provides}, libomp-x.y Provides: ${t64:Provides}, libomp-x.y
Conflicts: libomp-x.y Conflicts: libomp-x.y
@ -651,7 +647,7 @@ Description: LLVM OpenMP runtime
linked against, and that manages the multiple threads in an OpenMP program linked against, and that manages the multiple threads in an OpenMP program
while it is executing. while it is executing.
Package: libomp-18-doc Package: libomp-19-doc
Section: doc Section: doc
Architecture: all Architecture: all
Multi-Arch: foreign Multi-Arch: foreign
@ -667,7 +663,7 @@ Description: LLVM OpenMP runtime - Documentation
# ------------- libcxx ------------- # ------------- libcxx -------------
Package: libc++1-18 Package: libc++1-19
Section: libs Section: libs
Architecture: any Architecture: any
Multi-Arch: same Multi-Arch: same
@ -690,13 +686,13 @@ Description: LLVM C++ Standard library
as exception objects, rtti and memory allocation. as exception objects, rtti and memory allocation.
* Extensive unit tests. * Extensive unit tests.
Package: libc++-18-dev Package: libc++-19-dev
Section: libdevel Section: libdevel
Architecture: any Architecture: any
Multi-Arch: same Multi-Arch: same
Depends: libc++1-18 (= ${binary:Version}), ${misc:Depends}, Depends: libc++1-19 (= ${binary:Version}), ${misc:Depends},
libc++abi-18-dev (= ${binary:Version}), libc++abi-19-dev (= ${binary:Version}),
libunwind-18-dev [amd64 arm64 armhf i386 loong64 ppc64el ppc64 riscv64] libunwind-19-dev [amd64 arm64 armhf i386 loong64 ppc64el ppc64 riscv64]
Provides: libc++-x.y-dev Provides: libc++-x.y-dev
Conflicts: libc++-x.y-dev Conflicts: libc++-x.y-dev
Replaces: libc++-x.y-dev Replaces: libc++-x.y-dev
@ -713,11 +709,11 @@ Description: LLVM C++ Standard library (development files)
as exception objects, rtti and memory allocation. as exception objects, rtti and memory allocation.
* Extensive unit tests. * Extensive unit tests.
Package: libc++-18-dev-wasm32 Package: libc++-19-dev-wasm32
Section: libdevel Section: libdevel
Architecture: all Architecture: all
Multi-Arch: foreign Multi-Arch: foreign
Depends: wasi-libc, libc++abi-18-dev-wasm32, ${misc:Depends} Depends: wasi-libc, libc++abi-19-dev-wasm32, ${misc:Depends}
Provides: libc++-x.y-dev-wasm32 Provides: libc++-x.y-dev-wasm32
Conflicts: libc++-x.y-dev-wasm32 Conflicts: libc++-x.y-dev-wasm32
Replaces: libc++-x.y-dev-wasm32 Replaces: libc++-x.y-dev-wasm32
@ -738,7 +734,7 @@ Description: LLVM C++ Standard library (WASI)
# ------------- libcxxabi ------------- # ------------- libcxxabi -------------
Package: libc++abi1-18 Package: libc++abi1-19
Section: libs Section: libs
Architecture: any Architecture: any
Multi-Arch: same Multi-Arch: same
@ -756,11 +752,11 @@ Description: LLVM low level support for a standard C++ library
* Correctness as defined by the C++ standards. * Correctness as defined by the C++ standards.
* Provide a portable sublayer to ease the porting of libc++ * Provide a portable sublayer to ease the porting of libc++
Package: libc++abi-18-dev Package: libc++abi-19-dev
Section: libdevel Section: libdevel
Architecture: any Architecture: any
Multi-Arch: same Multi-Arch: same
Depends: libc++abi1-18 (= ${binary:Version}), ${misc:Depends} Depends: libc++abi1-19 (= ${binary:Version}), ${misc:Depends}
Breaks: libc++abi-dev (<= 44) Breaks: libc++abi-dev (<= 44)
Provides: libc++abi-x.y-dev Provides: libc++abi-x.y-dev
Conflicts: libc++abi-x.y-dev Conflicts: libc++abi-x.y-dev
@ -774,7 +770,7 @@ Description: LLVM low level support for a standard C++ library (development file
* Correctness as defined by the C++ standards. * Correctness as defined by the C++ standards.
* Provide a portable sublayer to ease the porting of libc++ * Provide a portable sublayer to ease the porting of libc++
Package: libc++abi-18-dev-wasm32 Package: libc++abi-19-dev-wasm32
Section: libdevel Section: libdevel
Architecture: all Architecture: all
Multi-Arch: foreign Multi-Arch: foreign
@ -795,14 +791,14 @@ Description: LLVM low level support for a standard C++ library (WASI)
# ------------- libclc ------------- # ------------- libclc -------------
Package: libclc-18 Package: libclc-19
Section: libs Section: libs
Architecture: all Architecture: all
Multi-Arch: foreign Multi-Arch: foreign
Depends: Depends:
${misc:Depends}, ${misc:Depends},
libclc-18-dev (= ${binary:Version}), libclc-19-dev (= ${binary:Version}),
libclang-common-18-dev, libclang-common-19-dev,
Breaks: libclc-amdgcn, libclc-ptx, libclc-r600 Breaks: libclc-amdgcn, libclc-ptx, libclc-r600
Provides: libclc-x.y Provides: libclc-x.y
Conflicts: libclc-x.y Conflicts: libclc-x.y
@ -814,7 +810,7 @@ Description: OpenCL C language implementation - platform support
This package contains support for the amdgcn (AMD GPU), PTX and r600 This package contains support for the amdgcn (AMD GPU), PTX and r600
platforms. platforms.
Package: libclc-18-dev Package: libclc-19-dev
Section: libdevel Section: libdevel
Architecture: all Architecture: all
Multi-Arch: foreign Multi-Arch: foreign
@ -832,7 +828,7 @@ Description: OpenCL C language implementation - development files
# ------------- libunwind ------------- # ------------- libunwind -------------
Package: libunwind-18 Package: libunwind-19
Section: libs Section: libs
Architecture: amd64 arm64 armhf i386 loong64 ppc64el ppc64 riscv64 Architecture: amd64 arm64 armhf i386 loong64 ppc64el ppc64 riscv64
Multi-Arch: same Multi-Arch: same
@ -849,13 +845,13 @@ Description: production-quality unwinder
or to operate on another process (aka remote), but only the local path has or to operate on another process (aka remote), but only the local path has
been implemented. Remote unwinding remains as future work. been implemented. Remote unwinding remains as future work.
Package: libunwind-18-dev Package: libunwind-19-dev
Section: libdevel Section: libdevel
Architecture: amd64 arm64 armhf i386 loong64 ppc64el ppc64 riscv64 Architecture: amd64 arm64 armhf i386 loong64 ppc64el ppc64 riscv64
Multi-Arch: same Multi-Arch: same
Depends: Depends:
${misc:Depends}, ${misc:Depends},
libunwind-18 (= ${binary:Version}) libunwind-19 (= ${binary:Version})
Provides: libunwind-dev, libunwind-x.y-dev Provides: libunwind-dev, libunwind-x.y-dev
Conflicts: libunwind-dev, libunwind-x.y-dev Conflicts: libunwind-dev, libunwind-x.y-dev
Replaces: libunwind-dev, libunwind-x.y-dev Replaces: libunwind-dev, libunwind-x.y-dev
@ -869,7 +865,7 @@ Description: production-quality unwinder
# ------------- mlir ------------- # ------------- mlir -------------
Package: mlir-18-tools Package: mlir-19-tools
Architecture: any Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends} Depends: ${shlibs:Depends}, ${misc:Depends}
Description: Multi-Level Intermediate Representation tools Description: Multi-Level Intermediate Representation tools
@ -880,7 +876,7 @@ Description: Multi-Level Intermediate Representation tools
. .
This package provides tools. This package provides tools.
Package: libmlir-18 Package: libmlir-19
Section: libs Section: libs
Architecture: any Architecture: any
Multi-Arch: same Multi-Arch: same
@ -896,13 +892,13 @@ Description: Multi-Level Intermediate Representation library
specific compilers, and aid in connecting existing compilers together. specific compilers, and aid in connecting existing compilers together.
Package: libmlir-18-dev Package: libmlir-19-dev
Section: libdevel Section: libdevel
Architecture: any Architecture: any
Multi-Arch: same Multi-Arch: same
Depends: Depends:
${misc:Depends}, ${misc:Depends},
libmlir-18 (= ${binary:Version}) libmlir-19 (= ${binary:Version})
Breaks: libmlir-dev Breaks: libmlir-dev
Provides: libmlir-x.y-dev Provides: libmlir-x.y-dev
Conflicts: libmlir-x.y-dev Conflicts: libmlir-x.y-dev
@ -916,15 +912,15 @@ Description: Multi-Level Intermediate Representation library
# ------------- bolt ------------- # ------------- bolt -------------
Package: bolt-18 Package: bolt-19
Architecture: amd64 arm64 Architecture: amd64 arm64
Depends: ${shlibs:Depends}, ${misc:Depends}, libbolt-18-dev (= ${binary:Version}), Depends: ${shlibs:Depends}, ${misc:Depends}, libbolt-19-dev (= ${binary:Version}),
Pre-Depends: ${misc:Pre-Depends} Pre-Depends: ${misc:Pre-Depends}
Description: Post-link optimizer Description: Post-link optimizer
It achieves the improvements by optimizing application's code layout based on It achieves the improvements by optimizing application's code layout based on
execution profile gathered by sampling profiler. execution profile gathered by sampling profiler.
Package: libbolt-18-dev Package: libbolt-19-dev
Section: libdevel Section: libdevel
Architecture: amd64 arm64 Architecture: amd64 arm64
Depends: ${shlibs:Depends}, ${misc:Depends} Depends: ${shlibs:Depends}, ${misc:Depends}
@ -934,11 +930,11 @@ Description: Post-link optimizer
# ------------- flang ------------- # ------------- flang -------------
Package: flang-18 Package: flang-19
# no 32bit support # no 32bit support
# https://github.com/llvm/llvm-project/issues/59845 # https://github.com/llvm/llvm-project/issues/59845
Architecture: amd64 arm64 mips64el ppc64el kfreebsd-amd64 ppc64 sparc64 riscv64 loong64 Architecture: amd64 arm64 ppc64el ppc64 sparc64 riscv64 loong64
Depends: ${shlibs:Depends}, ${misc:Depends}, ${dep:devlibs}, libflang-18-dev (= ${binary:Version}), Depends: ${shlibs:Depends}, ${misc:Depends}, ${dep:devlibs}, libflang-19-dev (= ${binary:Version}),
Provides: fortran-compiler, gfortran-mod-15 Provides: fortran-compiler, gfortran-mod-15
Description: Fortran compiler Description: Fortran compiler
Ground-up implementation of a Fortran front end written in Ground-up implementation of a Fortran front end written in
@ -947,8 +943,8 @@ Description: Fortran compiler
While it is capable of generating executables for a number While it is capable of generating executables for a number
of examples, some functionalities are still missing. of examples, some functionalities are still missing.
Package: libflang-18-dev Package: libflang-19-dev
Architecture: amd64 arm64 mips64el ppc64el kfreebsd-amd64 ppc64 sparc64 riscv64 loong64 Architecture: amd64 arm64 ppc64el ppc64 sparc64 riscv64 loong64
Section: libdevel Section: libdevel
Depends: ${shlibs:Depends}, ${misc:Depends}, ${dep:devlibs}, Depends: ${shlibs:Depends}, ${misc:Depends}, ${dep:devlibs},
Description: Flang library - Development package Description: Flang library - Development package
@ -962,9 +958,9 @@ Description: Flang library - Development package
# ------------- LLVM libc ------------- # ------------- LLVM libc -------------
Package: libllvmlibc-18-dev Package: libllvmlibc-19-dev
Section: libdevel Section: libdevel
Architecture: amd64 arm64 Architecture: amd64 arm64 armhf
Description: LLVM C Library - dev package Description: LLVM C Library - dev package
Implementation of the C standard library targeting C17 and above. Implementation of the C standard library targeting C17 and above.
. .

58
debian/control.in vendored
View File

@ -16,18 +16,18 @@ Build-Depends: debhelper (>= 10.0), cmake, ninja-build,
libipt-dev [amd64 i386], libipt-dev [amd64 i386],
lcov, procps, help2man, lcov, procps, help2man,
zlib1g-dev, libzstd-dev, zlib1g-dev, libzstd-dev,
g++-multilib [amd64 i386 kfreebsd-amd64 mips64 mips64el mipsel powerpc ppc64 sparc sparc64 x32], g++-multilib [@MULTILIB_ARCHS@] | hello,
libjs-mathjax, python3-myst-parser | python3-recommonmark, libjs-mathjax, python3-myst-parser | python3-recommonmark, python3-pexpect,
doxygen, doxygen,@USAGE_BUILD_DEP@
ocaml-base [amd64 arm64 ppc64el riscv64 s390x] | ocaml-nox [amd64 arm64 ppc64el riscv64 s390x], ocaml-base [@OCAML_ARCHS@] | ocaml-nox [@OCAML_ARCHS@],
ocaml-findlib [amd64 arm64 ppc64el riscv64 s390x], ocaml-findlib [@OCAML_ARCHS@],
libctypes-ocaml-dev [amd64 arm64 ppc64el riscv64 s390x], libctypes-ocaml-dev [@OCAML_ARCHS@],
dh-exec, dh-ocaml [amd64 arm64 ppc64el riscv64 s390x], dh-exec, dh-ocaml [@OCAML_ARCHS@],
libpfm4-dev [linux-any], python3-setuptools, libz3-dev, libpfm4-dev [linux-any], python3-setuptools, @Z3_DEV_DEP@
# "| hello" is for older buster/bionic distros without spirv support # "| hello" is for older buster/bionic distros without spirv support
# We need to keep the constraints coherent between the two alternatives, otherwise # We need to keep the constraints coherent between the two alternatives, otherwise
# hello would get installed unexpectedly and prevent e.g. wasi-libc from getting pulled # hello would get installed unexpectedly and prevent e.g. wasi-libc from getting pulled
llvm-spirv-18 [amd64 arm64 armhf i386 ppc64el mips64el riscv64 s390x ppc64 hurd-i386 loong64 sparc64 x32] <!stage1> | hello [amd64 arm64 armhf i386 ppc64el mips64el riscv64 s390x ppc64 hurd-i386 loong64 sparc64 x32] <!stage1>, llvm-spirv-19 [amd64 arm64 armhf i386 ppc64 ppc64el riscv64 s390x] <!stage1> | hello [amd64 arm64 armhf i386 ppc64 ppc64el riscv64 s390x] <!stage1>,
spirv-tools [linux-any] <!stage1> | hello [linux-any] <!stage1>, spirv-tools [linux-any] <!stage1> | hello [linux-any] <!stage1>,
wasi-libc | hello, wasi-libc | hello,
libcurl4-openssl-dev <!stage1> | libcurl-dev <!stage1>, libcurl4-openssl-dev <!stage1> | libcurl-dev <!stage1>,
@ -347,8 +347,8 @@ Section: libs
Depends: ${shlibs:Depends}, ${misc:Depends} Depends: ${shlibs:Depends}, ${misc:Depends}
Pre-Depends: ${misc:Pre-Depends} Pre-Depends: ${misc:Pre-Depends}
Multi-Arch: same Multi-Arch: same
Breaks: llvm-@LLVM_VERSION@-dev (<< 1:18.1.8-8) Breaks: llvm-@LLVM_VERSION@-dev (<< 1:19.1.0~++rc3-1~exp2)
Replaces: llvm-@LLVM_VERSION@-dev (<< 1:18.1.8-8) Replaces: llvm-@LLVM_VERSION@-dev (<< 1:19.1.0~++rc3-1~exp2)
Description: Modular compiler and toolchain technologies, runtime library Description: Modular compiler and toolchain technologies, runtime library
LLVM is a collection of libraries and tools that make it easy to build LLVM is a collection of libraries and tools that make it easy to build
compilers, optimizers, just-in-time code generators, and many other compilers, optimizers, just-in-time code generators, and many other
@ -421,9 +421,9 @@ Architecture: any
Depends: ${shlibs:Depends}, libffi-dev, ${misc:Depends}, Depends: ${shlibs:Depends}, libffi-dev, ${misc:Depends},
llvm-@LLVM_VERSION@ (= ${binary:Version}), libllvm@LLVM_VERSION@ (= ${binary:Version}), libncurses-dev, llvm-@LLVM_VERSION@ (= ${binary:Version}), libllvm@LLVM_VERSION@ (= ${binary:Version}), libncurses-dev,
llvm-@LLVM_VERSION@-tools (= ${binary:Version}), libclang-cpp@LLVM_VERSION@ (= ${binary:Version}), llvm-@LLVM_VERSION@-tools (= ${binary:Version}), libclang-cpp@LLVM_VERSION@ (= ${binary:Version}),
libz3-dev, libxml2-dev libxml2-dev, @Z3_DEV_DEP@
Breaks: libllvm@LLVM_VERSION@ (<< 1:18.1.8-9) Breaks: libllvm@LLVM_VERSION@ (<< 1:19.1.0-4)
Replaces: libllvm@LLVM_VERSION@ (<< 1:18.1.8-9) Replaces: libllvm@LLVM_VERSION@ (<< 1:19.1.0-4)
Description: Modular compiler and toolchain technologies, libraries and headers Description: Modular compiler and toolchain technologies, libraries and headers
LLVM is a collection of libraries and tools that make it easy to build LLVM is a collection of libraries and tools that make it easy to build
compilers, optimizers, just-in-time code generators, and many other compilers, optimizers, just-in-time code generators, and many other
@ -462,7 +462,7 @@ Description: Modular compiler and toolchain technologies, tools
Package: libllvm-@LLVM_VERSION@-ocaml-dev Package: libllvm-@LLVM_VERSION@-ocaml-dev
Section: ocaml Section: ocaml
Architecture: amd64 arm64 ppc64el s390x riscv64 Architecture: @OCAML_ARCHS@
Suggests: llvm-@LLVM_VERSION@-doc Suggests: llvm-@LLVM_VERSION@-doc
Depends: ${shlibs:Depends}, ${misc:Depends}, ${ocaml:Depends}, llvm-@LLVM_VERSION@-dev (= ${binary:Version}) Depends: ${shlibs:Depends}, ${misc:Depends}, ${ocaml:Depends}, llvm-@LLVM_VERSION@-dev (= ${binary:Version})
Replaces: libllvm-x.y-ocaml-dev Replaces: libllvm-x.y-ocaml-dev
@ -527,7 +527,7 @@ Description: Modular compiler and toolchain technologies, examples
# ------------- lld ------------- # ------------- lld -------------
Package: lld-@LLVM_VERSION@ Package: lld-@LLVM_VERSION@
Architecture: amd64 arm64 armel armhf i386 mipsel mips64el ppc64el kfreebsd-amd64 kfreebsd-i386 s390 s390x sparc alpha hppa m68k powerpcspe ppc64 sh4 sparc64 x32 riscv64 loong64 Architecture: amd64 arm64 armel armhf i386 mipsel mips64el ppc64el s390x sparc m68k ppc64 sparc64 x32 riscv64 loong64
# ia64 hurd powerpc have been removed # ia64 hurd powerpc have been removed
Depends: ${shlibs:Depends}, ${misc:Depends}, libllvm@LLVM_VERSION@ (= ${binary:Version}) Depends: ${shlibs:Depends}, ${misc:Depends}, libllvm@LLVM_VERSION@ (= ${binary:Version})
Pre-Depends: ${misc:Pre-Depends} Pre-Depends: ${misc:Pre-Depends}
@ -537,7 +537,7 @@ Description: LLVM-based linker
Project. Project.
Package: liblld-@LLVM_VERSION@ Package: liblld-@LLVM_VERSION@
Architecture: amd64 arm64 armel armhf i386 mipsel mips64el ppc64el kfreebsd-amd64 kfreebsd-i386 s390 s390x sparc alpha hppa m68k powerpcspe ppc64 sh4 sparc64 x32 riscv64 loong64 Architecture: amd64 arm64 armel armhf i386 mipsel mips64el ppc64el s390x sparc m68k ppc64 sparc64 x32 riscv64 loong64
# ia64 hurd powerpc have been removed # ia64 hurd powerpc have been removed
Depends: ${shlibs:Depends}, ${misc:Depends}, libllvm@LLVM_VERSION@ (= ${binary:Version}) Depends: ${shlibs:Depends}, ${misc:Depends}, libllvm@LLVM_VERSION@ (= ${binary:Version})
Pre-Depends: ${misc:Pre-Depends} Pre-Depends: ${misc:Pre-Depends}
@ -551,7 +551,7 @@ Description: LLVM-based linker, library
Package: liblld-@LLVM_VERSION@-dev Package: liblld-@LLVM_VERSION@-dev
Section: libdevel Section: libdevel
Architecture: amd64 arm64 armel armhf i386 mipsel mips64el ppc64el kfreebsd-amd64 kfreebsd-i386 s390 s390x sparc alpha hppa m68k powerpcspe ppc64 sh4 sparc64 x32 riscv64 loong64 Architecture: amd64 arm64 armel armhf i386 mipsel mips64el ppc64el s390x sparc m68k ppc64 sparc64 x32 riscv64 loong64
# ia64 hurd powerpc have been removed # ia64 hurd powerpc have been removed
Depends: ${shlibs:Depends}, ${misc:Depends}, lld-@LLVM_VERSION@ (= ${binary:Version}), Depends: ${shlibs:Depends}, ${misc:Depends}, lld-@LLVM_VERSION@ (= ${binary:Version}),
liblld-@LLVM_VERSION@ (= ${binary:Version}), libzstd-dev, zlib1g-dev liblld-@LLVM_VERSION@ (= ${binary:Version}), libzstd-dev, zlib1g-dev
@ -567,8 +567,7 @@ Description: LLVM-based linker, header files
# ------------- lldb ------------- # ------------- lldb -------------
Package: lldb-@LLVM_VERSION@ Package: lldb-@LLVM_VERSION@
Architecture: amd64 arm64 armel armhf i386 ppc64el kfreebsd-amd64 kfreebsd-i386 s390 s390x sparc hppa m68k sh4 x32 loong64 riscv64 Architecture: @LLDB_ARCHS@
# ia64 hurd powerpc powerpcspe ppc64 alpha s390x sparc64 mipsel mips64el have been removed
Depends: ${shlibs:Depends}, ${misc:Depends}, libllvm@LLVM_VERSION@ (= ${binary:Version}), Depends: ${shlibs:Depends}, ${misc:Depends}, libllvm@LLVM_VERSION@ (= ${binary:Version}),
python3-lldb-@LLVM_VERSION@ python3-lldb-@LLVM_VERSION@
Pre-Depends: ${misc:Pre-Depends} Pre-Depends: ${misc:Pre-Depends}
@ -579,8 +578,7 @@ Description: Next generation, high-performance debugger
Package: liblldb-@LLVM_VERSION@ Package: liblldb-@LLVM_VERSION@
Provides: ${t64:Provides} Provides: ${t64:Provides}
Architecture: amd64 arm64 armel armhf i386 ppc64el kfreebsd-amd64 kfreebsd-i386 s390 s390x sparc hppa m68k sh4 x32 loong64 riscv64 Architecture: @LLDB_ARCHS@
# ia64 hurd powerpc powerpcspe ppc64 alpha s390x sparc64 mipsel mips64el have been removed
Depends: ${shlibs:Depends}, ${misc:Depends}, libllvm@LLVM_VERSION@ (= ${binary:Version}) Depends: ${shlibs:Depends}, ${misc:Depends}, libllvm@LLVM_VERSION@ (= ${binary:Version})
Pre-Depends: ${misc:Pre-Depends} Pre-Depends: ${misc:Pre-Depends}
Section: libs Section: libs
@ -593,8 +591,7 @@ Description: Next generation, high-performance debugger, library
Package: python3-lldb-@LLVM_VERSION@ Package: python3-lldb-@LLVM_VERSION@
Section: python Section: python
Architecture: amd64 arm64 armel armhf i386 ppc64el kfreebsd-amd64 kfreebsd-i386 s390 s390x sparc hppa m68k sh4 x32 loong64 riscv64 Architecture: @LLDB_ARCHS@
# ia64 hurd powerpc powerpcspe ppc64 alpha s390x sparc64 mipsel mips64el have been removed
Depends: ${shlibs:Depends}, ${misc:Depends}, ${python3:Depends}, liblldb-@LLVM_VERSION@ (= ${binary:Version}) Depends: ${shlibs:Depends}, ${misc:Depends}, ${python3:Depends}, liblldb-@LLVM_VERSION@ (= ${binary:Version})
Conflicts: python3-lldb-x.y Conflicts: python3-lldb-x.y
Replaces: python3-lldb-x.y Replaces: python3-lldb-x.y
@ -609,8 +606,7 @@ Description: Next generation, high-performance debugger, python3 lib
Package: liblldb-@LLVM_VERSION@-dev Package: liblldb-@LLVM_VERSION@-dev
Section: libdevel Section: libdevel
Architecture: amd64 arm64 armel armhf i386 ppc64el kfreebsd-amd64 kfreebsd-i386 s390 s390x sparc hppa m68k sh4 x32 loong64 riscv64 Architecture: @LLDB_ARCHS@
# ia64 hurd powerpc powerpcspe ppc64 alpha s390x sparc64 mipsel mips64el have been removed
Depends: ${shlibs:Depends}, ${misc:Depends}, lldb-@LLVM_VERSION@ (= ${binary:Version}) Depends: ${shlibs:Depends}, ${misc:Depends}, lldb-@LLVM_VERSION@ (= ${binary:Version})
Pre-Depends: ${misc:Pre-Depends} Pre-Depends: ${misc:Pre-Depends}
Description: Next generation, high-performance debugger, header files Description: Next generation, high-performance debugger, header files
@ -627,7 +623,7 @@ Description: Next generation, high-performance debugger, header files
Package: libomp-@LLVM_VERSION@-dev Package: libomp-@LLVM_VERSION@-dev
Section: libdevel Section: libdevel
Architecture: amd64 arm64 armhf i386 loong64 mips64el ppc64el ppc64 riscv64 Architecture: @OMP_ARCHS@
Depends: libomp5-@LLVM_VERSION@ (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} Depends: libomp5-@LLVM_VERSION@ (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
Suggests: libomp-@LLVM_VERSION@-doc Suggests: libomp-@LLVM_VERSION@-doc
Breaks: libiomp-dev (<< 3.7-1) Breaks: libiomp-dev (<< 3.7-1)
@ -641,7 +637,7 @@ Description: LLVM OpenMP runtime - dev package
Package: libomp5-@LLVM_VERSION@ Package: libomp5-@LLVM_VERSION@
Multi-Arch: same Multi-Arch: same
Architecture: amd64 arm64 armhf i386 loong64 mips64el ppc64el ppc64 riscv64 Architecture: @OMP_ARCHS@
Depends: ${shlibs:Depends}, ${misc:Depends} Depends: ${shlibs:Depends}, ${misc:Depends}
Provides: ${t64:Provides}, libomp-x.y Provides: ${t64:Provides}, libomp-x.y
Conflicts: libomp-x.y Conflicts: libomp-x.y
@ -937,7 +933,7 @@ Description: Post-link optimizer
Package: flang-@LLVM_VERSION@ Package: flang-@LLVM_VERSION@
# no 32bit support # no 32bit support
# https://github.com/llvm/llvm-project/issues/59845 # https://github.com/llvm/llvm-project/issues/59845
Architecture: amd64 arm64 mips64el ppc64el kfreebsd-amd64 ppc64 sparc64 riscv64 loong64 Architecture: @FLANG_ARCHS@
Depends: ${shlibs:Depends}, ${misc:Depends}, ${dep:devlibs}, libflang-@LLVM_VERSION@-dev (= ${binary:Version}), Depends: ${shlibs:Depends}, ${misc:Depends}, ${dep:devlibs}, libflang-@LLVM_VERSION@-dev (= ${binary:Version}),
Provides: fortran-compiler, gfortran-mod-15 Provides: fortran-compiler, gfortran-mod-15
Description: Fortran compiler Description: Fortran compiler
@ -948,7 +944,7 @@ Description: Fortran compiler
of examples, some functionalities are still missing. of examples, some functionalities are still missing.
Package: libflang-@LLVM_VERSION@-dev Package: libflang-@LLVM_VERSION@-dev
Architecture: amd64 arm64 mips64el ppc64el kfreebsd-amd64 ppc64 sparc64 riscv64 loong64 Architecture: @FLANG_ARCHS@
Section: libdevel Section: libdevel
Depends: ${shlibs:Depends}, ${misc:Depends}, ${dep:devlibs}, Depends: ${shlibs:Depends}, ${misc:Depends}, ${dep:devlibs},
Description: Flang library - Development package Description: Flang library - Development package
@ -964,7 +960,7 @@ Description: Flang library - Development package
Package: libllvmlibc-@LLVM_VERSION@-dev Package: libllvmlibc-@LLVM_VERSION@-dev
Section: libdevel Section: libdevel
Architecture: amd64 arm64 Architecture: amd64 arm64 armhf
Description: LLVM C Library - dev package Description: LLVM C Library - dev package
Implementation of the C standard library targeting C17 and above. Implementation of the C standard library targeting C17 and above.
. .

3
debian/copyright vendored
View File

@ -1,6 +1,7 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: LLVM/Clang Upstream-Name: LLVM/Clang
Source: https://llvm.org/releases/download.html Source: https://github.com/llvm/llvm-project
Files-Excluded: .github .gitattributes .git-blame-ignore-revs .gitignore
Files: * Files: *
Copyright: 2003-2017 University of Illinois at Urbana-Champaign. Copyright: 2003-2017 University of Illinois at Urbana-Champaign.

View File

@ -1,14 +1,12 @@
usr/lib/llvm-@LLVM_VERSION@/bin/bbc usr/lib/llvm-@LLVM_VERSION@/bin/bbc
usr/lib/llvm-@LLVM_VERSION@/bin/f18-parse-demo usr/lib/llvm-@LLVM_VERSION@/bin/f18-parse-demo
usr/lib/llvm-@LLVM_VERSION@/bin/fir-opt usr/lib/llvm-@LLVM_VERSION@/bin/fir-opt
usr/lib/llvm-@LLVM_VERSION@/bin/flang-to-external-fc
usr/lib/llvm-@LLVM_VERSION@/bin/flang-new usr/lib/llvm-@LLVM_VERSION@/bin/flang-new
usr/lib/llvm-@LLVM_VERSION@/bin/tco usr/lib/llvm-@LLVM_VERSION@/bin/tco
usr/bin/bbc-@LLVM_VERSION@ usr/bin/bbc-@LLVM_VERSION@
usr/bin/f18-parse-demo-@LLVM_VERSION@ usr/bin/f18-parse-demo-@LLVM_VERSION@
usr/bin/fir-opt-@LLVM_VERSION@ usr/bin/fir-opt-@LLVM_VERSION@
usr/bin/flang-to-external-fc-@LLVM_VERSION@
usr/bin/flang-new-@LLVM_VERSION@ usr/bin/flang-new-@LLVM_VERSION@
usr/bin/tco-@LLVM_VERSION@ usr/bin/tco-@LLVM_VERSION@

View File

@ -1,4 +1,5 @@
usr/lib/llvm-@LLVM_VERSION@/lib/wasm32-wasi/libc++.a usr/lib/llvm-@LLVM_VERSION@/lib/wasm32-wasi/libc++.a
usr/lib/llvm-@LLVM_VERSION@/lib/wasm32-wasi/libc++experimental.a usr/lib/llvm-@LLVM_VERSION@/lib/wasm32-wasi/libc++experimental.a
usr/lib/llvm-@LLVM_VERSION@/lib/wasm32-wasi/libc++.modules.json
usr/lib/llvm-@LLVM_VERSION@/include/wasm32-wasi/c++/ usr/lib/llvm-@LLVM_VERSION@/include/wasm32-wasi/c++/
usr/lib/llvm-@LLVM_VERSION@/include/wasm32-wasi/c++/v1/ usr/lib/llvm-@LLVM_VERSION@/include/wasm32-wasi/c++/v1/

View File

@ -1,4 +1,2 @@
usr/lib/llvm-@LLVM_VERSION@/lib/libc++.so.1.0 /usr/lib/@DEB_HOST_MULTIARCH@/libc++.so.1.0 usr/lib/llvm-@LLVM_VERSION@/lib/libc++.so.1.0 /usr/lib/@DEB_HOST_MULTIARCH@/libc++.so.1.0
# when LLVM_ENABLE_PER_TARGET_RUNTIME_DIR=ON:
#usr/lib/llvm-@LLVM_VERSION@/lib/@DEB_HOST_MULTIARCH_LLVM@/libc++.so.1.0 /usr/lib/@DEB_HOST_MULTIARCH@/libc++.so.1.0
/usr/lib/@DEB_HOST_MULTIARCH@/libc++.so.1.0 /usr/lib/@DEB_HOST_MULTIARCH@/libc++.so.1 /usr/lib/@DEB_HOST_MULTIARCH@/libc++.so.1.0 /usr/lib/@DEB_HOST_MULTIARCH@/libc++.so.1

View File

@ -1,4 +1,2 @@
usr/lib/llvm-@LLVM_VERSION@/lib/libc++abi.so.1.0 /usr/lib/@DEB_HOST_MULTIARCH@/libc++abi.so.1.0 usr/lib/llvm-@LLVM_VERSION@/lib/libc++abi.so.1.0 /usr/lib/@DEB_HOST_MULTIARCH@/libc++abi.so.1.0
# when LLVM_ENABLE_PER_TARGET_RUNTIME_DIR=ON:
usr/lib/llvm-@LLVM_VERSION@/lib/@DEB_HOST_MULTIARCH_LLVM@/libc++abi.so.1.0 /usr/lib/@DEB_HOST_MULTIARCH@/libc++abi.so.1.0
/usr/lib/@DEB_HOST_MULTIARCH@/libc++abi.so.1.0 /usr/lib/@DEB_HOST_MULTIARCH@/libc++abi.so.1 /usr/lib/@DEB_HOST_MULTIARCH@/libc++abi.so.1.0 /usr/lib/@DEB_HOST_MULTIARCH@/libc++abi.so.1

View File

@ -2,9 +2,10 @@
usr/lib/llvm-@LLVM_VERSION@/lib/clang/@LLVM_VERSION@*/include/*.h usr/lib/llvm-@LLVM_VERSION@/lib/clang/@LLVM_VERSION@*/include/*.h
usr/lib/llvm-@LLVM_VERSION@/lib/clang/@LLVM_VERSION@*/include/module.modulemap usr/lib/llvm-@LLVM_VERSION@/lib/clang/@LLVM_VERSION@*/include/module.modulemap
usr/lib/llvm-@LLVM_VERSION@/lib/clang/@LLVM_VERSION@*/include/xray/ [!armel !armhf !powerpc !x32 !hurd-any] usr/lib/llvm-@LLVM_VERSION@/lib/clang/@LLVM_VERSION@*/include/xray/
usr/lib/llvm-@LLVM_VERSION@/lib/clang/@LLVM_VERSION@*/include/profile/ [!armel !armhf !powerpc !x32 !hurd-any] usr/lib/llvm-@LLVM_VERSION@/lib/clang/@LLVM_VERSION@*/include/profile/
usr/lib/llvm-@LLVM_VERSION@/lib/clang/@LLVM_VERSION@*/include/ppc_wrappers/ usr/lib/llvm-@LLVM_VERSION@/lib/clang/@LLVM_VERSION@*/include/ppc_wrappers/
usr/lib/llvm-@LLVM_VERSION@/lib/clang/@LLVM_VERSION@*/include/openmp_wrappers/ usr/lib/llvm-@LLVM_VERSION@/lib/clang/@LLVM_VERSION@*/include/openmp_wrappers/
usr/lib/llvm-@LLVM_VERSION@/lib/clang/@LLVM_VERSION@*/include/cuda_wrappers/ usr/lib/llvm-@LLVM_VERSION@/lib/clang/@LLVM_VERSION@*/include/cuda_wrappers/
usr/lib/llvm-@LLVM_VERSION@/lib/clang/@LLVM_VERSION@*/include/llvm_libc_wrappers/*.h usr/lib/llvm-@LLVM_VERSION@/lib/clang/@LLVM_VERSION@*/include/llvm_libc_wrappers/*.h
usr/lib/llvm-@LLVM_VERSION@/lib/clang/@LLVM_VERSION@*/include/zos_wrappers/

View File

@ -1 +1 @@
usr/lib/llvm-@LLVM_VERSION@/lib/libclang-cpp.so.@LLVM_VERSION@.1 usr/lib/llvm-@LLVM_VERSION@/lib/libclang-cpp.so.@LLVM_VERSION@.@LLVM_VERSION_MINOR@ /usr/lib/@DEB_HOST_MULTIARCH@/

View File

@ -1,2 +1,2 @@
usr/lib/llvm-@LLVM_VERSION@/lib/libclang-cpp.so.@LLVM_VERSION@.1 /usr/lib/@DEB_HOST_MULTIARCH@/libclang-cpp.so.@LLVM_VERSION@ # symlink from the LLVM libdir to the system libdir
usr/lib/llvm-@LLVM_VERSION@/lib/libclang-cpp.so.@LLVM_VERSION@.1 /usr/lib/@DEB_HOST_MULTIARCH@/libclang-cpp.so.@LLVM_VERSION@.1 usr/lib/@DEB_HOST_MULTIARCH@/libclang-cpp.so.@LLVM_VERSION@.1 usr/lib/llvm-@LLVM_VERSION@/lib/libclang-cpp.so.@LLVM_VERSION@.1

View File

@ -7,4 +7,4 @@ usr/lib/llvm-@LLVM_VERSION@/lib/clang/@LLVM_VERSION@*/README.txt
usr/lib/llvm-@LLVM_VERSION@/lib/clang/@LLVM_VERSION@*/include/fuzzer/ usr/lib/llvm-@LLVM_VERSION@/lib/clang/@LLVM_VERSION@*/include/fuzzer/
usr/lib/llvm-@LLVM_VERSION@/lib/clang/@LLVM_VERSION@*/include/orc/c_api.h usr/lib/llvm-@LLVM_VERSION@/lib/clang/@LLVM_VERSION@*/include/orc/c_api.h
# See compiler-rt/cmake/Modules/AllSupportedArchDefs.cmake / ALL_ORC_SUPPORTED_ARCH # See compiler-rt/cmake/Modules/AllSupportedArchDefs.cmake / ALL_ORC_SUPPORTED_ARCH
[amd64 arm64 armhf armel i386 ppc64 ppc64el x32] usr/lib/llvm-@LLVM_VERSION@/lib/clang/@LLVM_VERSION@*/lib/*/liborc_rt* [amd64 arm64 armhf armel i386 ppc64 ppc64el x32] usr/lib/llvm-@LLVM_VERSION@/lib/clang/@LLVM_VERSION@*/lib/linux/liborc_rt*

View File

@ -1,4 +1,6 @@
# as upstream # as upstream
usr/lib/@DEB_HOST_MULTIARCH@/libclang-@LLVM_VERSION@.so.@LLVM_VERSION@ usr/lib/@DEB_HOST_MULTIARCH@/libclang-@LLVM_VERSION@.so.1
usr/lib/@DEB_HOST_MULTIARCH@/libclang-@LLVM_VERSION@.so.@LLVM_VERSION@ usr/lib/llvm-@LLVM_VERSION@/lib/libclang-@LLVM_VERSION@.so.@LLVM_VERSION@ usr/lib/@DEB_HOST_MULTIARCH@/libclang-@LLVM_VERSION@.so.@LLVM_VERSION@ usr/lib/llvm-@LLVM_VERSION@/lib/libclang-@LLVM_VERSION@.so.@LLVM_VERSION@
# FIXME: these are not installed by upstream, there are only libclang-19.so.19, libclang-19.1.0.so, libclang-19.so and libclang.so
usr/lib/@DEB_HOST_MULTIARCH@/libclang-@LLVM_VERSION@.so.@LLVM_VERSION@ usr/lib/@DEB_HOST_MULTIARCH@/libclang-@LLVM_VERSION@.so.1
usr/lib/@DEB_HOST_MULTIARCH@/libclang-@LLVM_VERSION@.so.@LLVM_VERSION@ usr/lib/llvm-@LLVM_VERSION@/lib/libclang-@LLVM_VERSION@.so.1 usr/lib/@DEB_HOST_MULTIARCH@/libclang-@LLVM_VERSION@.so.@LLVM_VERSION@ usr/lib/llvm-@LLVM_VERSION@/lib/libclang-@LLVM_VERSION@.so.1

View File

@ -1,7 +1,7 @@
libclang-@LLVM_VERSION@.so.@LLVM_VERSION@ libclang1-@LLVM_VERSION@ #MINVER# libclang-@LLVM_VERSION@.so.@LLVM_VERSION@ libclang1-@LLVM_VERSION@ #MINVER#
LLVM_13@LLVM_13 1:18 (optional)LLVM_13@LLVM_13 1:15.0.7-3
LLVM_16@LLVM_16 1:18 (optional)LLVM_16@LLVM_16 1:16.0.2-1
LLVM_17@LLVM_17 1:18 (optional)LLVM_17@LLVM_17 1:17.0.1-1
clang_BlockCommandComment_getArgText@LLVM_13 1:5.0~svn298832-1~ clang_BlockCommandComment_getArgText@LLVM_13 1:5.0~svn298832-1~
clang_BlockCommandComment_getCommandName@LLVM_13 1:5.0~svn298832-1~ clang_BlockCommandComment_getCommandName@LLVM_13 1:5.0~svn298832-1~
clang_BlockCommandComment_getNumArgs@LLVM_13 1:5.0~svn298832-1~ clang_BlockCommandComment_getNumArgs@LLVM_13 1:5.0~svn298832-1~

View File

@ -5,3 +5,4 @@ usr/lib/llvm-@LLVM_VERSION@/lib/libflangFrontendTool.a
usr/lib/llvm-@LLVM_VERSION@/lib/libFIR*.a usr/lib/llvm-@LLVM_VERSION@/lib/libFIR*.a
usr/lib/llvm-@LLVM_VERSION@/lib/libHLFIR*.a usr/lib/llvm-@LLVM_VERSION@/lib/libHLFIR*.a
usr/lib/llvm-@LLVM_VERSION@/lib/libFortran*.a usr/lib/llvm-@LLVM_VERSION@/lib/libFortran*.a
usr/lib/llvm-@LLVM_VERSION@/lib/libCUF*.a

View File

@ -1,2 +1,7 @@
usr/lib/@DEB_HOST_MULTIARCH@/libLLVM-@LLVM_VERSION@.so.1 # install everything in /usr/lib/@DEB_HOST_MULTIARCH@/
usr/lib/@DEB_HOST_MULTIARCH@/libLLVM-@LLVM_VERSION@.so.@LLVM_VERSION@.1
# this is libLLVM.so.1, renamed to it's soname in the override_dh_install target
usr/lib/llvm-@LLVM_VERSION@/lib/libLLVM.so.@LLVM_VERSION@.@LLVM_VERSION_MINOR@ /usr/lib/@DEB_HOST_MULTIARCH@/
# this is a symlink installed by upstream
usr/lib/llvm-@LLVM_VERSION@/lib/libLLVM-@LLVM_VERSION@.so /usr/lib/@DEB_HOST_MULTIARCH@/

View File

@ -1,8 +1,3 @@
# Should be uncommented for @LLVM_VERSION@.1 and other # provide symlinks in the LLVM subdir
# usr/lib/llvm-@LLVM_VERSION@/lib/libLLVM-@LLVM_VERSION@.so.1 /usr/lib/@DEB_HOST_MULTIARCH@/libLLVM-@LLVM_VERSION@.so.1
usr/lib/@DEB_HOST_MULTIARCH@/libLLVM-@LLVM_VERSION@.so.1 /usr/lib/@DEB_HOST_MULTIARCH@/libLLVM-@LLVM_VERSION_FULL@.so.1 # no symlinks in the LLVM subdir, the package is M-A: same
usr/lib/@DEB_HOST_MULTIARCH@/libLLVM-@LLVM_VERSION@.so.1 /usr/lib/@DEB_HOST_MULTIARCH@/libLLVM.so.@LLVM_VERSION@.1
# Should be in llvm-X.Y-dev but as it has been this way for a long time...
usr/lib/@DEB_HOST_MULTIARCH@/libLLVM-@LLVM_VERSION@.so.1 /usr/lib/@DEB_HOST_MULTIARCH@/libLLVM-@LLVM_VERSION@.so

View File

@ -1 +1,5 @@
usr/lib/llvm-@LLVM_VERSION@/lib/libllvmlibc.a usr/lib/llvm-@LLVM_VERSION@/lib/libllvmlibc.a
usr/lib/llvm-@LLVM_VERSION@/include/llvmlibc_rpc_opcodes.h
usr/lib/llvm-@LLVM_VERSION@/include/llvmlibc_rpc_server.h
usr/lib/llvm-@LLVM_VERSION@/lib/libLibcTableGenUtil.a
usr/lib/llvm-@LLVM_VERSION@/lib/libllvmlibc_rpc_server.a

View File

@ -6,3 +6,4 @@ usr/lib/llvm-@LLVM_VERSION@/lib/libMLIR.so
usr/lib/llvm-@LLVM_VERSION@/lib/libMLIR*.a usr/lib/llvm-@LLVM_VERSION@/lib/libMLIR*.a
usr/lib/llvm-@LLVM_VERSION@/lib/libmlir*.so usr/lib/llvm-@LLVM_VERSION@/lib/libmlir*.so
#usr/lib/llvm-@LLVM_VERSION@/lib/libmlir_*.a #usr/lib/llvm-@LLVM_VERSION@/lib/libmlir_*.a
usr/lib/llvm-@LLVM_VERSION@/lib/libMLIRExecutionEngineShared.so

View File

@ -1,2 +1,3 @@
usr/lib/llvm-@LLVM_VERSION@/lib/libMLIR.so.* usr/lib/llvm-@LLVM_VERSION@/lib/libMLIR.so.*
usr/lib/llvm-@LLVM_VERSION@/lib/libmlir*.so.* usr/lib/llvm-@LLVM_VERSION@/lib/libmlir*.so.*
usr/lib/llvm-@LLVM_VERSION@/lib/libMLIRExecutionEngineShared.so.*

View File

@ -7,16 +7,16 @@
[!armhf !mips64el] /usr/lib/llvm-@LLVM_VERSION@/lib/libarcher_static.a [!armhf !mips64el] /usr/lib/llvm-@LLVM_VERSION@/lib/libarcher_static.a
[!armhf !mips64el] /usr/lib/llvm-@LLVM_VERSION@/lib/libarcher.so [!armhf !mips64el] /usr/lib/llvm-@LLVM_VERSION@/lib/libarcher.so
[amd64 ppc64el arm64 loong64 mips64el ppc64 riscv64] /usr/lib/llvm-@LLVM_VERSION@/lib/libomptarget.devicertl.a [amd64 hurd-amd64 ppc64el arm64 loong64 mips64el ppc64 riscv64] /usr/lib/llvm-@LLVM_VERSION@/lib/libomptarget.devicertl.a
[amd64 ppc64el arm64 loong64 mips64el ppc64 riscv64] /usr/lib/llvm-@LLVM_VERSION@/lib/libomptarget-*.bc [amd64 hurd-amd64 ppc64el arm64 loong64 mips64el ppc64 riscv64] /usr/lib/llvm-@LLVM_VERSION@/lib/libomptarget-*.bc
usr/lib/llvm-@LLVM_VERSION@/lib/cmake/openmp/*.cmake usr/lib/llvm-@LLVM_VERSION@/lib/cmake/openmp/*.cmake
[amd64 arm64 loong64 mips64el ppc64el ppc64 riscv64] usr/lib/llvm-@LLVM_VERSION@/bin/llvm-omp-device-info [amd64 hurd-amd64 arm64 loong64 mips64el ppc64el ppc64 riscv64] usr/lib/llvm-@LLVM_VERSION@/bin/llvm-omp-device-info
[amd64 arm64 loong64 mips64el ppc64el ppc64 riscv64] usr/lib/llvm-@LLVM_VERSION@/bin/llvm-omp-kernel-replay [amd64 hurd-amd64 arm64 loong64 mips64el ppc64el ppc64 riscv64] usr/lib/llvm-@LLVM_VERSION@/bin/llvm-omp-kernel-replay
[amd64 arm64 loong64 mips64el ppc64el ppc64 riscv64] usr/bin/llvm-omp-device-info-@LLVM_VERSION@ [amd64 hurd-amd64 arm64 loong64 mips64el ppc64el ppc64 riscv64] usr/bin/llvm-omp-device-info-@LLVM_VERSION@
[amd64 arm64 loong64 mips64el ppc64el ppc64 riscv64] usr/bin/llvm-omp-kernel-replay-@LLVM_VERSION@ [amd64 hurd-amd64 arm64 loong64 mips64el ppc64el ppc64 riscv64] usr/bin/llvm-omp-kernel-replay-@LLVM_VERSION@
[!armhf] usr/lib/llvm-@LLVM_VERSION@/share/gdb/python/ompd/ [!armhf !hurd-amd64] usr/lib/llvm-@LLVM_VERSION@/share/gdb/python/ompd/

View File

@ -1,4 +1,5 @@
#!/usr/bin/dh-exec #!/usr/bin/dh-exec
usr/lib/llvm-@LLVM_VERSION@/lib/libomp*.so.5 usr/lib/llvm-@LLVM_VERSION@/lib/libomp*.so.5
[amd64 arm64 mips64el ppc64el ppc64 riscv64 loong64] usr/lib/llvm-@LLVM_VERSION@/lib/libomptarget*.so.@LLVM_VERSION@.1 [amd64 hurd-amd64 arm64 mips64el ppc64el ppc64 riscv64 loong64] usr/lib/llvm-@LLVM_VERSION@/lib/libomptarget*.so.@LLVM_VERSION@.@LLVM_VERSION_MINOR@

View File

@ -1,11 +1,11 @@
libomp.so.5 libomp5-@LLVM_VERSION@ #MINVER# libomp.so.5 libomp5-@LLVM_VERSION@ #MINVER#
GOMP_1.0@GOMP_1.0 18 GOMP_1.0@GOMP_1.0 0.20131209
GOMP_2.0@GOMP_2.0 18 GOMP_2.0@GOMP_2.0 0.20131209
GOMP_3.0@GOMP_3.0 18 GOMP_3.0@GOMP_3.0 0.20131209
GOMP_4.0@GOMP_4.0 18 GOMP_4.0@GOMP_4.0 0.20131209
GOMP_4.5@GOMP_4.5 18 GOMP_4.5@GOMP_4.5 7
GOMP_5.0.1@GOMP_5.0.1 18 GOMP_5.0.1@GOMP_5.0.1 14
GOMP_5.0@GOMP_5.0 18 GOMP_5.0@GOMP_5.0 11
GOMP_alloc@GOMP_5.0.1 14 GOMP_alloc@GOMP_5.0.1 14
GOMP_alloc@VERSION 14 GOMP_alloc@VERSION 14
GOMP_atomic_end@GOMP_1.0 0.20131209 GOMP_atomic_end@GOMP_1.0 0.20131209
@ -262,14 +262,14 @@ libomp.so.5 libomp5-@LLVM_VERSION@ #MINVER#
GOMP_teams_reg@VERSION 12 GOMP_teams_reg@VERSION 12
GOMP_workshare_task_reduction_unregister@GOMP_5.0 13 GOMP_workshare_task_reduction_unregister@GOMP_5.0 13
GOMP_workshare_task_reduction_unregister@VERSION 13 GOMP_workshare_task_reduction_unregister@VERSION 13
OMP_1.0@OMP_1.0 18 OMP_1.0@OMP_1.0 0.20131209
OMP_2.0@OMP_2.0 18 OMP_2.0@OMP_2.0 0.20131209
OMP_3.0@OMP_3.0 18 OMP_3.0@OMP_3.0 0.20131209
OMP_3.1@OMP_3.1 18 OMP_3.1@OMP_3.1 0.20131209
OMP_4.0@OMP_4.0 18 OMP_4.0@OMP_4.0 0.20131209
OMP_4.5@OMP_4.5 18 OMP_4.5@OMP_4.5 7
OMP_5.0@OMP_5.0 18 OMP_5.0@OMP_5.0 13
VERSION@VERSION 18 VERSION@VERSION 0.20130412
___kmp_allocate@VERSION 0.20130412 ___kmp_allocate@VERSION 0.20130412
___kmp_free@VERSION 0.20130412 ___kmp_free@VERSION 0.20130412
__kmp_acquire_drdpa_lock@VERSION 0.20130715 __kmp_acquire_drdpa_lock@VERSION 0.20130715
@ -327,6 +327,21 @@ libomp.so.5 libomp5-@LLVM_VERSION@ #MINVER#
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_cmplx10_sub_rev@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_cmplx10_sub_rev@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_cmplx10_swp@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_cmplx10_swp@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_cmplx10_wr@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_cmplx10_wr@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !armel !armhf)__kmpc_atomic_cmplx16_add@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_cmplx16_add_cpt@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !armel !armhf)__kmpc_atomic_cmplx16_div@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_cmplx16_div_cpt@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_cmplx16_div_cpt_rev@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_cmplx16_div_rev@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !armel !armhf)__kmpc_atomic_cmplx16_mul@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_cmplx16_mul_cpt@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_cmplx16_rd@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !armel !armhf)__kmpc_atomic_cmplx16_sub@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_cmplx16_sub_cpt@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_cmplx16_sub_cpt_rev@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_cmplx16_sub_rev@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_cmplx16_swp@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_cmplx16_wr@VERSION 0.20130412
__kmpc_atomic_cmplx4_add@VERSION 0.20130412 __kmpc_atomic_cmplx4_add@VERSION 0.20130412
__kmpc_atomic_cmplx4_add_cmplx8@VERSION 0.20130412 __kmpc_atomic_cmplx4_add_cmplx8@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_cmplx4_add_cpt@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_cmplx4_add_cpt@VERSION 0.20130412
@ -364,15 +379,21 @@ libomp.so.5 libomp5-@LLVM_VERSION@ #MINVER#
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_end@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_end@VERSION 0.20130412
(arch=!ppc64 !ppc64el)__kmpc_atomic_fixed1_add@VERSION 0.20130412 (arch=!ppc64 !ppc64el)__kmpc_atomic_fixed1_add@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed1_add_cpt@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed1_add_cpt@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !loong64)__kmpc_atomic_fixed1_add_cpt_fp@VERSION 4.0
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !armel !armhf !loong64)__kmpc_atomic_fixed1_add_fp@VERSION 0.20130412
__kmpc_atomic_fixed1_andb@VERSION 0.20130412 __kmpc_atomic_fixed1_andb@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed1_andb_cpt@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed1_andb_cpt@VERSION 0.20130412
__kmpc_atomic_fixed1_andl@VERSION 0.20130412 __kmpc_atomic_fixed1_andl@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed1_andl_cpt@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed1_andl_cpt@VERSION 0.20130412
__kmpc_atomic_fixed1_div@VERSION 0.20130412 __kmpc_atomic_fixed1_div@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed1_div_cpt@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed1_div_cpt@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_fixed1_div_cpt_fp@VERSION 4.0
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed1_div_cpt_rev@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed1_div_cpt_rev@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_fixed1_div_cpt_rev_fp@VERSION 4.0
__kmpc_atomic_fixed1_div_float8@VERSION 0.20130412 __kmpc_atomic_fixed1_div_float8@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !armel !armhf)__kmpc_atomic_fixed1_div_fp@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed1_div_rev@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed1_div_rev@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_fixed1_div_rev_fp@VERSION 4.0
__kmpc_atomic_fixed1_eqv@VERSION 0.20130412 __kmpc_atomic_fixed1_eqv@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed1_eqv_cpt@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed1_eqv_cpt@VERSION 0.20130412
__kmpc_atomic_fixed1_max@VERSION 0.20130412 __kmpc_atomic_fixed1_max@VERSION 0.20130412
@ -381,7 +402,9 @@ libomp.so.5 libomp5-@LLVM_VERSION@ #MINVER#
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed1_min_cpt@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed1_min_cpt@VERSION 0.20130412
__kmpc_atomic_fixed1_mul@VERSION 0.20130412 __kmpc_atomic_fixed1_mul@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed1_mul_cpt@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed1_mul_cpt@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !loong64)__kmpc_atomic_fixed1_mul_cpt_fp@VERSION 4.0
__kmpc_atomic_fixed1_mul_float8@VERSION 0.20130412 __kmpc_atomic_fixed1_mul_float8@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !armel !armhf !loong64)__kmpc_atomic_fixed1_mul_fp@VERSION 0.20130412
__kmpc_atomic_fixed1_neqv@VERSION 0.20130412 __kmpc_atomic_fixed1_neqv@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed1_neqv_cpt@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed1_neqv_cpt@VERSION 0.20130412
__kmpc_atomic_fixed1_orb@VERSION 0.20130412 __kmpc_atomic_fixed1_orb@VERSION 0.20130412
@ -399,31 +422,53 @@ libomp.so.5 libomp5-@LLVM_VERSION@ #MINVER#
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed1_shr_rev@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed1_shr_rev@VERSION 0.20130412
__kmpc_atomic_fixed1_sub@VERSION 0.20130412 __kmpc_atomic_fixed1_sub@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed1_sub_cpt@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed1_sub_cpt@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_fixed1_sub_cpt_fp@VERSION 4.0
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed1_sub_cpt_rev@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed1_sub_cpt_rev@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_fixed1_sub_cpt_rev_fp@VERSION 4.0
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !armel !armhf)__kmpc_atomic_fixed1_sub_fp@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed1_sub_rev@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed1_sub_rev@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_fixed1_sub_rev_fp@VERSION 4.0
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed1_swp@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed1_swp@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed1_wr@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed1_wr@VERSION 0.20130412
__kmpc_atomic_fixed1_xor@VERSION 0.20130412 __kmpc_atomic_fixed1_xor@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed1_xor_cpt@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed1_xor_cpt@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !loong64)__kmpc_atomic_fixed1u_add_cpt_fp@VERSION 4.0
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !armel !armhf !loong64)__kmpc_atomic_fixed1u_add_fp@VERSION 4.0
__kmpc_atomic_fixed1u_div@VERSION 0.20130412 __kmpc_atomic_fixed1u_div@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed1u_div_cpt@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed1u_div_cpt@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_fixed1u_div_cpt_fp@VERSION 4.0
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed1u_div_cpt_rev@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed1u_div_cpt_rev@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_fixed1u_div_cpt_rev_fp@VERSION 4.0
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !armel !armhf)__kmpc_atomic_fixed1u_div_fp@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed1u_div_rev@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed1u_div_rev@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_fixed1u_div_rev_fp@VERSION 4.0
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_fixed1u_mul_cpt_fp@VERSION 4.0
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !armel !armhf)__kmpc_atomic_fixed1u_mul_fp@VERSION 4.0
__kmpc_atomic_fixed1u_shr@VERSION 0.20130412 __kmpc_atomic_fixed1u_shr@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed1u_shr_cpt@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed1u_shr_cpt@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed1u_shr_cpt_rev@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed1u_shr_cpt_rev@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed1u_shr_rev@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed1u_shr_rev@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_fixed1u_sub_cpt_fp@VERSION 4.0
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_fixed1u_sub_cpt_rev_fp@VERSION 4.0
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !armel !armhf)__kmpc_atomic_fixed1u_sub_fp@VERSION 4.0
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !armel !armhf !arm64)__kmpc_atomic_fixed1u_sub_rev_fp@VERSION 5.0
__kmpc_atomic_fixed2_add@VERSION 0.20130412 __kmpc_atomic_fixed2_add@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed2_add_cpt@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed2_add_cpt@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !loong64)__kmpc_atomic_fixed2_add_cpt_fp@VERSION 4.0
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !armel !armhf !loong64)__kmpc_atomic_fixed2_add_fp@VERSION 0.20130412
__kmpc_atomic_fixed2_andb@VERSION 0.20130412 __kmpc_atomic_fixed2_andb@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed2_andb_cpt@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed2_andb_cpt@VERSION 0.20130412
__kmpc_atomic_fixed2_andl@VERSION 0.20130412 __kmpc_atomic_fixed2_andl@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed2_andl_cpt@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed2_andl_cpt@VERSION 0.20130412
__kmpc_atomic_fixed2_div@VERSION 0.20130412 __kmpc_atomic_fixed2_div@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed2_div_cpt@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed2_div_cpt@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_fixed2_div_cpt_fp@VERSION 4.0
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed2_div_cpt_rev@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed2_div_cpt_rev@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_fixed2_div_cpt_rev_fp@VERSION 4.0
__kmpc_atomic_fixed2_div_float8@VERSION 0.20130412 __kmpc_atomic_fixed2_div_float8@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !armel !armhf)__kmpc_atomic_fixed2_div_fp@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed2_div_rev@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed2_div_rev@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_fixed2_div_rev_fp@VERSION 4.0
__kmpc_atomic_fixed2_eqv@VERSION 0.20130412 __kmpc_atomic_fixed2_eqv@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed2_eqv_cpt@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed2_eqv_cpt@VERSION 0.20130412
__kmpc_atomic_fixed2_max@VERSION 0.20130412 __kmpc_atomic_fixed2_max@VERSION 0.20130412
@ -432,7 +477,9 @@ libomp.so.5 libomp5-@LLVM_VERSION@ #MINVER#
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed2_min_cpt@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed2_min_cpt@VERSION 0.20130412
__kmpc_atomic_fixed2_mul@VERSION 0.20130412 __kmpc_atomic_fixed2_mul@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed2_mul_cpt@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed2_mul_cpt@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !loong64)__kmpc_atomic_fixed2_mul_cpt_fp@VERSION 4.0
__kmpc_atomic_fixed2_mul_float8@VERSION 0.20130412 __kmpc_atomic_fixed2_mul_float8@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !armel !armhf !loong64)__kmpc_atomic_fixed2_mul_fp@VERSION 0.20130412
__kmpc_atomic_fixed2_neqv@VERSION 0.20130412 __kmpc_atomic_fixed2_neqv@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed2_neqv_cpt@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed2_neqv_cpt@VERSION 0.20130412
__kmpc_atomic_fixed2_orb@VERSION 0.20130412 __kmpc_atomic_fixed2_orb@VERSION 0.20130412
@ -450,31 +497,53 @@ libomp.so.5 libomp5-@LLVM_VERSION@ #MINVER#
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed2_shr_rev@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed2_shr_rev@VERSION 0.20130412
__kmpc_atomic_fixed2_sub@VERSION 0.20130412 __kmpc_atomic_fixed2_sub@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed2_sub_cpt@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed2_sub_cpt@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_fixed2_sub_cpt_fp@VERSION 4.0
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed2_sub_cpt_rev@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed2_sub_cpt_rev@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_fixed2_sub_cpt_rev_fp@VERSION 4.0
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !armel !armhf)__kmpc_atomic_fixed2_sub_fp@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed2_sub_rev@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed2_sub_rev@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_fixed2_sub_rev_fp@VERSION 4.0
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed2_swp@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed2_swp@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed2_wr@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed2_wr@VERSION 0.20130412
__kmpc_atomic_fixed2_xor@VERSION 0.20130412 __kmpc_atomic_fixed2_xor@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed2_xor_cpt@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed2_xor_cpt@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !loong64)__kmpc_atomic_fixed2u_add_cpt_fp@VERSION 4.0
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !armel !armhf !loong64)__kmpc_atomic_fixed2u_add_fp@VERSION 4.0
__kmpc_atomic_fixed2u_div@VERSION 0.20130412 __kmpc_atomic_fixed2u_div@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed2u_div_cpt@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed2u_div_cpt@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_fixed2u_div_cpt_fp@VERSION 4.0
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed2u_div_cpt_rev@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed2u_div_cpt_rev@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_fixed2u_div_cpt_rev_fp@VERSION 4.0
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !armel !armhf)__kmpc_atomic_fixed2u_div_fp@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed2u_div_rev@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed2u_div_rev@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_fixed2u_div_rev_fp@VERSION 4.0
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_fixed2u_mul_cpt_fp@VERSION 4.0
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !armel !armhf)__kmpc_atomic_fixed2u_mul_fp@VERSION 4.0
__kmpc_atomic_fixed2u_shr@VERSION 0.20130412 __kmpc_atomic_fixed2u_shr@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed2u_shr_cpt@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed2u_shr_cpt@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed2u_shr_cpt_rev@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed2u_shr_cpt_rev@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed2u_shr_rev@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed2u_shr_rev@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_fixed2u_sub_cpt_fp@VERSION 4.0
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_fixed2u_sub_cpt_rev_fp@VERSION 4.0
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !armel !armhf)__kmpc_atomic_fixed2u_sub_fp@VERSION 4.0
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !armel !armhf !arm64)__kmpc_atomic_fixed2u_sub_rev_fp@VERSION 5.0
__kmpc_atomic_fixed4_add@VERSION 0.20130412 __kmpc_atomic_fixed4_add@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed4_add_cpt@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed4_add_cpt@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !loong64)__kmpc_atomic_fixed4_add_cpt_fp@VERSION 4.0
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !armel !armhf !loong64)__kmpc_atomic_fixed4_add_fp@VERSION 0.20130412
__kmpc_atomic_fixed4_andb@VERSION 0.20130412 __kmpc_atomic_fixed4_andb@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed4_andb_cpt@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed4_andb_cpt@VERSION 0.20130412
__kmpc_atomic_fixed4_andl@VERSION 0.20130412 __kmpc_atomic_fixed4_andl@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed4_andl_cpt@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed4_andl_cpt@VERSION 0.20130412
__kmpc_atomic_fixed4_div@VERSION 0.20130412 __kmpc_atomic_fixed4_div@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed4_div_cpt@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed4_div_cpt@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_fixed4_div_cpt_fp@VERSION 4.0
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed4_div_cpt_rev@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed4_div_cpt_rev@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_fixed4_div_cpt_rev_fp@VERSION 4.0
__kmpc_atomic_fixed4_div_float8@VERSION 0.20130412 __kmpc_atomic_fixed4_div_float8@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !armel !armhf)__kmpc_atomic_fixed4_div_fp@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed4_div_rev@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed4_div_rev@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_fixed4_div_rev_fp@VERSION 4.0
__kmpc_atomic_fixed4_eqv@VERSION 0.20130412 __kmpc_atomic_fixed4_eqv@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed4_eqv_cpt@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed4_eqv_cpt@VERSION 0.20130412
__kmpc_atomic_fixed4_max@VERSION 0.20130412 __kmpc_atomic_fixed4_max@VERSION 0.20130412
@ -483,7 +552,9 @@ libomp.so.5 libomp5-@LLVM_VERSION@ #MINVER#
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed4_min_cpt@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed4_min_cpt@VERSION 0.20130412
__kmpc_atomic_fixed4_mul@VERSION 0.20130412 __kmpc_atomic_fixed4_mul@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed4_mul_cpt@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed4_mul_cpt@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !loong64)__kmpc_atomic_fixed4_mul_cpt_fp@VERSION 4.0
__kmpc_atomic_fixed4_mul_float8@VERSION 0.20130412 __kmpc_atomic_fixed4_mul_float8@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !armel !armhf !loong64)__kmpc_atomic_fixed4_mul_fp@VERSION 0.20130412
__kmpc_atomic_fixed4_neqv@VERSION 0.20130412 __kmpc_atomic_fixed4_neqv@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed4_neqv_cpt@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed4_neqv_cpt@VERSION 0.20130412
__kmpc_atomic_fixed4_orb@VERSION 0.20130412 __kmpc_atomic_fixed4_orb@VERSION 0.20130412
@ -501,31 +572,53 @@ libomp.so.5 libomp5-@LLVM_VERSION@ #MINVER#
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed4_shr_rev@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed4_shr_rev@VERSION 0.20130412
__kmpc_atomic_fixed4_sub@VERSION 0.20130412 __kmpc_atomic_fixed4_sub@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed4_sub_cpt@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed4_sub_cpt@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_fixed4_sub_cpt_fp@VERSION 4.0
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed4_sub_cpt_rev@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed4_sub_cpt_rev@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_fixed4_sub_cpt_rev_fp@VERSION 4.0
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !armel !armhf)__kmpc_atomic_fixed4_sub_fp@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed4_sub_rev@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed4_sub_rev@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_fixed4_sub_rev_fp@VERSION 4.0
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed4_swp@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed4_swp@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed4_wr@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed4_wr@VERSION 0.20130412
__kmpc_atomic_fixed4_xor@VERSION 0.20130412 __kmpc_atomic_fixed4_xor@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed4_xor_cpt@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed4_xor_cpt@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !loong64)__kmpc_atomic_fixed4u_add_cpt_fp@VERSION 4.0
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !armel !armhf !loong64)__kmpc_atomic_fixed4u_add_fp@VERSION 4.0
(arch=!ppc64 !ppc64el)__kmpc_atomic_fixed4u_div@VERSION 0.20130412 (arch=!ppc64 !ppc64el)__kmpc_atomic_fixed4u_div@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed4u_div_cpt@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed4u_div_cpt@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_fixed4u_div_cpt_fp@VERSION 4.0
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed4u_div_cpt_rev@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed4u_div_cpt_rev@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_fixed4u_div_cpt_rev_fp@VERSION 4.0
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !armel !armhf)__kmpc_atomic_fixed4u_div_fp@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed4u_div_rev@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed4u_div_rev@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_fixed4u_div_rev_fp@VERSION 4.0
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_fixed4u_mul_cpt_fp@VERSION 4.0
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !armel !armhf)__kmpc_atomic_fixed4u_mul_fp@VERSION 4.0
__kmpc_atomic_fixed4u_shr@VERSION 0.20130412 __kmpc_atomic_fixed4u_shr@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed4u_shr_cpt@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed4u_shr_cpt@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed4u_shr_cpt_rev@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed4u_shr_cpt_rev@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed4u_shr_rev@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed4u_shr_rev@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_fixed4u_sub_cpt_fp@VERSION 4.0
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_fixed4u_sub_cpt_rev_fp@VERSION 4.0
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !armel !armhf)__kmpc_atomic_fixed4u_sub_fp@VERSION 4.0
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !armel !armhf !arm64)__kmpc_atomic_fixed4u_sub_rev_fp@VERSION 5.0
(arch=!ppc64 !ppc64el)__kmpc_atomic_fixed8_add@VERSION 0.20130412 (arch=!ppc64 !ppc64el)__kmpc_atomic_fixed8_add@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed8_add_cpt@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed8_add_cpt@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !loong64)__kmpc_atomic_fixed8_add_cpt_fp@VERSION 4.0
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !armel !armhf !loong64)__kmpc_atomic_fixed8_add_fp@VERSION 0.20130412
__kmpc_atomic_fixed8_andb@VERSION 0.20130412 __kmpc_atomic_fixed8_andb@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed8_andb_cpt@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed8_andb_cpt@VERSION 0.20130412
__kmpc_atomic_fixed8_andl@VERSION 0.20130412 __kmpc_atomic_fixed8_andl@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed8_andl_cpt@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed8_andl_cpt@VERSION 0.20130412
__kmpc_atomic_fixed8_div@VERSION 0.20130412 __kmpc_atomic_fixed8_div@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed8_div_cpt@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed8_div_cpt@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_fixed8_div_cpt_fp@VERSION 4.0
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed8_div_cpt_rev@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed8_div_cpt_rev@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_fixed8_div_cpt_rev_fp@VERSION 4.0
__kmpc_atomic_fixed8_div_float8@VERSION 0.20130412 __kmpc_atomic_fixed8_div_float8@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !armel !armhf)__kmpc_atomic_fixed8_div_fp@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed8_div_rev@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed8_div_rev@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_fixed8_div_rev_fp@VERSION 4.0
__kmpc_atomic_fixed8_eqv@VERSION 0.20130412 __kmpc_atomic_fixed8_eqv@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed8_eqv_cpt@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed8_eqv_cpt@VERSION 0.20130412
__kmpc_atomic_fixed8_max@VERSION 0.20130412 __kmpc_atomic_fixed8_max@VERSION 0.20130412
@ -534,7 +627,9 @@ libomp.so.5 libomp5-@LLVM_VERSION@ #MINVER#
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed8_min_cpt@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed8_min_cpt@VERSION 0.20130412
__kmpc_atomic_fixed8_mul@VERSION 0.20130412 __kmpc_atomic_fixed8_mul@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed8_mul_cpt@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed8_mul_cpt@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !loong64)__kmpc_atomic_fixed8_mul_cpt_fp@VERSION 4.0
__kmpc_atomic_fixed8_mul_float8@VERSION 0.20130412 __kmpc_atomic_fixed8_mul_float8@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !armel !armhf !loong64)__kmpc_atomic_fixed8_mul_fp@VERSION 0.20130412
__kmpc_atomic_fixed8_neqv@VERSION 0.20130412 __kmpc_atomic_fixed8_neqv@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed8_neqv_cpt@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed8_neqv_cpt@VERSION 0.20130412
__kmpc_atomic_fixed8_orb@VERSION 0.20130412 __kmpc_atomic_fixed8_orb@VERSION 0.20130412
@ -552,79 +647,150 @@ libomp.so.5 libomp5-@LLVM_VERSION@ #MINVER#
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed8_shr_rev@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed8_shr_rev@VERSION 0.20130412
__kmpc_atomic_fixed8_sub@VERSION 0.20130412 __kmpc_atomic_fixed8_sub@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed8_sub_cpt@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed8_sub_cpt@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_fixed8_sub_cpt_fp@VERSION 4.0
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed8_sub_cpt_rev@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed8_sub_cpt_rev@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_fixed8_sub_cpt_rev_fp@VERSION 4.0
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !armel !armhf)__kmpc_atomic_fixed8_sub_fp@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed8_sub_rev@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed8_sub_rev@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_fixed8_sub_rev_fp@VERSION 4.0
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed8_swp@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed8_swp@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed8_wr@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed8_wr@VERSION 0.20130412
__kmpc_atomic_fixed8_xor@VERSION 0.20130412 __kmpc_atomic_fixed8_xor@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed8_xor_cpt@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed8_xor_cpt@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !loong64)__kmpc_atomic_fixed8u_add_cpt_fp@VERSION 4.0
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !armel !armhf !loong64)__kmpc_atomic_fixed8u_add_fp@VERSION 4.0
__kmpc_atomic_fixed8u_div@VERSION 0.20130412 __kmpc_atomic_fixed8u_div@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed8u_div_cpt@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed8u_div_cpt@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_fixed8u_div_cpt_fp@VERSION 4.0
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed8u_div_cpt_rev@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed8u_div_cpt_rev@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_fixed8u_div_cpt_rev_fp@VERSION 4.0
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !armel !armhf)__kmpc_atomic_fixed8u_div_fp@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed8u_div_rev@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed8u_div_rev@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_fixed8u_div_rev_fp@VERSION 4.0
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_fixed8u_mul_cpt_fp@VERSION 4.0
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !armel !armhf)__kmpc_atomic_fixed8u_mul_fp@VERSION 4.0
__kmpc_atomic_fixed8u_shr@VERSION 0.20130412 __kmpc_atomic_fixed8u_shr@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed8u_shr_cpt@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_fixed8u_shr_cpt@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed8u_shr_cpt_rev@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed8u_shr_cpt_rev@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed8u_shr_rev@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_fixed8u_shr_rev@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_fixed8u_sub_cpt_fp@VERSION 4.0
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_fixed8u_sub_cpt_rev_fp@VERSION 4.0
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !armel !armhf)__kmpc_atomic_fixed8u_sub_fp@VERSION 4.0
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !armel !armhf !arm64)__kmpc_atomic_fixed8u_sub_rev_fp@VERSION 5.0
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_float10_add@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_float10_add@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_float10_add_cpt@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_float10_add_cpt@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_float10_add_cpt_fp@VERSION 4.0
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !armel !armhf)__kmpc_atomic_float10_add_fp@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_float10_div@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_float10_div@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_float10_div_cpt@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_float10_div_cpt@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_float10_div_cpt_fp@VERSION 4.0
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_float10_div_cpt_rev@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_float10_div_cpt_rev@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_float10_div_cpt_rev_fp@VERSION 4.0
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !armel !armhf)__kmpc_atomic_float10_div_fp@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_float10_div_rev@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_float10_div_rev@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_float10_div_rev_fp@VERSION 4.0
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_float10_max@VERSION 14 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_float10_max@VERSION 14
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_float10_max_cpt@VERSION 14 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_float10_max_cpt@VERSION 14
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_float10_min@VERSION 14 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_float10_min@VERSION 14
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_float10_min_cpt@VERSION 14 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_float10_min_cpt@VERSION 14
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_float10_mul@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_float10_mul@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_float10_mul_cpt@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_float10_mul_cpt@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !loong64)__kmpc_atomic_float10_mul_cpt_fp@VERSION 4.0
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !armel !armhf !loong64)__kmpc_atomic_float10_mul_fp@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_float10_rd@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_float10_rd@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_float10_sub@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_float10_sub@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_float10_sub_cpt@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_float10_sub_cpt@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_float10_sub_cpt_fp@VERSION 4.0
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_float10_sub_cpt_rev@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_float10_sub_cpt_rev@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_float10_sub_cpt_rev_fp@VERSION 4.0
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !armel !armhf)__kmpc_atomic_float10_sub_fp@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_float10_sub_rev@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_float10_sub_rev@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_float10_sub_rev_fp@VERSION 4.0
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_float10_swp@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_float10_swp@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_float10_wr@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_float10_wr@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !armel !armhf !loong64)__kmpc_atomic_float16_add@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !loong64)__kmpc_atomic_float16_add_cpt@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !armel !armhf !loong64)__kmpc_atomic_float16_div@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !loong64)__kmpc_atomic_float16_div_cpt@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !loong64)__kmpc_atomic_float16_div_cpt_rev@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !loong64)__kmpc_atomic_float16_div_rev@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !armel !armhf !loong64)__kmpc_atomic_float16_max@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !loong64)__kmpc_atomic_float16_max_cpt@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !armel !armhf !loong64)__kmpc_atomic_float16_min@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !loong64)__kmpc_atomic_float16_min_cpt@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !armel !armhf !loong64)__kmpc_atomic_float16_mul@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !loong64)__kmpc_atomic_float16_mul_cpt@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !loong64)__kmpc_atomic_float16_rd@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !armel !armhf !loong64)__kmpc_atomic_float16_sub@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !loong64)__kmpc_atomic_float16_sub_cpt@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !loong64)__kmpc_atomic_float16_sub_cpt_rev@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !loong64)__kmpc_atomic_float16_sub_rev@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !loong64)__kmpc_atomic_float16_swp@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !loong64)__kmpc_atomic_float16_wr@VERSION 0.20130412
__kmpc_atomic_float4_add@VERSION 0.20130412 __kmpc_atomic_float4_add@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_float4_add_cpt@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_float4_add_cpt@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !loong64)__kmpc_atomic_float4_add_cpt_fp@VERSION 4.0
(arch=!ppc64 !ppc64el)__kmpc_atomic_float4_add_float8@VERSION 0.20130412 (arch=!ppc64 !ppc64el)__kmpc_atomic_float4_add_float8@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !armel !armhf !loong64)__kmpc_atomic_float4_add_fp@VERSION 0.20130412
__kmpc_atomic_float4_div@VERSION 0.20130412 __kmpc_atomic_float4_div@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_float4_div_cpt@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_float4_div_cpt@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_float4_div_cpt_fp@VERSION 4.0
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_float4_div_cpt_rev@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_float4_div_cpt_rev@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_float4_div_cpt_rev_fp@VERSION 4.0
__kmpc_atomic_float4_div_float8@VERSION 0.20130412 __kmpc_atomic_float4_div_float8@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !armel !armhf)__kmpc_atomic_float4_div_fp@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_float4_div_rev@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_float4_div_rev@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_float4_div_rev_fp@VERSION 4.0
__kmpc_atomic_float4_max@VERSION 0.20130412 __kmpc_atomic_float4_max@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_float4_max_cpt@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_float4_max_cpt@VERSION 0.20130412
__kmpc_atomic_float4_min@VERSION 0.20130412 __kmpc_atomic_float4_min@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_float4_min_cpt@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_float4_min_cpt@VERSION 0.20130412
__kmpc_atomic_float4_mul@VERSION 0.20130412 __kmpc_atomic_float4_mul@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_float4_mul_cpt@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_float4_mul_cpt@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !loong64)__kmpc_atomic_float4_mul_cpt_fp@VERSION 4.0
__kmpc_atomic_float4_mul_float8@VERSION 0.20130412 __kmpc_atomic_float4_mul_float8@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !armel !armhf !loong64)__kmpc_atomic_float4_mul_fp@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_float4_rd@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_float4_rd@VERSION 0.20130412
__kmpc_atomic_float4_sub@VERSION 0.20130412 __kmpc_atomic_float4_sub@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_float4_sub_cpt@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_float4_sub_cpt@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_float4_sub_cpt_fp@VERSION 4.0
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_float4_sub_cpt_rev@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_float4_sub_cpt_rev@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_float4_sub_cpt_rev_fp@VERSION 4.0
__kmpc_atomic_float4_sub_float8@VERSION 0.20130412 __kmpc_atomic_float4_sub_float8@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !armel !armhf)__kmpc_atomic_float4_sub_fp@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_float4_sub_rev@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_float4_sub_rev@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_float4_sub_rev_fp@VERSION 4.0
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_float4_swp@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_float4_swp@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_float4_wr@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_float4_wr@VERSION 0.20130412
__kmpc_atomic_float8_add@VERSION 0.20130412 __kmpc_atomic_float8_add@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_float8_add_cpt@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_float8_add_cpt@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !loong64)__kmpc_atomic_float8_add_cpt_fp@VERSION 4.0
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !armel !armhf !loong64)__kmpc_atomic_float8_add_fp@VERSION 0.20130412
__kmpc_atomic_float8_div@VERSION 0.20130412 __kmpc_atomic_float8_div@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_float8_div_cpt@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_float8_div_cpt@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_float8_div_cpt_fp@VERSION 4.0
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_float8_div_cpt_rev@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_float8_div_cpt_rev@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_float8_div_cpt_rev_fp@VERSION 4.0
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !armel !armhf)__kmpc_atomic_float8_div_fp@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_float8_div_rev@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_float8_div_rev@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_float8_div_rev_fp@VERSION 4.0
__kmpc_atomic_float8_max@VERSION 0.20130412 __kmpc_atomic_float8_max@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_float8_max_cpt@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_float8_max_cpt@VERSION 0.20130412
__kmpc_atomic_float8_min@VERSION 0.20130412 __kmpc_atomic_float8_min@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_float8_min_cpt@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_float8_min_cpt@VERSION 0.20130412
__kmpc_atomic_float8_mul@VERSION 0.20130412 __kmpc_atomic_float8_mul@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_float8_mul_cpt@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_float8_mul_cpt@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !loong64)__kmpc_atomic_float8_mul_cpt_fp@VERSION 4.0
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !armel !armhf !loong64)__kmpc_atomic_float8_mul_fp@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_float8_rd@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_float8_rd@VERSION 0.20130412
__kmpc_atomic_float8_sub@VERSION 0.20130412 __kmpc_atomic_float8_sub@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_float8_sub_cpt@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_float8_sub_cpt@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_float8_sub_cpt_fp@VERSION 4.0
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_float8_sub_cpt_rev@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_float8_sub_cpt_rev@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_float8_sub_cpt_rev_fp@VERSION 4.0
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !armel !armhf)__kmpc_atomic_float8_sub_fp@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_float8_sub_rev@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_float8_sub_rev@VERSION 0.20130412
#MISSING: 7# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf)__kmpc_atomic_float8_sub_rev_fp@VERSION 4.0
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_float8_swp@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64 !loong64)__kmpc_atomic_float8_swp@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_float8_wr@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_float8_wr@VERSION 0.20130412
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_start@VERSION 0.20130412 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !riscv64)__kmpc_atomic_start@VERSION 0.20130412
@ -842,7 +1008,7 @@ libomp.so.5 libomp5-@LLVM_VERSION@ #MINVER#
kmp_set_stacksize_@VERSION 0.20130412 kmp_set_stacksize_@VERSION 0.20130412
kmp_set_stacksize_s@VERSION 0.20130412 kmp_set_stacksize_s@VERSION 0.20130412
kmp_set_stacksize_s_@VERSION 0.20130412 kmp_set_stacksize_s_@VERSION 0.20130412
(arch=!ppc64 !ppc64el)kmp_set_thread_affinity_mask_initial@VERSION 3.8.0 (arch=!ppc64 !ppc64el !hurd-any)kmp_set_thread_affinity_mask_initial@VERSION 3.8.0
kmp_set_warnings_off@VERSION 0.20130412 kmp_set_warnings_off@VERSION 0.20130412
kmp_set_warnings_off_@VERSION 0.20130412 kmp_set_warnings_off_@VERSION 0.20130412
kmp_set_warnings_on@VERSION 0.20130412 kmp_set_warnings_on@VERSION 0.20130412
@ -865,6 +1031,7 @@ libomp.so.5 libomp5-@LLVM_VERSION@ #MINVER#
kmpc_set_stacksize@VERSION 0.20130412 kmpc_set_stacksize@VERSION 0.20130412
kmpc_set_stacksize_s@VERSION 0.20130412 kmpc_set_stacksize_s@VERSION 0.20130412
kmpc_unset_affinity_mask_proc@VERSION 0.20130412 kmpc_unset_affinity_mask_proc@VERSION 0.20130412
#MISSING: 14# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !armel !armhf !loong64)libomp_start_tool@VERSION 14
omp_aligned_alloc@VERSION 14 omp_aligned_alloc@VERSION 14
omp_aligned_calloc@VERSION 14 omp_aligned_calloc@VERSION 14
omp_alloc@VERSION 8 omp_alloc@VERSION 8
@ -1142,6 +1309,7 @@ libomp.so.5 libomp5-@LLVM_VERSION@ #MINVER#
omp_set_schedule_@VERSION 0.20130412 omp_set_schedule_@VERSION 0.20130412
omp_set_teams_thread_limit@VERSION 13 omp_set_teams_thread_limit@VERSION 13
omp_set_teams_thread_limit_@VERSION 13 omp_set_teams_thread_limit_@VERSION 13
#MISSING: 8# (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !arm64 !armel !armhf !loong64)omp_state_info@VERSION 6.0
omp_test_lock@OMP_1.0 0.20131209 omp_test_lock@OMP_1.0 0.20131209
omp_test_lock@OMP_3.0 0.20131209 omp_test_lock@OMP_3.0 0.20131209
omp_test_lock@VERSION 0.20130412 omp_test_lock@VERSION 0.20130412
@ -1180,190 +1348,190 @@ libomp.so.5 libomp5-@LLVM_VERSION@ #MINVER#
ompc_set_schedule@VERSION 0.20130412 ompc_set_schedule@VERSION 0.20130412
ompt_libomp_connect@VERSION 17 ompt_libomp_connect@VERSION 17
(arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !armel !armhf)ompt_start_tool@VERSION 6.0 (arch=!mips !mipsel !ppc64 !ppc64el !mips64 !mips64el !armel !armhf)ompt_start_tool@VERSION 6.0
libomptarget.rtl.amdgpu.so.@LLVM_VERSION@.1 libomp5-@LLVM_VERSION@ #MINVER# libomptarget.rtl.amdgpu.so.@LLVM_VERSION@ libomp5-@LLVM_VERSION@ #MINVER#
VERS1.0@VERS1.0 18 VERS1.0@VERS1.0 17
__tgt_rtl_create_event@VERS1.0 18 __tgt_rtl_create_event@VERS1.0 17
__tgt_rtl_data_alloc@VERS1.0 18 __tgt_rtl_data_alloc@VERS1.0 17
__tgt_rtl_data_delete@VERS1.0 18 __tgt_rtl_data_delete@VERS1.0 17
__tgt_rtl_data_exchange@VERS1.0 18 __tgt_rtl_data_exchange@VERS1.0 17
__tgt_rtl_data_exchange_async@VERS1.0 18 __tgt_rtl_data_exchange_async@VERS1.0 17
__tgt_rtl_data_lock@VERS1.0 18 __tgt_rtl_data_lock@VERS1.0 17
__tgt_rtl_data_notify_mapped@VERS1.0 18 __tgt_rtl_data_notify_mapped@VERS1.0 17
__tgt_rtl_data_notify_unmapped@VERS1.0 18 __tgt_rtl_data_notify_unmapped@VERS1.0 17
__tgt_rtl_data_retrieve@VERS1.0 18 __tgt_rtl_data_retrieve@VERS1.0 17
__tgt_rtl_data_retrieve_async@VERS1.0 18 __tgt_rtl_data_retrieve_async@VERS1.0 17
__tgt_rtl_data_submit@VERS1.0 18 __tgt_rtl_data_submit@VERS1.0 17
__tgt_rtl_data_submit_async@VERS1.0 18 __tgt_rtl_data_submit_async@VERS1.0 17
__tgt_rtl_data_unlock@VERS1.0 18 __tgt_rtl_data_unlock@VERS1.0 17
__tgt_rtl_destroy_event@VERS1.0 18 __tgt_rtl_destroy_event@VERS1.0 17
__tgt_rtl_get_function@VERS1.0 18 __tgt_rtl_get_function@VERS1.0 18
__tgt_rtl_get_global@VERS1.0 18 __tgt_rtl_get_global@VERS1.0 18
__tgt_rtl_init_async_info@VERS1.0 18 __tgt_rtl_init_async_info@VERS1.0 17
__tgt_rtl_init_device@VERS1.0 18 __tgt_rtl_init_device@VERS1.0 17
__tgt_rtl_init_device_info@VERS1.0 18 __tgt_rtl_init_device_info@VERS1.0 17
__tgt_rtl_init_plugin@VERS1.0 18 __tgt_rtl_init_plugin@VERS1.0 17
__tgt_rtl_init_requires@VERS1.0 18 __tgt_rtl_init_requires@VERS1.0 17
__tgt_rtl_initialize_record_replay@VERS1.0 18 __tgt_rtl_initialize_record_replay@VERS1.0 18
__tgt_rtl_is_data_exchangable@VERS1.0 18 __tgt_rtl_is_data_exchangable@VERS1.0 17
__tgt_rtl_is_valid_binary@VERS1.0 18 __tgt_rtl_is_valid_binary@VERS1.0 18
__tgt_rtl_launch_kernel@VERS1.0 18 __tgt_rtl_launch_kernel@VERS1.0 17
__tgt_rtl_load_binary@VERS1.0 18 __tgt_rtl_load_binary@VERS1.0 17
__tgt_rtl_number_of_devices@VERS1.0 18 __tgt_rtl_number_of_devices@VERS1.0 17
__tgt_rtl_print_device_info@VERS1.0 18 __tgt_rtl_print_device_info@VERS1.0 17
__tgt_rtl_query_async@VERS1.0 18 __tgt_rtl_query_async@VERS1.0 17
__tgt_rtl_record_event@VERS1.0 18 __tgt_rtl_record_event@VERS1.0 17
__tgt_rtl_set_device_offset@VERS1.0 18 __tgt_rtl_set_device_offset@VERS1.0 18
__tgt_rtl_set_info_flag@VERS1.0 18 __tgt_rtl_set_info_flag@VERS1.0 17
__tgt_rtl_supports_empty_images@VERS1.0 18 #MISSING: 19# __tgt_rtl_supports_empty_images@VERS1.0 17
__tgt_rtl_sync_event@VERS1.0 18 __tgt_rtl_sync_event@VERS1.0 17
__tgt_rtl_synchronize@VERS1.0 18 __tgt_rtl_synchronize@VERS1.0 17
__tgt_rtl_use_auto_zero_copy@VERS1.0 18 __tgt_rtl_use_auto_zero_copy@VERS1.0 18
__tgt_rtl_wait_event@VERS1.0 18 __tgt_rtl_wait_event@VERS1.0 17
libomptarget.rtl.cuda.so.@LLVM_VERSION@.1 libomp5-@LLVM_VERSION@ #MINVER# libomptarget.rtl.cuda.so.@LLVM_VERSION@ libomp5-@LLVM_VERSION@ #MINVER#
VERS1.0@VERS1.0 18 VERS1.0@VERS1.0 17
__tgt_rtl_create_event@VERS1.0 18 __tgt_rtl_create_event@VERS1.0 17
__tgt_rtl_data_alloc@VERS1.0 18 __tgt_rtl_data_alloc@VERS1.0 17
__tgt_rtl_data_delete@VERS1.0 18 __tgt_rtl_data_delete@VERS1.0 17
__tgt_rtl_data_exchange@VERS1.0 18 __tgt_rtl_data_exchange@VERS1.0 17
__tgt_rtl_data_exchange_async@VERS1.0 18 __tgt_rtl_data_exchange_async@VERS1.0 17
__tgt_rtl_data_lock@VERS1.0 18 __tgt_rtl_data_lock@VERS1.0 17
__tgt_rtl_data_notify_mapped@VERS1.0 18 __tgt_rtl_data_notify_mapped@VERS1.0 17
__tgt_rtl_data_notify_unmapped@VERS1.0 18 __tgt_rtl_data_notify_unmapped@VERS1.0 17
__tgt_rtl_data_retrieve@VERS1.0 18 __tgt_rtl_data_retrieve@VERS1.0 17
__tgt_rtl_data_retrieve_async@VERS1.0 18 __tgt_rtl_data_retrieve_async@VERS1.0 17
__tgt_rtl_data_submit@VERS1.0 18 __tgt_rtl_data_submit@VERS1.0 17
__tgt_rtl_data_submit_async@VERS1.0 18 __tgt_rtl_data_submit_async@VERS1.0 17
__tgt_rtl_data_unlock@VERS1.0 18 __tgt_rtl_data_unlock@VERS1.0 17
__tgt_rtl_destroy_event@VERS1.0 18 __tgt_rtl_destroy_event@VERS1.0 17
__tgt_rtl_get_function@VERS1.0 18 __tgt_rtl_get_function@VERS1.0 18
__tgt_rtl_get_global@VERS1.0 18 __tgt_rtl_get_global@VERS1.0 18
__tgt_rtl_init_async_info@VERS1.0 18 __tgt_rtl_init_async_info@VERS1.0 17
__tgt_rtl_init_device@VERS1.0 18 __tgt_rtl_init_device@VERS1.0 17
__tgt_rtl_init_device_info@VERS1.0 18 __tgt_rtl_init_device_info@VERS1.0 17
__tgt_rtl_init_plugin@VERS1.0 18 __tgt_rtl_init_plugin@VERS1.0 17
__tgt_rtl_init_requires@VERS1.0 18 __tgt_rtl_init_requires@VERS1.0 17
__tgt_rtl_initialize_record_replay@VERS1.0 18 __tgt_rtl_initialize_record_replay@VERS1.0 18
__tgt_rtl_is_data_exchangable@VERS1.0 18 __tgt_rtl_is_data_exchangable@VERS1.0 17
__tgt_rtl_is_valid_binary@VERS1.0 18 __tgt_rtl_is_valid_binary@VERS1.0 18
__tgt_rtl_launch_kernel@VERS1.0 18 __tgt_rtl_launch_kernel@VERS1.0 17
__tgt_rtl_load_binary@VERS1.0 18 __tgt_rtl_load_binary@VERS1.0 17
__tgt_rtl_number_of_devices@VERS1.0 18 __tgt_rtl_number_of_devices@VERS1.0 17
__tgt_rtl_print_device_info@VERS1.0 18 __tgt_rtl_print_device_info@VERS1.0 17
__tgt_rtl_query_async@VERS1.0 18 __tgt_rtl_query_async@VERS1.0 17
__tgt_rtl_record_event@VERS1.0 18 __tgt_rtl_record_event@VERS1.0 17
__tgt_rtl_set_device_offset@VERS1.0 18 __tgt_rtl_set_device_offset@VERS1.0 18
__tgt_rtl_set_info_flag@VERS1.0 18 __tgt_rtl_set_info_flag@VERS1.0 17
__tgt_rtl_supports_empty_images@VERS1.0 18 #MISSING: 19# __tgt_rtl_supports_empty_images@VERS1.0 17
__tgt_rtl_sync_event@VERS1.0 18 __tgt_rtl_sync_event@VERS1.0 17
__tgt_rtl_synchronize@VERS1.0 18 __tgt_rtl_synchronize@VERS1.0 17
__tgt_rtl_use_auto_zero_copy@VERS1.0 18 __tgt_rtl_use_auto_zero_copy@VERS1.0 18
__tgt_rtl_wait_event@VERS1.0 18 __tgt_rtl_wait_event@VERS1.0 17
libomptarget.rtl.x86_64.so.@LLVM_VERSION@.1 libomp5-@LLVM_VERSION@ #MINVER# libomptarget.rtl.x86_64.so.@LLVM_VERSION@ libomp5-@LLVM_VERSION@ #MINVER#
VERS1.0@VERS1.0 18 VERS1.0@VERS1.0 17
__tgt_rtl_create_event@VERS1.0 18 __tgt_rtl_create_event@VERS1.0 1:17.0.1-1
__tgt_rtl_data_alloc@VERS1.0 18 __tgt_rtl_data_alloc@VERS1.0 17
__tgt_rtl_data_delete@VERS1.0 18 __tgt_rtl_data_delete@VERS1.0 17
__tgt_rtl_data_exchange@VERS1.0 18 __tgt_rtl_data_exchange@VERS1.0 17
__tgt_rtl_data_exchange_async@VERS1.0 18 __tgt_rtl_data_exchange_async@VERS1.0 17
__tgt_rtl_data_lock@VERS1.0 18 __tgt_rtl_data_lock@VERS1.0 17
__tgt_rtl_data_notify_mapped@VERS1.0 18 __tgt_rtl_data_notify_mapped@VERS1.0 17
__tgt_rtl_data_notify_unmapped@VERS1.0 18 __tgt_rtl_data_notify_unmapped@VERS1.0 17
__tgt_rtl_data_retrieve@VERS1.0 18 __tgt_rtl_data_retrieve@VERS1.0 17
__tgt_rtl_data_retrieve_async@VERS1.0 18 __tgt_rtl_data_retrieve_async@VERS1.0 17
__tgt_rtl_data_submit@VERS1.0 18 __tgt_rtl_data_submit@VERS1.0 17
__tgt_rtl_data_submit_async@VERS1.0 18 __tgt_rtl_data_submit_async@VERS1.0 17
__tgt_rtl_data_unlock@VERS1.0 18 __tgt_rtl_data_unlock@VERS1.0 17
__tgt_rtl_destroy_event@VERS1.0 18 __tgt_rtl_destroy_event@VERS1.0 17
__tgt_rtl_get_function@VERS1.0 18 __tgt_rtl_get_function@VERS1.0 18
__tgt_rtl_get_global@VERS1.0 18 __tgt_rtl_get_global@VERS1.0 18
__tgt_rtl_init_async_info@VERS1.0 18 __tgt_rtl_init_async_info@VERS1.0 17
__tgt_rtl_init_device@VERS1.0 18 __tgt_rtl_init_device@VERS1.0 17
__tgt_rtl_init_device_info@VERS1.0 18 __tgt_rtl_init_device_info@VERS1.0 17
__tgt_rtl_init_plugin@VERS1.0 18 __tgt_rtl_init_plugin@VERS1.0 17
__tgt_rtl_init_requires@VERS1.0 18 __tgt_rtl_init_requires@VERS1.0 17
__tgt_rtl_initialize_record_replay@VERS1.0 18 __tgt_rtl_initialize_record_replay@VERS1.0 18
__tgt_rtl_is_data_exchangable@VERS1.0 18 __tgt_rtl_is_data_exchangable@VERS1.0 17
__tgt_rtl_is_valid_binary@VERS1.0 18 __tgt_rtl_is_valid_binary@VERS1.0 18
__tgt_rtl_launch_kernel@VERS1.0 18 __tgt_rtl_launch_kernel@VERS1.0 17
__tgt_rtl_load_binary@VERS1.0 18 __tgt_rtl_load_binary@VERS1.0 17
__tgt_rtl_number_of_devices@VERS1.0 18 __tgt_rtl_number_of_devices@VERS1.0 17
__tgt_rtl_print_device_info@VERS1.0 18 __tgt_rtl_print_device_info@VERS1.0 17
__tgt_rtl_query_async@VERS1.0 18 __tgt_rtl_query_async@VERS1.0 17
__tgt_rtl_record_event@VERS1.0 18 __tgt_rtl_record_event@VERS1.0 17
__tgt_rtl_set_device_offset@VERS1.0 18 __tgt_rtl_set_device_offset@VERS1.0 18
__tgt_rtl_set_info_flag@VERS1.0 18 __tgt_rtl_set_info_flag@VERS1.0 17
__tgt_rtl_supports_empty_images@VERS1.0 18 #MISSING: 19# __tgt_rtl_supports_empty_images@VERS1.0 17
__tgt_rtl_sync_event@VERS1.0 18 __tgt_rtl_sync_event@VERS1.0 17
__tgt_rtl_synchronize@VERS1.0 18 __tgt_rtl_synchronize@VERS1.0 17
__tgt_rtl_use_auto_zero_copy@VERS1.0 18 __tgt_rtl_use_auto_zero_copy@VERS1.0 18
__tgt_rtl_wait_event@VERS1.0 18 __tgt_rtl_wait_event@VERS1.0 17
libomptarget.so.@LLVM_VERSION@.1 libomp5-@LLVM_VERSION@ #MINVER# libomptarget.so.@LLVM_VERSION@ libomp5-@LLVM_VERSION@ #MINVER#
VERS1.0@VERS1.0 18 VERS1.0@VERS1.0 17
__kmpc_push_target_tripcount@VERS1.0 18 __kmpc_push_target_tripcount@VERS1.0 17
__kmpc_push_target_tripcount_mapper@VERS1.0 18 __kmpc_push_target_tripcount_mapper@VERS1.0 17
__tgt_activate_record_replay@VERS1.0 18 __tgt_activate_record_replay@VERS1.0 18
__tgt_init_all_rtls@VERS1.0 18 __tgt_init_all_rtls@VERS1.0 17
__tgt_interop_destroy@VERS1.0 18 __tgt_interop_destroy@VERS1.0 17
__tgt_interop_init@VERS1.0 18 __tgt_interop_init@VERS1.0 17
__tgt_interop_use@VERS1.0 18 __tgt_interop_use@VERS1.0 17
__tgt_mapper_num_components@VERS1.0 18 __tgt_mapper_num_components@VERS1.0 17
__tgt_print_device_info@VERS1.0 18 __tgt_print_device_info@VERS1.0 17
__tgt_push_mapper_component@VERS1.0 18 __tgt_push_mapper_component@VERS1.0 17
__tgt_register_lib@VERS1.0 18 __tgt_register_lib@VERS1.0 17
__tgt_register_requires@VERS1.0 18 __tgt_register_requires@VERS1.0 17
__tgt_set_info_flag@VERS1.0 18 __tgt_set_info_flag@VERS1.0 17
__tgt_target@VERS1.0 18 __tgt_target@VERS1.0 17
__tgt_target_data_begin@VERS1.0 18 __tgt_target_data_begin@VERS1.0 17
__tgt_target_data_begin_mapper@VERS1.0 18 __tgt_target_data_begin_mapper@VERS1.0 17
__tgt_target_data_begin_nowait@VERS1.0 18 __tgt_target_data_begin_nowait@VERS1.0 17
__tgt_target_data_begin_nowait_mapper@VERS1.0 18 __tgt_target_data_begin_nowait_mapper@VERS1.0 17
__tgt_target_data_end@VERS1.0 18 __tgt_target_data_end@VERS1.0 17
__tgt_target_data_end_mapper@VERS1.0 18 __tgt_target_data_end_mapper@VERS1.0 17
__tgt_target_data_end_nowait@VERS1.0 18 __tgt_target_data_end_nowait@VERS1.0 17
__tgt_target_data_end_nowait_mapper@VERS1.0 18 __tgt_target_data_end_nowait_mapper@VERS1.0 17
__tgt_target_data_update@VERS1.0 18 __tgt_target_data_update@VERS1.0 17
__tgt_target_data_update_mapper@VERS1.0 18 __tgt_target_data_update_mapper@VERS1.0 17
__tgt_target_data_update_nowait@VERS1.0 18 __tgt_target_data_update_nowait@VERS1.0 17
__tgt_target_data_update_nowait_mapper@VERS1.0 18 __tgt_target_data_update_nowait_mapper@VERS1.0 17
__tgt_target_kernel@VERS1.0 18 __tgt_target_kernel@VERS1.0 17
__tgt_target_kernel_nowait@VERS1.0 18 __tgt_target_kernel_nowait@VERS1.0 17
__tgt_target_kernel_replay@VERS1.0 18 __tgt_target_kernel_replay@VERS1.0 17
__tgt_target_mapper@VERS1.0 18 __tgt_target_mapper@VERS1.0 17
__tgt_target_nowait@VERS1.0 18 __tgt_target_nowait@VERS1.0 17
__tgt_target_nowait_mapper@VERS1.0 18 __tgt_target_nowait_mapper@VERS1.0 17
__tgt_target_nowait_query@VERS1.0 18 __tgt_target_nowait_query@VERS1.0 17
__tgt_target_teams@VERS1.0 18 __tgt_target_teams@VERS1.0 17
__tgt_target_teams_mapper@VERS1.0 18 __tgt_target_teams_mapper@VERS1.0 17
__tgt_target_teams_nowait@VERS1.0 18 __tgt_target_teams_nowait@VERS1.0 17
__tgt_target_teams_nowait_mapper@VERS1.0 18 __tgt_target_teams_nowait_mapper@VERS1.0 17
__tgt_unregister_lib@VERS1.0 18 __tgt_unregister_lib@VERS1.0 17
llvm_omp_target_alloc_device@VERS1.0 18 llvm_omp_target_alloc_device@VERS1.0 17
llvm_omp_target_alloc_host@VERS1.0 18 llvm_omp_target_alloc_host@VERS1.0 17
llvm_omp_target_alloc_shared@VERS1.0 18 llvm_omp_target_alloc_shared@VERS1.0 17
llvm_omp_target_dynamic_shared_alloc@VERS1.0 18 llvm_omp_target_dynamic_shared_alloc@VERS1.0 17
llvm_omp_target_free_device@VERS1.0 18 llvm_omp_target_free_device@VERS1.0 17
llvm_omp_target_free_host@VERS1.0 18 llvm_omp_target_free_host@VERS1.0 17
llvm_omp_target_free_shared@VERS1.0 18 llvm_omp_target_free_shared@VERS1.0 17
llvm_omp_target_lock_mem@VERS1.0 18 llvm_omp_target_lock_mem@VERS1.0 17
llvm_omp_target_unlock_mem@VERS1.0 18 llvm_omp_target_unlock_mem@VERS1.0 17
omp_get_device_num@VERS1.0 18 omp_get_device_num@VERS1.0 17
omp_get_initial_device@VERS1.0 18 omp_get_initial_device@VERS1.0 17
omp_get_interop_int@VERS1.0 18 omp_get_interop_int@VERS1.0 17
omp_get_interop_name@VERS1.0 18 omp_get_interop_name@VERS1.0 17
omp_get_interop_ptr@VERS1.0 18 omp_get_interop_ptr@VERS1.0 17
omp_get_interop_str@VERS1.0 18 omp_get_interop_str@VERS1.0 17
omp_get_interop_type_desc@VERS1.0 18 omp_get_interop_type_desc@VERS1.0 17
omp_get_mapped_ptr@VERS1.0 18 omp_get_mapped_ptr@VERS1.0 17
omp_get_num_devices@VERS1.0 18 omp_get_num_devices@VERS1.0 17
omp_target_alloc@VERS1.0 18 omp_target_alloc@VERS1.0 17
omp_target_associate_ptr@VERS1.0 18 omp_target_associate_ptr@VERS1.0 17
omp_target_disassociate_ptr@VERS1.0 18 omp_target_disassociate_ptr@VERS1.0 17
omp_target_free@VERS1.0 18 omp_target_free@VERS1.0 17
omp_target_is_present@VERS1.0 18 omp_target_is_present@VERS1.0 17
omp_target_memcpy@VERS1.0 18 omp_target_memcpy@VERS1.0 17
omp_target_memcpy_async@VERS1.0 18 omp_target_memcpy_async@VERS1.0 17
omp_target_memcpy_rect@VERS1.0 18 omp_target_memcpy_rect@VERS1.0 17
omp_target_memcpy_rect_async@VERS1.0 18 omp_target_memcpy_rect_async@VERS1.0 17
omp_target_memset@VERS1.0 18 omp_target_memset@VERS1.0 18
omp_target_memset_async@VERS1.0 18 omp_target_memset_async@VERS1.0 18
ompt_libomptarget_connect@VERS1.0 18 ompt_libomptarget_connect@VERS1.0 17

View File

@ -1,3 +1,3 @@
#!/usr/bin/dh-exec #!/usr/bin/dh-exec
[!powerpc !powerpcspe] usr/lib/llvm-@LLVM_VERSION@/lib/libPolly*.a [!powerpc] usr/lib/llvm-@LLVM_VERSION@/lib/libPolly*.a

View File

@ -1,5 +1,2 @@
usr/lib/llvm-@LLVM_VERSION@/lib/libunwind.so /usr/lib/@DEB_HOST_MULTIARCH@/libunwind.so usr/lib/llvm-@LLVM_VERSION@/lib/libunwind.so /usr/lib/@DEB_HOST_MULTIARCH@/libunwind.so
usr/lib/llvm-@LLVM_VERSION@/lib/libunwind.a /usr/lib/@DEB_HOST_MULTIARCH@/libunwind.a usr/lib/llvm-@LLVM_VERSION@/lib/libunwind.a /usr/lib/@DEB_HOST_MULTIARCH@/libunwind.a
# when LLVM_ENABLE_PER_TARGET_RUNTIME_DIR=ON:
#usr/lib/llvm-@LLVM_VERSION@/lib/@DEB_HOST_MULTIARCH_LLVM@/libunwind.so /usr/lib/@DEB_HOST_MULTIARCH@/libunwind.so
#usr/lib/llvm-@LLVM_VERSION@/lib/@DEB_HOST_MULTIARCH_LLVM@/libunwind.a /usr/lib/@DEB_HOST_MULTIARCH@/libunwind.a

View File

@ -1,4 +1,2 @@
usr/lib/llvm-@LLVM_VERSION@/lib/libunwind.so.1.0 /usr/lib/@DEB_HOST_MULTIARCH@/libunwind.so.1.0 usr/lib/llvm-@LLVM_VERSION@/lib/libunwind.so.1.0 /usr/lib/@DEB_HOST_MULTIARCH@/libunwind.so.1.0
# when LLVM_ENABLE_PER_TARGET_RUNTIME_DIR=ON:
#usr/lib/llvm-@LLVM_VERSION@/lib/@DEB_HOST_MULTIARCH_LLVM@/libunwind.so.1.0 /usr/lib/@DEB_HOST_MULTIARCH@/libunwind.so.1.0
usr/lib/@DEB_HOST_MULTIARCH@/libunwind.so.1.0 /usr/lib/@DEB_HOST_MULTIARCH@/libunwind.so.1 usr/lib/@DEB_HOST_MULTIARCH@/libunwind.so.1.0 /usr/lib/@DEB_HOST_MULTIARCH@/libunwind.so.1

View File

@ -2,8 +2,8 @@
usr/lib/llvm-@LLVM_VERSION@/lib/libLLVM*.a usr/lib/llvm-@LLVM_VERSION@/lib/libLLVM*.a
#usr/lib/llvm-@LLVM_VERSION@/lib/libllvm*.a #usr/lib/llvm-@LLVM_VERSION@/lib/libllvm*.a
usr/lib/llvm-@LLVM_VERSION@/lib/libLLVM.so
usr/lib/llvm-@LLVM_VERSION@/lib/libLLVM-@LLVM_VERSION@*.so usr/lib/llvm-@LLVM_VERSION@/lib/libLLVM-@LLVM_VERSION@*.so
usr/lib/llvm-@LLVM_VERSION@/lib/libLLVM-@LLVM_VERSION@*.so.1
usr/lib/llvm-@LLVM_VERSION@/lib/libLTO.so usr/lib/llvm-@LLVM_VERSION@/lib/libLTO.so
usr/lib/llvm-@LLVM_VERSION@/lib/libRemarks.* usr/lib/llvm-@LLVM_VERSION@/lib/libRemarks.*
usr/lib/llvm-@LLVM_VERSION@/include/llvm/ usr/include/llvm-@LLVM_VERSION@/ usr/lib/llvm-@LLVM_VERSION@/include/llvm/ usr/include/llvm-@LLVM_VERSION@/

View File

@ -1,5 +1,3 @@
usr/lib/@DEB_HOST_MULTIARCH@/libLLVM-@LLVM_VERSION@.so.1 /usr/lib/@DEB_HOST_MULTIARCH@/libLLVM-@LLVM_VERSION_FULL@.so
usr/include/llvm-c-@LLVM_VERSION@/llvm-c usr/lib/llvm-@LLVM_VERSION@/include/llvm-c usr/include/llvm-c-@LLVM_VERSION@/llvm-c usr/lib/llvm-@LLVM_VERSION@/include/llvm-c
usr/include/llvm-@LLVM_VERSION@/llvm usr/lib/llvm-@LLVM_VERSION@/include/llvm usr/include/llvm-@LLVM_VERSION@/llvm usr/lib/llvm-@LLVM_VERSION@/include/llvm
usr/include/llvm-c-@LLVM_VERSION@/llvm-c usr/lib/llvm-@LLVM_VERSION@/build/include/llvm-c usr/include/llvm-c-@LLVM_VERSION@/llvm-c usr/lib/llvm-@LLVM_VERSION@/build/include/llvm-c
@ -13,3 +11,16 @@ usr/lib/llvm-@LLVM_VERSION@/ usr/lib/llvm-@LLVM_VERSION@/build/Debug+Asserts
usr/lib/llvm-@LLVM_VERSION@/lib/cmake/llvm usr/lib/llvm-@LLVM_VERSION@/cmake usr/lib/llvm-@LLVM_VERSION@/lib/cmake/llvm usr/lib/llvm-@LLVM_VERSION@/cmake
usr/lib/llvm-@LLVM_VERSION@/lib/cmake/llvm usr/lib/llvm-@LLVM_VERSION@/share/llvm/cmake usr/lib/llvm-@LLVM_VERSION@/lib/cmake/llvm usr/lib/llvm-@LLVM_VERSION@/share/llvm/cmake
# FIXME: CMake requires this file, but for what? Fix LLVMExports.cmake instead?
#
# CMake Error at /usr/lib/llvm-19/lib/cmake/llvm/LLVMExports.cmake:1908 (message):
# The imported target "LLVM" references the file
#
# "/usr/lib/llvm-19/lib/libLLVM.so.1"
#
# but this file does not exist.
usr/lib/llvm-@LLVM_VERSION@/lib/libLLVM.so.@LLVM_VERSION@.@LLVM_VERSION_MINOR@ usr/lib/llvm-@LLVM_VERSION@/lib/libLLVM.so.1
# symlink to the soname in the llvm libdir
usr/lib/@DEB_HOST_MULTIARCH@/libLLVM.so.@LLVM_VERSION@.@LLVM_VERSION_MINOR@ usr/lib/llvm-@LLVM_VERSION@/lib/libLLVM.so.@LLVM_VERSION@.@LLVM_VERSION_MINOR@

View File

@ -1,5 +1,4 @@
#!/usr/bin/dh-exec #!/usr/bin/dh-exec
usr/lib/llvm-@LLVM_VERSION@/lib/libLTO.so.@LLVM_VERSION@.1 usr/lib/llvm-@LLVM_VERSION@/lib/libLTO.so.@LLVM_VERSION@.@LLVM_VERSION_MINOR@
[!powerpc !powerpcspe] usr/lib/llvm-@LLVM_VERSION@/lib/LLVMPolly.so [!powerpc] usr/lib/llvm-@LLVM_VERSION@/lib/LLVM*.so
[!powerpc !powerpcspe !riscv64 !mips64el !armel !loong64 !sparc64] usr/lib/llvm-@LLVM_VERSION@/lib/LLVMgold.so

View File

@ -1,3 +1,3 @@
#!/usr/bin/dh-exec #!/usr/bin/dh-exec
[!powerpc !powerpcspe !riscv64] usr/lib/llvm-@LLVM_VERSION@/lib/LLVMgold.so usr/lib/bfd-plugins/LLVMgold-@LLVM_VERSION@.so [!powerpc] usr/lib/llvm-@LLVM_VERSION@/lib/LLVMgold.so usr/lib/bfd-plugins/LLVMgold-@LLVM_VERSION@.so

View File

@ -1,4 +1,3 @@
usr/lib/llvm-@LLVM_VERSION@/bin/count usr/lib/llvm-@LLVM_VERSION@/bin/count
usr/lib/llvm-@LLVM_VERSION@/bin/FileCheck usr/lib/llvm-@LLVM_VERSION@/bin/FileCheck
usr/lib/llvm-@LLVM_VERSION@/bin/not usr/lib/llvm-@LLVM_VERSION@/bin/not

View File

@ -81,6 +81,7 @@ usr/lib/llvm-@LLVM_VERSION@/bin/llvm-debuginfod
usr/lib/llvm-@LLVM_VERSION@/bin/llvm-remarkutil usr/lib/llvm-@LLVM_VERSION@/bin/llvm-remarkutil
usr/lib/llvm-@LLVM_VERSION@/bin/llvm-debuginfo-analyzer usr/lib/llvm-@LLVM_VERSION@/bin/llvm-debuginfo-analyzer
usr/lib/llvm-@LLVM_VERSION@/bin/llvm-readtapi usr/lib/llvm-@LLVM_VERSION@/bin/llvm-readtapi
usr/lib/llvm-@LLVM_VERSION@/bin/reduce-chunk-list
usr/bin/llvm-PerfectShuffle-@LLVM_VERSION@ usr/bin/llvm-PerfectShuffle-@LLVM_VERSION@
usr/bin/llvm-addr2line-@LLVM_VERSION@ usr/bin/llvm-addr2line-@LLVM_VERSION@
@ -160,3 +161,4 @@ usr/bin/dsymutil-*
usr/bin/llvm-debuginfod-find-* usr/bin/llvm-debuginfod-find-*
usr/bin/llvm-debuginfod-@LLVM_VERSION@ usr/bin/llvm-debuginfod-@LLVM_VERSION@
usr/bin/llvm-debuginfo-analyzer-@LLVM_VERSION@ usr/bin/llvm-debuginfo-analyzer-@LLVM_VERSION@
usr/bin/reduce-chunk-list-@LLVM_VERSION@

View File

@ -25,25 +25,18 @@ NCPUS=$NJOBS
check_convert_bitcode () { check_convert_bitcode () {
local file_name=$(realpath ${1}) local file_name=$(realpath ${1})
local file_type=$(file ${file_name}) local file_type=$(file ${file_name})
shift shift
CLANG_FLAGS="$@" CLANG_FLAGS="$@"
if [[ "${file_type}" == *"LLVM IR bitcode"* ]]; then if [[ "${file_type}" == *"LLVM IR bitcode"* ]]; then
# Check the output of llvm-strings for the command line, which is in the LLVM bitcode because # check for an indication that the bitcode was
# we pass -frecord-gcc-switches. # compiled with -flto
# Check for a line that has "-flto" after (or without) "-fno-lto". ${P_TO_LLVM}/debian/tmp/usr/bin/llvm-bcanalyzer-${VERSION} -dump ${file_name} | grep -xP '.*\-flto((?!-fno-lto).)*' 2>&1 > /dev/null
llvm-strings ${file_name} | while read line ; do if [ $? -eq 0 ]; then
flto=$(echo $line | grep -o -b -e -flto | tail -n 1 | cut -d : -f 1)
fnolto=$(echo $line | grep -o -b -e -fno-lto | tail -n 1 | cut -d : -f 1)
if test -n "$flto" && { test -z "$fnolto" || test "$flto" -gt "$fnolto"; } ; then
echo "Compiling LLVM bitcode file ${file_name}." echo "Compiling LLVM bitcode file ${file_name}."
clang ${CLANG_FLAGS} -fno-lto -Wno-unused-command-line-argument \ ${P_TO_LLVM}/debian/tmp/usr/bin/clang-${VERSION} -fno-lto -opaque-pointers -Wno-unused-command-line-argument \
-x ir ${file_name} -c -o ${file_name} -x ir ${file_name} -c -o ${file_name}
break
fi fi
done
elif [[ "${file_type}" == *"current ar archive"* ]]; then elif [[ "${file_type}" == *"current ar archive"* ]]; then
echo "Unpacking ar archive ${file_name} to check for LLVM bitcode components." echo "Unpacking ar archive ${file_name} to check for LLVM bitcode components."
# create archive stage for objects # create archive stage for objects
@ -54,7 +47,7 @@ check_convert_bitcode () {
for archived_file in $(find -not -type d); do for archived_file in $(find -not -type d); do
check_convert_bitcode ${archived_file} ${CLANG_FLAGS} check_convert_bitcode ${archived_file} ${CLANG_FLAGS}
echo "Repacking ${archived_file} into ${archive}." echo "Repacking ${archived_file} into ${archive}."
ar r ${archive} ${archived_file} ${P_TO_LLVM}/debian/tmp/usr/bin/llvm-ar-${VERSION} r ${archive} ${archived_file}
done done
popd popd
fi fi
@ -62,7 +55,5 @@ check_convert_bitcode () {
echo "Checking for LLVM bitcode artifacts" echo "Checking for LLVM bitcode artifacts"
export -f check_convert_bitcode export -f check_convert_bitcode
# Deduplicate by device:inode to avoid processing hardlinks in parallel. find "$P_TO_LLVM/debian/" -type f -name "*.[ao]" -print0 | \
find "$P_TO_LLVM/debian/" -type f -name "*.[ao]" -printf "%D:%i %p\n" | \ xargs -0 -r -n1 -P$NCPUS bash -c "check_convert_bitcode \$@ $CLANG_FLAGS" ARG0
awk '!seen[$1]++' | cut -d" " -f2- | \
xargs -d"\n" -r -n1 -P$NCPUS bash -c "check_convert_bitcode \$@ $CLANG_FLAGS" ARG0

6
debian/orig-tar.sh vendored
View File

@ -131,12 +131,13 @@ if test -z "$TAG" -a -z "$FINAL_RELEASE"; then
# In general, in Debian, we will keep X until X.0.1 is released (or rc in experimental) # In general, in Debian, we will keep X until X.0.1 is released (or rc in experimental)
# However, on apt.llvm.org, we will update the version to have X.0.1 # However, on apt.llvm.org, we will update the version to have X.0.1
# This code is doing that. # This code is doing that.
CURRENT_VERSION="$(grep -oP 'set\(\s*LLVM_VERSION_(MAJOR|MINOR|PATCH)\s\K[0-9]+' llvm/CMakeLists.txt | paste -sd '.')" CURRENT_VERSION="$(grep -oP 'set\(\s*LLVM_VERSION_(MAJOR|MINOR|PATCH)\s\K[0-9]+' cmake/Modules/LLVMVersion.cmake | paste -sd '.')"
fi fi
# the + is here to make sure that this version is considered more recent than the svn # the + is here to make sure that this version is considered more recent than the svn
# dpkg --compare-versions 10~svn374977-1~exp1 lt 10~+2019-svn374977-1~exp1 # dpkg --compare-versions 10~svn374977-1~exp1 lt 10~+2019-svn374977-1~exp1
# to verify that # to verify that
VERSION="${CURRENT_VERSION}~++$(date +'%Y%m%d%I%M%S')+$(git log -1 --pretty=format:'%h')" VERSION="${CURRENT_VERSION}~++$(date +'%Y%m%d%I%M%S')+$(git log -1 --pretty=format:'%h')"
echo "CURRENT = ${CURRENT_VERSION}"
else else
if ! echo "$EXACT_VERSION"|grep -q "$MAJOR_VERSION"; then if ! echo "$EXACT_VERSION"|grep -q "$MAJOR_VERSION"; then
@ -160,12 +161,11 @@ rm -rf */www/ build/ build-llvm/
cd ../ cd ../
BASE="llvm-toolchain-${MAJOR_VERSION}_${VERSION}" BASE="llvm-toolchain-${MAJOR_VERSION}_${VERSION}"
FILENAME="${BASE}.orig.tar.xz" FILENAME="${BASE}.orig.tar.xz"
cp -R llvm-toolchain-integration-test-suite llvm-project/integration-test-suite cp -R llvm-toolchain-integration-test-suite llvm-project/integration-test-suite
# Argument to compress faster (for the cost of time) # Argument to compress faster (for the cost of time)
export XZ_OPT="-4 -T$(nproc)" export XZ_OPT="-4 -T$(nproc)"
echo "Compressing to $FILENAME" echo "Compressing to $FILENAME"
time tar Jcf $CURRENT_PATH/"$FILENAME" --exclude .git --exclude build-llvm --transform="s|llvm-project|$BASE|" -C $EXPORT_PATH llvm-project time tar Jcf $CURRENT_PATH/"$FILENAME" --exclude .git --exclude .gitattributes --exclude .git-blame-ignore-revs --exclude .gitignore --exclude .github --exclude build-llvm --transform="s|llvm-project|$BASE|" -C $EXPORT_PATH llvm-project
rm -rf llvm-project/integration-test-suite rm -rf llvm-project/integration-test-suite
export DEBFULLNAME="Sylvestre Ledru" export DEBFULLNAME="Sylvestre Ledru"

View File

@ -1,24 +0,0 @@
From 8984b5d9a9bb143844e716db79388808f6944270 Mon Sep 17 00:00:00 2001
From: Sylvestre Ledru <sylvestre@debian.org>
Date: Sun, 18 Oct 2020 18:56:17 +0200
Subject: [PATCH 1/3] tsan doesn't work on arm
---
tests/test_tsan.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/integration-test-suite/tests/test_tsan.c b/tests/test_tsan.c
index ed9aaec..197d3a4 100644
--- a/integration-test-suite/tests/test_tsan.c
+++ b/integration-test-suite/tests/test_tsan.c
@@ -5,6 +5,7 @@
// RUN: %llvm-nm %t | grep __tsan
// RUN: env TSAN_OPTIONS="log_path=stdout:exitcode=0" %t 2>&1 > %t.out
// RUN: grep -q "data race" %t.out
+// XFAIL: arm
#include <pthread.h>
#include <stdio.h>
--
2.28.0

View File

@ -1,26 +0,0 @@
From 77f09cd056d5183fa048d2b8fdc29302dca25ed7 Mon Sep 17 00:00:00 2001
From: Sylvestre Ledru <sylvestre@debian.org>
Date: Mon, 19 Oct 2020 14:43:32 +0200
Subject: [PATCH 2/3] Disable test_asan_heap.c for arm (#30)
Unsupported on this arch:
clang: error: unsupported option '-fsanitize=thread' for target 'armv7l-unknown-linux-gnueabihf'
---
tests/test_asan_heap.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/integration-test-suite/tests/test_asan_heap.c b/tests/test_asan_heap.c
index 828ac4f..f021703 100644
--- a/integration-test-suite/tests/test_asan_heap.c
+++ b/integration-test-suite/tests/test_asan_heap.c
@@ -4,6 +4,7 @@
// RUN: %clang -o %t -fsanitize=address -O1 -fno-omit-frame-pointer -g %s
// RUN: env ASAN_OPTIONS="log_path=stdout:exitcode=0" %t 2>&1 > %t.out
// RUN: grep -q "heap-use-after-free" %t.out
+// XFAIL: arm
#include <stdlib.h>
int main() {
--
2.28.0

View File

@ -1,35 +0,0 @@
From 5fd1282d17fb5db341239af2853ab12f4ff141c8 Mon Sep 17 00:00:00 2001
From: Sylvestre Ledru <sylvestre@debian.org>
Date: Mon, 19 Oct 2020 14:55:20 +0200
Subject: [PATCH 3/3] leaksan: add a test (#31)
---
tests/test_leaksan.c | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
create mode 100644 tests/test_leaksan.c
diff --git a/integration-test-suite/tests/test_leaksan.c b/tests/test_leaksan.c
new file mode 100644
index 0000000..db425a1
--- /dev/null
+++ b/integration-test-suite/tests/test_leaksan.c
@@ -0,0 +1,16 @@
+// Test asan use after free
+//
+// REQUIRES: clang
+// RUN: %clang -o %t -fsanitize=address -g %s
+// RUN: env ASAN_OPTIONS="log_path=stdout:exitcode=0" %t 2>&1 > %t.out
+// RUN: grep -q "detected memory leaks" %t.out
+
+#include <stdlib.h>
+
+void *p;
+
+int main() {
+ p = malloc(7);
+ p = 0; // The memory is leaked here.
+ return 0;
+}
--
2.28.0

View File

@ -3,10 +3,10 @@
tools/llvm-shlib/CMakeLists.txt | 1 + tools/llvm-shlib/CMakeLists.txt | 1 +
2 files changed, 2 insertions(+), 1 deletion(-) 2 files changed, 2 insertions(+), 1 deletion(-)
Index: llvm-toolchain-18_18.1.2/clang/tools/libclang/CMakeLists.txt Index: llvm-toolchain-snapshot_19~++20240319094628+703920d4138d/clang/tools/libclang/CMakeLists.txt
=================================================================== ===================================================================
--- llvm-toolchain-18_18.1.2.orig/clang/tools/libclang/CMakeLists.txt --- llvm-toolchain-snapshot_19~++20240319094628+703920d4138d.orig/clang/tools/libclang/CMakeLists.txt
+++ llvm-toolchain-18_18.1.2/clang/tools/libclang/CMakeLists.txt +++ llvm-toolchain-snapshot_19~++20240319094628+703920d4138d/clang/tools/libclang/CMakeLists.txt
@@ -135,7 +135,7 @@ if (UNIX AND ${CMAKE_SYSTEM_NAME} MATCHE @@ -135,7 +135,7 @@ if (UNIX AND ${CMAKE_SYSTEM_NAME} MATCHE
remove_definitions("-D_XOPEN_SOURCE=700") remove_definitions("-D_XOPEN_SOURCE=700")
endif() endif()
@ -16,10 +16,10 @@ Index: llvm-toolchain-18_18.1.2/clang/tools/libclang/CMakeLists.txt
OUTPUT_NAME ${output_name} OUTPUT_NAME ${output_name}
${SOURCES} ${SOURCES}
Index: llvm-toolchain-18_18.1.2/llvm/tools/llvm-shlib/CMakeLists.txt Index: llvm-toolchain-snapshot_19~++20240319094628+703920d4138d/llvm/tools/llvm-shlib/CMakeLists.txt
=================================================================== ===================================================================
--- llvm-toolchain-18_18.1.2.orig/llvm/tools/llvm-shlib/CMakeLists.txt --- llvm-toolchain-snapshot_19~++20240319094628+703920d4138d.orig/llvm/tools/llvm-shlib/CMakeLists.txt
+++ llvm-toolchain-18_18.1.2/llvm/tools/llvm-shlib/CMakeLists.txt +++ llvm-toolchain-snapshot_19~++20240319094628+703920d4138d/llvm/tools/llvm-shlib/CMakeLists.txt
@@ -41,6 +41,8 @@ if(LLVM_BUILD_LLVM_DYLIB) @@ -41,6 +41,8 @@ if(LLVM_BUILD_LLVM_DYLIB)
llvm_install_library_symlink(LLVM-${LLVM_VERSION_MAJOR}${LLVM_VERSION_SUFFIX} $<TARGET_FILE_NAME:LLVM> SHARED FULL_DEST COMPONENT LLVM) llvm_install_library_symlink(LLVM-${LLVM_VERSION_MAJOR}${LLVM_VERSION_SUFFIX} $<TARGET_FILE_NAME:LLVM> SHARED FULL_DEST COMPONENT LLVM)
endif() endif()

View File

@ -9,11 +9,11 @@ Subject: Set html_static_path = ['_static'] everywhere.
polly/docs/conf.py | 2 +- polly/docs/conf.py | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-) 4 files changed, 4 insertions(+), 4 deletions(-)
Index: llvm-toolchain-snapshot_11~++20200326111000+4673699a470/clang/docs/analyzer/conf.py Index: llvm-toolchain-19_19.1.2~++20241011093632+6c1fd539e43e/clang/docs/analyzer/conf.py
=================================================================== ===================================================================
--- llvm-toolchain-snapshot_11~++20200326111000+4673699a470.orig/clang/docs/analyzer/conf.py --- llvm-toolchain-19_19.1.2~++20241011093632+6c1fd539e43e.orig/clang/docs/analyzer/conf.py
+++ llvm-toolchain-snapshot_11~++20200326111000+4673699a470/clang/docs/analyzer/conf.py +++ llvm-toolchain-19_19.1.2~++20241011093632+6c1fd539e43e/clang/docs/analyzer/conf.py
@@ -121,7 +121,7 @@ html_theme = 'haiku' @@ -118,7 +118,7 @@ html_theme = "haiku"
# Add any paths that contain custom static files (such as style sheets) here, # Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files, # relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css". # so a file named "default.css" will overwrite the builtin "default.css".
@ -22,11 +22,11 @@ Index: llvm-toolchain-snapshot_11~++20200326111000+4673699a470/clang/docs/analyz
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom, # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
# using the given strftime format. # using the given strftime format.
Index: llvm-toolchain-snapshot_11~++20200326111000+4673699a470/clang/docs/conf.py Index: llvm-toolchain-19_19.1.2~++20241011093632+6c1fd539e43e/clang/docs/conf.py
=================================================================== ===================================================================
--- llvm-toolchain-snapshot_11~++20200326111000+4673699a470.orig/clang/docs/conf.py --- llvm-toolchain-19_19.1.2~++20241011093632+6c1fd539e43e.orig/clang/docs/conf.py
+++ llvm-toolchain-snapshot_11~++20200326111000+4673699a470/clang/docs/conf.py +++ llvm-toolchain-19_19.1.2~++20241011093632+6c1fd539e43e/clang/docs/conf.py
@@ -122,7 +122,7 @@ html_theme = 'haiku' @@ -127,7 +127,7 @@ html_theme = "haiku"
# Add any paths that contain custom static files (such as style sheets) here, # Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files, # relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css". # so a file named "default.css" will overwrite the builtin "default.css".
@ -35,11 +35,11 @@ Index: llvm-toolchain-snapshot_11~++20200326111000+4673699a470/clang/docs/conf.p
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom, # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
# using the given strftime format. # using the given strftime format.
Index: llvm-toolchain-snapshot_11~++20200326111000+4673699a470/polly/docs/conf.py Index: llvm-toolchain-19_19.1.2~++20241011093632+6c1fd539e43e/polly/docs/conf.py
=================================================================== ===================================================================
--- llvm-toolchain-snapshot_11~++20200326111000+4673699a470.orig/polly/docs/conf.py --- llvm-toolchain-19_19.1.2~++20241011093632+6c1fd539e43e.orig/polly/docs/conf.py
+++ llvm-toolchain-snapshot_11~++20200326111000+4673699a470/polly/docs/conf.py +++ llvm-toolchain-19_19.1.2~++20241011093632+6c1fd539e43e/polly/docs/conf.py
@@ -127,7 +127,7 @@ except ImportError: @@ -124,7 +124,7 @@ except ImportError:
# Add any paths that contain custom static files (such as style sheets) here, # Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files, # relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css". # so a file named "default.css" will overwrite the builtin "default.css".

View File

@ -13,10 +13,10 @@ Subject: Use Debian-provided MathJax everywhere.
polly/docs/doxygen.cfg.in | 2 +- polly/docs/doxygen.cfg.in | 2 +-
8 files changed, 14 insertions(+), 5 deletions(-) 8 files changed, 14 insertions(+), 5 deletions(-)
Index: llvm-toolchain-18_18.1.5~++20240423100144+a981a4f7653c/clang-tools-extra/docs/conf.py Index: llvm-toolchain-snapshot_19~++20240424094944+78ebaa2d798f/clang-tools-extra/docs/conf.py
=================================================================== ===================================================================
--- llvm-toolchain-18_18.1.5~++20240423100144+a981a4f7653c.orig/clang-tools-extra/docs/conf.py --- llvm-toolchain-snapshot_19~++20240424094944+78ebaa2d798f.orig/clang-tools-extra/docs/conf.py
+++ llvm-toolchain-18_18.1.5~++20240423100144+a981a4f7653c/clang-tools-extra/docs/conf.py +++ llvm-toolchain-snapshot_19~++20240424094944+78ebaa2d798f/clang-tools-extra/docs/conf.py
@@ -119,6 +119,9 @@ html_theme = "haiku" @@ -119,6 +119,9 @@ html_theme = "haiku"
# so a file named "default.css" will overwrite the builtin "default.css". # so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ["_static"] html_static_path = ["_static"]
@ -27,10 +27,10 @@ Index: llvm-toolchain-18_18.1.5~++20240423100144+a981a4f7653c/clang-tools-extra/
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom, # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
# using the given strftime format. # using the given strftime format.
# html_last_updated_fmt = '%b %d, %Y' # html_last_updated_fmt = '%b %d, %Y'
Index: llvm-toolchain-18_18.1.5~++20240423100144+a981a4f7653c/clang-tools-extra/docs/doxygen.cfg.in Index: llvm-toolchain-snapshot_19~++20240424094944+78ebaa2d798f/clang-tools-extra/docs/doxygen.cfg.in
=================================================================== ===================================================================
--- llvm-toolchain-18_18.1.5~++20240423100144+a981a4f7653c.orig/clang-tools-extra/docs/doxygen.cfg.in --- llvm-toolchain-snapshot_19~++20240424094944+78ebaa2d798f.orig/clang-tools-extra/docs/doxygen.cfg.in
+++ llvm-toolchain-18_18.1.5~++20240423100144+a981a4f7653c/clang-tools-extra/docs/doxygen.cfg.in +++ llvm-toolchain-snapshot_19~++20240424094944+78ebaa2d798f/clang-tools-extra/docs/doxygen.cfg.in
@@ -1443,7 +1443,7 @@ MATHJAX_FORMAT = HTML-CSS @@ -1443,7 +1443,7 @@ MATHJAX_FORMAT = HTML-CSS
# The default value is: http://cdn.mathjax.org/mathjax/latest. # The default value is: http://cdn.mathjax.org/mathjax/latest.
# This tag requires that the tag USE_MATHJAX is set to YES. # This tag requires that the tag USE_MATHJAX is set to YES.
@ -40,10 +40,10 @@ Index: llvm-toolchain-18_18.1.5~++20240423100144+a981a4f7653c/clang-tools-extra/
# The MATHJAX_EXTENSIONS tag can be used to specify one or more MathJax # The MATHJAX_EXTENSIONS tag can be used to specify one or more MathJax
# extension names that should be enabled during MathJax rendering. For example # extension names that should be enabled during MathJax rendering. For example
Index: llvm-toolchain-18_18.1.5~++20240423100144+a981a4f7653c/clang/docs/analyzer/conf.py Index: llvm-toolchain-snapshot_19~++20240424094944+78ebaa2d798f/clang/docs/analyzer/conf.py
=================================================================== ===================================================================
--- llvm-toolchain-18_18.1.5~++20240423100144+a981a4f7653c.orig/clang/docs/analyzer/conf.py --- llvm-toolchain-snapshot_19~++20240424094944+78ebaa2d798f.orig/clang/docs/analyzer/conf.py
+++ llvm-toolchain-18_18.1.5~++20240423100144+a981a4f7653c/clang/docs/analyzer/conf.py +++ llvm-toolchain-snapshot_19~++20240424094944+78ebaa2d798f/clang/docs/analyzer/conf.py
@@ -120,6 +120,9 @@ html_theme = "haiku" @@ -120,6 +120,9 @@ html_theme = "haiku"
# so a file named "default.css" will overwrite the builtin "default.css". # so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static'] html_static_path = ['_static']
@ -54,11 +54,11 @@ Index: llvm-toolchain-18_18.1.5~++20240423100144+a981a4f7653c/clang/docs/analyze
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom, # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
# using the given strftime format. # using the given strftime format.
# html_last_updated_fmt = '%b %d, %Y' # html_last_updated_fmt = '%b %d, %Y'
Index: llvm-toolchain-18_18.1.5~++20240423100144+a981a4f7653c/clang/docs/conf.py Index: llvm-toolchain-snapshot_19~++20240424094944+78ebaa2d798f/clang/docs/conf.py
=================================================================== ===================================================================
--- llvm-toolchain-18_18.1.5~++20240423100144+a981a4f7653c.orig/clang/docs/conf.py --- llvm-toolchain-snapshot_19~++20240424094944+78ebaa2d798f.orig/clang/docs/conf.py
+++ llvm-toolchain-18_18.1.5~++20240423100144+a981a4f7653c/clang/docs/conf.py +++ llvm-toolchain-snapshot_19~++20240424094944+78ebaa2d798f/clang/docs/conf.py
@@ -120,6 +120,9 @@ html_theme = "haiku" @@ -129,6 +129,9 @@ html_theme = "haiku"
# so a file named "default.css" will overwrite the builtin "default.css". # so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static'] html_static_path = ['_static']
@ -68,10 +68,10 @@ Index: llvm-toolchain-18_18.1.5~++20240423100144+a981a4f7653c/clang/docs/conf.py
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom, # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
# using the given strftime format. # using the given strftime format.
# html_last_updated_fmt = '%b %d, %Y' # html_last_updated_fmt = '%b %d, %Y'
Index: llvm-toolchain-18_18.1.5~++20240423100144+a981a4f7653c/clang/docs/doxygen.cfg.in Index: llvm-toolchain-snapshot_19~++20240424094944+78ebaa2d798f/clang/docs/doxygen.cfg.in
=================================================================== ===================================================================
--- llvm-toolchain-18_18.1.5~++20240423100144+a981a4f7653c.orig/clang/docs/doxygen.cfg.in --- llvm-toolchain-snapshot_19~++20240424094944+78ebaa2d798f.orig/clang/docs/doxygen.cfg.in
+++ llvm-toolchain-18_18.1.5~++20240423100144+a981a4f7653c/clang/docs/doxygen.cfg.in +++ llvm-toolchain-snapshot_19~++20240424094944+78ebaa2d798f/clang/docs/doxygen.cfg.in
@@ -1432,7 +1432,7 @@ MATHJAX_FORMAT = HTML-CSS @@ -1432,7 +1432,7 @@ MATHJAX_FORMAT = HTML-CSS
# The default value is: http://cdn.mathjax.org/mathjax/latest. # The default value is: http://cdn.mathjax.org/mathjax/latest.
# This tag requires that the tag USE_MATHJAX is set to YES. # This tag requires that the tag USE_MATHJAX is set to YES.
@ -81,10 +81,10 @@ Index: llvm-toolchain-18_18.1.5~++20240423100144+a981a4f7653c/clang/docs/doxygen
# The MATHJAX_EXTENSIONS tag can be used to specify one or more MathJax # The MATHJAX_EXTENSIONS tag can be used to specify one or more MathJax
# extension names that should be enabled during MathJax rendering. For example # extension names that should be enabled during MathJax rendering. For example
Index: llvm-toolchain-18_18.1.5~++20240423100144+a981a4f7653c/llvm/docs/doxygen.cfg.in Index: llvm-toolchain-snapshot_19~++20240424094944+78ebaa2d798f/llvm/docs/doxygen.cfg.in
=================================================================== ===================================================================
--- llvm-toolchain-18_18.1.5~++20240423100144+a981a4f7653c.orig/llvm/docs/doxygen.cfg.in --- llvm-toolchain-snapshot_19~++20240424094944+78ebaa2d798f.orig/llvm/docs/doxygen.cfg.in
+++ llvm-toolchain-18_18.1.5~++20240423100144+a981a4f7653c/llvm/docs/doxygen.cfg.in +++ llvm-toolchain-snapshot_19~++20240424094944+78ebaa2d798f/llvm/docs/doxygen.cfg.in
@@ -1433,7 +1433,7 @@ MATHJAX_FORMAT = HTML-CSS @@ -1433,7 +1433,7 @@ MATHJAX_FORMAT = HTML-CSS
# The default value is: http://cdn.mathjax.org/mathjax/latest. # The default value is: http://cdn.mathjax.org/mathjax/latest.
# This tag requires that the tag USE_MATHJAX is set to YES. # This tag requires that the tag USE_MATHJAX is set to YES.
@ -94,10 +94,10 @@ Index: llvm-toolchain-18_18.1.5~++20240423100144+a981a4f7653c/llvm/docs/doxygen.
# The MATHJAX_EXTENSIONS tag can be used to specify one or more MathJax # The MATHJAX_EXTENSIONS tag can be used to specify one or more MathJax
# extension names that should be enabled during MathJax rendering. For example # extension names that should be enabled during MathJax rendering. For example
Index: llvm-toolchain-18_18.1.5~++20240423100144+a981a4f7653c/polly/docs/doxygen.cfg.in Index: llvm-toolchain-snapshot_19~++20240424094944+78ebaa2d798f/polly/docs/doxygen.cfg.in
=================================================================== ===================================================================
--- llvm-toolchain-18_18.1.5~++20240423100144+a981a4f7653c.orig/polly/docs/doxygen.cfg.in --- llvm-toolchain-snapshot_19~++20240424094944+78ebaa2d798f.orig/polly/docs/doxygen.cfg.in
+++ llvm-toolchain-18_18.1.5~++20240423100144+a981a4f7653c/polly/docs/doxygen.cfg.in +++ llvm-toolchain-snapshot_19~++20240424094944+78ebaa2d798f/polly/docs/doxygen.cfg.in
@@ -1433,7 +1433,7 @@ MATHJAX_FORMAT = HTML-CSS @@ -1433,7 +1433,7 @@ MATHJAX_FORMAT = HTML-CSS
# The default value is: http://cdn.mathjax.org/mathjax/latest. # The default value is: http://cdn.mathjax.org/mathjax/latest.
# This tag requires that the tag USE_MATHJAX is set to YES. # This tag requires that the tag USE_MATHJAX is set to YES.

View File

@ -7,37 +7,11 @@
clang/test/Sema/warn-strlcpycat-size.c | 55 -------------- clang/test/Sema/warn-strlcpycat-size.c | 55 --------------
6 files changed, 25 insertions(+), 78 deletions(-) 6 files changed, 25 insertions(+), 78 deletions(-)
Index: llvm-toolchain-snapshot_18~++20230828063023+b4b42bd6522f/clang/include/clang/Basic/Builtins.def Index: llvm-toolchain-19_19.1.2~++20241011093632+6c1fd539e43e/clang/lib/AST/Decl.cpp
=================================================================== ===================================================================
--- llvm-toolchain-snapshot_18~++20230828063023+b4b42bd6522f.orig/clang/include/clang/Basic/Builtins.def --- llvm-toolchain-19_19.1.2~++20241011093632+6c1fd539e43e.orig/clang/lib/AST/Decl.cpp
+++ llvm-toolchain-snapshot_18~++20230828063023+b4b42bd6522f/clang/include/clang/Basic/Builtins.def +++ llvm-toolchain-19_19.1.2~++20241011093632+6c1fd539e43e/clang/lib/AST/Decl.cpp
@@ -645,8 +645,8 @@ BUILTIN(__builtin___memset_chk, "v*v*izz @@ -4412,13 +4412,13 @@ unsigned FunctionDecl::getMemoryFunction
BUILTIN(__builtin___stpcpy_chk, "c*c*cC*z", "nF")
BUILTIN(__builtin___strcat_chk, "c*c*cC*z", "nF")
BUILTIN(__builtin___strcpy_chk, "c*c*cC*z", "nF")
-BUILTIN(__builtin___strlcat_chk, "zc*cC*zz", "nF")
-BUILTIN(__builtin___strlcpy_chk, "zc*cC*zz", "nF")
+//BUILTIN(__builtin___strlcat_chk, "zc*cC*zz", "nF")
+//BUILTIN(__builtin___strlcpy_chk, "zc*cC*zz", "nF")
BUILTIN(__builtin___strncat_chk, "c*c*cC*zz", "nF")
BUILTIN(__builtin___strncpy_chk, "c*c*cC*zz", "nF")
BUILTIN(__builtin___stpncpy_chk, "c*c*cC*zz", "nF")
@@ -1182,8 +1182,8 @@ LIBBUILTIN(getcontext, "iK*", "fjT",
LIBBUILTIN(_longjmp, "vJi", "frT", SETJMP_H, ALL_GNU_LANGUAGES)
LIBBUILTIN(siglongjmp, "vSJi", "frT", SETJMP_H, ALL_GNU_LANGUAGES)
// non-standard but very common
-LIBBUILTIN(strlcpy, "zc*cC*z", "f", STRING_H, ALL_GNU_LANGUAGES)
-LIBBUILTIN(strlcat, "zc*cC*z", "f", STRING_H, ALL_GNU_LANGUAGES)
+//LIBBUILTIN(strlcpy, "zc*cC*z", "f", STRING_H, ALL_GNU_LANGUAGES)
+//LIBBUILTIN(strlcat, "zc*cC*z", "f", STRING_H, ALL_GNU_LANGUAGES)
// id objc_msgSend(id, SEL, ...)
LIBBUILTIN(objc_msgSend, "GGH.", "f", OBJC_MESSAGE_H, OBJC_LANG)
// long double objc_msgSend_fpret(id self, SEL op, ...)
Index: llvm-toolchain-snapshot_18~++20230828063023+b4b42bd6522f/clang/lib/AST/Decl.cpp
===================================================================
--- llvm-toolchain-snapshot_18~++20230828063023+b4b42bd6522f.orig/clang/lib/AST/Decl.cpp
+++ llvm-toolchain-snapshot_18~++20230828063023+b4b42bd6522f/clang/lib/AST/Decl.cpp
@@ -4310,13 +4310,13 @@ unsigned FunctionDecl::getMemoryFunction
case Builtin::BImemmove: case Builtin::BImemmove:
return Builtin::BImemmove; return Builtin::BImemmove;
@ -57,11 +31,11 @@ Index: llvm-toolchain-snapshot_18~++20230828063023+b4b42bd6522f/clang/lib/AST/De
case Builtin::BI__builtin_memcmp: case Builtin::BI__builtin_memcmp:
case Builtin::BImemcmp: case Builtin::BImemcmp:
Index: llvm-toolchain-snapshot_18~++20230828063023+b4b42bd6522f/clang/lib/Sema/SemaChecking.cpp Index: llvm-toolchain-19_19.1.2~++20241011093632+6c1fd539e43e/clang/lib/Sema/SemaChecking.cpp
=================================================================== ===================================================================
--- llvm-toolchain-snapshot_18~++20230828063023+b4b42bd6522f.orig/clang/lib/Sema/SemaChecking.cpp --- llvm-toolchain-19_19.1.2~++20241011093632+6c1fd539e43e.orig/clang/lib/Sema/SemaChecking.cpp
+++ llvm-toolchain-snapshot_18~++20230828063023+b4b42bd6522f/clang/lib/Sema/SemaChecking.cpp +++ llvm-toolchain-19_19.1.2~++20241011093632+6c1fd539e43e/clang/lib/Sema/SemaChecking.cpp
@@ -1263,8 +1263,8 @@ void Sema::checkFortifiedBuiltinMemoryFu @@ -1348,8 +1348,8 @@ void Sema::checkFortifiedBuiltinMemoryFu
case Builtin::BI__builtin___memcpy_chk: case Builtin::BI__builtin___memcpy_chk:
case Builtin::BI__builtin___memmove_chk: case Builtin::BI__builtin___memmove_chk:
case Builtin::BI__builtin___memset_chk: case Builtin::BI__builtin___memset_chk:
@ -72,7 +46,7 @@ Index: llvm-toolchain-snapshot_18~++20230828063023+b4b42bd6522f/clang/lib/Sema/S
case Builtin::BI__builtin___strncat_chk: case Builtin::BI__builtin___strncat_chk:
case Builtin::BI__builtin___strncpy_chk: case Builtin::BI__builtin___strncpy_chk:
case Builtin::BI__builtin___stpncpy_chk: case Builtin::BI__builtin___stpncpy_chk:
@@ -6964,10 +6964,10 @@ bool Sema::CheckFunctionCall(FunctionDec @@ -3422,10 +3422,10 @@ bool Sema::CheckFunctionCall(FunctionDec
switch (CMId) { switch (CMId) {
case 0: case 0:
return false; return false;
@ -85,27 +59,26 @@ Index: llvm-toolchain-snapshot_18~++20230828063023+b4b42bd6522f/clang/lib/Sema/S
case Builtin::BIstrncat: case Builtin::BIstrncat:
CheckStrncatArguments(TheCall, FnInfo); CheckStrncatArguments(TheCall, FnInfo);
break; break;
Index: llvm-toolchain-snapshot_18~++20230828063023+b4b42bd6522f/clang/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp Index: llvm-toolchain-19_19.1.2~++20241011093632+6c1fd539e43e/clang/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp
=================================================================== ===================================================================
--- llvm-toolchain-snapshot_18~++20230828063023+b4b42bd6522f.orig/clang/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp --- llvm-toolchain-19_19.1.2~++20241011093632+6c1fd539e43e.orig/clang/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp
+++ llvm-toolchain-snapshot_18~++20230828063023+b4b42bd6522f/clang/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp +++ llvm-toolchain-19_19.1.2~++20241011093632+6c1fd539e43e/clang/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp
@@ -717,10 +717,10 @@ void GenericTaintChecker::initTaintRules @@ -743,9 +743,9 @@ void GenericTaintChecker::initTaintRules
{{CDF_MaybeBuiltin, {BI.getName(Builtin::BIstrncat)}},
TR::Prop({{1, 2}}, {{0, ReturnValueIndex}})}, TR::Prop({{1, 2}}, {{0, ReturnValueIndex}})},
- {{CDF_MaybeBuiltin, {BI.getName(Builtin::BIstrlcpy)}}, {{CDM::CLibraryMaybeHardened, {"strncat"}},
+/* {{CDF_MaybeBuiltin, {BI.getName(Builtin::BIstrlcpy)}}, TR::Prop({{0, 1, 2}}, {{0, ReturnValueIndex}})},
TR::Prop({{1, 2}}, {{0}})}, - {{CDM::CLibraryMaybeHardened, {"strlcpy"}}, TR::Prop({{1, 2}}, {{0}})},
{{CDF_MaybeBuiltin, {BI.getName(Builtin::BIstrlcat)}}, +/* {{CDM::CLibraryMaybeHardened, {"strlcpy"}}, TR::Prop({{1, 2}}, {{0}})},
- TR::Prop({{1, 2}}, {{0}})}, {{CDM::CLibraryMaybeHardened, {"strlcat"}}, TR::Prop({{0, 1, 2}}, {{0}})},
+ TR::Prop({{1, 2}}, {{0}})},*/ -
{{CDF_MaybeBuiltin, {{"snprintf"}}}, +*/
TR::Prop({{1}, 3}, {{0, ReturnValueIndex}})}, // Usually the matching mode `CDM::CLibraryMaybeHardened` is sufficient
{{CDF_MaybeBuiltin, {{"sprintf"}}}, // for unified handling of a function `FOO()` and its hardened variant
Index: llvm-toolchain-snapshot_18~++20230828063023+b4b42bd6522f/clang/test/Sema/builtins.c // `__FOO_chk()`, but in the "sprintf" family the extra parameters of the
Index: llvm-toolchain-19_19.1.2~++20241011093632+6c1fd539e43e/clang/test/Sema/builtins.c
=================================================================== ===================================================================
--- llvm-toolchain-snapshot_18~++20230828063023+b4b42bd6522f.orig/clang/test/Sema/builtins.c --- llvm-toolchain-19_19.1.2~++20241011093632+6c1fd539e43e.orig/clang/test/Sema/builtins.c
+++ llvm-toolchain-snapshot_18~++20230828063023+b4b42bd6522f/clang/test/Sema/builtins.c +++ llvm-toolchain-19_19.1.2~++20241011093632+6c1fd539e43e/clang/test/Sema/builtins.c
@@ -195,12 +195,10 @@ void test18(void) { @@ -195,12 +195,10 @@ void test18(void) {
void *ptr; void *ptr;
@ -137,10 +110,10 @@ Index: llvm-toolchain-snapshot_18~++20230828063023+b4b42bd6522f/clang/test/Sema/
char * Test20(char *p, const char *in, unsigned n) char * Test20(char *p, const char *in, unsigned n)
{ {
Index: llvm-toolchain-snapshot_18~++20230828063023+b4b42bd6522f/clang/test/Sema/warn-strlcpycat-size.c Index: llvm-toolchain-19_19.1.2~++20241011093632+6c1fd539e43e/clang/test/Sema/warn-strlcpycat-size.c
=================================================================== ===================================================================
--- llvm-toolchain-snapshot_18~++20230828063023+b4b42bd6522f.orig/clang/test/Sema/warn-strlcpycat-size.c --- llvm-toolchain-19_19.1.2~++20241011093632+6c1fd539e43e.orig/clang/test/Sema/warn-strlcpycat-size.c
+++ llvm-toolchain-snapshot_18~++20230828063023+b4b42bd6522f/clang/test/Sema/warn-strlcpycat-size.c +++ llvm-toolchain-19_19.1.2~++20241011093632+6c1fd539e43e/clang/test/Sema/warn-strlcpycat-size.c
@@ -1,55 +0,0 @@ @@ -1,55 +0,0 @@
-// RUN: %clang_cc1 -Wstrlcpy-strlcat-size -verify -fsyntax-only %s -// RUN: %clang_cc1 -Wstrlcpy-strlcat-size -verify -fsyntax-only %s
- -
@ -197,3 +170,25 @@ Index: llvm-toolchain-snapshot_18~++20230828063023+b4b42bd6522f/clang/test/Sema/
- -
- strlcpy(z, str, sizeof(str)); // expected-warning {{size argument in 'strlcpy' call appears to be size of the source; expected the size of the destination}} expected-note {{change size argument to be the size of the destination}} - strlcpy(z, str, sizeof(str)); // expected-warning {{size argument in 'strlcpy' call appears to be size of the source; expected the size of the destination}} expected-note {{change size argument to be the size of the destination}}
-} -}
Index: llvm-toolchain-19_19.1.2~++20241011093632+6c1fd539e43e/clang/include/clang/Basic/Builtins.td
===================================================================
--- llvm-toolchain-19_19.1.2~++20241011093632+6c1fd539e43e.orig/clang/include/clang/Basic/Builtins.td
+++ llvm-toolchain-19_19.1.2~++20241011093632+6c1fd539e43e/clang/include/clang/Basic/Builtins.td
@@ -3316,7 +3316,8 @@ def SigLongJmp : GNULibBuiltin<"setjmp.h
// non-standard but very common
-def StrlCpy : GNULibBuiltin<"string.h"> {
+/*
+ def StrlCpy : GNULibBuiltin<"string.h"> {
let Spellings = ["strlcpy"];
let Prototype = "size_t(char*, char const*, size_t)";
}
@@ -3325,6 +3326,7 @@ def StrlCat : GNULibBuiltin<"string.h">
let Spellings = ["strlcat"];
let Prototype = "size_t(char*, char const*, size_t)";
}
+*/
def ObjcMsgSend : ObjCLibBuiltin<"objc_message.h"> {
let Spellings = ["objc_msgSend"];

View File

@ -18,11 +18,11 @@ Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch> Reviewed-By: <name and email of someone who approved the patch>
Last-Update: <YYYY-MM-DD> Last-Update: <YYYY-MM-DD>
Index: llvm-toolchain-snapshot_17~++20230517015648+0b6264738f3d/clang/lib/Driver/ToolChains/Arch/ARM.cpp Index: llvm-toolchain-snapshot_19~++20240220124703+f122268c0441/clang/lib/Driver/ToolChains/Arch/ARM.cpp
=================================================================== ===================================================================
--- llvm-toolchain-snapshot_17~++20230517015648+0b6264738f3d.orig/clang/lib/Driver/ToolChains/Arch/ARM.cpp --- llvm-toolchain-snapshot_19~++20240220124703+f122268c0441.orig/clang/lib/Driver/ToolChains/Arch/ARM.cpp
+++ llvm-toolchain-snapshot_17~++20230517015648+0b6264738f3d/clang/lib/Driver/ToolChains/Arch/ARM.cpp +++ llvm-toolchain-snapshot_19~++20240220124703+f122268c0441/clang/lib/Driver/ToolChains/Arch/ARM.cpp
@@ -384,7 +384,7 @@ arm::FloatABI arm::getDefaultFloatABI(co @@ -421,7 +421,7 @@ arm::FloatABI arm::getDefaultFloatABI(co
case llvm::Triple::MuslEABI: case llvm::Triple::MuslEABI:
case llvm::Triple::EABI: case llvm::Triple::EABI:
// EABI is always AAPCS, and if it was not marked 'hard', it's softfp // EABI is always AAPCS, and if it was not marked 'hard', it's softfp

View File

@ -1,8 +1,8 @@
Index: llvm-toolchain-snapshot_17~++20230517015648+0b6264738f3d/llvm/lib/TargetParser/ARMTargetParser.cpp Index: llvm-toolchain-snapshot_19~++20240220124703+f122268c0441/llvm/lib/TargetParser/ARMTargetParser.cpp
=================================================================== ===================================================================
--- llvm-toolchain-snapshot_17~++20230517015648+0b6264738f3d.orig/llvm/lib/TargetParser/ARMTargetParser.cpp --- llvm-toolchain-snapshot_19~++20240220124703+f122268c0441.orig/llvm/lib/TargetParser/ARMTargetParser.cpp
+++ llvm-toolchain-snapshot_17~++20230517015648+0b6264738f3d/llvm/lib/TargetParser/ARMTargetParser.cpp +++ llvm-toolchain-snapshot_19~++20240220124703+f122268c0441/llvm/lib/TargetParser/ARMTargetParser.cpp
@@ -590,7 +590,7 @@ StringRef ARM::getARMCPUForArch(const ll @@ -636,7 +636,7 @@ StringRef ARM::getARMCPUForArch(const ll
case llvm::Triple::EABIHF: case llvm::Triple::EABIHF:
case llvm::Triple::GNUEABIHF: case llvm::Triple::GNUEABIHF:
case llvm::Triple::MuslEABIHF: case llvm::Triple::MuslEABIHF:

View File

@ -3,18 +3,18 @@ Restore that for now, we're not GenToo ...
https://reviews.llvm.org/D148945 https://reviews.llvm.org/D148945
https://reviews.llvm.org/D122444 https://reviews.llvm.org/D122444
Index: llvm-toolchain-18_18.1.2/clang/lib/Driver/ToolChains/Linux.cpp Index: llvm-toolchain-snapshot_19~++20240424094944+78ebaa2d798f/clang/lib/Driver/ToolChains/Linux.cpp
=================================================================== ===================================================================
--- llvm-toolchain-18_18.1.2.orig/clang/lib/Driver/ToolChains/Linux.cpp --- llvm-toolchain-snapshot_19~++20240424094944+78ebaa2d798f.orig/clang/lib/Driver/ToolChains/Linux.cpp
+++ llvm-toolchain-18_18.1.2/clang/lib/Driver/ToolChains/Linux.cpp +++ llvm-toolchain-snapshot_19~++20240424094944+78ebaa2d798f/clang/lib/Driver/ToolChains/Linux.cpp
@@ -337,6 +337,13 @@ Linux::Linux(const Driver &D, const llvm @@ -345,6 +345,13 @@ Linux::Linux(const Driver &D, const llvm
Generic_GCC::AddMultiarchPaths(D, SysRoot, OSLibDir, Paths); Generic_GCC::AddMultiarchPaths(D, SysRoot, OSLibDir, Paths);
+ // The deprecated -DLLVM_ENABLE_PROJECTS=libcxx configuration installs + // The deprecated -DLLVM_ENABLE_PROJECTS=libcxx configuration installs
+ // libc++.so in D.Dir+"/../lib/". Detect this path. + // libc++.so in D.Dir+"/../lib/". Detect this path.
+ // TODO Remove once LLVM_ENABLE_PROJECTS=libcxx is unsupported. + // TODO Remove once LLVM_ENABLE_PROJECTS=libcxx is unsupported.
+ if (StringRef(D.Dir).startswith(SysRoot) && + if (StringRef(D.Dir).starts_with(SysRoot) &&
+ D.getVFS().exists(D.Dir + "/../lib/libc++.so")) + D.getVFS().exists(D.Dir + "/../lib/libc++.so"))
+ addPathIfExists(D, D.Dir + "/../lib", Paths); + addPathIfExists(D, D.Dir + "/../lib", Paths);
+ +

View File

@ -1,77 +0,0 @@
Index: llvm/lib/MC/MCParser/ELFAsmParser.cpp
===================================================================
--- a/llvm/lib/MC/MCParser/ELFAsmParser.cpp
+++ b/llvm/lib/MC/MCParser/ELFAsmParser.cpp
@@ -652,10 +652,13 @@
!(SectionName == ".eh_frame" && Type == ELF::SHT_PROGBITS))
Error(loc, "changed section type for " + SectionName + ", expected: 0x" +
utohexstr(Section->getType()));
- if (Section->getFlags() != Flags)
+ // Check that flags are used consistently. However, the GNU assembler permits
+ // to leave out in subsequent uses of the same sections; for compatibility,
+ // do likewise.
+ if ((Flags || Size || !TypeName.empty()) && Section->getFlags() != Flags)
Error(loc, "changed section flags for " + SectionName + ", expected: 0x" +
utohexstr(Section->getFlags()));
- if (Section->getEntrySize() != Size)
+ if ((Flags || Size || !TypeName.empty()) && Section->getEntrySize() != Size)
Error(loc, "changed section entsize for " + SectionName +
", expected: " + Twine(Section->getEntrySize()));
Index: llvm/test/MC/ELF/section-entsize-changed.s
===================================================================
--- a/llvm/test/MC/ELF/section-entsize-changed.s
+++ b/llvm/test/MC/ELF/section-entsize-changed.s
@@ -10,3 +10,26 @@
.pushsection .foo,"aM",@progbits,4
.pushsection .foo,"aM",@progbits,1
+
+
+bar:
+.section .bar,"ax",@progbits
+
+.section .bar
+
+# CHECK: {{.*}}.s:[[# @LINE+1]]:1: error: changed section flags for .bar, expected: 0x6
+.section .bar,"awx",@progbits
+
+# CHECK: {{.*}}.s:[[# @LINE+1]]:1: error: changed section flags for .bar, expected: 0x6
+.pushsection .bar,"a",@progbits
+
+.pushsection .bar
+
+foobar:
+.section .foobar,"ax",@progbits; .byte 1
+
+# CHECK: {{.*}}.s:[[# @LINE+1]]:1: error: changed section flags for .foobar, expected: 0x6
+.section .foobar,"",@progbits; .byte 2
+
+# CHECK: {{.*}}.s:[[# @LINE+1]]:1: error: changed section flags for .foobar, expected: 0x6
+.section .foobar,"a",@progbits; .byte 3
Index: llvm/test/MC/ELF/section-omitted-attributes.s
===================================================================
--- /dev/null
+++ llvm/test/MC/ELF/section-omitted-attributes.s
@@ -0,0 +1,21 @@
+# RUN: llvm-mc -triple=x86_64 %s -o - | FileCheck %s
+
+// CHECK: .section .foo,"aM",@progbits,1
+// CHECK: .section .bar,"aM",@progbits,4
+
+foo:
+.section .foo,"aM",@progbits,1
+
+.section .foo
+
+.pushsection .foo
+
+.pushsection .foo
+
+.section .bar,"aM",@progbits,4
+
+.section .bar
+
+.pushsection .bar,"aM",@progbits,4
+
+.pushsection .bar

View File

@ -1,7 +1,7 @@
Index: llvm-toolchain-18_18.1.2/llvm/lib/TargetParser/ARMTargetParser.cpp Index: llvm-toolchain-snapshot_19~++20240220124703+f122268c0441/llvm/lib/TargetParser/ARMTargetParser.cpp
=================================================================== ===================================================================
--- llvm-toolchain-18_18.1.2.orig/llvm/lib/TargetParser/ARMTargetParser.cpp --- llvm-toolchain-snapshot_19~++20240220124703+f122268c0441.orig/llvm/lib/TargetParser/ARMTargetParser.cpp
+++ llvm-toolchain-18_18.1.2/llvm/lib/TargetParser/ARMTargetParser.cpp +++ llvm-toolchain-snapshot_19~++20240220124703+f122268c0441/llvm/lib/TargetParser/ARMTargetParser.cpp
@@ -636,9 +636,9 @@ StringRef ARM::getARMCPUForArch(const ll @@ -636,9 +636,9 @@ StringRef ARM::getARMCPUForArch(const ll
case llvm::Triple::EABIHF: case llvm::Triple::EABIHF:
case llvm::Triple::GNUEABIHF: case llvm::Triple::GNUEABIHF:

View File

@ -1,344 +0,0 @@
Index: llvm-toolchain-18-18.1.8/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
===================================================================
--- llvm-toolchain-18-18.1.8.orig/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
+++ llvm-toolchain-18-18.1.8/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
@@ -2168,7 +2168,8 @@ void SelectionDAGLegalize::ExpandFPLibCa
Results.push_back(Tmp.first);
Results.push_back(Tmp.second);
} else {
- SDValue Tmp = ExpandLibCall(LC, Node, false).first;
+ bool IsSignedArgument = Node->getOpcode() == ISD::FLDEXP;
+ SDValue Tmp = ExpandLibCall(LC, Node, IsSignedArgument).first;
Results.push_back(Tmp);
}
}
Index: llvm-toolchain-18-18.1.8/llvm/test/CodeGen/PowerPC/ldexp-libcall.ll
===================================================================
--- llvm-toolchain-18-18.1.8.orig/llvm/test/CodeGen/PowerPC/ldexp-libcall.ll
+++ llvm-toolchain-18-18.1.8/llvm/test/CodeGen/PowerPC/ldexp-libcall.ll
@@ -10,7 +10,7 @@ define float @call_ldexpf(float %a, i32
; CHECK-NEXT: std r0, 48(r1)
; CHECK-NEXT: .cfi_def_cfa_offset 32
; CHECK-NEXT: .cfi_offset lr, 16
-; CHECK-NEXT: clrldi r4, r4, 32
+; CHECK-NEXT: extsw r4, r4
; CHECK-NEXT: bl ldexpf
; CHECK-NEXT: nop
; CHECK-NEXT: addi r1, r1, 32
@@ -29,7 +29,7 @@ define double @call_ldexp(double %a, i32
; CHECK-NEXT: std r0, 48(r1)
; CHECK-NEXT: .cfi_def_cfa_offset 32
; CHECK-NEXT: .cfi_offset lr, 16
-; CHECK-NEXT: clrldi r4, r4, 32
+; CHECK-NEXT: extsw r4, r4
; CHECK-NEXT: bl ldexp
; CHECK-NEXT: nop
; CHECK-NEXT: addi r1, r1, 32
Index: llvm-toolchain-18-18.1.8/llvm/test/CodeGen/PowerPC/ldexp.ll
===================================================================
--- llvm-toolchain-18-18.1.8.orig/llvm/test/CodeGen/PowerPC/ldexp.ll
+++ llvm-toolchain-18-18.1.8/llvm/test/CodeGen/PowerPC/ldexp.ll
@@ -1,6 +1,7 @@
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 2
; RUN: llc -mcpu=pwr9 -mtriple=powerpc64le-unknown-unknown \
; RUN: -ppc-vsr-nums-as-vr -ppc-asm-full-reg-names < %s | FileCheck %s
+; XFAIL: *
define float @ldexp_f32(i8 zeroext %x) {
; CHECK-LABEL: ldexp_f32:
@@ -59,22 +60,24 @@ define <2 x float> @ldexp_v2f32(<2 x flo
; CHECK-NEXT: .cfi_offset v29, -48
; CHECK-NEXT: .cfi_offset v30, -32
; CHECK-NEXT: .cfi_offset v31, -16
-; CHECK-NEXT: xxsldwi vs0, v2, v2, 3
; CHECK-NEXT: li r3, 0
+; CHECK-NEXT: xxsldwi vs0, v2, v2, 3
; CHECK-NEXT: stxv v29, 32(r1) # 16-byte Folded Spill
; CHECK-NEXT: xscvspdpn f1, vs0
-; CHECK-NEXT: vextuwrx r4, r3, v3
+; CHECK-NEXT: vextuwrx r3, r3, v3
; CHECK-NEXT: stxv v30, 48(r1) # 16-byte Folded Spill
; CHECK-NEXT: stxv v31, 64(r1) # 16-byte Folded Spill
+; CHECK-NEXT: extsw r4, r3
; CHECK-NEXT: vmr v31, v3
; CHECK-NEXT: vmr v30, v2
; CHECK-NEXT: bl ldexpf
; CHECK-NEXT: nop
-; CHECK-NEXT: xxswapd vs0, v30
; CHECK-NEXT: li r3, 4
+; CHECK-NEXT: xxswapd vs0, v30
; CHECK-NEXT: xscvdpspn v29, f1
; CHECK-NEXT: xscvspdpn f1, vs0
-; CHECK-NEXT: vextuwrx r4, r3, v31
+; CHECK-NEXT: vextuwrx r3, r3, v31
+; CHECK-NEXT: extsw r4, r3
; CHECK-NEXT: bl ldexpf
; CHECK-NEXT: nop
; CHECK-NEXT: xscvdpspn vs0, f1
@@ -160,7 +163,7 @@ define half @ldexp_f16(half %arg0, i32 %
; CHECK-NEXT: .cfi_def_cfa_offset 32
; CHECK-NEXT: .cfi_offset lr, 16
; CHECK-NEXT: xscvdphp f0, f1
-; CHECK-NEXT: clrldi r4, r4, 32
+; CHECK-NEXT: extsw r4, r4
; CHECK-NEXT: mffprwz r3, f0
; CHECK-NEXT: clrlwi r3, r3, 16
; CHECK-NEXT: mtfprwz f0, r3
Index: llvm-toolchain-18-18.1.8/llvm/test/CodeGen/PowerPC/negative-integer-fp-libcall.ll
===================================================================
--- /dev/null
+++ llvm-toolchain-18-18.1.8/llvm/test/CodeGen/PowerPC/negative-integer-fp-libcall.ll
@@ -0,0 +1,26 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 2
+; RUN: llc -O1 -mtriple=powerpc64-unknown-linux-gnu -mcpu=pwr8 < %s | FileCheck %s
+
+; Test that a negative parameter smaller than 64 bits (e.g., int)
+; is correctly implemented with sign-extension when passed to
+; a floating point libcall.
+
+define double @ldexp_test(ptr %a, ptr %b) nounwind {
+; CHECK-LABEL: ldexp_test:
+; CHECK: # %bb.0:
+; CHECK-NEXT: mflr 0
+; CHECK-NEXT: stdu 1, -112(1)
+; CHECK-NEXT: std 0, 128(1)
+; CHECK-NEXT: lfd 1, 0(3)
+; CHECK-NEXT: lwa 4, 0(4)
+; CHECK-NEXT: bl ldexp
+; CHECK-NEXT: nop
+; CHECK-NEXT: addi 1, 1, 112
+; CHECK-NEXT: ld 0, 16(1)
+; CHECK-NEXT: mtlr 0
+; CHECK-NEXT: blr
+ %base = load double, ptr %a
+ %exp = load i32, ptr %b
+ %call = call double @llvm.ldexp.f64.i32(double %base, i32 signext %exp)
+ ret double %call
+}
Index: llvm-toolchain-18-18.1.8/llvm/test/CodeGen/X86/fold-int-pow2-with-fmul-or-fdiv.ll
===================================================================
--- llvm-toolchain-18-18.1.8.orig/llvm/test/CodeGen/X86/fold-int-pow2-with-fmul-or-fdiv.ll
+++ llvm-toolchain-18-18.1.8/llvm/test/CodeGen/X86/fold-int-pow2-with-fmul-or-fdiv.ll
@@ -406,13 +406,15 @@ define <8 x half> @fmul_pow2_ldexp_8xhal
; CHECK-SSE-NEXT: subq $72, %rsp
; CHECK-SSE-NEXT: .cfi_def_cfa_offset 80
; CHECK-SSE-NEXT: movdqa %xmm0, (%rsp) # 16-byte Spill
-; CHECK-SSE-NEXT: pextrw $7, %xmm0, %edi
+; CHECK-SSE-NEXT: pextrw $7, %xmm0, %eax
+; CHECK-SSE-NEXT: movswl %ax, %edi
; CHECK-SSE-NEXT: movss {{.*#+}} xmm0 = [8.192E+3,0.0E+0,0.0E+0,0.0E+0]
; CHECK-SSE-NEXT: callq ldexpf@PLT
; CHECK-SSE-NEXT: callq __truncsfhf2@PLT
; CHECK-SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; CHECK-SSE-NEXT: movdqa (%rsp), %xmm0 # 16-byte Reload
-; CHECK-SSE-NEXT: pextrw $6, %xmm0, %edi
+; CHECK-SSE-NEXT: pextrw $6, %xmm0, %eax
+; CHECK-SSE-NEXT: movswl %ax, %edi
; CHECK-SSE-NEXT: movd {{.*#+}} xmm0 = [8.192E+3,0.0E+0,0.0E+0,0.0E+0]
; CHECK-SSE-NEXT: callq ldexpf@PLT
; CHECK-SSE-NEXT: callq __truncsfhf2@PLT
@@ -420,13 +422,15 @@ define <8 x half> @fmul_pow2_ldexp_8xhal
; CHECK-SSE-NEXT: # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1],xmm0[2],mem[2],xmm0[3],mem[3]
; CHECK-SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; CHECK-SSE-NEXT: movdqa (%rsp), %xmm0 # 16-byte Reload
-; CHECK-SSE-NEXT: pextrw $5, %xmm0, %edi
+; CHECK-SSE-NEXT: pextrw $5, %xmm0, %eax
+; CHECK-SSE-NEXT: movswl %ax, %edi
; CHECK-SSE-NEXT: movss {{.*#+}} xmm0 = [8.192E+3,0.0E+0,0.0E+0,0.0E+0]
; CHECK-SSE-NEXT: callq ldexpf@PLT
; CHECK-SSE-NEXT: callq __truncsfhf2@PLT
; CHECK-SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; CHECK-SSE-NEXT: movdqa (%rsp), %xmm0 # 16-byte Reload
-; CHECK-SSE-NEXT: pextrw $4, %xmm0, %edi
+; CHECK-SSE-NEXT: pextrw $4, %xmm0, %eax
+; CHECK-SSE-NEXT: movswl %ax, %edi
; CHECK-SSE-NEXT: movd {{.*#+}} xmm0 = [8.192E+3,0.0E+0,0.0E+0,0.0E+0]
; CHECK-SSE-NEXT: callq ldexpf@PLT
; CHECK-SSE-NEXT: callq __truncsfhf2@PLT
@@ -436,13 +440,15 @@ define <8 x half> @fmul_pow2_ldexp_8xhal
; CHECK-SSE-NEXT: # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
; CHECK-SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; CHECK-SSE-NEXT: movdqa (%rsp), %xmm0 # 16-byte Reload
-; CHECK-SSE-NEXT: pextrw $3, %xmm0, %edi
+; CHECK-SSE-NEXT: pextrw $3, %xmm0, %eax
+; CHECK-SSE-NEXT: movswl %ax, %edi
; CHECK-SSE-NEXT: movss {{.*#+}} xmm0 = [8.192E+3,0.0E+0,0.0E+0,0.0E+0]
; CHECK-SSE-NEXT: callq ldexpf@PLT
; CHECK-SSE-NEXT: callq __truncsfhf2@PLT
; CHECK-SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; CHECK-SSE-NEXT: movdqa (%rsp), %xmm0 # 16-byte Reload
-; CHECK-SSE-NEXT: pextrw $2, %xmm0, %edi
+; CHECK-SSE-NEXT: pextrw $2, %xmm0, %eax
+; CHECK-SSE-NEXT: movswl %ax, %edi
; CHECK-SSE-NEXT: movd {{.*#+}} xmm0 = [8.192E+3,0.0E+0,0.0E+0,0.0E+0]
; CHECK-SSE-NEXT: callq ldexpf@PLT
; CHECK-SSE-NEXT: callq __truncsfhf2@PLT
@@ -450,14 +456,15 @@ define <8 x half> @fmul_pow2_ldexp_8xhal
; CHECK-SSE-NEXT: # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1],xmm0[2],mem[2],xmm0[3],mem[3]
; CHECK-SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; CHECK-SSE-NEXT: movdqa (%rsp), %xmm0 # 16-byte Reload
-; CHECK-SSE-NEXT: pextrw $1, %xmm0, %edi
+; CHECK-SSE-NEXT: pextrw $1, %xmm0, %eax
+; CHECK-SSE-NEXT: movswl %ax, %edi
; CHECK-SSE-NEXT: movss {{.*#+}} xmm0 = [8.192E+3,0.0E+0,0.0E+0,0.0E+0]
; CHECK-SSE-NEXT: callq ldexpf@PLT
; CHECK-SSE-NEXT: callq __truncsfhf2@PLT
; CHECK-SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; CHECK-SSE-NEXT: movdqa (%rsp), %xmm0 # 16-byte Reload
; CHECK-SSE-NEXT: movd %xmm0, %eax
-; CHECK-SSE-NEXT: movzwl %ax, %edi
+; CHECK-SSE-NEXT: movswl %ax, %edi
; CHECK-SSE-NEXT: movd {{.*#+}} xmm0 = [8.192E+3,0.0E+0,0.0E+0,0.0E+0]
; CHECK-SSE-NEXT: callq ldexpf@PLT
; CHECK-SSE-NEXT: callq __truncsfhf2@PLT
@@ -476,13 +483,15 @@ define <8 x half> @fmul_pow2_ldexp_8xhal
; CHECK-AVX2-NEXT: subq $72, %rsp
; CHECK-AVX2-NEXT: .cfi_def_cfa_offset 80
; CHECK-AVX2-NEXT: vmovdqa %xmm0, (%rsp) # 16-byte Spill
-; CHECK-AVX2-NEXT: vpextrw $7, %xmm0, %edi
+; CHECK-AVX2-NEXT: vpextrw $7, %xmm0, %eax
+; CHECK-AVX2-NEXT: movswl %ax, %edi
; CHECK-AVX2-NEXT: vmovss {{.*#+}} xmm0 = [8.192E+3,0.0E+0,0.0E+0,0.0E+0]
; CHECK-AVX2-NEXT: callq ldexpf@PLT
; CHECK-AVX2-NEXT: callq __truncsfhf2@PLT
; CHECK-AVX2-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; CHECK-AVX2-NEXT: vmovdqa (%rsp), %xmm0 # 16-byte Reload
-; CHECK-AVX2-NEXT: vpextrw $6, %xmm0, %edi
+; CHECK-AVX2-NEXT: vpextrw $6, %xmm0, %eax
+; CHECK-AVX2-NEXT: movswl %ax, %edi
; CHECK-AVX2-NEXT: vmovd {{.*#+}} xmm0 = [8.192E+3,0.0E+0,0.0E+0,0.0E+0]
; CHECK-AVX2-NEXT: callq ldexpf@PLT
; CHECK-AVX2-NEXT: callq __truncsfhf2@PLT
@@ -490,13 +499,15 @@ define <8 x half> @fmul_pow2_ldexp_8xhal
; CHECK-AVX2-NEXT: # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1],xmm0[2],mem[2],xmm0[3],mem[3]
; CHECK-AVX2-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; CHECK-AVX2-NEXT: vmovdqa (%rsp), %xmm0 # 16-byte Reload
-; CHECK-AVX2-NEXT: vpextrw $5, %xmm0, %edi
+; CHECK-AVX2-NEXT: vpextrw $5, %xmm0, %eax
+; CHECK-AVX2-NEXT: movswl %ax, %edi
; CHECK-AVX2-NEXT: vmovss {{.*#+}} xmm0 = [8.192E+3,0.0E+0,0.0E+0,0.0E+0]
; CHECK-AVX2-NEXT: callq ldexpf@PLT
; CHECK-AVX2-NEXT: callq __truncsfhf2@PLT
; CHECK-AVX2-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; CHECK-AVX2-NEXT: vmovdqa (%rsp), %xmm0 # 16-byte Reload
-; CHECK-AVX2-NEXT: vpextrw $4, %xmm0, %edi
+; CHECK-AVX2-NEXT: vpextrw $4, %xmm0, %eax
+; CHECK-AVX2-NEXT: movswl %ax, %edi
; CHECK-AVX2-NEXT: vmovd {{.*#+}} xmm0 = [8.192E+3,0.0E+0,0.0E+0,0.0E+0]
; CHECK-AVX2-NEXT: callq ldexpf@PLT
; CHECK-AVX2-NEXT: callq __truncsfhf2@PLT
@@ -506,13 +517,15 @@ define <8 x half> @fmul_pow2_ldexp_8xhal
; CHECK-AVX2-NEXT: # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
; CHECK-AVX2-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; CHECK-AVX2-NEXT: vmovdqa (%rsp), %xmm0 # 16-byte Reload
-; CHECK-AVX2-NEXT: vpextrw $3, %xmm0, %edi
+; CHECK-AVX2-NEXT: vpextrw $3, %xmm0, %eax
+; CHECK-AVX2-NEXT: movswl %ax, %edi
; CHECK-AVX2-NEXT: vmovss {{.*#+}} xmm0 = [8.192E+3,0.0E+0,0.0E+0,0.0E+0]
; CHECK-AVX2-NEXT: callq ldexpf@PLT
; CHECK-AVX2-NEXT: callq __truncsfhf2@PLT
; CHECK-AVX2-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; CHECK-AVX2-NEXT: vmovdqa (%rsp), %xmm0 # 16-byte Reload
-; CHECK-AVX2-NEXT: vpextrw $2, %xmm0, %edi
+; CHECK-AVX2-NEXT: vpextrw $2, %xmm0, %eax
+; CHECK-AVX2-NEXT: movswl %ax, %edi
; CHECK-AVX2-NEXT: vmovd {{.*#+}} xmm0 = [8.192E+3,0.0E+0,0.0E+0,0.0E+0]
; CHECK-AVX2-NEXT: callq ldexpf@PLT
; CHECK-AVX2-NEXT: callq __truncsfhf2@PLT
@@ -520,14 +533,15 @@ define <8 x half> @fmul_pow2_ldexp_8xhal
; CHECK-AVX2-NEXT: # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1],xmm0[2],mem[2],xmm0[3],mem[3]
; CHECK-AVX2-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; CHECK-AVX2-NEXT: vmovdqa (%rsp), %xmm0 # 16-byte Reload
-; CHECK-AVX2-NEXT: vpextrw $1, %xmm0, %edi
+; CHECK-AVX2-NEXT: vpextrw $1, %xmm0, %eax
+; CHECK-AVX2-NEXT: movswl %ax, %edi
; CHECK-AVX2-NEXT: vmovss {{.*#+}} xmm0 = [8.192E+3,0.0E+0,0.0E+0,0.0E+0]
; CHECK-AVX2-NEXT: callq ldexpf@PLT
; CHECK-AVX2-NEXT: callq __truncsfhf2@PLT
; CHECK-AVX2-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; CHECK-AVX2-NEXT: vmovdqa (%rsp), %xmm0 # 16-byte Reload
; CHECK-AVX2-NEXT: vmovd %xmm0, %eax
-; CHECK-AVX2-NEXT: movzwl %ax, %edi
+; CHECK-AVX2-NEXT: movswl %ax, %edi
; CHECK-AVX2-NEXT: vmovd {{.*#+}} xmm0 = [8.192E+3,0.0E+0,0.0E+0,0.0E+0]
; CHECK-AVX2-NEXT: callq ldexpf@PLT
; CHECK-AVX2-NEXT: callq __truncsfhf2@PLT
@@ -546,7 +560,8 @@ define <8 x half> @fmul_pow2_ldexp_8xhal
; CHECK-AVX512F-NEXT: subq $72, %rsp
; CHECK-AVX512F-NEXT: .cfi_def_cfa_offset 80
; CHECK-AVX512F-NEXT: vmovdqa %xmm0, (%rsp) # 16-byte Spill
-; CHECK-AVX512F-NEXT: vpextrw $7, %xmm0, %edi
+; CHECK-AVX512F-NEXT: vpextrw $7, %xmm0, %eax
+; CHECK-AVX512F-NEXT: movswl %ax, %edi
; CHECK-AVX512F-NEXT: vmovss {{.*#+}} xmm0 = [8.192E+3,0.0E+0,0.0E+0,0.0E+0]
; CHECK-AVX512F-NEXT: callq ldexpf@PLT
; CHECK-AVX512F-NEXT: vcvtps2ph $4, %xmm0, %xmm0
@@ -554,7 +569,8 @@ define <8 x half> @fmul_pow2_ldexp_8xhal
; CHECK-AVX512F-NEXT: vpinsrw $0, %eax, %xmm0, %xmm0
; CHECK-AVX512F-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; CHECK-AVX512F-NEXT: vmovdqa (%rsp), %xmm0 # 16-byte Reload
-; CHECK-AVX512F-NEXT: vpextrw $6, %xmm0, %edi
+; CHECK-AVX512F-NEXT: vpextrw $6, %xmm0, %eax
+; CHECK-AVX512F-NEXT: movswl %ax, %edi
; CHECK-AVX512F-NEXT: vmovss {{.*#+}} xmm0 = [8.192E+3,0.0E+0,0.0E+0,0.0E+0]
; CHECK-AVX512F-NEXT: callq ldexpf@PLT
; CHECK-AVX512F-NEXT: vcvtps2ph $4, %xmm0, %xmm0
@@ -564,7 +580,8 @@ define <8 x half> @fmul_pow2_ldexp_8xhal
; CHECK-AVX512F-NEXT: # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1],xmm0[2],mem[2],xmm0[3],mem[3]
; CHECK-AVX512F-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; CHECK-AVX512F-NEXT: vmovdqa (%rsp), %xmm0 # 16-byte Reload
-; CHECK-AVX512F-NEXT: vpextrw $5, %xmm0, %edi
+; CHECK-AVX512F-NEXT: vpextrw $5, %xmm0, %eax
+; CHECK-AVX512F-NEXT: movswl %ax, %edi
; CHECK-AVX512F-NEXT: vmovss {{.*#+}} xmm0 = [8.192E+3,0.0E+0,0.0E+0,0.0E+0]
; CHECK-AVX512F-NEXT: callq ldexpf@PLT
; CHECK-AVX512F-NEXT: vcvtps2ph $4, %xmm0, %xmm0
@@ -572,7 +589,8 @@ define <8 x half> @fmul_pow2_ldexp_8xhal
; CHECK-AVX512F-NEXT: vpinsrw $0, %eax, %xmm0, %xmm0
; CHECK-AVX512F-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; CHECK-AVX512F-NEXT: vmovdqa (%rsp), %xmm0 # 16-byte Reload
-; CHECK-AVX512F-NEXT: vpextrw $4, %xmm0, %edi
+; CHECK-AVX512F-NEXT: vpextrw $4, %xmm0, %eax
+; CHECK-AVX512F-NEXT: movswl %ax, %edi
; CHECK-AVX512F-NEXT: vmovss {{.*#+}} xmm0 = [8.192E+3,0.0E+0,0.0E+0,0.0E+0]
; CHECK-AVX512F-NEXT: callq ldexpf@PLT
; CHECK-AVX512F-NEXT: vcvtps2ph $4, %xmm0, %xmm0
@@ -584,7 +602,8 @@ define <8 x half> @fmul_pow2_ldexp_8xhal
; CHECK-AVX512F-NEXT: # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
; CHECK-AVX512F-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; CHECK-AVX512F-NEXT: vmovdqa (%rsp), %xmm0 # 16-byte Reload
-; CHECK-AVX512F-NEXT: vpextrw $3, %xmm0, %edi
+; CHECK-AVX512F-NEXT: vpextrw $3, %xmm0, %eax
+; CHECK-AVX512F-NEXT: movswl %ax, %edi
; CHECK-AVX512F-NEXT: vmovss {{.*#+}} xmm0 = [8.192E+3,0.0E+0,0.0E+0,0.0E+0]
; CHECK-AVX512F-NEXT: callq ldexpf@PLT
; CHECK-AVX512F-NEXT: vcvtps2ph $4, %xmm0, %xmm0
@@ -592,7 +611,8 @@ define <8 x half> @fmul_pow2_ldexp_8xhal
; CHECK-AVX512F-NEXT: vpinsrw $0, %eax, %xmm0, %xmm0
; CHECK-AVX512F-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; CHECK-AVX512F-NEXT: vmovdqa (%rsp), %xmm0 # 16-byte Reload
-; CHECK-AVX512F-NEXT: vpextrw $2, %xmm0, %edi
+; CHECK-AVX512F-NEXT: vpextrw $2, %xmm0, %eax
+; CHECK-AVX512F-NEXT: movswl %ax, %edi
; CHECK-AVX512F-NEXT: vmovss {{.*#+}} xmm0 = [8.192E+3,0.0E+0,0.0E+0,0.0E+0]
; CHECK-AVX512F-NEXT: callq ldexpf@PLT
; CHECK-AVX512F-NEXT: vcvtps2ph $4, %xmm0, %xmm0
@@ -602,7 +622,8 @@ define <8 x half> @fmul_pow2_ldexp_8xhal
; CHECK-AVX512F-NEXT: # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1],xmm0[2],mem[2],xmm0[3],mem[3]
; CHECK-AVX512F-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; CHECK-AVX512F-NEXT: vmovdqa (%rsp), %xmm0 # 16-byte Reload
-; CHECK-AVX512F-NEXT: vpextrw $1, %xmm0, %edi
+; CHECK-AVX512F-NEXT: vpextrw $1, %xmm0, %eax
+; CHECK-AVX512F-NEXT: movswl %ax, %edi
; CHECK-AVX512F-NEXT: vmovss {{.*#+}} xmm0 = [8.192E+3,0.0E+0,0.0E+0,0.0E+0]
; CHECK-AVX512F-NEXT: callq ldexpf@PLT
; CHECK-AVX512F-NEXT: vcvtps2ph $4, %xmm0, %xmm0
@@ -611,7 +632,7 @@ define <8 x half> @fmul_pow2_ldexp_8xhal
; CHECK-AVX512F-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; CHECK-AVX512F-NEXT: vmovdqa (%rsp), %xmm0 # 16-byte Reload
; CHECK-AVX512F-NEXT: vmovd %xmm0, %eax
-; CHECK-AVX512F-NEXT: movzwl %ax, %edi
+; CHECK-AVX512F-NEXT: movswl %ax, %edi
; CHECK-AVX512F-NEXT: vmovss {{.*#+}} xmm0 = [8.192E+3,0.0E+0,0.0E+0,0.0E+0]
; CHECK-AVX512F-NEXT: callq ldexpf@PLT
; CHECK-AVX512F-NEXT: vcvtps2ph $4, %xmm0, %xmm0

View File

@ -13,10 +13,10 @@ include search path, clang's header will call itself without any effect.
Therefore, it will do include_next until the define from the libc is existing (ex: _INTTYPES_H) Therefore, it will do include_next until the define from the libc is existing (ex: _INTTYPES_H)
Index: llvm-toolchain-snapshot_15~++20220407011631+46f0e2ceb487/clang/lib/Headers/inttypes.h Index: llvm-toolchain-snapshot_19~++20240502082504+e3f42b02a412/clang/lib/Headers/inttypes.h
=================================================================== ===================================================================
--- llvm-toolchain-snapshot_15~++20220407011631+46f0e2ceb487.orig/clang/lib/Headers/inttypes.h --- llvm-toolchain-snapshot_19~++20240502082504+e3f42b02a412.orig/clang/lib/Headers/inttypes.h
+++ llvm-toolchain-snapshot_15~++20220407011631+46f0e2ceb487/clang/lib/Headers/inttypes.h +++ llvm-toolchain-snapshot_19~++20240502082504+e3f42b02a412/clang/lib/Headers/inttypes.h
@@ -6,7 +6,7 @@ @@ -6,7 +6,7 @@
* *
\*===----------------------------------------------------------------------===*/ \*===----------------------------------------------------------------------===*/
@ -26,10 +26,10 @@ Index: llvm-toolchain-snapshot_15~++20220407011631+46f0e2ceb487/clang/lib/Header
// AIX system headers need inttypes.h to be re-enterable while _STD_TYPES_T // AIX system headers need inttypes.h to be re-enterable while _STD_TYPES_T
// is defined until an inclusion of it without _STD_TYPES_T occurs, in which // is defined until an inclusion of it without _STD_TYPES_T occurs, in which
// case the header guard macro is defined. // case the header guard macro is defined.
Index: llvm-toolchain-snapshot_15~++20220407011631+46f0e2ceb487/clang/lib/Headers/limits.h Index: llvm-toolchain-snapshot_19~++20240502082504+e3f42b02a412/clang/lib/Headers/limits.h
=================================================================== ===================================================================
--- llvm-toolchain-snapshot_15~++20220407011631+46f0e2ceb487.orig/clang/lib/Headers/limits.h --- llvm-toolchain-snapshot_19~++20240502082504+e3f42b02a412.orig/clang/lib/Headers/limits.h
+++ llvm-toolchain-snapshot_15~++20220407011631+46f0e2ceb487/clang/lib/Headers/limits.h +++ llvm-toolchain-snapshot_19~++20240502082504+e3f42b02a412/clang/lib/Headers/limits.h
@@ -6,7 +6,7 @@ @@ -6,7 +6,7 @@
* *
\*===----------------------------------------------------------------------===*/ \*===----------------------------------------------------------------------===*/
@ -38,4 +38,4 @@ Index: llvm-toolchain-snapshot_15~++20220407011631+46f0e2ceb487/clang/lib/Header
+#if !defined(__CLANG_LIMITS_H) || !defined(_LIBC_LIMITS_H_) +#if !defined(__CLANG_LIMITS_H) || !defined(_LIBC_LIMITS_H_)
#define __CLANG_LIMITS_H #define __CLANG_LIMITS_H
/* The system's limits.h may, in turn, try to #include_next GCC's limits.h. #if defined(__MVS__) && __has_include_next(<limits.h>)

View File

@ -1,223 +0,0 @@
From e3cd3a3c91524c957e06bb0170343548f02b6842 Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar@redhat.com>
Date: Thu, 11 Feb 2021 22:28:19 +0000
Subject: [PATCH] Partially Revert "scan-view: Remove Reporter.py and
associated AppleScript files"
This reverts some of commit dbb01536f6f49fa428f170e34466072ef439b3e9.
The Reporter module was still being used by the ScanView.py module and deleting
it caused scan-view to fail. This commit adds back Reporter.py but removes the
code the references the AppleScript files which were removed in
dbb01536f6f49fa428f170e34466072ef439b3e9.
Reviewed By: NoQ
Differential Revision: https://reviews.llvm.org/D96367
---
clang/tools/scan-view/CMakeLists.txt | 1 +
clang/tools/scan-view/share/Reporter.py | 183 ++++++++++++++++++++++++
2 files changed, 184 insertions(+)
create mode 100644 clang/tools/scan-view/share/Reporter.py
diff --git a/clang/tools/scan-view/CMakeLists.txt b/clang/tools/scan-view/CMakeLists.txt
index dd3d33439299..eccc6b83195b 100644
--- a/clang/tools/scan-view/CMakeLists.txt
+++ b/clang/tools/scan-view/CMakeLists.txt
@@ -5,6 +5,7 @@ set(BinFiles
set(ShareFiles
ScanView.py
+ Reporter.py
startfile.py
bugcatcher.ico)
diff --git a/clang/tools/scan-view/share/Reporter.py b/clang/tools/scan-view/share/Reporter.py
new file mode 100644
index 000000000000..31a14fb0cf74
--- /dev/null
+++ b/clang/tools/scan-view/share/Reporter.py
@@ -0,0 +1,183 @@
+#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+
+"""Methods for reporting bugs."""
+
+import subprocess, sys, os
+
+__all__ = ['ReportFailure', 'BugReport', 'getReporters']
+
+#
+
+class ReportFailure(Exception):
+ """Generic exception for failures in bug reporting."""
+ def __init__(self, value):
+ self.value = value
+
+# Collect information about a bug.
+
+class BugReport(object):
+ def __init__(self, title, description, files):
+ self.title = title
+ self.description = description
+ self.files = files
+
+# Reporter interfaces.
+
+import os
+
+import email, mimetypes, smtplib
+from email import encoders
+from email.message import Message
+from email.mime.base import MIMEBase
+from email.mime.multipart import MIMEMultipart
+from email.mime.text import MIMEText
+
+#===------------------------------------------------------------------------===#
+# ReporterParameter
+#===------------------------------------------------------------------------===#
+
+class ReporterParameter(object):
+ def __init__(self, n):
+ self.name = n
+ def getName(self):
+ return self.name
+ def getValue(self,r,bugtype,getConfigOption):
+ return getConfigOption(r.getName(),self.getName())
+ def saveConfigValue(self):
+ return True
+
+class TextParameter (ReporterParameter):
+ def getHTML(self,r,bugtype,getConfigOption):
+ return """\
+<tr>
+<td class="form_clabel">%s:</td>
+<td class="form_value"><input type="text" name="%s_%s" value="%s"></td>
+</tr>"""%(self.getName(),r.getName(),self.getName(),self.getValue(r,bugtype,getConfigOption))
+
+class SelectionParameter (ReporterParameter):
+ def __init__(self, n, values):
+ ReporterParameter.__init__(self,n)
+ self.values = values
+
+ def getHTML(self,r,bugtype,getConfigOption):
+ default = self.getValue(r,bugtype,getConfigOption)
+ return """\
+<tr>
+<td class="form_clabel">%s:</td><td class="form_value"><select name="%s_%s">
+%s
+</select></td>"""%(self.getName(),r.getName(),self.getName(),'\n'.join(["""\
+<option value="%s"%s>%s</option>"""%(o[0],
+ o[0] == default and ' selected="selected"' or '',
+ o[1]) for o in self.values]))
+
+#===------------------------------------------------------------------------===#
+# Reporters
+#===------------------------------------------------------------------------===#
+
+class EmailReporter(object):
+ def getName(self):
+ return 'Email'
+
+ def getParameters(self):
+ return [TextParameter(x) for x in ['To', 'From', 'SMTP Server', 'SMTP Port']]
+
+ # Lifted from python email module examples.
+ def attachFile(self, outer, path):
+ # Guess the content type based on the file's extension. Encoding
+ # will be ignored, although we should check for simple things like
+ # gzip'd or compressed files.
+ ctype, encoding = mimetypes.guess_type(path)
+ if ctype is None or encoding is not None:
+ # No guess could be made, or the file is encoded (compressed), so
+ # use a generic bag-of-bits type.
+ ctype = 'application/octet-stream'
+ maintype, subtype = ctype.split('/', 1)
+ if maintype == 'text':
+ fp = open(path)
+ # Note: we should handle calculating the charset
+ msg = MIMEText(fp.read(), _subtype=subtype)
+ fp.close()
+ else:
+ fp = open(path, 'rb')
+ msg = MIMEBase(maintype, subtype)
+ msg.set_payload(fp.read())
+ fp.close()
+ # Encode the payload using Base64
+ encoders.encode_base64(msg)
+ # Set the filename parameter
+ msg.add_header('Content-Disposition', 'attachment', filename=os.path.basename(path))
+ outer.attach(msg)
+
+ def fileReport(self, report, parameters):
+ mainMsg = """\
+BUG REPORT
+---
+Title: %s
+Description: %s
+"""%(report.title, report.description)
+
+ if not parameters.get('To'):
+ raise ReportFailure('No "To" address specified.')
+ if not parameters.get('From'):
+ raise ReportFailure('No "From" address specified.')
+
+ msg = MIMEMultipart()
+ msg['Subject'] = 'BUG REPORT: %s'%(report.title)
+ # FIXME: Get config parameters
+ msg['To'] = parameters.get('To')
+ msg['From'] = parameters.get('From')
+ msg.preamble = mainMsg
+
+ msg.attach(MIMEText(mainMsg, _subtype='text/plain'))
+ for file in report.files:
+ self.attachFile(msg, file)
+
+ try:
+ s = smtplib.SMTP(host=parameters.get('SMTP Server'),
+ port=parameters.get('SMTP Port'))
+ s.sendmail(msg['From'], msg['To'], msg.as_string())
+ s.close()
+ except:
+ raise ReportFailure('Unable to send message via SMTP.')
+
+ return "Message sent!"
+
+class BugzillaReporter(object):
+ def getName(self):
+ return 'Bugzilla'
+
+ def getParameters(self):
+ return [TextParameter(x) for x in ['URL','Product']]
+
+ def fileReport(self, report, parameters):
+ raise NotImplementedError
+
+
+class RadarClassificationParameter(SelectionParameter):
+ def __init__(self):
+ SelectionParameter.__init__(self,"Classification",
+ [['1', 'Security'], ['2', 'Crash/Hang/Data Loss'],
+ ['3', 'Performance'], ['4', 'UI/Usability'],
+ ['6', 'Serious Bug'], ['7', 'Other']])
+
+ def saveConfigValue(self):
+ return False
+
+ def getValue(self,r,bugtype,getConfigOption):
+ if bugtype.find("leak") != -1:
+ return '3'
+ elif bugtype.find("dereference") != -1:
+ return '2'
+ elif bugtype.find("missing ivar release") != -1:
+ return '3'
+ else:
+ return '7'
+
+###
+
+def getReporters():
+ reporters = []
+ reporters.append(EmailReporter())
+ return reporters
+

View File

@ -10,7 +10,7 @@ Index: llvm-toolchain-snapshot_17~++20211117120952+5b4bfd8c2417/clang/tools/scan
$Clang = $ENV{'CLANG_CXX'}; $Clang = $ENV{'CLANG_CXX'};
- if (!defined $Clang || ! -x $Clang) { $Clang = 'clang++'; } - if (!defined $Clang || ! -x $Clang) { $Clang = 'clang++'; }
+ if (!defined $Clang || ! -x $Clang) { $Clang = 'clang++-18'; } + if (!defined $Clang || ! -x $Clang) { $Clang = 'clang++-19'; }
$IsCXX = 1 $IsCXX = 1
} }
@ -19,7 +19,7 @@ Index: llvm-toolchain-snapshot_17~++20211117120952+5b4bfd8c2417/clang/tools/scan
$Clang = $ENV{'CLANG'}; $Clang = $ENV{'CLANG'};
- if (!defined $Clang || ! -x $Clang) { $Clang = 'clang'; } - if (!defined $Clang || ! -x $Clang) { $Clang = 'clang'; }
+ if (!defined $Clang || ! -x $Clang) { $Clang = 'clang-18'; } + if (!defined $Clang || ! -x $Clang) { $Clang = 'clang-19'; }
$IsCXX = 0 $IsCXX = 0
} }

View File

@ -1,8 +1,23 @@
Index: llvm-toolchain-snapshot_16~++20221220013513+bb7940e25f6c/llvm/lib/Target/ARM/ARM.td Index: llvm-toolchain-snapshot_19~++20240424094944+78ebaa2d798f/llvm/include/llvm/TargetParser/ARMTargetParser.def
=================================================================== ===================================================================
--- llvm-toolchain-snapshot_16~++20221220013513+bb7940e25f6c.orig/llvm/lib/Target/ARM/ARM.td --- llvm-toolchain-snapshot_19~++20240424094944+78ebaa2d798f.orig/llvm/include/llvm/TargetParser/ARMTargetParser.def
+++ llvm-toolchain-snapshot_16~++20221220013513+bb7940e25f6c/llvm/lib/Target/ARM/ARM.td +++ llvm-toolchain-snapshot_19~++20240424094944+78ebaa2d798f/llvm/include/llvm/TargetParser/ARMTargetParser.def
@@ -905,7 +905,8 @@ def ARMv6sm : Architecture<"armv6s-m", @@ -92,8 +92,8 @@ ARM_ARCH("armv6kz", ARMV6KZ, "6KZ", "+v6
FK_VFPV2, (ARM::AEK_SEC | ARM::AEK_DSP))
ARM_ARCH("armv6-m", ARMV6M, "6-M", "+v6m", ARMBuildAttrs::CPUArch::v6_M,
FK_NONE, ARM::AEK_NONE)
-ARM_ARCH("armv7-a", ARMV7A, "7-A", "+v7", ARMBuildAttrs::CPUArch::v7, FK_NEON,
- ARM::AEK_DSP)
+ARM_ARCH("armv7-a", ARMV7A, "7-A", "+v7", ARMBuildAttrs::CPUArch::v7,
+ FK_VFPV3_D16 /* Hard float */, ARM::AEK_DSP)
ARM_ARCH("armv7ve", ARMV7VE, "7VE", "+v7ve", ARMBuildAttrs::CPUArch::v7,
FK_NEON,
(ARM::AEK_SEC | ARM::AEK_MP | ARM::AEK_VIRT | ARM::AEK_HWDIVARM |
Index: llvm-toolchain-snapshot_19~++20240424094944+78ebaa2d798f/llvm/lib/Target/ARM/ARMArchitectures.td
===================================================================
--- llvm-toolchain-snapshot_19~++20240424094944+78ebaa2d798f.orig/llvm/lib/Target/ARM/ARMArchitectures.td
+++ llvm-toolchain-snapshot_19~++20240424094944+78ebaa2d798f/llvm/lib/Target/ARM/ARMArchitectures.td
@@ -42,7 +42,8 @@ def ARMv6sm : Architecture<"armv6s-m",
FeatureStrictAlign]>; FeatureStrictAlign]>;
def ARMv7a : Architecture<"armv7-a", "ARMv7a", [HasV7Ops, def ARMv7a : Architecture<"armv7-a", "ARMv7a", [HasV7Ops,
@ -12,16 +27,3 @@ Index: llvm-toolchain-snapshot_16~++20221220013513+bb7940e25f6c/llvm/lib/Target/
FeatureDB, FeatureDB,
FeatureDSP, FeatureDSP,
FeatureAClass, FeatureAClass,
Index: llvm-toolchain-snapshot_16~++20221220013513+bb7940e25f6c/llvm/include/llvm/TargetParser/ARMTargetParser.def
===================================================================
--- llvm-toolchain-snapshot_16~++20221220013513+bb7940e25f6c.orig/llvm/include/llvm/TargetParser/ARMTargetParser.def
+++ llvm-toolchain-snapshot_16~++20221220013513+bb7940e25f6c/llvm/include/llvm/TargetParser/ARMTargetParser.def
@@ -68,7 +68,7 @@ ARM_ARCH("armv6kz", ARMV6KZ, "6KZ", "+v6
ARM_ARCH("armv6-m", ARMV6M, "6-M", "+v6m", ARMBuildAttrs::CPUArch::v6_M,
FK_NONE, ARM::AEK_NONE)
ARM_ARCH("armv7-a", ARMV7A, "7-A", "+v7", ARMBuildAttrs::CPUArch::v7,
- FK_NEON, ARM::AEK_DSP)
+ FK_VFPV3_D16 /* Hard float */, ARM::AEK_DSP)
ARM_ARCH("armv7ve", ARMV7VE, "7VE", "+v7ve", ARMBuildAttrs::CPUArch::v7,
FK_NEON, (ARM::AEK_SEC | ARM::AEK_MP | ARM::AEK_VIRT |
ARM::AEK_HWDIVARM | ARM::AEK_HWDIVTHUMB | ARM::AEK_DSP))

View File

@ -4,42 +4,42 @@
clang/tools/clang-format/clang-format.py | 2 +- clang/tools/clang-format/clang-format.py | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-) 3 files changed, 3 insertions(+), 3 deletions(-)
Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/clang/tools/clang-format/clang-format-diff.py Index: llvm-toolchain-snapshot_19~++20240220124703+f122268c0441/clang/tools/clang-format/clang-format-diff.py
=================================================================== ===================================================================
--- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/clang/tools/clang-format/clang-format-diff.py --- llvm-toolchain-snapshot_19~++20240220124703+f122268c0441.orig/clang/tools/clang-format/clang-format-diff.py
+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/clang/tools/clang-format/clang-format-diff.py +++ llvm-toolchain-snapshot_19~++20240220124703+f122268c0441/clang/tools/clang-format/clang-format-diff.py
@@ -92,7 +92,7 @@ def main(): @@ -93,7 +93,7 @@ def main():
) )
parser.add_argument( parser.add_argument(
"-binary", "-binary",
- default="clang-format", - default="clang-format",
+ default="clang-format-18", + default="clang-format-19",
help="location of binary to use for clang-format", help="location of binary to use for clang-format",
) )
args = parser.parse_args() args = parser.parse_args()
Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/clang/tools/clang-format/clang-format.el Index: llvm-toolchain-snapshot_19~++20240220124703+f122268c0441/clang/tools/clang-format/clang-format.el
=================================================================== ===================================================================
--- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/clang/tools/clang-format/clang-format.el --- llvm-toolchain-snapshot_19~++20240220124703+f122268c0441.orig/clang/tools/clang-format/clang-format.el
+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/clang/tools/clang-format/clang-format.el +++ llvm-toolchain-snapshot_19~++20240220124703+f122268c0441/clang/tools/clang-format/clang-format.el
@@ -37,7 +37,7 @@ @@ -38,7 +38,7 @@
:group 'tools) :group 'tools)
(defcustom clang-format-executable (defcustom clang-format-executable
- (or (executable-find "clang-format") - (or (executable-find "clang-format")
+ (or (executable-find "clang-format-18") + (or (executable-find "clang-format-19")
"clang-format") "clang-format")
"Location of the clang-format executable. "Location of the clang-format executable.
Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/clang/tools/clang-format/clang-format.py Index: llvm-toolchain-snapshot_19~++20240220124703+f122268c0441/clang/tools/clang-format/clang-format.py
=================================================================== ===================================================================
--- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/clang/tools/clang-format/clang-format.py --- llvm-toolchain-snapshot_19~++20240220124703+f122268c0441.orig/clang/tools/clang-format/clang-format.py
+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/clang/tools/clang-format/clang-format.py +++ llvm-toolchain-snapshot_19~++20240220124703+f122268c0441/clang/tools/clang-format/clang-format.py
@@ -49,7 +49,7 @@ import vim @@ -49,7 +49,7 @@ import vim
# set g:clang_format_path to the path to clang-format if it is not on the path # set g:clang_format_path to the path to clang-format if it is not on the path
# Change this to the full path if clang-format is not on the path. # Change this to the full path if clang-format is not on the path.
-binary = "clang-format" -binary = "clang-format"
+binary = "clang-format-18" +binary = "clang-format-19"
if vim.eval('exists("g:clang_format_path")') == "1": if vim.eval('exists("g:clang_format_path")') == "1":
binary = vim.eval("g:clang_format_path") binary = vim.eval("g:clang_format_path")

View File

@ -1,22 +0,0 @@
Description: Record GCC-style command-line switches by default
This makes Clang default behaviour more like GCC where if debug
symbol generation is enabled, the command-line switches data
will be stored inside the debug symbols.
Author: Zixing Liu <zixing.liu@canonical.com>
Forwarded: https://github.com/llvm/llvm-project/issues/94690
Last-Update: 2024-06-04
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
Index: llvm-toolchain-18-18.1.6/clang/lib/Driver/ToolChains/Clang.cpp
===================================================================
--- llvm-toolchain-18-18.1.6.orig/clang/lib/Driver/ToolChains/Clang.cpp
+++ llvm-toolchain-18-18.1.6/clang/lib/Driver/ToolChains/Clang.cpp
@@ -7390,7 +7390,7 @@ void Clang::ConstructJob(Compilation &C,
// By default, -gno-record-gcc-switches is set on and no recording.
auto GRecordSwitches =
Args.hasFlag(options::OPT_grecord_command_line,
- options::OPT_gno_record_command_line, false);
+ options::OPT_gno_record_command_line, true);
auto FRecordSwitches =
Args.hasFlag(options::OPT_frecord_command_line,
options::OPT_fno_record_command_line, false);

View File

@ -1,19 +1,18 @@
Index: llvm-toolchain-snapshot_18~++20231101090856+e144ae54dcb9/clang-tools-extra/clang-tidy/tool/run-clang-tidy.py Index: llvm-toolchain-19_19.1.2~++20241011093632+6c1fd539e43e/clang-tools-extra/clang-tidy/tool/run-clang-tidy.py
=================================================================== ===================================================================
--- llvm-toolchain-snapshot_18~++20231101090856+e144ae54dcb9.orig/clang-tools-extra/clang-tidy/tool/run-clang-tidy.py --- llvm-toolchain-19_19.1.2~++20241011093632+6c1fd539e43e.orig/clang-tools-extra/clang-tidy/tool/run-clang-tidy.py
+++ llvm-toolchain-snapshot_18~++20231101090856+e144ae54dcb9/clang-tools-extra/clang-tidy/tool/run-clang-tidy.py +++ llvm-toolchain-19_19.1.2~++20241011093632+6c1fd539e43e/clang-tools-extra/clang-tidy/tool/run-clang-tidy.py
@@ -260,10 +260,13 @@ def main(): @@ -300,10 +300,12 @@ async def main() -> None:
help="allow alpha checkers from clang-analyzer.", help="Allow alpha checkers from clang-analyzer.",
) )
parser.add_argument( parser.add_argument(
- "-clang-tidy-binary", metavar="PATH", help="path to clang-tidy binary" - "-clang-tidy-binary", metavar="PATH", help="Path to clang-tidy binary."
+ "-clang-tidy-binary", metavar="PATH", + "-clang-tidy-binary", metavar="PATH", help="Path to clang-tidy binary.",
+ default='clang-tidy-18', + default='clang-tidy-19'
+ help="path to clang-tidy binary"
) )
parser.add_argument( parser.add_argument(
"-clang-apply-replacements-binary", "-clang-apply-replacements-binary",
+ default='clang-apply-replacements-18', + default='clang-apply-replacements-19',
metavar="PATH", metavar="PATH",
help="path to clang-apply-replacements binary", help="Path to clang-apply-replacements binary.",
) )

View File

@ -1,20 +0,0 @@
commit ca467542eecfc621eea7fefb3c7e3849c6b43ac7
Author: Sylvestre Ledru <sylvestre@debian.org>
Date: Fri May 29 09:13:08 2020 +0200
[CMake] Pass CLANG_VENDOR variables into later stages
We are already passing CLANG_VERSION_* & PACKAGE_VENDOR
diff --git a/clang/CMakeLists.txt b/clang/CMakeLists.txt
index 7dadc5f6e91..5a5e34aacbe 100644
--- a/clang/CMakeLists.txt
+++ b/clang/CMakeLists.txt
@@ -711,6 +711,7 @@ if (CLANG_ENABLE_BOOTSTRAP)
CLANG_VERSION_MAJOR
CLANG_VERSION_MINOR
CLANG_VERSION_PATCHLEVEL
+ CLANG_VENDOR
LLVM_VERSION_SUFFIX
LLVM_BINUTILS_INCDIR
CLANG_REPOSITORY_STRING

View File

@ -1,7 +1,7 @@
Index: llvm-toolchain-snapshot_17~++20230517015648+0b6264738f3d/clang-tools-extra/clangd/CMakeLists.txt Index: llvm-toolchain-19_19.1.2~++20241011093632+6c1fd539e43e/clang-tools-extra/clangd/CMakeLists.txt
=================================================================== ===================================================================
--- llvm-toolchain-snapshot_17~++20230517015648+0b6264738f3d.orig/clang-tools-extra/clangd/CMakeLists.txt --- llvm-toolchain-19_19.1.2~++20241011093632+6c1fd539e43e.orig/clang-tools-extra/clangd/CMakeLists.txt
+++ llvm-toolchain-snapshot_17~++20230517015648+0b6264738f3d/clang-tools-extra/clangd/CMakeLists.txt +++ llvm-toolchain-19_19.1.2~++20241011093632+6c1fd539e43e/clang-tools-extra/clangd/CMakeLists.txt
@@ -61,6 +61,11 @@ endif() @@ -61,6 +61,11 @@ endif()
include_directories(BEFORE "${CMAKE_CURRENT_BINARY_DIR}/../clang-tidy") include_directories(BEFORE "${CMAKE_CURRENT_BINARY_DIR}/../clang-tidy")
include_directories(BEFORE "${CMAKE_CURRENT_SOURCE_DIR}/../include-cleaner/include") include_directories(BEFORE "${CMAKE_CURRENT_SOURCE_DIR}/../include-cleaner/include")
@ -14,7 +14,7 @@ Index: llvm-toolchain-snapshot_17~++20230517015648+0b6264738f3d/clang-tools-extr
add_clang_library(clangDaemon add_clang_library(clangDaemon
AST.cpp AST.cpp
ASTSignals.cpp ASTSignals.cpp
@@ -178,6 +183,7 @@ clang_target_link_libraries(clangDaemon @@ -181,6 +186,7 @@ clang_target_link_libraries(clangDaemon
target_link_libraries(clangDaemon target_link_libraries(clangDaemon
PRIVATE PRIVATE
${LLVM_PTHREAD_LIB} ${LLVM_PTHREAD_LIB}

View File

@ -1,10 +1,10 @@
add option to disable compiler-rt scudo standalone allocator as it is add option to disable compiler-rt scudo standalone allocator as it is
not always supported by all arch profiles such as arm5vt of ARM32 arch not always supported by all arch profiles such as arm5vt of ARM32 arch
Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/compiler-rt/CMakeLists.txt Index: llvm-toolchain-snapshot_19~++20240711013116+0ff13f72c974/compiler-rt/CMakeLists.txt
=================================================================== ===================================================================
--- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/compiler-rt/CMakeLists.txt --- llvm-toolchain-snapshot_19~++20240711013116+0ff13f72c974.orig/compiler-rt/CMakeLists.txt
+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/compiler-rt/CMakeLists.txt +++ llvm-toolchain-snapshot_19~++20240711013116+0ff13f72c974/compiler-rt/CMakeLists.txt
@@ -303,6 +303,12 @@ option(COMPILER_RT_USE_BUILTINS_LIBRARY @@ -286,6 +286,12 @@ option(COMPILER_RT_USE_BUILTINS_LIBRARY
include(config-ix) include(config-ix)

View File

@ -1,10 +1,10 @@
fix builtins armhf default arch detection by adding the same armhf triple fix builtins armhf default arch detection by adding the same armhf triple
handling use for compiler-rt handling use for compiler-rt
Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/compiler-rt/lib/builtins/CMakeLists.txt Index: llvm-toolchain-snapshot_19~++20240220124703+f122268c0441/compiler-rt/lib/builtins/CMakeLists.txt
=================================================================== ===================================================================
--- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/compiler-rt/lib/builtins/CMakeLists.txt --- llvm-toolchain-snapshot_19~++20240220124703+f122268c0441.orig/compiler-rt/lib/builtins/CMakeLists.txt
+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/compiler-rt/lib/builtins/CMakeLists.txt +++ llvm-toolchain-snapshot_19~++20240220124703+f122268c0441/compiler-rt/lib/builtins/CMakeLists.txt
@@ -36,6 +36,11 @@ if (CMAKE_SOURCE_DIR STREQUAL CMAKE_CURR @@ -29,6 +29,11 @@ if (CMAKE_SOURCE_DIR STREQUAL CMAKE_CURR
load_llvm_config() load_llvm_config()
endif() endif()
construct_compiler_rt_default_triple() construct_compiler_rt_default_triple()

View File

@ -2,11 +2,11 @@
lib/Support/Unix/Memory.inc | 2 +- lib/Support/Unix/Memory.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-) 1 file changed, 1 insertion(+), 1 deletion(-)
Index: llvm-toolchain-snapshot_16~++20221126040739+502c246519ec/llvm/lib/Support/Unix/Memory.inc Index: llvm-toolchain-snapshot_19~++20240220124703+f122268c0441/llvm/lib/Support/Unix/Memory.inc
=================================================================== ===================================================================
--- llvm-toolchain-snapshot_16~++20221126040739+502c246519ec.orig/llvm/lib/Support/Unix/Memory.inc --- llvm-toolchain-snapshot_19~++20240220124703+f122268c0441.orig/llvm/lib/Support/Unix/Memory.inc
+++ llvm-toolchain-snapshot_16~++20221126040739+502c246519ec/llvm/lib/Support/Unix/Memory.inc +++ llvm-toolchain-snapshot_19~++20240220124703+f122268c0441/llvm/lib/Support/Unix/Memory.inc
@@ -242,7 +242,7 @@ void Memory::InvalidateInstructionCache( @@ -243,7 +243,7 @@ void Memory::InvalidateInstructionCache(
// FIXME: Can we safely always call this for __GNUC__ everywhere? // FIXME: Can we safely always call this for __GNUC__ everywhere?
const char *Start = static_cast<const char *>(Addr); const char *Start = static_cast<const char *>(Addr);
const char *End = Start + Len; const char *End = Start + Len;

View File

@ -1,17 +0,0 @@
Index: llvm-toolchain-snapshot_11~++20200326111000+4673699a470/lldb/third_party/Python/module/unittest2/unittest2/runner.py
===================================================================
--- llvm-toolchain-snapshot_11~++20200326111000+4673699a470.orig/lldb/third_party/Python/module/unittest2/unittest2/runner.py
+++ llvm-toolchain-snapshot_11~++20200326111000+4673699a470/lldb/third_party/Python/module/unittest2/unittest2/runner.py
@@ -174,9 +174,9 @@ class TextTestRunner(unittest.TextTestRu
if hasattr(result, 'separator2'):
self.stream.writeln(result.separator2)
run = result.testsRun
- self.stream.writeln("Ran %d test%s in %.3fs" %
- (run, run != 1 and "s" or "", timeTaken))
- self.stream.writeln()
+# self.stream.writeln("Ran %d test%s in %.3fs" %
+# (run, run != 1 and "s" or "", timeTaken))
+# self.stream.writeln()
expectedFails = unexpectedSuccesses = skipped = passed = failed = errored = 0
try:

View File

@ -1,10 +0,0 @@
Index: llvm-toolchain-9-9/lldb/utils/lit-cpuid/CMakeLists.txt
===================================================================
--- llvm-toolchain-9-9.orig/lldb/utils/lit-cpuid/CMakeLists.txt
+++ llvm-toolchain-9-9/lldb/utils/lit-cpuid/CMakeLists.txt
@@ -1,4 +1,4 @@
-add_llvm_utility(lit-cpuid
+add_lldb_executable(lit-cpuid
lit-cpuid.cpp
)

View File

@ -0,0 +1,23 @@
Index: llvm-toolchain-snapshot_19~++20240711013116+0ff13f72c974/openmp/CMakeLists.txt
===================================================================
--- llvm-toolchain-snapshot_19~++20240711013116+0ff13f72c974.orig/openmp/CMakeLists.txt
+++ llvm-toolchain-snapshot_19~++20240711013116+0ff13f72c974/openmp/CMakeLists.txt
@@ -51,13 +51,13 @@ else()
set(OPENMP_ENABLE_WERROR ${LLVM_ENABLE_WERROR})
# When building in tree we install the runtime according to the LLVM settings.
- if(LLVM_ENABLE_PER_TARGET_RUNTIME_DIR AND NOT APPLE)
- set(OPENMP_INSTALL_LIBDIR lib${LLVM_LIBDIR_SUFFIX}/${LLVM_DEFAULT_TARGET_TRIPLE} CACHE STRING
- "Path where built openmp libraries should be installed.")
- else()
+# if(LLVM_ENABLE_PER_TARGET_RUNTIME_DIR AND NOT APPLE)
+# set(OPENMP_INSTALL_LIBDIR lib${LLVM_LIBDIR_SUFFIX}/${LLVM_DEFAULT_TARGET_TRIPLE} CACHE STRING
+# "Path where built openmp libraries should be installed.")
+# else()
set(OPENMP_INSTALL_LIBDIR "lib${LLVM_LIBDIR_SUFFIX}" CACHE STRING
"Path where built OpenMP libraries should be installed.")
- endif()
+# endif()
if (NOT MSVC)
set(OPENMP_TEST_C_COMPILER ${LLVM_RUNTIME_OUTPUT_INTDIR}/clang)

View File

@ -1,8 +1,8 @@
Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/unittests/Support/Path.cpp Index: llvm-toolchain-snapshot_19~++20240220124703+f122268c0441/llvm/unittests/Support/Path.cpp
=================================================================== ===================================================================
--- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/llvm/unittests/Support/Path.cpp --- llvm-toolchain-snapshot_19~++20240220124703+f122268c0441.orig/llvm/unittests/Support/Path.cpp
+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/unittests/Support/Path.cpp +++ llvm-toolchain-snapshot_19~++20240220124703+f122268c0441/llvm/unittests/Support/Path.cpp
@@ -679,7 +679,7 @@ protected: @@ -680,7 +680,7 @@ protected:
sys::path::append(NonExistantFile, "1B28B495C16344CB9822E588CD4C3EF0"); sys::path::append(NonExistantFile, "1B28B495C16344CB9822E588CD4C3EF0");
} }
@ -11,7 +11,7 @@ Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/unittests/S
}; };
TEST_F(FileSystemTest, Unique) { TEST_F(FileSystemTest, Unique) {
@@ -763,7 +763,8 @@ TEST_F(FileSystemTest, RealPath) { @@ -768,7 +768,8 @@ TEST_F(FileSystemTest, RealPath) {
// This can fail if $HOME is not set and getpwuid fails. // This can fail if $HOME is not set and getpwuid fails.
bool Result = llvm::sys::path::home_directory(HomeDir); bool Result = llvm::sys::path::home_directory(HomeDir);
@ -21,7 +21,7 @@ Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/unittests/S
checkSeparators(HomeDir); checkSeparators(HomeDir);
ASSERT_NO_ERROR(fs::real_path(HomeDir, Expected)); ASSERT_NO_ERROR(fs::real_path(HomeDir, Expected));
checkSeparators(Expected); checkSeparators(Expected);
@@ -772,6 +773,7 @@ TEST_F(FileSystemTest, RealPath) { @@ -777,6 +778,7 @@ TEST_F(FileSystemTest, RealPath) {
ASSERT_NO_ERROR(fs::real_path("~/", Actual, true)); ASSERT_NO_ERROR(fs::real_path("~/", Actual, true));
EXPECT_EQ(Expected, Actual); EXPECT_EQ(Expected, Actual);
} }

View File

@ -1,8 +1,8 @@
Index: llvm-toolchain-snapshot_17~++20230705085103+4ef04876ef17/llvm/lib/TargetParser/X86TargetParser.cpp Index: llvm-toolchain-snapshot_19~++20240220124703+f122268c0441/llvm/lib/TargetParser/X86TargetParser.cpp
=================================================================== ===================================================================
--- llvm-toolchain-snapshot_17~++20230705085103+4ef04876ef17.orig/llvm/lib/TargetParser/X86TargetParser.cpp --- llvm-toolchain-snapshot_19~++20240220124703+f122268c0441.orig/llvm/lib/TargetParser/X86TargetParser.cpp
+++ llvm-toolchain-snapshot_17~++20230705085103+4ef04876ef17/llvm/lib/TargetParser/X86TargetParser.cpp +++ llvm-toolchain-snapshot_19~++20240220124703+f122268c0441/llvm/lib/TargetParser/X86TargetParser.cpp
@@ -132,7 +132,7 @@ constexpr FeatureBitset FeaturesPentium2 @@ -59,7 +59,7 @@ constexpr FeatureBitset FeaturesPentium2
constexpr FeatureBitset FeaturesPentium3 = FeaturesPentium2 | FeatureSSE; constexpr FeatureBitset FeaturesPentium3 = FeaturesPentium2 | FeatureSSE;
// Pentium 4 CPUs // Pentium 4 CPUs

View File

@ -1,8 +1,8 @@
Index: llvm-toolchain-snapshot_15~++20220407011631+46f0e2ceb487/clang/lib/Driver/ToolChains/Linux.cpp Index: llvm-toolchain-19_19.1.2~++20241011093632+6c1fd539e43e/clang/lib/Driver/ToolChains/Linux.cpp
=================================================================== ===================================================================
--- llvm-toolchain-snapshot_15~++20220407011631+46f0e2ceb487.orig/clang/lib/Driver/ToolChains/Linux.cpp --- llvm-toolchain-19_19.1.2~++20241011093632+6c1fd539e43e.orig/clang/lib/Driver/ToolChains/Linux.cpp
+++ llvm-toolchain-snapshot_15~++20220407011631+46f0e2ceb487/clang/lib/Driver/ToolChains/Linux.cpp +++ llvm-toolchain-19_19.1.2~++20241011093632+6c1fd539e43e/clang/lib/Driver/ToolChains/Linux.cpp
@@ -12,6 +12,7 @@ @@ -13,6 +13,7 @@
#include "Arch/PPC.h" #include "Arch/PPC.h"
#include "Arch/RISCV.h" #include "Arch/RISCV.h"
#include "CommonArgs.h" #include "CommonArgs.h"
@ -10,7 +10,7 @@ Index: llvm-toolchain-snapshot_15~++20220407011631+46f0e2ceb487/clang/lib/Driver
#include "clang/Config/config.h" #include "clang/Config/config.h"
#include "clang/Driver/Distro.h" #include "clang/Driver/Distro.h"
#include "clang/Driver/Driver.h" #include "clang/Driver/Driver.h"
@@ -579,8 +580,18 @@ void Linux::AddClangSystemIncludeArgs(co @@ -634,8 +635,18 @@ void Linux::AddClangSystemIncludeArgs(co
SmallString<128> ResourceDirInclude(D.ResourceDir); SmallString<128> ResourceDirInclude(D.ResourceDir);
llvm::sys::path::append(ResourceDirInclude, "include"); llvm::sys::path::append(ResourceDirInclude, "include");
if (!DriverArgs.hasArg(options::OPT_nobuiltininc) && if (!DriverArgs.hasArg(options::OPT_nobuiltininc) &&

View File

@ -1,16 +1,16 @@
Index: llvm-toolchain-snapshot_17~++20200326172000+4673699a470/clang/tools/scan-view/bin/scan-view Index: llvm-toolchain-snapshot_19~++20240220124703+f122268c0441/clang/tools/scan-view/bin/scan-view
=================================================================== ===================================================================
--- llvm-toolchain-snapshot_17~++20200326172000+4673699a470.orig/clang/tools/scan-view/bin/scan-view --- llvm-toolchain-snapshot_19~++20240220124703+f122268c0441.orig/clang/tools/scan-view/bin/scan-view
+++ llvm-toolchain-snapshot_17~++20200326172000+4673699a470/clang/tools/scan-view/bin/scan-view +++ llvm-toolchain-snapshot_19~++20240220124703+f122268c0441/clang/tools/scan-view/bin/scan-view
@@ -28,6 +28,7 @@ kDefaultPort = 8181 @@ -27,6 +27,7 @@ kDefaultPort = 8181
kMaxPortsToTry = 100 kMaxPortsToTry = 100
### ###
+BASE_DIR = '/usr/share/clang/scan-view-18' +BASE_DIR = '/usr/share/clang/scan-view-19'
def url_is_up(url): def url_is_up(url):
@@ -65,7 +66,7 @@ def start_browser(port, options): @@ -64,7 +65,7 @@ def start_browser(port, options):
def run(port, options, root): def run(port, options, root):
# Prefer to look relative to the installed binary # Prefer to look relative to the installed binary

View File

@ -1,35 +0,0 @@
Index: llvm-toolchain-14-14.0.6/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h
===================================================================
--- llvm-toolchain-14-14.0.6.orig/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h
+++ llvm-toolchain-14-14.0.6/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h
@@ -84,7 +84,7 @@ protected:
#ifndef NDEBUG
~RefCountedBase() {
assert(RefCount == 0 &&
- "Destruction occured when there are still references to this.");
+ "Destruction occurred when there are still references to this.");
}
#else
// Default the destructor in release builds, A trivial destructor may enable
@@ -115,7 +115,7 @@ protected:
#ifndef NDEBUG
~ThreadSafeRefCountedBase() {
assert(RefCount == 0 &&
- "Destruction occured when there are still references to this.");
+ "Destruction occurred when there are still references to this.");
}
#else
// Default the destructor in release builds, A trivial destructor may enable
Index: llvm-toolchain-14-14.0.6/llvm/include/llvm/Support/CommandLine.h
===================================================================
--- llvm-toolchain-14-14.0.6.orig/llvm/include/llvm/Support/CommandLine.h
+++ llvm-toolchain-14-14.0.6/llvm/include/llvm/Support/CommandLine.h
@@ -1308,7 +1308,7 @@ template <> struct applicator<Formatting
template <> struct applicator<MiscFlags> {
static void opt(MiscFlags MF, Option &O) {
assert((MF != Grouping || O.ArgStr.size() == 1) &&
- "cl::Grouping can only apply to single charater Options.");
+ "cl::Grouping can only apply to single character Options.");
O.setMiscFlag(MF);
}
};

View File

@ -1,8 +1,8 @@
Index: llvm-toolchain-18_18.1.2/compiler-rt/lib/builtins/CMakeLists.txt Index: llvm-toolchain-snapshot_19~++20240711013116+0ff13f72c974/compiler-rt/lib/builtins/CMakeLists.txt
=================================================================== ===================================================================
--- llvm-toolchain-18_18.1.2.orig/compiler-rt/lib/builtins/CMakeLists.txt --- llvm-toolchain-snapshot_19~++20240711013116+0ff13f72c974.orig/compiler-rt/lib/builtins/CMakeLists.txt
+++ llvm-toolchain-18_18.1.2/compiler-rt/lib/builtins/CMakeLists.txt +++ llvm-toolchain-snapshot_19~++20240711013116+0ff13f72c974/compiler-rt/lib/builtins/CMakeLists.txt
@@ -772,6 +772,12 @@ else () @@ -796,6 +796,12 @@ else ()
append_list_if(COMPILER_RT_ENABLE_CET -fcf-protection=full BUILTIN_CFLAGS) append_list_if(COMPILER_RT_ENABLE_CET -fcf-protection=full BUILTIN_CFLAGS)
endif() endif()

27
debian/patches/hurd/hurd-f_type.diff vendored Normal file
View File

@ -0,0 +1,27 @@
https://github.com/llvm/llvm-project/pull/71851
commit 620b8d994b8abdcf31271d9f4db7e7422fc9bd65
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Mon Sep 9 15:53:33 2024 +0200
[hurd] Fix accessing f_type field of statvfs (#71851)
f4719c4d2cda ("Add support for GNU Hurd in Path.inc and other places")
made llvm use an internal __f_type name for the f_type field (which it
is not supposed to since accessing double-underscore names is explicitly
not supported by standards). In glibc 2.39 this field was renamed to
f_type so application can now access the field as the standard says.
diff --git a/llvm/lib/Support/Unix/Path.inc b/llvm/lib/Support/Unix/Path.inc
index 8098392a7fd9..44097bad7b46 100644
--- a/llvm/lib/Support/Unix/Path.inc
+++ b/llvm/lib/Support/Unix/Path.inc
@@ -487,7 +487,7 @@ static bool is_local_impl(struct STATVFS &Vfs) {
#ifndef CIFS_MAGIC_NUMBER
#define CIFS_MAGIC_NUMBER 0xFF534D42
#endif
-#ifdef __GNU__
+#if defined(__GNU__) && ((__GLIBC__ < 2) || ((__GLIBC__ == 2) && (__GLIBC_MINOR__ < 39)))
switch ((uint32_t)Vfs.__f_type) {
#else
switch ((uint32_t)Vfs.f_type) {

View File

@ -1,8 +1,8 @@
Index: llvm-toolchain-snapshot_18~++20230928085653+a7f962c00745/clang/lib/Basic/FileManager.cpp Index: llvm-toolchain-19_19.1.2~++20241011093632+6c1fd539e43e/clang/lib/Basic/FileManager.cpp
=================================================================== ===================================================================
--- llvm-toolchain-snapshot_18~++20230928085653+a7f962c00745.orig/clang/lib/Basic/FileManager.cpp --- llvm-toolchain-19_19.1.2~++20241011093632+6c1fd539e43e.orig/clang/lib/Basic/FileManager.cpp
+++ llvm-toolchain-snapshot_18~++20230928085653+a7f962c00745/clang/lib/Basic/FileManager.cpp +++ llvm-toolchain-19_19.1.2~++20241011093632+6c1fd539e43e/clang/lib/Basic/FileManager.cpp
@@ -611,6 +611,12 @@ FileManager::getNoncachedStatValue(Strin @@ -609,6 +609,12 @@ FileManager::getNoncachedStatValue(Strin
return std::error_code(); return std::error_code();
} }
@ -15,10 +15,10 @@ Index: llvm-toolchain-snapshot_18~++20230928085653+a7f962c00745/clang/lib/Basic/
void FileManager::GetUniqueIDMapping( void FileManager::GetUniqueIDMapping(
SmallVectorImpl<OptionalFileEntryRef> &UIDToFiles) const { SmallVectorImpl<OptionalFileEntryRef> &UIDToFiles) const {
UIDToFiles.clear(); UIDToFiles.clear();
Index: llvm-toolchain-snapshot_18~++20230928085653+a7f962c00745/lldb/include/lldb/lldb-defines.h Index: llvm-toolchain-19_19.1.2~++20241011093632+6c1fd539e43e/lldb/include/lldb/lldb-defines.h
=================================================================== ===================================================================
--- llvm-toolchain-snapshot_18~++20230928085653+a7f962c00745.orig/lldb/include/lldb/lldb-defines.h --- llvm-toolchain-19_19.1.2~++20241011093632+6c1fd539e43e.orig/lldb/include/lldb/lldb-defines.h
+++ llvm-toolchain-snapshot_18~++20230928085653+a7f962c00745/lldb/include/lldb/lldb-defines.h +++ llvm-toolchain-19_19.1.2~++20241011093632+6c1fd539e43e/lldb/include/lldb/lldb-defines.h
@@ -15,6 +15,11 @@ @@ -15,6 +15,11 @@
#define INT32_MAX 2147483647 #define INT32_MAX 2147483647
#endif #endif

View File

@ -1,8 +1,8 @@
Index: llvm-toolchain-snapshot_17~++20230517015648+0b6264738f3d/mlir/lib/ExecutionEngine/CMakeLists.txt Index: llvm-toolchain-snapshot_19~++20240220124703+f122268c0441/mlir/lib/ExecutionEngine/CMakeLists.txt
=================================================================== ===================================================================
--- llvm-toolchain-snapshot_17~++20230517015648+0b6264738f3d.orig/mlir/lib/ExecutionEngine/CMakeLists.txt --- llvm-toolchain-snapshot_19~++20240220124703+f122268c0441.orig/mlir/lib/ExecutionEngine/CMakeLists.txt
+++ llvm-toolchain-snapshot_17~++20230517015648+0b6264738f3d/mlir/lib/ExecutionEngine/CMakeLists.txt +++ llvm-toolchain-snapshot_19~++20240220124703+f122268c0441/mlir/lib/ExecutionEngine/CMakeLists.txt
@@ -57,7 +57,7 @@ endif(LLVM_USE_PERF) @@ -60,7 +60,7 @@ endif(LLVM_USE_PERF)
add_mlir_library(MLIRExecutionEngine add_mlir_library(MLIRExecutionEngine
ExecutionEngine.cpp ExecutionEngine.cpp

View File

@ -1,13 +0,0 @@
Index: llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/llvm/CMakeLists.txt
===================================================================
--- llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3.orig/llvm/CMakeLists.txt
+++ llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/llvm/CMakeLists.txt
@@ -867,7 +867,7 @@ if(LLVM_TARGET_IS_CROSSCOMPILE_HOST)
# (this is a variable that CrossCompile sets on recursive invocations)
endif()
-if(${CMAKE_SYSTEM_NAME} MATCHES "(FreeBSD|DragonFly)")
+if( ${CMAKE_SYSTEM_NAME} MATCHES "(FreeBSD|DragonFly)" AND NOT "kFreeBSD" )
# On FreeBSD, /usr/local/* is not used by default. In order to build LLVM
# with libxml2, iconv.h, etc., we must add /usr/local paths.
include_directories(SYSTEM "/usr/local/include")

View File

@ -1,48 +0,0 @@
Index: llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/clang/lib/Basic/Targets.cpp
===================================================================
--- llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3.orig/clang/lib/Basic/Targets.cpp
+++ llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/clang/lib/Basic/Targets.cpp
@@ -470,8 +470,8 @@ TargetInfo *AllocateTarget(const llvm::T
return new OpenBSDI386TargetInfo(Triple, Opts);
case llvm::Triple::FreeBSD:
return new FreeBSDTargetInfo<X86_32TargetInfo>(Triple, Opts);
- case llvm::Triple::KFreeBSD:
- return new KFreeBSDTargetInfo<X86_32TargetInfo>(Triple, Opts);
+ case llvm::Triple::kFreeBSD:
+ return new kFreeBSDTargetInfo<X86_32TargetInfo>(Triple, Opts);
case llvm::Triple::Minix:
return new MinixTargetInfo<X86_32TargetInfo>(Triple, Opts);
case llvm::Triple::Solaris:
@@ -529,8 +529,8 @@ TargetInfo *AllocateTarget(const llvm::T
return new FreeBSDTargetInfo<X86_64TargetInfo>(Triple, Opts);
case llvm::Triple::Fuchsia:
return new FuchsiaTargetInfo<X86_64TargetInfo>(Triple, Opts);
- case llvm::Triple::KFreeBSD:
- return new KFreeBSDTargetInfo<X86_64TargetInfo>(Triple, Opts);
+ case llvm::Triple::kFreeBSD:
+ return new kFreeBSDTargetInfo<X86_64TargetInfo>(Triple, Opts);
case llvm::Triple::Solaris:
return new SolarisTargetInfo<X86_64TargetInfo>(Triple, Opts);
case llvm::Triple::Win32: {
Index: llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/clang/lib/Basic/Targets/OSTargets.h
===================================================================
--- llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3.orig/clang/lib/Basic/Targets/OSTargets.h
+++ llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/clang/lib/Basic/Targets/OSTargets.h
@@ -265,7 +265,7 @@ public:
// GNU/kFreeBSD Target
template <typename Target>
-class LLVM_LIBRARY_VISIBILITY KFreeBSDTargetInfo : public OSTargetInfo<Target> {
+class LLVM_LIBRARY_VISIBILITY kFreeBSDTargetInfo : public OSTargetInfo<Target> {
protected:
void getOSDefines(const LangOptions &Opts, const llvm::Triple &Triple,
MacroBuilder &Builder) const override {
@@ -282,7 +282,7 @@ protected:
}
public:
- KFreeBSDTargetInfo(const llvm::Triple &Triple, const TargetOptions &Opts)
+ kFreeBSDTargetInfo(const llvm::Triple &Triple, const TargetOptions &Opts)
: OSTargetInfo<Target>(Triple, Opts) {}
};

View File

@ -1,374 +0,0 @@
Index: llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp
===================================================================
--- llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3.orig/compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp
+++ llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp
@@ -83,9 +83,14 @@
extern "C" {
// <sys/umtx.h> must be included after <errno.h> and <sys/types.h> on
// FreeBSD 9.2 and 10.0.
+#if SANITIZER_KFREEBSD
+#include <bsd/sys/cdefs.h>
+#endif
#include <sys/umtx.h>
}
+#if !SANITIZER_KFREEBSD
#include <sys/thr.h>
+#endif
#endif // SANITIZER_FREEBSD
#if SANITIZER_NETBSD
@@ -461,10 +466,12 @@ bool FileExists(const char *filename) {
#if !SANITIZER_NETBSD
tid_t GetTid() {
-#if SANITIZER_FREEBSD
+#if SANITIZER_FREEBSD && !SANITIZER_KFREEBSD
long Tid;
thr_self(&Tid);
return Tid;
+#elif SANITIZER_KFREEBSD
+ return (uptr)pthread_self();
#elif SANITIZER_OPENBSD
return internal_syscall(SYSCALL(getthrid));
#elif SANITIZER_SOLARIS
@@ -1148,10 +1155,10 @@ bool LibraryNameIs(const char *full_name
// Call cb for each region mapped by map.
void ForEachMappedRegion(link_map *map, void (*cb)(const void *, uptr)) {
CHECK_NE(map, nullptr);
-#if !SANITIZER_FREEBSD && !SANITIZER_OPENBSD
+#if !SANITIZER_FREEBSD && !SANITIZER_OPENBSD || SANITIZER_KFREEBSD
typedef ElfW(Phdr) Elf_Phdr;
typedef ElfW(Ehdr) Elf_Ehdr;
-#endif // !SANITIZER_FREEBSD && !SANITIZER_OPENBSD
+#endif // !SANITIZER_FREEBSD && !SANITIZER_OPENBSD || SANITIZER_KFREEBSD
char *base = (char *)map->l_addr;
Elf_Ehdr *ehdr = (Elf_Ehdr *)base;
char *phdrs = base + ehdr->e_phoff;
Index: llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cpp
===================================================================
--- llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3.orig/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cpp
+++ llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cpp
@@ -36,10 +36,12 @@
#include <syslog.h>
#if SANITIZER_FREEBSD
-#include <pthread_np.h>
+# if !SANITIZER_KFREEBSD
+# include <pthread_np.h>
+# define pthread_getattr_np pthread_attr_get_np
+# endif
#include <osreldate.h>
#include <sys/sysctl.h>
-#define pthread_getattr_np pthread_attr_get_np
#endif
#if SANITIZER_OPENBSD
@@ -525,9 +527,9 @@ void GetThreadStackAndTls(bool main, upt
#endif
}
-#if !SANITIZER_FREEBSD && !SANITIZER_OPENBSD
+#if !SANITIZER_FREEBSD && !SANITIZER_OPENBSD || SANITIZER_KFREEBSD
typedef ElfW(Phdr) Elf_Phdr;
-#elif SANITIZER_WORDSIZE == 32 && __FreeBSD_version <= 902001 // v9.2
+#elif SANITIZER_WORDSIZE == 32 && !SANITIZER_KFREEBSD && __FreeBSD_version <= 902001 // v9.2
#define Elf_Phdr XElf32_Phdr
#define dl_phdr_info xdl_phdr_info
#define dl_iterate_phdr(c, b) xdl_iterate_phdr((c), (b))
Index: llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/compiler-rt/lib/sanitizer_common/sanitizer_platform.h
===================================================================
--- llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3.orig/compiler-rt/lib/sanitizer_common/sanitizer_platform.h
+++ llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/compiler-rt/lib/sanitizer_common/sanitizer_platform.h
@@ -15,7 +15,7 @@
#if !defined(__linux__) && !defined(__FreeBSD__) && !defined(__NetBSD__) && \
!defined(__OpenBSD__) && !defined(__APPLE__) && !defined(_WIN32) && \
!defined(__Fuchsia__) && !defined(__rtems__) && \
- !(defined(__sun__) && defined(__svr4__))
+ !(defined(__sun__) && defined(__svr4__)) && !defined(__FreeBSD_kernel__)
# error "This operating system is not supported"
#endif
@@ -25,12 +25,18 @@
# define SANITIZER_LINUX 0
#endif
-#if defined(__FreeBSD__)
+#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
# define SANITIZER_FREEBSD 1
#else
# define SANITIZER_FREEBSD 0
#endif
+#if defined(__FreeBSD_kernel__)
+# define SANITIZER_KFREEBSD 1
+#else
+# define SANITIZER_KFREEBSD 0
+#endif
+
#if defined(__NetBSD__)
# define SANITIZER_NETBSD 1
#else
@@ -112,7 +118,8 @@
#define SANITIZER_POSIX \
(SANITIZER_FREEBSD || SANITIZER_LINUX || SANITIZER_MAC || \
- SANITIZER_NETBSD || SANITIZER_OPENBSD || SANITIZER_SOLARIS)
+ SANITIZER_NETBSD || SANITIZER_OPENBSD || SANITIZER_SOLARIS || \
+ SANITIZER_KFREEBSD)
#if __LP64__ || defined(_WIN64)
# define SANITIZER_WORDSIZE 64
Index: llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/compiler-rt/lib/asan/asan_linux.cpp
===================================================================
--- llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3.orig/compiler-rt/lib/asan/asan_linux.cpp
+++ llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/compiler-rt/lib/asan/asan_linux.cpp
@@ -37,7 +37,7 @@
#include <unistd.h>
#include <unwind.h>
-#if SANITIZER_FREEBSD
+#if SANITIZER_FREEBSD && !SANITIZER_KFREEBSD
#include <sys/link_elf.h>
#endif
@@ -47,7 +47,11 @@
#if SANITIZER_ANDROID || SANITIZER_FREEBSD || SANITIZER_SOLARIS
#include <ucontext.h>
+#if SANITIZER_KFREEBSD
+#include <link.h>
+#else
extern "C" void* _DYNAMIC;
+#endif
#elif SANITIZER_NETBSD
#include <link_elf.h>
#include <ucontext.h>
@@ -60,7 +64,7 @@ extern Elf_Dyn _DYNAMIC;
// x86-64 FreeBSD 9.2 and older define 'ucontext_t' incorrectly in
// 32-bit mode.
#if SANITIZER_FREEBSD && (SANITIZER_WORDSIZE == 32) && \
- __FreeBSD_version <= 902001 // v9.2
+ !SANITIZER_KFREEBSD && __FreeBSD_version <= 902001 // v9.2
#define ucontext_t xucontext_t
#endif
Index: llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/compiler-rt/lib/ubsan/ubsan_platform.h
===================================================================
--- llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3.orig/compiler-rt/lib/ubsan/ubsan_platform.h
+++ llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/compiler-rt/lib/ubsan/ubsan_platform.h
@@ -14,7 +14,7 @@
// Other platforms should be easy to add, and probably work as-is.
#if defined(__linux__) || defined(__FreeBSD__) || defined(__APPLE__) || \
- defined(__NetBSD__) || defined(__OpenBSD__) || \
+ defined(__NetBSD__) || defined(__OpenBSD__) || defined(__FreeBSD_kernel__) || \
(defined(__sun__) && defined(__svr4__)) || \
defined(_WIN32) || defined(__Fuchsia__) || defined(__rtems__)
# define CAN_SANITIZE_UB 1
Index: llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/compiler-rt/lib/tsan/rtl/tsan_rtl_amd64.S
===================================================================
--- llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3.orig/compiler-rt/lib/tsan/rtl/tsan_rtl_amd64.S
+++ llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/compiler-rt/lib/tsan/rtl/tsan_rtl_amd64.S
@@ -192,7 +192,7 @@ ASM_SYMBOL_INTERCEPTOR(setjmp):
// obtain SP, store in %rdi, first argument to `void __tsan_setjmp(uptr sp)`
#if defined(__FreeBSD__) || defined(__NetBSD__)
lea 8(%rsp), %rdi
-#elif defined(__linux__) || defined(__APPLE__)
+#elif defined(__linux__) || defined(__FreeBSD_kernel__) || defined(__APPLE__)
lea 16(%rsp), %rdi
#else
# error "Unknown platform"
@@ -233,7 +233,7 @@ ASM_SYMBOL_INTERCEPTOR(_setjmp):
// obtain SP, store in %rdi, first argument to `void __tsan_setjmp(uptr sp)`
#if defined(__FreeBSD__) || defined(__NetBSD__)
lea 8(%rsp), %rdi
-#elif defined(__linux__) || defined(__APPLE__)
+#elif defined(__linux__) || defined(__FreeBSD_kernel__) || defined(__APPLE__)
lea 16(%rsp), %rdi
#else
# error "Unknown platform"
@@ -281,7 +281,7 @@ ASM_SYMBOL_INTERCEPTOR(sigsetjmp):
// obtain SP, store in %rdi, first argument to `void __tsan_setjmp(uptr sp)`
#if defined(__FreeBSD__) || defined(__NetBSD__)
lea 24(%rsp), %rdi
-#elif defined(__linux__) || defined(__APPLE__)
+#elif defined(__linux__) || defined(__FreeBSD_kernel__) || defined(__APPLE__)
lea 32(%rsp), %rdi
#else
# error "Unknown platform"
Index: llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/compiler-rt/lib/fuzzer/FuzzerDefs.h
===================================================================
--- llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3.orig/compiler-rt/lib/fuzzer/FuzzerDefs.h
+++ llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/compiler-rt/lib/fuzzer/FuzzerDefs.h
@@ -28,6 +28,7 @@
#define LIBFUZZER_LINUX 1
#define LIBFUZZER_NETBSD 0
#define LIBFUZZER_FREEBSD 0
+#define LIBFUZZER_KFREEBSD 1
#define LIBFUZZER_OPENBSD 0
#define LIBFUZZER_WINDOWS 0
#elif __APPLE__
@@ -54,6 +55,15 @@
#define LIBFUZZER_FREEBSD 1
#define LIBFUZZER_OPENBSD 0
#define LIBFUZZER_WINDOWS 0
+#elif __FreeBSD_kernel__
+#define LIBFUZZER_APPLE 0
+#define LIBFUZZER_FUCHSIA 0
+#define LIBFUZZER_LINUX 0
+#define LIBFUZZER_NETBSD 0
+#define LIBFUZZER_FREEBSD 0
+#define LIBFUZZER_KFREEBSD 1
+#define LIBFUZZER_OPENBSD 0
+#define LIBFUZZER_WINDOWS 0
#elif __OpenBSD__
#define LIBFUZZER_APPLE 0
#define LIBFUZZER_FUCHSIA 0
@@ -95,7 +105,7 @@
#define LIBFUZZER_POSIX \
(LIBFUZZER_APPLE || LIBFUZZER_LINUX || LIBFUZZER_NETBSD || \
- LIBFUZZER_FREEBSD || LIBFUZZER_OPENBSD)
+ LIBFUZZER_FREEBSD || LIBFUZZER_OPENBSD || LIBFUZZER_KFREEBSD)
#ifdef __x86_64
# if __has_attribute(target)
Index: llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/compiler-rt/lib/fuzzer/FuzzerUtilPosix.cpp
===================================================================
--- llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3.orig/compiler-rt/lib/fuzzer/FuzzerUtilPosix.cpp
+++ llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/compiler-rt/lib/fuzzer/FuzzerUtilPosix.cpp
@@ -133,7 +133,7 @@ size_t GetPeakRSSMb() {
if (getrusage(RUSAGE_SELF, &usage))
return 0;
if (LIBFUZZER_LINUX || LIBFUZZER_FREEBSD || LIBFUZZER_NETBSD ||
- LIBFUZZER_OPENBSD) {
+ LIBFUZZER_OPENBSD || LIBFUZZER_KFREEBSD) {
// ru_maxrss is in KiB
return usage.ru_maxrss >> 10;
} else if (LIBFUZZER_APPLE) {
Index: llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/compiler-rt/lib/fuzzer/FuzzerExtraCounters.cpp
===================================================================
--- llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3.orig/compiler-rt/lib/fuzzer/FuzzerExtraCounters.cpp
+++ llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/compiler-rt/lib/fuzzer/FuzzerExtraCounters.cpp
@@ -11,7 +11,7 @@
#include "FuzzerDefs.h"
#if LIBFUZZER_LINUX || LIBFUZZER_NETBSD || LIBFUZZER_FREEBSD || \
- LIBFUZZER_OPENBSD
+ LIBFUZZER_OPENBSD || LIBFUZZER_KFREEBSD
__attribute__((weak)) extern uint8_t __start___libfuzzer_extra_counters;
__attribute__((weak)) extern uint8_t __stop___libfuzzer_extra_counters;
Index: llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/compiler-rt/lib/fuzzer/FuzzerExtFunctionsWeak.cpp
===================================================================
--- llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3.orig/compiler-rt/lib/fuzzer/FuzzerExtFunctionsWeak.cpp
+++ llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/compiler-rt/lib/fuzzer/FuzzerExtFunctionsWeak.cpp
@@ -13,7 +13,7 @@
//===----------------------------------------------------------------------===//
#include "FuzzerDefs.h"
#if LIBFUZZER_LINUX || LIBFUZZER_NETBSD || LIBFUZZER_FUCHSIA || \
- LIBFUZZER_FREEBSD || LIBFUZZER_OPENBSD
+ LIBFUZZER_FREEBSD || LIBFUZZER_OPENBSD || LIBFUZZER_KFREEBSD
#include "FuzzerExtFunctions.h"
#include "FuzzerIO.h"
Index: llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/compiler-rt/lib/fuzzer/FuzzerUtilLinux.cpp
===================================================================
--- llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3.orig/compiler-rt/lib/fuzzer/FuzzerUtilLinux.cpp
+++ llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/compiler-rt/lib/fuzzer/FuzzerUtilLinux.cpp
@@ -9,7 +9,7 @@
//===----------------------------------------------------------------------===//
#include "FuzzerDefs.h"
#if LIBFUZZER_LINUX || LIBFUZZER_NETBSD || LIBFUZZER_FREEBSD || \
- LIBFUZZER_OPENBSD
+ LIBFUZZER_OPENBSD || LIBFUZZER_KFREEBSD
#include "FuzzerCommand.h"
#include <stdlib.h>
Index: llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/compiler-rt/lib/sanitizer_common/sanitizer_freebsd.h
===================================================================
--- llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3.orig/compiler-rt/lib/sanitizer_common/sanitizer_freebsd.h
+++ llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/compiler-rt/lib/sanitizer_common/sanitizer_freebsd.h
@@ -20,7 +20,7 @@
// 32-bit mode.
#if SANITIZER_FREEBSD && (SANITIZER_WORDSIZE == 32)
# include <osreldate.h>
-# if __FreeBSD_version <= 902001 // v9.2
+# if !SANITIZER_KFREEBSD && __FreeBSD_version <= 902001 // v9.2
# include <link.h>
# include <sys/param.h>
# include <ucontext.h>
Index: llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/compiler-rt/lib/sanitizer_common/sanitizer_procmaps_bsd.cpp
===================================================================
--- llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3.orig/compiler-rt/lib/sanitizer_common/sanitizer_procmaps_bsd.cpp
+++ llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/compiler-rt/lib/sanitizer_common/sanitizer_procmaps_bsd.cpp
@@ -37,7 +37,7 @@
// Fix 'kinfo_vmentry' definition on FreeBSD prior v9.2 in 32-bit mode.
#if SANITIZER_FREEBSD && (SANITIZER_WORDSIZE == 32)
#include <osreldate.h>
-#if __FreeBSD_version <= 902001 // v9.2
+#if !SANITIZER_KFREEBSD && __FreeBSD_version <= 902001 // v9.2
#define kinfo_vmentry xkinfo_vmentry
#endif
#endif
Index: llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h
===================================================================
--- llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3.orig/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h
+++ llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h
@@ -24,7 +24,9 @@
#include "sanitizer_glibc_version.h"
#endif
+#if !SANITIZER_KFREEBSD
# define GET_LINK_MAP_BY_DLOPEN_HANDLE(handle) ((link_map*)(handle))
+#endif
namespace __sanitizer {
extern unsigned struct_utsname_sz;
Index: llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/compiler-rt/lib/sanitizer_common/sanitizer_syscall_generic.inc
===================================================================
--- llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3.orig/compiler-rt/lib/sanitizer_common/sanitizer_syscall_generic.inc
+++ llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/compiler-rt/lib/sanitizer_common/sanitizer_syscall_generic.inc
@@ -19,7 +19,7 @@
# define SYSCALL(name) __NR_ ## name
#endif
-#if defined(__x86_64__) && (SANITIZER_FREEBSD || SANITIZER_MAC)
+#if defined(__x86_64__) && ((SANITIZER_FREEBSD && !SANITIZER_KFREEBSD) || SANITIZER_MAC)
# define internal_syscall __syscall
# else
# define internal_syscall syscall
Index: llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp
===================================================================
--- llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3.orig/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp
+++ llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp
@@ -109,10 +109,14 @@ typedef struct user_fpregs elf_fpregset_
#include <wordexp.h>
#endif
-#if SANITIZER_LINUX && !SANITIZER_ANDROID
+#if (SANITIZER_LINUX && !SANITIZER_ANDROID) || SANITIZER_KFREEBSD
#include <glob.h>
#include <obstack.h>
+#if SANITIZER_KFREEBSD
+#include <sys/mqueue.h>
+#else
#include <mqueue.h>
+#endif
#include <net/if_ppp.h>
#include <netax25/ax25.h>
#include <netipx/ipx.h>
@@ -150,8 +154,12 @@ typedef struct user_fpregs elf_fpregset_
#include <linux/if_ppp.h>
#endif
-#if SANITIZER_LINUX
+#if SANITIZER_LINUX || SANITIZER_KFREEBSD
+#if SANITIZER_KFREEBSD
+#include <sys/link.h>
+#else
#include <link.h>
+#endif
#include <sys/vfs.h>
#include <sys/epoll.h>
#include <linux/capability.h>

View File

@ -1,33 +0,0 @@
Index: llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/llvm/include/llvm/ADT/Triple.h
===================================================================
--- llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3.orig/llvm/include/llvm/ADT/Triple.h
+++ llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/llvm/include/llvm/ADT/Triple.h
@@ -161,7 +161,7 @@ public:
FreeBSD,
Fuchsia,
IOS,
- KFreeBSD,
+ kFreeBSD,
Linux,
Lv2, // PS3
MacOSX,
@@ -588,8 +588,8 @@ public:
}
/// Tests whether the OS is kFreeBSD.
- bool isOSKFreeBSD() const {
- return getOS() == Triple::KFreeBSD;
+ bool isOSkFreeBSD() const {
+ return getOS() == Triple::kFreeBSD;
}
/// Tests whether the OS is Hurd.
@@ -609,7 +609,7 @@ public:
/// Tests whether the OS uses glibc.
bool isOSGlibc() const {
- return (getOS() == Triple::Linux || getOS() == Triple::KFreeBSD ||
+ return (getOS() == Triple::Linux || getOS() == Triple::kFreeBSD ||
getOS() == Triple::Hurd) &&
!isAndroid();
}

View File

@ -1,12 +0,0 @@
Index: llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/libcxx/include/__config
===================================================================
--- llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3.orig/libcxx/include/__config
+++ llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/libcxx/include/__config
@@ -1085,6 +1085,7 @@ _LIBCPP_FUNC_VIS extern "C" void __sanit
!defined(_LIBCPP_HAS_THREAD_API_WIN32) && \
!defined(_LIBCPP_HAS_THREAD_API_EXTERNAL)
# if defined(__FreeBSD__) || \
+ defined(__FreeBSD_kernel__) || \
defined(__Fuchsia__) || \
defined(__wasi__) || \
defined(__NetBSD__) || \

View File

@ -1,129 +0,0 @@
Index: llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/openmp/runtime/src/kmp.h
===================================================================
--- llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3.orig/openmp/runtime/src/kmp.h
+++ llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/openmp/runtime/src/kmp.h
@@ -1142,6 +1142,10 @@ extern kmp_uint64 __kmp_now_nsec();
/* TODO: tune for KMP_OS_OPENBSD */
#define KMP_INIT_WAIT 1024U /* initial number of spin-tests */
#define KMP_NEXT_WAIT 512U /* susequent number of spin-tests */
+#elif KMP_OS_KFREEBSD
+/* TODO: tune for KMP_OS_KFREEBSD */
+#define KMP_INIT_WAIT 1024U /* initial number of spin-tests */
+#define KMP_NEXT_WAIT 512U /* susequent number of spin-tests */
#endif
#if KMP_ARCH_X86 || KMP_ARCH_X86_64
Index: llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/openmp/runtime/src/kmp_ftn_entry.h
===================================================================
--- llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3.orig/openmp/runtime/src/kmp_ftn_entry.h
+++ llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/openmp/runtime/src/kmp_ftn_entry.h
@@ -531,7 +531,7 @@ int FTN_STDCALL KMP_EXPAND_NAME(FTN_GET_
int gtid;
#if KMP_OS_DARWIN || KMP_OS_DRAGONFLY || KMP_OS_FREEBSD || KMP_OS_NETBSD || \
- KMP_OS_HURD
+ KMP_OS_HURD || KMP_OS_KFREEBSD
gtid = __kmp_entry_gtid();
#elif KMP_OS_WINDOWS
if (!__kmp_init_parallel ||
Index: llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/openmp/runtime/src/kmp_platform.h
===================================================================
--- llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3.orig/openmp/runtime/src/kmp_platform.h
+++ llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/openmp/runtime/src/kmp_platform.h
@@ -18,6 +18,7 @@
#define KMP_OS_LINUX 0
#define KMP_OS_DRAGONFLY 0
#define KMP_OS_FREEBSD 0
+#define KMP_OS_KFREEBSD 0
#define KMP_OS_NETBSD 0
#define KMP_OS_OPENBSD 0
#define KMP_OS_DARWIN 0
@@ -56,6 +57,11 @@
#define KMP_OS_FREEBSD 1
#endif
+#if (defined __FreeBSD_kernel__)
+#undef KMP_OS_KFREEBSD
+#define KMP_OS_KFREEBSD 1
+#endif
+
#if (defined __NetBSD__)
#undef KMP_OS_NETBSD
#define KMP_OS_NETBSD 1
@@ -78,12 +84,12 @@
#if (1 != \
KMP_OS_LINUX + KMP_OS_DRAGONFLY + KMP_OS_FREEBSD + KMP_OS_NETBSD + \
- KMP_OS_OPENBSD + KMP_OS_DARWIN + KMP_OS_WINDOWS + KMP_OS_HURD)
+ KMP_OS_OPENBSD + KMP_OS_DARWIN + KMP_OS_WINDOWS + KMP_OS_HURD + KMP_OS_KFREEBSD)
#error Unknown OS
#endif
#if KMP_OS_LINUX || KMP_OS_DRAGONFLY || KMP_OS_FREEBSD || KMP_OS_NETBSD || \
- KMP_OS_OPENBSD || KMP_OS_DARWIN || KMP_OS_HURD
+ KMP_OS_OPENBSD || KMP_OS_DARWIN || KMP_OS_HURD || KMP_OS_KFREEBSD
#undef KMP_OS_UNIX
#define KMP_OS_UNIX 1
#endif
Index: llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/openmp/runtime/src/kmp_runtime.cpp
===================================================================
--- llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3.orig/openmp/runtime/src/kmp_runtime.cpp
+++ llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/openmp/runtime/src/kmp_runtime.cpp
@@ -8114,7 +8114,7 @@ __kmp_determine_reduction_method(
KMP_ARCH_MIPS64 || KMP_ARCH_RISCV64
#if KMP_OS_LINUX || KMP_OS_DRAGONFLY || KMP_OS_FREEBSD || KMP_OS_NETBSD || \
- KMP_OS_OPENBSD || KMP_OS_WINDOWS || KMP_OS_DARWIN || KMP_OS_HURD
+ KMP_OS_OPENBSD || KMP_OS_WINDOWS || KMP_OS_DARWIN || KMP_OS_HURD || KMP_OS_KFREEBSD
int teamsize_cutoff = 4;
@@ -8142,7 +8142,7 @@ __kmp_determine_reduction_method(
#elif KMP_ARCH_X86 || KMP_ARCH_ARM || KMP_ARCH_AARCH || KMP_ARCH_MIPS
-#if KMP_OS_LINUX || KMP_OS_FREEBSD || KMP_OS_WINDOWS || KMP_OS_HURD
+#if KMP_OS_LINUX || KMP_OS_FREEBSD || KMP_OS_WINDOWS || KMP_OS_HURD || KMP_OS_KFREEBSD
// basic tuning
Index: llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/openmp/runtime/src/z_Linux_util.cpp
===================================================================
--- llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3.orig/openmp/runtime/src/z_Linux_util.cpp
+++ llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/openmp/runtime/src/z_Linux_util.cpp
@@ -472,7 +472,7 @@ void __kmp_terminate_thread(int gtid) {
static kmp_int32 __kmp_set_stack_info(int gtid, kmp_info_t *th) {
int stack_data;
#if KMP_OS_LINUX || KMP_OS_DRAGONFLY || KMP_OS_FREEBSD || KMP_OS_NETBSD || \
- KMP_OS_HURD
+ KMP_OS_HURD || KMP_OS_KFREEBSD
pthread_attr_t attr;
int status;
size_t size = 0;
@@ -526,7 +526,7 @@ static void *__kmp_launch_worker(void *t
#endif /* KMP_BLOCK_SIGNALS */
void *exit_val;
#if KMP_OS_LINUX || KMP_OS_DRAGONFLY || KMP_OS_FREEBSD || KMP_OS_NETBSD || \
- KMP_OS_OPENBSD || KMP_OS_HURD
+ KMP_OS_OPENBSD || KMP_OS_HURD || KMP_OS_KFREEBSD
void *volatile padding = 0;
#endif
int gtid;
@@ -1798,7 +1798,7 @@ static int __kmp_get_xproc(void) {
int r = 0;
#if KMP_OS_LINUX || KMP_OS_DRAGONFLY || KMP_OS_FREEBSD || KMP_OS_NETBSD || \
- KMP_OS_OPENBSD || KMP_OS_HURD
+ KMP_OS_OPENBSD || KMP_OS_HURD || KMP_OS_KFREEBSD
r = sysconf(_SC_NPROCESSORS_ONLN);
@@ -2042,7 +2042,7 @@ int __kmp_is_address_mapped(void *addr)
// Free resources.
fclose(file);
KMP_INTERNAL_FREE(name);
-#elif KMP_OS_FREEBSD
+#elif KMP_OS_FREEBSD || KMP_OS_KFREEBSD
char *buf;
size_t lstsz;
int mib[] = {CTL_KERN, KERN_PROC, KERN_PROC_VMMAP, getpid()};

View File

@ -1,13 +0,0 @@
Index: llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/libcxx/src/thread.cpp
===================================================================
--- llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3.orig/libcxx/src/thread.cpp
+++ llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/libcxx/src/thread.cpp
@@ -18,7 +18,7 @@
#if defined(__unix__) || (defined(__APPLE__) && defined(__MACH__))
# include <sys/param.h>
-# if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__) || defined(__APPLE__)
+# if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__) || defined(__APPLE__) || defined(__FreeBSD_kernel__)
# include <sys/sysctl.h>
# endif
#endif // defined(__unix__) || (defined(__APPLE__) && defined(__MACH__))

View File

@ -1,615 +0,0 @@
Index: llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/clang/lib/Driver/CMakeLists.txt
===================================================================
--- llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3.orig/clang/lib/Driver/CMakeLists.txt
+++ llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/clang/lib/Driver/CMakeLists.txt
@@ -49,6 +49,7 @@ add_clang_library(clangDriver
ToolChains/HIP.cpp
ToolChains/Hexagon.cpp
ToolChains/Hurd.cpp
+ ToolChains/KFreeBSD.cpp
ToolChains/Linux.cpp
ToolChains/MipsLinux.cpp
ToolChains/MinGW.cpp
Index: llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/clang/lib/Driver/Driver.cpp
===================================================================
--- llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3.orig/clang/lib/Driver/Driver.cpp
+++ llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/clang/lib/Driver/Driver.cpp
@@ -26,6 +26,7 @@
#include "ToolChains/Haiku.h"
#include "ToolChains/Hexagon.h"
#include "ToolChains/Hurd.h"
+#include "ToolChains/KFreeBSD.h"
#include "ToolChains/Lanai.h"
#include "ToolChains/Linux.h"
#include "ToolChains/MSP430.h"
@@ -4727,6 +4728,9 @@ const ToolChain &Driver::getToolChain(co
case llvm::Triple::FreeBSD:
TC = std::make_unique<toolchains::FreeBSD>(*this, Target, Args);
break;
+ case llvm::Triple::kFreeBSD:
+ TC = std::make_unique<toolchains::kFreeBSD>(*this, Target, Args);
+ break;
case llvm::Triple::Minix:
TC = std::make_unique<toolchains::Minix>(*this, Target, Args);
break;
Index: llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/clang/lib/Driver/ToolChains/Clang.cpp
===================================================================
--- llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3.orig/clang/lib/Driver/ToolChains/Clang.cpp
+++ llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/clang/lib/Driver/ToolChains/Clang.cpp
@@ -453,7 +453,7 @@ static bool useFramePointerForTargetByDe
}
if (Triple.isOSLinux() || Triple.getOS() == llvm::Triple::CloudABI ||
- Triple.isOSHurd()) {
+ Triple.isOSHurd() || Triple.isOSkFreeBSD()) {
switch (Triple.getArch()) {
// Don't use a frame pointer on linux if optimizing for certain targets.
case llvm::Triple::mips64:
Index: llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/clang/lib/Driver/ToolChains/Gnu.cpp
===================================================================
--- llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3.orig/clang/lib/Driver/ToolChains/Gnu.cpp
+++ llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/clang/lib/Driver/ToolChains/Gnu.cpp
@@ -578,6 +578,20 @@ void tools::gnutools::Linker::ConstructJ
if (!Args.hasArg(options::OPT_nolibc))
CmdArgs.push_back("-lc");
+ CmdArgs.push_back("-lc");
+
+ if (getToolChain().getTriple().isOSkFreeBSD()) {
+ switch (getToolChain().getArch()) {
+ case llvm::Triple::x86_64:
+ CmdArgs.push_back("-rpath-link=/lib/x86_64-kfreebsd-gnu");
+ break;
+ case llvm::Triple::x86:
+ CmdArgs.push_back("-rpath-link=/lib/i386-kfreebsd-gnu");
+ break;
+ default:
+ break;
+ }
+ }
// Add IAMCU specific libs, if needed.
if (IsIAMCU)
@@ -1957,7 +1971,8 @@ void Generic_GCC::GCCInstallationDetecto
"x86_64-redhat-linux", "x86_64-suse-linux",
"x86_64-manbo-linux-gnu", "x86_64-linux-gnu",
"x86_64-slackware-linux", "x86_64-unknown-linux",
- "x86_64-amazon-linux", "x86_64-linux-android"};
+ "x86_64-amazon-linux", "x86_64-linux-android",
+ "x86_64-kfreebsd-gnu", "x86_64-pc-kfreebsd-gnu"};
static const char *const X32LibDirs[] = {"/libx32"};
static const char *const X86LibDirs[] = {"/lib32", "/lib"};
static const char *const X86Triples[] = {
@@ -1966,7 +1981,9 @@ void Generic_GCC::GCCInstallationDetecto
"i586-redhat-linux", "i386-redhat-linux", "i586-suse-linux",
"i486-slackware-linux", "i686-montavista-linux", "i586-linux-gnu",
"i686-linux-android", "i386-gnu", "i486-gnu",
- "i586-gnu", "i686-gnu"};
+ "i586-gnu", "i686-gnu",
+ "i686-kfreebsd-gnu", "i686-pc-kfreebsd-gnu", "i486-kfreebsd-gnu",
+ "i386-kfreebsd-gnu" };
static const char *const MIPSLibDirs[] = {"/lib"};
static const char *const MIPSTriples[] = {
Index: llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/clang/lib/Driver/ToolChains/KFreeBSD.cpp
===================================================================
--- /dev/null
+++ llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/clang/lib/Driver/ToolChains/KFreeBSD.cpp
@@ -0,0 +1,458 @@
+//===--- KFreeBSD.cpp - kFreeBSD ToolChain Implementations --------*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+#include "KFreeBSD.h"
+#include "CommonArgs.h"
+#include "llvm/Support/VirtualFileSystem.h"
+#include "clang/Config/config.h"
+#include "clang/Driver/Driver.h"
+#include "clang/Driver/Options.h"
+#include "clang/Driver/SanitizerArgs.h"
+#include "llvm/Option/ArgList.h"
+#include "llvm/ProfileData/InstrProf.h"
+#include "llvm/Support/Path.h"
+
+using namespace clang::driver;
+using namespace clang::driver::toolchains;
+using namespace clang;
+using namespace llvm::opt;
+
+using tools::addPathIfExists;
+
+/// Get our best guess at the multiarch triple for a target.
+///
+/// Debian-based systems are starting to use a multiarch setup where they use
+/// a target-triple directory in the library and header search paths.
+/// Unfortunately, this triple does not align with the vanilla target triple,
+/// so we provide a rough mapping here.
+static std::string getMultiarchTriple(const Driver &D,
+ const llvm::Triple &TargetTriple,
+ StringRef SysRoot) {
+ // For most architectures, just use whatever we have rather than trying to be
+ // clever.
+ switch (TargetTriple.getArch()) {
+ default:
+ break;
+
+ // We use the existence of '/lib/<triple>' as a directory to detect
+ // some common kfreebsd triples that don't quite match the Clang
+ // triple for both 32-bit and 64-bit targets. Multiarch fixes its
+ // install triples to these regardless of what the actual target
+ // triple is.
+ case llvm::Triple::x86_64:
+ if (D.getVFS().exists(SysRoot + "/lib/x86_64-kfreebsd-gnu"))
+ return "x86_64-kfreebsd-gnu";
+ break;
+ case llvm::Triple::x86:
+ if (D.getVFS().exists(SysRoot + "/lib/i386-kfreebsd-gnu"))
+ return "i386-kfreebsd-gnu";
+ break;
+ }
+
+ return TargetTriple.str();
+}
+
+static StringRef getOSLibDir(const llvm::Triple &Triple, const ArgList &Args) {
+ // It happens that only x86 and PPC use the 'lib32' variant of oslibdir, and
+ // using that variant while targeting other architectures causes problems
+ // because the libraries are laid out in shared system roots that can't cope
+ // with a 'lib32' library search path being considered. So we only enable
+ // them when we know we may need it.
+ //
+ // FIXME: This is a bit of a hack. We should really unify this code for
+ // reasoning about oslibdir spellings with the lib dir spellings in the
+ // GCCInstallationDetector, but that is a more significant refactoring.
+
+ if (Triple.getArch() == llvm::Triple::x86)
+ return "lib";
+
+ if (Triple.getArch() == llvm::Triple::x86_64)
+ return "lib";
+
+ return Triple.isArch32Bit() ? "lib" : "lib64";
+}
+
+static void addMultilibsFilePaths(const Driver &D, const MultilibSet &Multilibs,
+ const Multilib &Multilib,
+ StringRef InstallPath,
+ ToolChain::path_list &Paths) {
+ if (const auto &PathsCallback = Multilibs.filePathsCallback())
+ for (const auto &Path : PathsCallback(Multilib))
+ addPathIfExists(D, InstallPath + Path, Paths);
+}
+
+kFreeBSD::kFreeBSD(const Driver &D, const llvm::Triple &Triple,
+ const ArgList &Args)
+ : Generic_ELF(D, Triple, Args) {
+ GCCInstallation.init(Triple, Args);
+ Multilibs = GCCInstallation.getMultilibs();
+ std::string SysRoot = computeSysRoot();
+
+ // Cross-compiling binutils and GCC installations (vanilla and openSUSE at
+ // least) put various tools in a triple-prefixed directory off of the parent
+ // of the GCC installation. We use the GCC triple here to ensure that we end
+ // up with tools that support the same amount of cross compiling as the
+ // detected GCC installation. For example, if we find a GCC installation
+ // targeting x86_64, but it is a bi-arch GCC installation, it can also be
+ // used to target i386.
+ // FIXME: This seems unlikely to be Linux-, kFreeBSD- or Hurd-specific.
+ ToolChain::path_list &PPaths = getProgramPaths();
+ PPaths.push_back(Twine(GCCInstallation.getParentLibPath() + "/../" +
+ GCCInstallation.getTriple().str() + "/bin")
+ .str());
+
+#ifdef ENABLE_LINKER_BUILD_ID
+ ExtraOpts.push_back("--build-id");
+#endif
+
+ // The selection of paths to try here is designed to match the patterns which
+ // the GCC driver itself uses, as this is part of the GCC-compatible driver.
+ // This was determined by running GCC in a fake filesystem, creating all
+ // possible permutations of these directories, and seeing which ones it added
+ // to the link paths.
+ path_list &Paths = getFilePaths();
+
+ const std::string OSLibDir = getOSLibDir(Triple, Args);
+ const std::string MultiarchTriple = getMultiarchTriple(D, Triple, SysRoot);
+
+ // Add the multilib suffixed paths where they are available.
+ if (GCCInstallation.isValid()) {
+ const llvm::Triple &GCCTriple = GCCInstallation.getTriple();
+ const std::string &LibPath = GCCInstallation.getParentLibPath();
+ const Multilib &Multilib = GCCInstallation.getMultilib();
+ const MultilibSet &Multilibs = GCCInstallation.getMultilibs();
+
+ // Add toolchain / multilib specific file paths.
+ addMultilibsFilePaths(D, Multilibs, Multilib,
+ GCCInstallation.getInstallPath(), Paths);
+
+ // Sourcery CodeBench MIPS toolchain holds some libraries under
+ // a biarch-like suffix of the GCC installation.
+ addPathIfExists(D, GCCInstallation.getInstallPath() + Multilib.gccSuffix(),
+ Paths);
+
+ // GCC cross compiling toolchains will install target libraries which ship
+ // as part of the toolchain under <prefix>/<triple>/<libdir> rather than as
+ // any part of the GCC installation in
+ // <prefix>/<libdir>/gcc/<triple>/<version>. This decision is somewhat
+ // debatable, but is the reality today. We need to search this tree even
+ // when we have a sysroot somewhere else. It is the responsibility of
+ // whomever is doing the cross build targeting a sysroot using a GCC
+ // installation that is *not* within the system root to ensure two things:
+ //
+ // 1) Any DSOs that are linked in from this tree or from the install path
+ // above must be present on the system root and found via an
+ // appropriate rpath.
+ // 2) There must not be libraries installed into
+ // <prefix>/<triple>/<libdir> unless they should be preferred over
+ // those within the system root.
+ //
+ // Note that this matches the GCC behavior. See the below comment for where
+ // Clang diverges from GCC's behavior.
+ addPathIfExists(D, LibPath + "/../" + GCCTriple.str() + "/lib/../" +
+ OSLibDir + Multilib.osSuffix(),
+ Paths);
+
+ // If the GCC installation we found is inside of the sysroot, we want to
+ // prefer libraries installed in the parent prefix of the GCC installation.
+ // It is important to *not* use these paths when the GCC installation is
+ // outside of the system root as that can pick up unintended libraries.
+ // This usually happens when there is an external cross compiler on the
+ // host system, and a more minimal sysroot available that is the target of
+ // the cross. Note that GCC does include some of these directories in some
+ // configurations but this seems somewhere between questionable and simply
+ // a bug.
+ if (StringRef(LibPath).startswith(SysRoot)) {
+ addPathIfExists(D, LibPath + "/" + MultiarchTriple, Paths);
+ addPathIfExists(D, LibPath + "/../" + OSLibDir, Paths);
+ }
+ }
+
+ // Similar to the logic for GCC above, if we currently running Clang inside
+ // of the requested system root, add its parent library paths to
+ // those searched.
+ // FIXME: It's not clear whether we should use the driver's installed
+ // directory ('Dir' below) or the ResourceDir.
+ if (StringRef(D.Dir).startswith(SysRoot)) {
+ addPathIfExists(D, D.Dir + "/../lib/" + MultiarchTriple, Paths);
+ addPathIfExists(D, D.Dir + "/../" + OSLibDir, Paths);
+ }
+
+ addPathIfExists(D, SysRoot + "/lib/" + MultiarchTriple, Paths);
+ addPathIfExists(D, SysRoot + "/lib/../" + OSLibDir, Paths);
+
+ addPathIfExists(D, SysRoot + "/usr/lib/" + MultiarchTriple, Paths);
+ addPathIfExists(D, SysRoot + "/usr/lib/../" + OSLibDir, Paths);
+
+ // Try walking via the GCC triple path in case of biarch or multiarch GCC
+ // installations with strange symlinks.
+ if (GCCInstallation.isValid()) {
+ addPathIfExists(D,
+ SysRoot + "/usr/lib/" + GCCInstallation.getTriple().str() +
+ "/../../" + OSLibDir,
+ Paths);
+
+ // Add the 'other' biarch variant path
+ Multilib BiarchSibling;
+ if (GCCInstallation.getBiarchSibling(BiarchSibling)) {
+ addPathIfExists(D, GCCInstallation.getInstallPath() +
+ BiarchSibling.gccSuffix(),
+ Paths);
+ }
+
+ // See comments above on the multilib variant for details of why this is
+ // included even from outside the sysroot.
+ const std::string &LibPath = GCCInstallation.getParentLibPath();
+ const llvm::Triple &GCCTriple = GCCInstallation.getTriple();
+ const Multilib &Multilib = GCCInstallation.getMultilib();
+ addPathIfExists(D, LibPath + "/../" + GCCTriple.str() + "/lib" +
+ Multilib.osSuffix(),
+ Paths);
+
+ // See comments above on the multilib variant for details of why this is
+ // only included from within the sysroot.
+ if (StringRef(LibPath).startswith(SysRoot))
+ addPathIfExists(D, LibPath, Paths);
+ }
+
+ // Similar to the logic for GCC above, if we are currently running Clang
+ // inside of the requested system root, add its parent library path to those
+ // searched.
+ // FIXME: It's not clear whether we should use the driver's installed
+ // directory ('Dir' below) or the ResourceDir.
+ if (StringRef(D.Dir).startswith(SysRoot))
+ addPathIfExists(D, D.Dir + "/../lib", Paths);
+
+ addPathIfExists(D, SysRoot + "/lib", Paths);
+ addPathIfExists(D, SysRoot + "/usr/lib", Paths);
+}
+
+bool kFreeBSD::HasNativeLLVMSupport() const { return true; }
+
+Tool *kFreeBSD::buildLinker() const { return new tools::gnutools::Linker(*this); }
+
+Tool *kFreeBSD::buildAssembler() const {
+ return new tools::gnutools::Assembler(*this);
+}
+
+std::string kFreeBSD::computeSysRoot() const {
+ if (!getDriver().SysRoot.empty())
+ return getDriver().SysRoot;
+
+ return std::string();
+}
+
+std::string kFreeBSD::getDynamicLinker(const ArgList &Args) const {
+ const llvm::Triple::ArchType Arch = getArch();
+
+ if (Arch == llvm::Triple::x86_64)
+ return "/lib/ld-kfreebsd-x86-64.so.1";
+
+ if (Arch == llvm::Triple::x86)
+ return "/lib/ld.so.1";
+
+ llvm_unreachable("unsupported architecture");
+}
+
+void kFreeBSD::AddClangSystemIncludeArgs(const ArgList &DriverArgs,
+ ArgStringList &CC1Args) const {
+ const Driver &D = getDriver();
+ std::string SysRoot = computeSysRoot();
+
+ if (DriverArgs.hasArg(clang::driver::options::OPT_nostdinc))
+ return;
+
+ if (!DriverArgs.hasArg(options::OPT_nostdlibinc))
+ addSystemInclude(DriverArgs, CC1Args, SysRoot + "/usr/local/include");
+
+ if (!DriverArgs.hasArg(options::OPT_nobuiltininc)) {
+ SmallString<128> P(D.ResourceDir);
+ llvm::sys::path::append(P, "include");
+ addSystemInclude(DriverArgs, CC1Args, P);
+ }
+
+ if (DriverArgs.hasArg(options::OPT_nostdlibinc))
+ return;
+
+ // Check for configure-time C include directories.
+ StringRef CIncludeDirs(C_INCLUDE_DIRS);
+ if (CIncludeDirs != "") {
+ SmallVector<StringRef, 5> dirs;
+ CIncludeDirs.split(dirs, ":");
+ for (StringRef dir : dirs) {
+ StringRef Prefix =
+ llvm::sys::path::is_absolute(dir) ? StringRef(SysRoot) : "";
+ addExternCSystemInclude(DriverArgs, CC1Args, Prefix + dir);
+ }
+ // addExternCSystemInclude(DriverArgs, CC1Args, SysRoot + "/usr/include");
+ return;
+ }
+
+ // Lacking those, try to detect the correct set of system includes for the
+ // target triple.
+
+ // Add include directories specific to the selected multilib set and multilib.
+ if (GCCInstallation.isValid()) {
+ const auto &Callback = Multilibs.includeDirsCallback();
+ if (Callback) {
+ for (const auto &Path : Callback(GCCInstallation.getMultilib()))
+ addExternCSystemIncludeIfExists(
+ DriverArgs, CC1Args, GCCInstallation.getInstallPath() + Path);
+ }
+ }
+
+ // Implement generic Debian multiarch support.
+ const StringRef X86_64MultiarchIncludeDirs[] = {
+ "/usr/include/x86_64-kfreebsd-gnu"};
+
+ // CHECK
+ const StringRef X86MultiarchIncludeDirs[] = {
+ "/usr/include/i386-kfreebsd-gnu"};
+
+ ArrayRef<StringRef> MultiarchIncludeDirs;
+ switch (getTriple().getArch()) {
+ case llvm::Triple::x86:
+ MultiarchIncludeDirs = X86MultiarchIncludeDirs;
+ break;
+ case llvm::Triple::x86_64:
+ MultiarchIncludeDirs = X86_64MultiarchIncludeDirs;
+ break;
+ default:
+ break;
+ }
+
+ for (StringRef Dir : MultiarchIncludeDirs) {
+ if (D.getVFS().exists(SysRoot + Dir)) {
+ addExternCSystemInclude(DriverArgs, CC1Args, SysRoot + Dir);
+ break;
+ }
+ }
+
+ // Add an include of '/include' directly. This isn't provided by default by
+ // system GCCs, but is often used with cross-compiling GCCs, and harmless to
+ // add even when Clang is acting as-if it were a system compiler.
+ addExternCSystemInclude(DriverArgs, CC1Args, SysRoot + "/include");
+
+ addExternCSystemInclude(DriverArgs, CC1Args, SysRoot + "/usr/include");
+}
+
+static std::string DetectLibcxxIncludePath(StringRef base) {
+ std::error_code EC;
+ int MaxVersion = 0;
+ std::string MaxVersionString = "";
+ for (llvm::sys::fs::directory_iterator LI(base, EC), LE; !EC && LI != LE;
+ LI = LI.increment(EC)) {
+ StringRef VersionText = llvm::sys::path::filename(LI->path());
+ int Version;
+ if (VersionText[0] == 'v' &&
+ !VersionText.slice(1, StringRef::npos).getAsInteger(10, Version)) {
+ if (Version > MaxVersion) {
+ MaxVersion = Version;
+ MaxVersionString = VersionText;
+ }
+ }
+ }
+ return MaxVersion ? (base + "/" + MaxVersionString).str() : "";
+}
+
+void kFreeBSD::addLibCxxIncludePaths(const llvm::opt::ArgList &DriverArgs,
+ llvm::opt::ArgStringList &CC1Args) const {
+ const std::string& SysRoot = computeSysRoot();
+ const std::string LibCXXIncludePathCandidates[] = {
+ DetectLibcxxIncludePath(getDriver().ResourceDir + "/include/c++"),
+ DetectLibcxxIncludePath(getDriver().Dir + "/../include/c++"),
+ // If this is a development, non-installed, clang, libcxx will
+ // not be found at ../include/c++ but it likely to be found at
+ // one of the following two locations:
+ DetectLibcxxIncludePath(SysRoot + "/usr/local/include/c++"),
+ DetectLibcxxIncludePath(SysRoot + "/usr/include/c++") };
+ for (const auto &IncludePath : LibCXXIncludePathCandidates) {
+ if (IncludePath.empty() || !getVFS().exists(IncludePath))
+ continue;
+ // Use the first candidate that exists.
+ addSystemInclude(DriverArgs, CC1Args, IncludePath);
+ return;
+ }
+}
+
+void kFreeBSD::addLibStdCxxIncludePaths(const llvm::opt::ArgList &DriverArgs,
+ llvm::opt::ArgStringList &CC1Args) const {
+ // We need a detected GCC installation on kFreeBSD to provide libstdc++'s
+ // headers.
+ if (!GCCInstallation.isValid())
+ return;
+
+ // By default, look for the C++ headers in an include directory adjacent to
+ // the lib directory of the GCC installation. Note that this is expect to be
+ // equivalent to '/usr/include/c++/X.Y' in almost all cases.
+ StringRef LibDir = GCCInstallation.getParentLibPath();
+ StringRef InstallDir = GCCInstallation.getInstallPath();
+ StringRef TripleStr = GCCInstallation.getTriple().str();
+ const Multilib &Multilib = GCCInstallation.getMultilib();
+ const std::string GCCMultiarchTriple = getMultiarchTriple(
+ getDriver(), GCCInstallation.getTriple(), getDriver().SysRoot);
+ const std::string TargetMultiarchTriple =
+ getMultiarchTriple(getDriver(), getTriple(), getDriver().SysRoot);
+ const GCCVersion &Version = GCCInstallation.getVersion();
+
+ // The primary search for libstdc++ supports multiarch variants.
+ if (addLibStdCXXIncludePaths(LibDir.str() + "/../include",
+ "/c++/" + Version.Text, TripleStr,
+ GCCMultiarchTriple, TargetMultiarchTriple,
+ Multilib.includeSuffix(), DriverArgs, CC1Args))
+ return;
+
+ // Otherwise, fall back on a bunch of options which don't use multiarch
+ // layouts for simplicity.
+ const std::string LibStdCXXIncludePathCandidates[] = {
+ // Gentoo is weird and places its headers inside the GCC install,
+ // so if the first attempt to find the headers fails, try these patterns.
+ InstallDir.str() + "/include/g++-v" + Version.Text,
+ InstallDir.str() + "/include/g++-v" + Version.MajorStr + "." +
+ Version.MinorStr,
+ InstallDir.str() + "/include/g++-v" + Version.MajorStr,
+ // Android standalone toolchain has C++ headers in yet another place.
+ LibDir.str() + "/../" + TripleStr.str() + "/include/c++/" + Version.Text,
+ // Freescale SDK C++ headers are directly in <sysroot>/usr/include/c++,
+ // without a subdirectory corresponding to the gcc version.
+ LibDir.str() + "/../include/c++",
+ };
+
+ for (const auto &IncludePath : LibStdCXXIncludePathCandidates) {
+ if (addLibStdCXXIncludePaths(IncludePath, /*Suffix*/ "", TripleStr,
+ /*GCCMultiarchTriple*/ "",
+ /*TargetMultiarchTriple*/ "",
+ Multilib.includeSuffix(), DriverArgs, CC1Args))
+ break;
+ }
+}
+
+/* FIXME:
+/home/srs/DEBs/llvm-toolchain-7/llvm-toolchain-7-7.0.1~+rc2-7/clang/lib/Driver/ToolChains/KFreeBSD.cpp:431:15: error: no declaration matches clang::SanitizerMask clang::driver::toolchains::kFreeBSD::getSupportedSanitizers() const
+ SanitizerMask kFreeBSD::getSupportedSanitizers() const {
+*/
+SanitizerMask kFreeBSD::getSupportedSanitizers() const {
+ const bool IsX86 = getTriple().getArch() == llvm::Triple::x86;
+ const bool IsX86_64 = getTriple().getArch() == llvm::Triple::x86_64;
+ SanitizerMask Res = ToolChain::getSupportedSanitizers();
+ // FIXME: Add here!!
+ if (IsX86_64) {
+ Res |= SanitizerKind::DataFlow;
+ Res |= SanitizerKind::Leak;
+ Res |= SanitizerKind::Thread;
+ Res |= SanitizerKind::Scudo;
+ Res |= SanitizerKind::HWAddress;
+ Res |= SanitizerKind::KernelHWAddress;
+ }
+ if (IsX86 || IsX86_64)
+ Res |= SanitizerKind::Function;
+
+ return Res;
+}
+
Index: llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/clang/lib/Driver/ToolChains/KFreeBSD.h
===================================================================
--- /dev/null
+++ llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/clang/lib/Driver/ToolChains/KFreeBSD.h
@@ -0,0 +1,54 @@
+//===--- KFreeBSD.h - kFreeBSD ToolChain Implementations ----------*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_KFreeBSD_H
+#define LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_KFreeBSD_H
+
+#include "Gnu.h"
+#include "clang/Driver/ToolChain.h"
+
+namespace clang {
+namespace driver {
+namespace toolchains {
+
+class LLVM_LIBRARY_VISIBILITY kFreeBSD : public Generic_ELF {
+public:
+ kFreeBSD(const Driver &D, const llvm::Triple &Triple,
+ const llvm::opt::ArgList &Args);
+
+ bool HasNativeLLVMSupport() const override;
+
+ void
+ AddClangSystemIncludeArgs(const llvm::opt::ArgList &DriverArgs,
+ 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;
+
+ virtual std::string computeSysRoot() const;
+
+ virtual std::string getDynamicLinker(const llvm::opt::ArgList &Args) const;
+
+ std::vector<std::string> ExtraOpts;
+
+protected:
+ Tool *buildAssembler() const override;
+ Tool *buildLinker() const override;
+};
+
+} // end namespace toolchains
+} // end namespace driver
+} // end namespace clang
+
+#endif // LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_KFreeBSD_H

View File

@ -1,23 +0,0 @@
Index: llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/llvm/unittests/ADT/TripleTest.cpp
===================================================================
--- llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3.orig/llvm/unittests/ADT/TripleTest.cpp
+++ llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/llvm/unittests/ADT/TripleTest.cpp
@@ -98,6 +98,18 @@ TEST(TripleTest, ParsedIDs) {
EXPECT_EQ(Triple::Hurd, T.getOS());
EXPECT_EQ(Triple::GNU, T.getEnvironment());
+ T = Triple("i386-pc-kfreebsd-gnu");
+ EXPECT_EQ(Triple::x86, T.getArch());
+ EXPECT_EQ(Triple::PC, T.getVendor());
+ EXPECT_EQ(Triple::kFreeBSD, T.getOS());
+ EXPECT_EQ(Triple::GNU, T.getEnvironment());
+
+ T = Triple("x86_64-pc-kfreebsd-gnu");
+ EXPECT_EQ(Triple::x86_64, T.getArch());
+ EXPECT_EQ(Triple::PC, T.getVendor());
+ EXPECT_EQ(Triple::kFreeBSD, T.getOS());
+ EXPECT_EQ(Triple::GNU, T.getEnvironment());
+
T = Triple("x86_64-pc-linux-gnu");
EXPECT_EQ(Triple::x86_64, T.getArch());
EXPECT_EQ(Triple::PC, T.getVendor());

View File

@ -1,35 +0,0 @@
Index: llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/llvm/lib/Support/Triple.cpp
===================================================================
--- llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3.orig/llvm/lib/Support/Triple.cpp
+++ llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/llvm/lib/Support/Triple.cpp
@@ -183,7 +183,7 @@ StringRef Triple::getOSTypeName(OSType K
case FreeBSD: return "freebsd";
case Fuchsia: return "fuchsia";
case IOS: return "ios";
- case KFreeBSD: return "kfreebsd";
+ case kFreeBSD: return "kfreebsd";
case Linux: return "linux";
case Lv2: return "lv2";
case MacOSX: return "macosx";
@@ -488,7 +488,7 @@ static Triple::OSType parseOS(StringRef
.StartsWith("freebsd", Triple::FreeBSD)
.StartsWith("fuchsia", Triple::Fuchsia)
.StartsWith("ios", Triple::IOS)
- .StartsWith("kfreebsd", Triple::KFreeBSD)
+ .StartsWith("kfreebsd", Triple::kFreeBSD)
.StartsWith("linux", Triple::Linux)
.StartsWith("lv2", Triple::Lv2)
.StartsWith("macos", Triple::MacOSX)
Index: llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/llvm/lib/Support/Unix/Path.inc
===================================================================
--- llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3.orig/llvm/lib/Support/Unix/Path.inc
+++ llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/llvm/lib/Support/Unix/Path.inc
@@ -62,7 +62,7 @@
#define FSTATVFS fstatvfs
#define STATVFS_F_FRSIZE(vfs) vfs.f_frsize
#else
-#if defined(__OpenBSD__) || defined(__FreeBSD__)
+#if defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
#include <sys/mount.h>
#include <sys/param.h>
#elif defined(__linux__)

View File

@ -1,26 +0,0 @@
Index: llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/llvm/lib/Target/X86/X86Subtarget.cpp
===================================================================
--- llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3.orig/llvm/lib/Target/X86/X86Subtarget.cpp
+++ llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/llvm/lib/Target/X86/X86Subtarget.cpp
@@ -290,7 +290,7 @@ void X86Subtarget::initSubtargetFeatures
if (StackAlignOverride)
stackAlignment = *StackAlignOverride;
else if (isTargetDarwin() || isTargetLinux() || isTargetSolaris() ||
- isTargetKFreeBSD() || In64BitMode)
+ isTargetkFreeBSD() || In64BitMode)
stackAlignment = Align(16);
// Some CPUs have more overhead for gather. The specified overhead is relative
Index: llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/llvm/lib/Target/X86/X86Subtarget.h
===================================================================
--- llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3.orig/llvm/lib/Target/X86/X86Subtarget.h
+++ llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/llvm/lib/Target/X86/X86Subtarget.h
@@ -764,7 +764,7 @@ public:
bool isTargetMachO() const { return TargetTriple.isOSBinFormatMachO(); }
bool isTargetLinux() const { return TargetTriple.isOSLinux(); }
- bool isTargetKFreeBSD() const { return TargetTriple.isOSKFreeBSD(); }
+ bool isTargetkFreeBSD() const { return TargetTriple.isOSkFreeBSD(); }
bool isTargetGlibc() const { return TargetTriple.isOSGlibc(); }
bool isTargetAndroid() const { return TargetTriple.isAndroid(); }
bool isTargetNaCl() const { return TargetTriple.isOSNaCl(); }

View File

@ -1,18 +0,0 @@
Index: llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/lldb/source/Host/freebsd/Host.cpp
===================================================================
--- llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3.orig/lldb/source/Host/freebsd/Host.cpp
+++ llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/lldb/source/Host/freebsd/Host.cpp
@@ -10,6 +10,13 @@
#include <sys/types.h>
#include <sys/exec.h>
+#ifdef __FreeBSD_kernel__
+# ifdef __amd64__
+# include </usr/include/x86_64-kfreebsd-gnu/sys/kglue/sys/types.h>
+# else
+# include </usr/include/i386-kfreebsd-gnu/sys/kglue/sys/types.h>
+# endif
+#endif
#include <sys/proc.h>
#include <sys/ptrace.h>
#include <sys/sysctl.h>

View File

@ -1,28 +0,0 @@
Index: llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/lldb/source/Plugins/Process/FreeBSD/FreeBSDThread.cpp
===================================================================
--- llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3.orig/lldb/source/Plugins/Process/FreeBSD/FreeBSDThread.cpp
+++ llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/lldb/source/Plugins/Process/FreeBSD/FreeBSDThread.cpp
@@ -8,7 +8,9 @@
#include <errno.h>
#include <pthread.h>
+#ifndef __FreeBSD_kernel__
#include <pthread_np.h>
+#endif
#include <stdlib.h>
#include <sys/sysctl.h>
#include <sys/types.h>
Index: llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/lldb/source/Plugins/Process/FreeBSD/ProcessFreeBSD.cpp
===================================================================
--- llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3.orig/lldb/source/Plugins/Process/FreeBSD/ProcessFreeBSD.cpp
+++ llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/lldb/source/Plugins/Process/FreeBSD/ProcessFreeBSD.cpp
@@ -9,7 +9,9 @@
#include <errno.h>
#include <pthread.h>
+#ifndef __FreeBSD_kernel__
#include <pthread_np.h>
+#endif
#include <stdlib.h>
#include <sys/sysctl.h>
#include <sys/types.h>

View File

@ -1,12 +0,0 @@
Index: llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/llvm/tools/llvm-shlib/CMakeLists.txt
===================================================================
--- llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3.orig/llvm/tools/llvm-shlib/CMakeLists.txt
+++ llvm-toolchain-snapshot_10~+20191020075550+5b8546023f3/llvm/tools/llvm-shlib/CMakeLists.txt
@@ -49,6 +49,7 @@ if(LLVM_BUILD_LLVM_DYLIB)
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 "kFreeBSD")
OR ("${CMAKE_SYSTEM_NAME}" STREQUAL "GNU")
OR ("${CMAKE_SYSTEM_NAME}" STREQUAL "OpenBSD")
OR ("${CMAKE_SYSTEM_NAME}" STREQUAL "Fuchsia")

View File

@ -1,7 +1,7 @@
Index: llvm-toolchain-18_18.1.2/clang/tools/libclang/CMakeLists.txt Index: llvm-toolchain-snapshot_19~++20240220124703+f122268c0441/clang/tools/libclang/CMakeLists.txt
=================================================================== ===================================================================
--- llvm-toolchain-18_18.1.2.orig/clang/tools/libclang/CMakeLists.txt --- llvm-toolchain-snapshot_19~++20240220124703+f122268c0441.orig/clang/tools/libclang/CMakeLists.txt
+++ llvm-toolchain-18_18.1.2/clang/tools/libclang/CMakeLists.txt +++ llvm-toolchain-snapshot_19~++20240220124703+f122268c0441/clang/tools/libclang/CMakeLists.txt
@@ -208,7 +208,7 @@ if(ENABLE_SHARED) @@ -208,7 +208,7 @@ if(ENABLE_SHARED)
OBJECT_DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/libclang.map) OBJECT_DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/libclang.map)

View File

@ -1,10 +1,10 @@
set rpath for prepare_builtins build utility to find correct stage2 set rpath for prepare_builtins build utility to find correct stage2
libs at runtime when executed as part of a build libs at runtime when executed as part of a build
Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/libclc/CMakeLists.txt Index: llvm-toolchain-19_19.1.2~++20241011093632+6c1fd539e43e/libclc/CMakeLists.txt
=================================================================== ===================================================================
--- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/libclc/CMakeLists.txt --- llvm-toolchain-19_19.1.2~++20241011093632+6c1fd539e43e.orig/libclc/CMakeLists.txt
+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/libclc/CMakeLists.txt +++ llvm-toolchain-19_19.1.2~++20241011093632+6c1fd539e43e/libclc/CMakeLists.txt
@@ -121,6 +121,9 @@ add_llvm_executable( prepare_builtins ut @@ -177,6 +177,9 @@ endif()
target_compile_definitions( prepare_builtins PRIVATE ${LLVM_VERSION_DEFINE} ) target_compile_definitions( prepare_builtins PRIVATE ${LLVM_VERSION_DEFINE} )
# These were not properly reported in early LLVM and we don't need them # These were not properly reported in early LLVM and we don't need them
target_compile_options( prepare_builtins PRIVATE -fno-rtti -fno-exceptions ) target_compile_options( prepare_builtins PRIVATE -fno-rtti -fno-exceptions )

View File

@ -1,35 +0,0 @@
From 67b0b02ec9f2bbc57bf8f0550828d97f460ac11f Mon Sep 17 00:00:00 2001
From: Brad Smith <brad@comstyle.com>
Date: Sat, 7 May 2022 01:06:32 -0400
Subject: [PATCH] [libcxx] Remove static inline and make use of
_LIBCPP_HIDE_FROM_ABI in __support headers
After feedback from D122861, do the same thing with some of the other headers. Try to move the
headers so they have a similar style and way of doing things.
+ also applies:
https://reviews.llvm.org/D141208
Reviewed By: ldionne, daltenty
Differential Revision: https://reviews.llvm.org/D124227
---
libcxx/include/__support/ibm/gettod_zos.h | 3 +-
libcxx/include/__support/ibm/xlocale.h | 53 +++++++++------------
libcxx/include/__support/musl/xlocale.h | 31 ++++++------
libcxx/include/__support/solaris/xlocale.h | 55 +++++++++++-----------
4 files changed, 67 insertions(+), 75 deletions(-)
Index: llvm-toolchain-15_15.0.6~++20230102020141+088f33605d8a/libcxx/include/__support/musl/xlocale.h
===================================================================
--- llvm-toolchain-15_15.0.6~++20230102020141+088f33605d8a.orig/libcxx/include/__support/musl/xlocale.h
+++ llvm-toolchain-15_15.0.6~++20230102020141+088f33605d8a/libcxx/include/__support/musl/xlocale.h
@@ -39,7 +39,7 @@ wcstoll_l(const wchar_t *__nptr, wchar_t
return ::wcstoll(__nptr, __endptr, __base);
}
-inline _LIBCPP_HIDE_FROM_ABI long long
+inline _LIBCPP_HIDE_FROM_ABI unsigned long long
wcstoull_l(const wchar_t *__nptr, wchar_t **__endptr, int __base, locale_t) {
return ::wcstoull(__nptr, __endptr, __base);
}

View File

@ -1,8 +1,8 @@
Index: llvm-toolchain-snapshot_18~++20231122103518+575c9bf940e5/libcxx/include/__atomic/aliases.h Index: llvm-toolchain-19_19.1.2~++20241011093632+6c1fd539e43e/libcxx/include/__atomic/aliases.h
=================================================================== ===================================================================
--- llvm-toolchain-snapshot_18~++20231122103518+575c9bf940e5.orig/libcxx/include/__atomic/aliases.h --- llvm-toolchain-19_19.1.2~++20241011093632+6c1fd539e43e.orig/libcxx/include/__atomic/aliases.h
+++ llvm-toolchain-snapshot_18~++20231122103518+575c9bf940e5/libcxx/include/__atomic/aliases.h +++ llvm-toolchain-19_19.1.2~++20241011093632+6c1fd539e43e/libcxx/include/__atomic/aliases.h
@@ -96,6 +96,7 @@ using __largest_lock_free_type = char; @@ -95,6 +95,7 @@ using __largest_lock_free_type = char;
# endif # endif
# ifndef _LIBCPP_NO_LOCK_FREE_TYPES # ifndef _LIBCPP_NO_LOCK_FREE_TYPES
@ -10,7 +10,7 @@ Index: llvm-toolchain-snapshot_18~++20231122103518+575c9bf940e5/libcxx/include/_
using __contention_t_or_largest = using __contention_t_or_largest =
__conditional_t<__libcpp_is_always_lock_free<__cxx_contention_t>::__value, __conditional_t<__libcpp_is_always_lock_free<__cxx_contention_t>::__value,
__cxx_contention_t, __cxx_contention_t,
@@ -105,6 +106,8 @@ using atomic_signed_lock_free = atomic @@ -104,6 +105,8 @@ using atomic_signed_lock_free = atomic
using atomic_unsigned_lock_free = atomic<make_unsigned_t<__contention_t_or_largest>>; using atomic_unsigned_lock_free = atomic<make_unsigned_t<__contention_t_or_largest>>;
# endif // !_LIBCPP_NO_LOCK_FREE_TYPES # endif // !_LIBCPP_NO_LOCK_FREE_TYPES
#endif // C++20 #endif // C++20

View File

@ -1,9 +1,9 @@
if libatomic is found only link it if libgcc is the rtlib if libatomic is found only link it if libgcc is the rtlib
Index: llvm-toolchain-snapshot_18~++20231213094656+c02d07fdf007/libcxx/CMakeLists.txt Index: llvm-toolchain-19_19.1.2~++20241011093632+6c1fd539e43e/libcxx/CMakeLists.txt
=================================================================== ===================================================================
--- llvm-toolchain-snapshot_18~++20231213094656+c02d07fdf007.orig/libcxx/CMakeLists.txt --- llvm-toolchain-19_19.1.2~++20241011093632+6c1fd539e43e.orig/libcxx/CMakeLists.txt
+++ llvm-toolchain-snapshot_18~++20231213094656+c02d07fdf007/libcxx/CMakeLists.txt +++ llvm-toolchain-19_19.1.2~++20241011093632+6c1fd539e43e/libcxx/CMakeLists.txt
@@ -685,13 +685,16 @@ function(cxx_link_system_libraries targe @@ -693,13 +693,16 @@ function(cxx_link_system_libraries targe
endif() endif()
elseif (LIBCXX_HAS_GCC_LIB) elseif (LIBCXX_HAS_GCC_LIB)
target_link_libraries(${target} PRIVATE gcc) target_link_libraries(${target} PRIVATE gcc)

View File

@ -1,81 +0,0 @@
commit 09e6304440c08fe72b6ac05f922ab9d8b7f1e387
Author: Roger Ferrer Ibanez <rofirrim@gmail.com>
Date: Wed Jul 24 05:33:46 2019 +0000
[RISCV] Implement benchmark::cycleclock::Now
This is a cherrypick of D64237 onto llvm/utils/benchmark and
libcxx/utils/google-benchmark.
Differential Revision: https://reviews.llvm.org/D65142
llvm-svn: 366868
--- a/libcxx/utils/google-benchmark/README.LLVM
+++ b/libcxx/utils/google-benchmark/README.LLVM
@@ -4,3 +4,9 @@ LLVM notes
This directory contains the Google Benchmark source code with some unnecessary
files removed. Note that this directory is under a different license than
libc++.
+
+Changes:
+* https://github.com/google/benchmark/commit/4abdfbb802d1b514703223f5f852ce4a507d32d2
+ is applied on top of
+ https://github.com/google/benchmark/commit/4528c76b718acc9b57956f63069c699ae21edcab
+ to add RISC-V timer support.
--- a/libcxx/utils/google-benchmark/src/cycleclock.h
+++ b/libcxx/utils/google-benchmark/src/cycleclock.h
@@ -164,6 +164,21 @@ inline BENCHMARK_ALWAYS_INLINE int64_t Now() {
uint64_t tsc;
asm("stck %0" : "=Q"(tsc) : : "cc");
return tsc;
+#elif defined(__riscv) // RISC-V
+ // Use RDCYCLE (and RDCYCLEH on riscv32)
+#if __riscv_xlen == 32
+ uint64_t cycles_low, cycles_hi0, cycles_hi1;
+ asm("rdcycleh %0" : "=r"(cycles_hi0));
+ asm("rdcycle %0" : "=r"(cycles_lo));
+ asm("rdcycleh %0" : "=r"(cycles_hi1));
+ // This matches the PowerPC overflow detection, above
+ cycles_lo &= -static_cast<int64_t>(cycles_hi0 == cycles_hi1);
+ return (cycles_hi1 << 32) | cycles_lo;
+#else
+ uint64_t cycles;
+ asm("rdcycle %0" : "=r"(cycles));
+ return cycles;
+#endif
#else
// The soft failover to a generic implementation is automatic only for ARM.
// For other platforms the developer is expected to make an attempt to create
--- a/utils/benchmark/README.LLVM
+++ b/utils/benchmark/README.LLVM
@@ -23,3 +23,5 @@ Changes:
is applied to disable exceptions in Microsoft STL when exceptions are disabled
* Disabled CMake get_git_version as it is meaningless for this in-tree build,
and hardcoded a null version
+* https://github.com/google/benchmark/commit/4abdfbb802d1b514703223f5f852ce4a507d32d2
+ is applied on top of v1.4.1 to add RISC-V timer support.
--- a/utils/benchmark/src/cycleclock.h
+++ b/utils/benchmark/src/cycleclock.h
@@ -164,6 +164,21 @@ inline BENCHMARK_ALWAYS_INLINE int64_t Now() {
uint64_t tsc;
asm("stck %0" : "=Q" (tsc) : : "cc");
return tsc;
+#elif defined(__riscv) // RISC-V
+ // Use RDCYCLE (and RDCYCLEH on riscv32)
+#if __riscv_xlen == 32
+ uint64_t cycles_low, cycles_hi0, cycles_hi1;
+ asm("rdcycleh %0" : "=r"(cycles_hi0));
+ asm("rdcycle %0" : "=r"(cycles_lo));
+ asm("rdcycleh %0" : "=r"(cycles_hi1));
+ // This matches the PowerPC overflow detection, above
+ cycles_lo &= -static_cast<int64_t>(cycles_hi0 == cycles_hi1);
+ return (cycles_hi1 << 32) | cycles_lo;
+#else
+ uint64_t cycles;
+ asm("rdcycle %0" : "=r"(cycles));
+ return cycles;
+#endif
#else
// The soft failover to a generic implementation is automatic only for ARM.
// For other platforms the developer is expected to make an attempt to create

View File

@ -1,22 +1,22 @@
Index: llvm-toolchain-snapshot_18~++20231102103655+18839aec4ed1/libcxx/test/std/thread/thread.condition/thread.condition.condvar/wait_for.pass.cpp Index: llvm-toolchain-snapshot_19~++20240523103209+70d1844abebb/libcxx/test/std/thread/thread.condition/thread.condition.condvar/wait_for.pass.cpp
=================================================================== ===================================================================
--- llvm-toolchain-snapshot_18~++20231102103655+18839aec4ed1.orig/libcxx/test/std/thread/thread.condition/thread.condition.condvar/wait_for.pass.cpp --- llvm-toolchain-snapshot_19~++20240523103209+70d1844abebb.orig/libcxx/test/std/thread/thread.condition/thread.condition.condvar/wait_for.pass.cpp
+++ llvm-toolchain-snapshot_18~++20231102103655+18839aec4ed1/libcxx/test/std/thread/thread.condition/thread.condition.condvar/wait_for.pass.cpp +++ llvm-toolchain-snapshot_19~++20240523103209+70d1844abebb/libcxx/test/std/thread/thread.condition/thread.condition.condvar/wait_for.pass.cpp
@@ -8,6 +8,7 @@ @@ -7,6 +7,7 @@
// //===----------------------------------------------------------------------===//
// UNSUPPORTED: no-threads
// ALLOW_RETRIES: 2 // UNSUPPORTED: no-threads, c++03
+// XFAIL: * +// XFAIL: *
// <condition_variable> // <condition_variable>
Index: llvm-toolchain-snapshot_18~++20231102103655+18839aec4ed1/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/lock.pass.cpp Index: llvm-toolchain-snapshot_19~++20240523103209+70d1844abebb/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/lock.pass.cpp
=================================================================== ===================================================================
--- llvm-toolchain-snapshot_18~++20231102103655+18839aec4ed1.orig/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/lock.pass.cpp --- llvm-toolchain-snapshot_19~++20240523103209+70d1844abebb.orig/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/lock.pass.cpp
+++ llvm-toolchain-snapshot_18~++20231102103655+18839aec4ed1/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/lock.pass.cpp +++ llvm-toolchain-snapshot_19~++20240523103209+70d1844abebb/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/lock.pass.cpp
@@ -10,6 +10,8 @@ @@ -9,6 +9,8 @@
// UNSUPPORTED: no-threads
// UNSUPPORTED: c++03, c++11 // UNSUPPORTED: c++03, c++11
// ALLOW_RETRIES: 2
+// XFAIL: * +// XFAIL: *
+ +

View File

@ -10,16 +10,16 @@ To set instruction support one can check __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8 defi
Bug: https://llvm.org/bugs/show_bug.cgi?id=19355 Bug: https://llvm.org/bugs/show_bug.cgi?id=19355
Index: llvm-toolchain-snapshot_17~++20230517015648+0b6264738f3d/libcxx/test/std/atomics/atomics.lockfree/isalwayslockfree.pass.cpp Index: llvm-toolchain-19_19.1.2~++20241011093632+6c1fd539e43e/libcxx/test/std/atomics/atomics.lockfree/is_always_lock_free.pass.cpp
=================================================================== ===================================================================
--- llvm-toolchain-snapshot_17~++20230517015648+0b6264738f3d.orig/libcxx/test/std/atomics/atomics.lockfree/isalwayslockfree.pass.cpp --- llvm-toolchain-19_19.1.2~++20241011093632+6c1fd539e43e.orig/libcxx/test/std/atomics/atomics.lockfree/is_always_lock_free.pass.cpp
+++ llvm-toolchain-snapshot_17~++20230517015648+0b6264738f3d/libcxx/test/std/atomics/atomics.lockfree/isalwayslockfree.pass.cpp +++ llvm-toolchain-19_19.1.2~++20241011093632+6c1fd539e43e/libcxx/test/std/atomics/atomics.lockfree/is_always_lock_free.pass.cpp
@@ -18,6 +18,14 @@ @@ -27,6 +27,14 @@
#include "test_macros.h" #include "test_macros.h"
#include "atomic_helpers.h"
+#if defined(__i386__) && defined(__GCC_HAVE_SYNC_COMPARE_AND_SWAP_8) +#if defined(__i386__) && defined(__GCC_HAVE_SYNC_COMPARE_AND_SWAP_8)
+/* Fix for clang setting __GCC_ATOMIC_LLONG_LOCK_FREE incorecctly for x86 +/* Fix for clang setting __GCC_ATOMIC_LLONG_LOCK_FREE incorrectly for x86
+ * https://llvm.org/bugs/show_bug.cgi?id=19355 + * https://llvm.org/bugs/show_bug.cgi?id=19355
+ */ + */
+#undef ATOMIC_LLONG_LOCK_FREE +#undef ATOMIC_LLONG_LOCK_FREE
@ -27,5 +27,5 @@ Index: llvm-toolchain-snapshot_17~++20230517015648+0b6264738f3d/libcxx/test/std/
+#endif +#endif
+ +
template <typename T> template <typename T>
void checkAlwaysLockFree() { void check_always_lock_free(std::atomic<T> const& a) {
if (std::atomic<T>::is_always_lock_free) { using InfoT = LockFreeStatusInfo<T>;

View File

@ -7,11 +7,11 @@ sure their ABI stays in sync.
No known upstream bug about this. No known upstream bug about this.
Index: llvm-toolchain-snapshot_16~++20220920091612+a7d2409bac7f/libcxxabi/src/cxa_exception.cpp Index: llvm-toolchain-19_19.1.2~++20241011093632+6c1fd539e43e/libcxxabi/src/cxa_exception.cpp
=================================================================== ===================================================================
--- llvm-toolchain-snapshot_16~++20220920091612+a7d2409bac7f.orig/libcxxabi/src/cxa_exception.cpp --- llvm-toolchain-19_19.1.2~++20241011093632+6c1fd539e43e.orig/libcxxabi/src/cxa_exception.cpp
+++ llvm-toolchain-snapshot_16~++20220920091612+a7d2409bac7f/libcxxabi/src/cxa_exception.cpp +++ llvm-toolchain-19_19.1.2~++20241011093632+6c1fd539e43e/libcxxabi/src/cxa_exception.cpp
@@ -275,15 +275,16 @@ __cxa_throw(void *thrown_object, std::ty @@ -291,15 +291,16 @@ __cxa_throw(void *thrown_object, std::ty
#ifdef __USING_SJLJ_EXCEPTIONS__ #ifdef __USING_SJLJ_EXCEPTIONS__
_Unwind_SjLj_RaiseException(&exception_header->unwindHeader); _Unwind_SjLj_RaiseException(&exception_header->unwindHeader);
@ -30,7 +30,7 @@ Index: llvm-toolchain-snapshot_16~++20220920091612+a7d2409bac7f/libcxxabi/src/cx
// 2.5.3 Exception Handlers // 2.5.3 Exception Handlers
/* /*
The adjusted pointer is computed by the personality routine during phase 1 The adjusted pointer is computed by the personality routine during phase 1
@@ -567,7 +568,11 @@ void __cxa_end_catch() { @@ -583,7 +584,11 @@ void __cxa_end_catch() {
// to touch a foreign exception in any way, that is undefined // to touch a foreign exception in any way, that is undefined
// behavior. They likely can't since the only way to catch // behavior. They likely can't since the only way to catch
// a foreign exception is with catch (...)! // a foreign exception is with catch (...)!
@ -42,7 +42,7 @@ Index: llvm-toolchain-snapshot_16~++20220920091612+a7d2409bac7f/libcxxabi/src/cx
globals->caughtExceptions = 0; globals->caughtExceptions = 0;
} }
} }
@@ -624,8 +629,10 @@ void __cxa_rethrow() { @@ -645,8 +650,10 @@ void __cxa_rethrow() {
} }
#ifdef __USING_SJLJ_EXCEPTIONS__ #ifdef __USING_SJLJ_EXCEPTIONS__
_Unwind_SjLj_RaiseException(&exception_header->unwindHeader); _Unwind_SjLj_RaiseException(&exception_header->unwindHeader);
@ -54,7 +54,7 @@ Index: llvm-toolchain-snapshot_16~++20220920091612+a7d2409bac7f/libcxxabi/src/cx
#endif #endif
// If we get here, some kind of unwinding error has occurred. // If we get here, some kind of unwinding error has occurred.
@@ -749,8 +756,10 @@ __cxa_rethrow_primary_exception(void* th @@ -770,8 +777,10 @@ __cxa_rethrow_primary_exception(void* th
dep_exception_header->unwindHeader.exception_cleanup = dependent_exception_cleanup; dep_exception_header->unwindHeader.exception_cleanup = dependent_exception_cleanup;
#ifdef __USING_SJLJ_EXCEPTIONS__ #ifdef __USING_SJLJ_EXCEPTIONS__
_Unwind_SjLj_RaiseException(&dep_exception_header->unwindHeader); _Unwind_SjLj_RaiseException(&dep_exception_header->unwindHeader);
@ -66,10 +66,10 @@ Index: llvm-toolchain-snapshot_16~++20220920091612+a7d2409bac7f/libcxxabi/src/cx
#endif #endif
// Some sort of unwinding error. Note that terminate is a handler. // Some sort of unwinding error. Note that terminate is a handler.
__cxa_begin_catch(&dep_exception_header->unwindHeader); __cxa_begin_catch(&dep_exception_header->unwindHeader);
Index: llvm-toolchain-snapshot_16~++20220920091612+a7d2409bac7f/libcxxabi/src/cxa_exception.h Index: llvm-toolchain-19_19.1.2~++20241011093632+6c1fd539e43e/libcxxabi/src/cxa_exception.h
=================================================================== ===================================================================
--- llvm-toolchain-snapshot_16~++20220920091612+a7d2409bac7f.orig/libcxxabi/src/cxa_exception.h --- llvm-toolchain-19_19.1.2~++20241011093632+6c1fd539e43e.orig/libcxxabi/src/cxa_exception.h
+++ llvm-toolchain-snapshot_16~++20220920091612+a7d2409bac7f/libcxxabi/src/cxa_exception.h +++ llvm-toolchain-19_19.1.2~++20241011093632+6c1fd539e43e/libcxxabi/src/cxa_exception.h
@@ -27,6 +27,45 @@ _LIBCXXABI_HIDDEN uint64_t __getExceptio @@ -27,6 +27,45 @@ _LIBCXXABI_HIDDEN uint64_t __getExceptio
_LIBCXXABI_HIDDEN void __setExceptionClass ( _Unwind_Exception*, uint64_t); _LIBCXXABI_HIDDEN void __setExceptionClass ( _Unwind_Exception*, uint64_t);
_LIBCXXABI_HIDDEN bool __isOurExceptionClass(const _Unwind_Exception*); _LIBCXXABI_HIDDEN bool __isOurExceptionClass(const _Unwind_Exception*);

View File

@ -1,10 +1,10 @@
if LIBCXXABI_USE_COMPILER_RT=ON, add builtins to libcxxabi library if LIBCXXABI_USE_COMPILER_RT=ON, add builtins to libcxxabi library
flags, otherwise add libgcc following how libunwind does the same flags, otherwise add libgcc following how libunwind does the same
Index: llvm-toolchain-snapshot_17~++20230222041723+465ee9bfb26d/libcxxabi/src/CMakeLists.txt Index: llvm-toolchain-snapshot_19~++20240220124703+f122268c0441/libcxxabi/src/CMakeLists.txt
=================================================================== ===================================================================
--- llvm-toolchain-snapshot_17~++20230222041723+465ee9bfb26d.orig/libcxxabi/src/CMakeLists.txt --- llvm-toolchain-snapshot_19~++20240220124703+f122268c0441.orig/libcxxabi/src/CMakeLists.txt
+++ llvm-toolchain-snapshot_17~++20230222041723+465ee9bfb26d/libcxxabi/src/CMakeLists.txt +++ llvm-toolchain-snapshot_19~++20240220124703+f122268c0441/libcxxabi/src/CMakeLists.txt
@@ -77,7 +77,9 @@ else() @@ -75,7 +75,9 @@ if (NOT APPLE) # On Apple platforms, we
add_library_flags_if(LIBCXXABI_HAS_C_LIB c) add_library_flags_if(LIBCXXABI_HAS_C_LIB c)
endif() endif()

View File

@ -2,14 +2,14 @@ Powerpc has extended double that doesn't match x86 coding. Power format would
need special tests to verify correctness but for now it is enough to prevent need special tests to verify correctness but for now it is enough to prevent
incorrect test from running. incorrect test from running.
Index: llvm-toolchain-snapshot_17~++20230517015648+0b6264738f3d/libcxxabi/test/test_demangle.pass.cpp Index: llvm-toolchain-19_19.1.2~++20241011093632+6c1fd539e43e/libcxxabi/test/test_demangle.pass.cpp
=================================================================== ===================================================================
--- llvm-toolchain-snapshot_17~++20230517015648+0b6264738f3d.orig/libcxxabi/test/test_demangle.pass.cpp --- llvm-toolchain-19_19.1.2~++20241011093632+6c1fd539e43e.orig/libcxxabi/test/test_demangle.pass.cpp
+++ llvm-toolchain-snapshot_17~++20230517015648+0b6264738f3d/libcxxabi/test/test_demangle.pass.cpp +++ llvm-toolchain-19_19.1.2~++20241011093632+6c1fd539e43e/libcxxabi/test/test_demangle.pass.cpp
@@ -30163,7 +30163,7 @@ const char* invalid_cases[] = @@ -30235,7 +30235,7 @@ const char* invalid_cases[] =
"NSoERj5E=Y1[uM:ga",
"Aon_PmKVPDk7?fg4XP5smMUL6;<WsI_mgbf23cCgsHbT<l8EE\0uVRkNOoXDrgdA4[8IU>Vl<>IL8ayHpiVDDDXTY;^o9;i",
"_ZNSt16allocator_traitsISaIN4llvm3sys2fs18directory_iteratorEEE9constructIS3_IS3_EEEDTcl12_S_constructfp_fp0_spcl7forwardIT0_Efp1_EEERS4_PT_DpOS7_", "_ZNSt16allocator_traitsISaIN4llvm3sys2fs18directory_iteratorEEE9constructIS3_IS3_EEEDTcl12_S_constructfp_fp0_spcl7forwardIT0_Efp1_EEERS4_PT_DpOS7_",
"3FooILdaaaaaaaaaaAAAAaaEE",
"3FooILdaaaaaaaaaaaaaaEE",
-#if !LDBL_FP80 -#if !LDBL_FP80
+#if !LDBL_FP80 && __LDBL_MANT_DIG__ < 64 +#if !LDBL_FP80 && __LDBL_MANT_DIG__ < 64
"_ZN5test01hIfEEvRAcvjplstT_Le4001a000000000000000E_c", "_ZN5test01hIfEEvRAcvjplstT_Le4001a000000000000000E_c",

View File

@ -12,11 +12,11 @@ which could then break something else.
This probably should have upstream bug but I couldn't find any existing report. This probably should have upstream bug but I couldn't find any existing report.
Index: llvm-toolchain-snapshot_17~++20230517015648+0b6264738f3d/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp Index: llvm-toolchain-snapshot_19~++20240220124703+f122268c0441/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
=================================================================== ===================================================================
--- llvm-toolchain-snapshot_17~++20230517015648+0b6264738f3d.orig/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp --- llvm-toolchain-snapshot_19~++20240220124703+f122268c0441.orig/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
+++ llvm-toolchain-snapshot_17~++20230517015648+0b6264738f3d/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp +++ llvm-toolchain-snapshot_19~++20240220124703+f122268c0441/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
@@ -33,6 +33,7 @@ @@ -32,6 +32,7 @@
#include "lldb/Utility/StreamString.h" #include "lldb/Utility/StreamString.h"
#include "llvm/ADT/SmallString.h" #include "llvm/ADT/SmallString.h"
#include "llvm/Support/ScopedPrinter.h" #include "llvm/Support/ScopedPrinter.h"
@ -24,7 +24,7 @@ Index: llvm-toolchain-snapshot_17~++20230517015648+0b6264738f3d/lldb/source/Plug
#include "ProcessGDBRemoteLog.h" #include "ProcessGDBRemoteLog.h"
@@ -41,7 +42,7 @@ @@ -40,7 +41,7 @@
#elif defined(_WIN32) #elif defined(_WIN32)
#define DEBUGSERVER_BASENAME "lldb-server.exe" #define DEBUGSERVER_BASENAME "lldb-server.exe"
#else #else

Some files were not shown because too many files have changed in this diff Show More