|
Revision tags: release/13.4.0-p5, release/13.5.0-p1, release/14.2.0-p3, release/13.5.0, release/14.2.0-p2, release/14.1.0-p8, release/13.4.0-p4, release/14.1.0-p7, release/14.2.0-p1, release/13.4.0-p3, release/14.2.0, release/13.4.0, release/14.1.0 |
|
| #
ca40ad0c |
| 10-Apr-2024 |
Dimitry Andric <[email protected]> |
libllvm: add missed tlbgen headers and sources for BPF target
Noticed by: vishwin PR: 276104 MFC after: 1 month
(cherry picked from commit 442d351bd242d14b1c0bb67cd048ac022f2e82ad)
|
|
Revision tags: release/13.3.0 |
|
| #
b9d9368b |
| 07-Feb-2024 |
Dimitry Andric <[email protected]> |
Merge llvm-project release/18.x llvmorg-18.1.0-rc2-0-gc6c86965d967
This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvm-project release/18.x llvmorg-18.1.0-rc2-0-gc
Merge llvm-project release/18.x llvmorg-18.1.0-rc2-0-gc6c86965d967
This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvm-project release/18.x llvmorg-18.1.0-rc2-0-gc6c86965d967.
PR: 276104 MFC after: 1 month
(cherry picked from commit b3edf4467982447620505a28fc82e38a414c07dc)
show more ...
|
| #
a58f00ea |
| 24-Jan-2024 |
Dimitry Andric <[email protected]> |
Merge llvm-project main llvmorg-18-init-18359-g93248729cfae
This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvm-project main llvmorg-18-init-18359-g93248729cfae, t
Merge llvm-project main llvmorg-18-init-18359-g93248729cfae
This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvm-project main llvmorg-18-init-18359-g93248729cfae, the last commit before the upstream release/18.x branch was created.
PR: 276104 MFC after: 1 month
(cherry picked from commit 7a6dacaca14b62ca4b74406814becb87a3fefac0)
show more ...
|
| #
6c20abcd |
| 11-Jan-2024 |
Dimitry Andric <[email protected]> |
Merge llvm-project main llvmorg-18-init-16864-g3b3ee1f53424
This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvm-project main llvmorg-18-init-16864-g3b3ee1f53424.
Merge llvm-project main llvmorg-18-init-16864-g3b3ee1f53424
This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvm-project main llvmorg-18-init-16864-g3b3ee1f53424.
PR: 276104 MFC after: 1 month
(cherry picked from commit 297eecfb02bb25902531dbb5c3b9a88caf8adf29)
show more ...
|
| #
cdc20ff6 |
| 09-Jan-2024 |
Dimitry Andric <[email protected]> |
Merge llvm-project main llvmorg-18-init-16595-g7c00a5be5cde
This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvm-project main llvmorg-18-init-16595-g7c00a5be5cde.
Merge llvm-project main llvmorg-18-init-16595-g7c00a5be5cde
This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvm-project main llvmorg-18-init-16595-g7c00a5be5cde.
PR: 276104 MFC after: 1 month
(cherry picked from commit 1db9f3b21e39176dd5b67cf8ac378633b172463e)
show more ...
|
| #
de8261c4 |
| 03-Jan-2024 |
Dimitry Andric <[email protected]> |
Merge llvm-project main llvmorg-18-init-16003-gfc5f51cf5af4
This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvm-project main llvmorg-18-init-16003-gfc5f51cf5af4.
Merge llvm-project main llvmorg-18-init-16003-gfc5f51cf5af4
This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvm-project main llvmorg-18-init-16003-gfc5f51cf5af4.
PR: 276104 MFC after: 1 month
(cherry picked from commit 647cbc5de815c5651677bf8582797f716ec7b48d)
show more ...
|
| #
e710425b |
| 25-Dec-2023 |
Dimitry Andric <[email protected]> |
Merge llvm-project main llvmorg-18-init-15692-g007ed0dccd6a
This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvm-project main llvmorg-18-init-15692-g007ed0dccd6a.
Merge llvm-project main llvmorg-18-init-15692-g007ed0dccd6a
This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvm-project main llvmorg-18-init-15692-g007ed0dccd6a.
PR: 276104 MFC after: 1 month
(cherry picked from commit cb14a3fe5122c879eae1fb480ed7ce82a699ddb6)
show more ...
|
| #
c9157d92 |
| 18-Dec-2023 |
Dimitry Andric <[email protected]> |
Merge llvm-project main llvmorg-18-init-15088-gd14ee76181fb
This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvm-project main llvmorg-18-init-15088-gd14ee76181fb.
Merge llvm-project main llvmorg-18-init-15088-gd14ee76181fb
This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvm-project main llvmorg-18-init-15088-gd14ee76181fb.
PR: 276104 MFC after: 1 month
(cherry picked from commit 5f757f3ff9144b609b3c433dfd370cc6bdc191ad)
show more ...
|
| #
c4149abc |
| 11-Feb-2024 |
Dimitry Andric <[email protected]> |
Optionally create full debuginfo for llvm-related executables
Commit de6feefdb7cfd limited the amount of debuginfo generated for clang and other llvm-related executables. This was done to save disk
Optionally create full debuginfo for llvm-related executables
Commit de6feefdb7cfd limited the amount of debuginfo generated for clang and other llvm-related executables. This was done to save disk space and memory during building, but it makes debugging any of these executables much harder.
Add a new src.conf(5) setting, WITH_LLVM_FULL_DEBUGINFO, to generate full debuginfo instead. This is off by default, but could for example be enabled for release builds or snapshots, so llvm executables are easier to debug.
Reviewed by: emaste MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D43839
(cherry picked from commit 73ff7384e025033abc98fd5437a48beb8077a90b)
show more ...
|
| #
6ccc51fd |
| 27-Jan-2024 |
Dimitry Andric <[email protected]> |
Add libllvm and liblldb source files to enable WITH_ASAN build
This is another part of fixing the WITH_ASAN build. Some additional source files had to be added to libllvm and liblldb, since the ASan
Add libllvm and liblldb source files to enable WITH_ASAN build
This is another part of fixing the WITH_ASAN build. Some additional source files had to be added to libllvm and liblldb, since the ASan instrumentation causes symbols in those files to be referenced.
Reported by: markj PR: 276597 MFC after: 3 days
(cherry picked from commit 5c38ea60a04199dae2c6e5db82461e7275c7def6)
show more ...
|
|
Revision tags: release/14.0.0 |
|
| #
fe013be4 |
| 02-Sep-2023 |
Dimitry Andric <[email protected]> |
Merge llvm-project main llvmorg-17-init-19304-gd0b54bb50e51
This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvm-project main llvmorg-17-init-19304-gd0b54bb50e51, t
Merge llvm-project main llvmorg-17-init-19304-gd0b54bb50e51
This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvm-project main llvmorg-17-init-19304-gd0b54bb50e51, the last commit before the upstream release/17.x branch was created.
PR: 273753 MFC after: 1 month
(cherry picked from commit 06c3fb2749bda94cb5201f81ffdb8fa6c3161b2e)
show more ...
|
| #
d0b2dbfa |
| 16-Aug-2023 |
Warner Losh <[email protected]> |
Remove $FreeBSD$: one-line sh pattern
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
|
|
Revision tags: release/13.2.0 |
|
| #
4dc3b1fa |
| 29-Mar-2023 |
Dimitry Andric <[email protected]> |
Revert "Ensure .inc files are regenerated when llvm/clang tblgen binaries change"
This reverts commit ab80f0b21fbb9c44d40e6f7a99090188f4ed2f71. The intent of this change was to avoid possible compil
Revert "Ensure .inc files are regenerated when llvm/clang tblgen binaries change"
This reverts commit ab80f0b21fbb9c44d40e6f7a99090188f4ed2f71. The intent of this change was to avoid possible compilation errors when certain .inc files were not regenerated, but the method turns out to cause way more rebuilds than anticipated. Another method will have to be found, and in the mean time, WITH_CLEAN is the solution that always works.
Fixes: ab80f0b21fbb
show more ...
|
| #
d8ed7fa3 |
| 29-Mar-2023 |
Dimitry Andric <[email protected]> |
Revert "Rework {clang,lldb,llvm}-tblgen invocations to add --write-if-changed"
This reverts commit 8f391d9098083044793ff036dff8c96930fb1553. There are still a bunch of problems, and apparently ${.AL
Revert "Rework {clang,lldb,llvm}-tblgen invocations to add --write-if-changed"
This reverts commit 8f391d9098083044793ff036dff8c96930fb1553. There are still a bunch of problems, and apparently ${.ALLSRC} does not work as I expected.
Fixes: 8f391d909808
show more ...
|
| #
8f391d90 |
| 29-Mar-2023 |
Dimitry Andric <[email protected]> |
Rework {clang,lldb,llvm}-tblgen invocations to add --write-if-changed
This flag ensures that the tblgen tools do not actually touch the produced .inc file, if there are no changes to the contents. I
Rework {clang,lldb,llvm}-tblgen invocations to add --write-if-changed
This flag ensures that the tblgen tools do not actually touch the produced .inc file, if there are no changes to the contents. In turn, this may prevent a number of rebuilds of files that include such .inc files, saving build time.
While here, ensure that the shell invocations to locate the used tblgen binary do not show unnecessary error messages.
Reported by: des MFC after: 1 week
show more ...
|
| #
ab80f0b2 |
| 25-Feb-2023 |
Dimitry Andric <[email protected]> |
Ensure .inc files are regenerated when llvm/clang tblgen binaries change
When doing a fully incremental build (with WITHOUT_CLEAN enabled), from a commit before llvm 15 was merged (3264f6b88fce), to
Ensure .inc files are regenerated when llvm/clang tblgen binaries change
When doing a fully incremental build (with WITHOUT_CLEAN enabled), from a commit before llvm 15 was merged (3264f6b88fce), to a commit after that, a number of .inc files were not regenerated. This could lead to unexpected compilation errors when these .inc files were included from llvm-project sources, similar to:
In file included from /usr/src/contrib/llvm-project/clang/lib/CodeGen/CGBuiltin.cpp:8268: /usr/obj/usr/src/amd64.amd64/lib/clang/libclang/clang/Basic/arm_mve_builtin_cg.inc:279:18: error: no matching constructor for initialization of 'clang::CodeGen::Address' Address Val2 = Address(Val1, CharUnits::fromQuantity(2)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work around this by making the .inc files dependent on the tblgen binary used for generating them. E.g., we can relatively safely assume that if the binary gets updated, the .inc files must also be updated. (Although this is not 100% optimal, the gain by complicating things even more is probaby not worth the effort.)
MFC after: 3 days Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D38770
show more ...
|
| #
eb81dd84 |
| 24-Feb-2023 |
John-Mark Gurney <[email protected]> |
make cross build from arm64 work..
Reviewed by: dim, imp, emaste MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D38762
|
|
Revision tags: release/12.4.0 |
|
| #
4b1174e2 |
| 31-May-2022 |
Dimitry Andric <[email protected]> |
llvm MIPS target: add missed source file
Otherwise, linking llvm binaries with this target enabled (which is not the default) will fail with a number of undefined symbol errors:
ld: error: undefi
llvm MIPS target: add missed source file
Otherwise, linking llvm binaries with this target enabled (which is not the default) will fail with a number of undefined symbol errors:
ld: error: undefined symbol: llvm::initializeMipsMulMulBugFixPass(llvm::PassRegistry&) ld: error: undefined symbol: llvm::createMipsMulMulBugPass()
MFC after: 3 days
show more ...
|
|
Revision tags: release/13.1.0, release/12.3.0 |
|
| #
d30dc78f |
| 02-Nov-2021 |
Dimitry Andric <[email protected]> |
llvm BPF target: add missed source files
Otherwise, linking llvm binaries with this target enabled (which is not the default) will fail with a number of undefined symbol errors:
ld: error: undefi
llvm BPF target: add missed source files
Otherwise, linking llvm binaries with this target enabled (which is not the default) will fail with a number of undefined symbol errors:
ld: error: undefined symbol: llvm::initializeBPFAdjustOptPass(llvm::PassRegistry&) ld: error: undefined symbol: llvm::initializeBPFCheckAndAdjustIRPass(llvm::PassRegistry&) ld: error: undefined symbol: llvm::createBPFCheckAndAdjustIR() ld: error: undefined symbol: llvm::createBPFAdjustOpt() ld: error: undefined symbol: llvm::BPFAdjustOptPass::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&)
Reported by: Michael Dexter <[email protected]> MFC after: 3 days
show more ...
|
| #
79239b5b |
| 16-Oct-2021 |
Dimitry Andric <[email protected]> |
llvm-readobj: Add missed source file
In some configurations (e.g. powerpc64) the llvm-readobj tool also needs contrib/llvm-project/llvm/BinaryFormat/MsgPackWriter.cpp, so add it to libllvm.
Reporte
llvm-readobj: Add missed source file
In some configurations (e.g. powerpc64) the llvm-readobj tool also needs contrib/llvm-project/llvm/BinaryFormat/MsgPackWriter.cpp, so add it to libllvm.
Reported by: Shawn Webb <[email protected]> Fixes: 1b85b68da0b2
show more ...
|
| #
1b85b68d |
| 14-Oct-2021 |
Cameron Katri <[email protected]> |
llvm-readobj: Attach to buildsystem
Also install it as readelf when MK_LLVM_BINUTILS is set.
Reviewed By: dim, arichardson Differential Revision: https://reviews.freebsd.org/D32058
|
| #
021385ab |
| 06-Sep-2021 |
Alex Richardson <[email protected]> |
Add WITH_LLVM_BINUTILS to install LLVM binutils instead of Elftoolchain
When WITH_LLVM_BINUTILS is set, we will install the LLVM binutils as ar/ranlib/nm/objcopy/etc. instead of the elftoolchain one
Add WITH_LLVM_BINUTILS to install LLVM binutils instead of Elftoolchain
When WITH_LLVM_BINUTILS is set, we will install the LLVM binutils as ar/ranlib/nm/objcopy/etc. instead of the elftoolchain ones. Having the LLVM binutils instead of the elftoolchain ones allows us to use features such as LTO that depend on binutils that understand LLVM IR. Another benefit will be an improved user-experience when compiling with AddressSanitizer, since ASAN does not symbolize backtraces correctly if addr2line is elftoolchain addr2line instead of llvm-symbolizer. See https://lists.freebsd.org/archives/freebsd-toolchain/2021-July/000062.html for more details.
This is currently off by default but will be turned on by default at some point in the near future.
Reviewed By: emaste
Differential Revision: https://reviews.freebsd.org/D31060
show more ...
|
| #
31ba4ce8 |
| 02-Aug-2021 |
Alex Richardson <[email protected]> |
Allow bootstrapping llvm-tblgen on macOS and Linux
This is needed in order to build various LLVM binutils (e.g. addr2line) as well as clang/lld/lldb.
Co-authored-by: Jessica Clarke <jrtc27@FreeBSD.
Allow bootstrapping llvm-tblgen on macOS and Linux
This is needed in order to build various LLVM binutils (e.g. addr2line) as well as clang/lld/lldb.
Co-authored-by: Jessica Clarke <[email protected]> Test Plan: Compiles on ubuntu 18.04 and macOS 11.4 Reviewed By: dim Differential Revision: https://reviews.freebsd.org/D31057
show more ...
|
|
Revision tags: release/13.0.0, release/12.2.0 |
|
| #
a2a9ef4b |
| 03-Sep-2020 |
Dimitry Andric <[email protected]> |
Add a few more files to libllvm, which are required when doing sanitized builds, for example with -fsanitize=undefined.
MFC after: 6 weeks X-MFC-With: r364284
|
| #
1c1ab429 |
| 22-Aug-2020 |
Dimitry Andric <[email protected]> |
Add a missed source file for LLVM's BPF target. This target is not enabled by default, so I forgot about it, apologies for the breakage.
Reported by: hrs MFC after: 6 weeks X-MFC-With: r364284
|