LLVM/project 842464eutils/bazel/llvm-project-overlay/libc BUILD.bazel

[Bazel] Fixes 71122d8 (#190264)

This fixes 71122d8694cad3ae4450368be3e89bb62aa78173.

Co-authored-by: Google Bazel Bot <google-bazel-bot at google.com>
DeltaFile
+16-0utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+16-01 files

FreeBSD/src d725929release/packages/ucl kyua-all.ucl ncurses-all.ucl

release: Restore licenses for kyua and ncurses

These were modified to avoid triggering a libucl bug which is now fixed.

MFC after:      1 week
Reviewed by:    ivy, kevans
Differential Revision:  https://reviews.freebsd.org/D52824
DeltaFile
+29-31release/packages/ucl/kyua-all.ucl
+24-2release/packages/ucl/ncurses-all.ucl
+53-332 files

LLVM/project 6f6f5eeclang/lib/CIR/Dialect/Transforms LoweringPrepare.cpp

unreachable on RDC compilation
DeltaFile
+3-5clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp
+3-51 files

LLVM/project 72cc5a6clang/lib/Headers CMakeLists.txt

[HLSL] Add TableGen-generated header files to the HLSL distribution (#190222)

This PR adds the TableGen-generated headers from
https://github.com/llvm/llvm-project/pull/187610 to the HLSL
distribution.

Currently the HLSL distribution is incomplete due to missing these
generated headers, preventing successful compilation:
```
Command Output (stderr):
--
In file included from <built-in>:1:

In file included from D:\a\_work\1\ClangHLSL\Binaries\lib\clang\23\include\hlsl.h:24:

D:\a\_work\1\ClangHLSL\Binaries\lib\clang\23\include\hlsl/hlsl_alias_intrinsics.h:42:10: fatal error: 'hlsl_alias_intrinsics_gen.inc' file not found

   42 | #include "hlsl_alias_intrinsics_gen.inc"


    [5 lines not shown]
DeltaFile
+6-0clang/lib/Headers/CMakeLists.txt
+6-01 files

DragonFlyBSD/src 7ab6148lib/libefivar uefi-dplib.h

libefivar: Clean up #ifdef logic and add some comments.
DeltaFile
+4-3lib/libefivar/uefi-dplib.h
+4-31 files

LLVM/project 12e857dllvm/test/MC/AMDGPU vop3-literal-gfx1250.s vop3-literal.s

[AMDGPU] Update vop3-literal.s to use fake16 on gfx1250. NFC

16-bit instructions there are in fake16 mode and shall also be
compatible with older targets. The purpose of the test is to
check literals, so fake16 or real16 is not important.
DeltaFile
+313-0llvm/test/MC/AMDGPU/vop3-literal-gfx1250.s
+2-2llvm/test/MC/AMDGPU/vop3-literal.s
+315-22 files

LLVM/project 18bd753clang/lib/CIR/Dialect/Transforms LoweringPrepare.cpp, clang/test/CIR/CodeGenCUDA device-stub.cu

[CIR][CUDA] Handle CUDA module constructor and destructor emission.
DeltaFile
+124-2clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp
+41-0clang/test/CIR/CodeGenCUDA/device-stub.cu
+165-22 files

LLVM/project 0876428clang/lib/CIR/Dialect/Transforms LoweringPrepare.cpp

Fix missing include for memoryBuffer on linux ci
DeltaFile
+1-0clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp
+1-01 files

FreeBSD/ports 53930f3finance/gnucash-docs distinfo Makefile

finance/gnucash-docs: Update to 5.15
DeltaFile
+3-3finance/gnucash-docs/distinfo
+1-1finance/gnucash-docs/Makefile
+4-42 files

FreeBSD/ports 08c2b08finance/gnucash distinfo Makefile, finance/gnucash/files patch-CMakeLists.txt

finance/gnucash: Update to 5.15
DeltaFile
+27-0finance/gnucash/files/patch-CMakeLists.txt
+3-3finance/gnucash/distinfo
+1-1finance/gnucash/Makefile
+1-0finance/gnucash/pkg-plist
+32-44 files

LLVM/project b1ef47fclang/include/clang-c BuildSystem.h, clang/lib/Serialization ModuleCache.cpp

[libclang] Add clang_ModuleCache_prune (#190067)

This allows a build system to direct Clang to prune a module cache
directory using the same method Clang does internally.

This also changes `clang::maybePruneImpl` to clean up files directly in
the directory, not just subdirectories.
DeltaFile
+66-0clang/unittests/libclang/LibclangTest.cpp
+36-26clang/lib/Serialization/ModuleCache.cpp
+18-0clang/include/clang-c/BuildSystem.h
+7-0clang/tools/libclang/BuildSystem.cpp
+5-0clang/tools/libclang/libclang.map
+132-265 files

FreeBSD/src 616f47fsbin/tunefs tunefs.c

tunefs: Fix alignment warning on arm64

MFC after:      1 week
Fixes:          c5e79c7e93dd ("tunefs: Don't lower WARNS")
Reviewed by:    bakul
Differential Revision:  https://reviews.freebsd.org/D56229
DeltaFile
+1-1sbin/tunefs/tunefs.c
+1-11 files

LLVM/project bf50e84llvm/test/CodeGen/AArch64 st1-lane.ll

[AArch64] Add tests for st1 from subvector extracts. NFC (#190265)
DeltaFile
+564-0llvm/test/CodeGen/AArch64/st1-lane.ll
+564-01 files

LLVM/project fff0ddbclang/lib/CIR/Dialect/Transforms LoweringPrepare.cpp, clang/test/CIR/CodeGenCUDA device-stub.cu

[CIR][CUDA] Handle CUDA module constructor and destructor emission.
DeltaFile
+121-2clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp
+41-0clang/test/CIR/CodeGenCUDA/device-stub.cu
+162-22 files

LLVM/project 33431f0clang/lib/CIR/Dialect/Transforms LoweringPrepare.cpp, clang/test/CIR/CodeGenCUDA device-stub.cu

[CIR][CUDA] Do Runtime Kernel Registration
DeltaFile
+119-2clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp
+28-2clang/test/CIR/CodeGenCUDA/device-stub.cu
+147-42 files

LLVM/project 6e393c6clang/lib/CIR/Dialect/Transforms LoweringPrepare.cpp

unreachable on RDC compilation
DeltaFile
+2-1clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp
+2-11 files

LLVM/project 9ede868clang/lib/CIR/Dialect/Transforms LoweringPrepare.cpp

remove accidental .inc include
DeltaFile
+0-1clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp
+0-11 files

FreeBSD/ports 964d3b5security/spectre-meltdown-checker distinfo Makefile

security/spectre-meltdown-checker: update to v26.21.0401891

Changelog:      https://github.com/speed47/spectre-meltdown-checker/releases/tag/v26.21.0401891
DeltaFile
+3-3security/spectre-meltdown-checker/distinfo
+1-1security/spectre-meltdown-checker/Makefile
+4-42 files

LLVM/project 71122d8libc/src/__support common.h libc_assert.h, libc/src/__support/CPP string_view.h

[libc] Move LLVM_LIBC_IS_DEFINED macro to its own header (#190081)

This moves the LLVM_LIBC_IS_DEFINED macro to its own header is
__support/macros.  Its implementation leverages cpp::string_view
instead of rolling its own strcmp; this necessitated fixing
several missing constexpr in the string_view implementation.

The new __support/macros/macro-utils.h is also broken out to hold
the stringification macro and can be used in future for token
pasting shenanigans and other such generic macro machinery.
DeltaFile
+32-27libc/src/__support/CPP/string_view.h
+26-0libc/src/__support/macros/is_defined.h
+0-26libc/src/__support/common.h
+16-0libc/src/__support/macros/macro-utils.h
+4-11libc/src/__support/libc_assert.h
+15-0libc/src/__support/macros/CMakeLists.txt
+93-646 files not shown
+102-6712 files

FreeBSD/ports 86813e9archivers/snappy-java Makefile, astro/gpsprune Makefile

*/*: bump portrevision after java_default=25 update

Included all ports that have USES=java.

PR:     293559
DeltaFile
+2-2java/java-subversion/Makefile
+1-1archivers/snappy-java/Makefile
+1-1astro/gpsprune/Makefile
+1-1astro/mkgmap-splitter/Makefile
+1-1astro/mkgmap/Makefile
+1-1astro/osmosis/Makefile
+7-7479 files not shown
+486-438485 files

FreeBSD/ports 3386304Mk bsd.default-versions.mk

Mk/bsd.default-versions.mk: update JAVA_DEFAULT to 25

The ports tree is adjusted and tested to be ready to set the default
java version to 25.

Openjdk 25 upstream dropped support for i386 so the default for i386
stays at openjdk21.

Thanks to everybody involved in making Java a vivid environment on
FreeBSD.

PR:     293559
Relnotes:       yes
DeltaFile
+3-1Mk/bsd.default-versions.mk
+3-11 files

LLVM/project c0cfe54clang/include/clang/Serialization ModuleCache.h

[clang] Include header providing `off_t` (#190259)

This should fix the modules build.
DeltaFile
+1-0clang/include/clang/Serialization/ModuleCache.h
+1-01 files

LLVM/project 5669dfcclang/include/clang/Analysis/Analyses/LifetimeSafety FactsGenerator.h, clang/lib/Analysis/LifetimeSafety FactsGenerator.cpp

[LifetimeSafety] Propagate loans through pointer arithmetic (#189546)

This PR adds loan propagation for pointer arithmetic.

It also updates the tests to match the new behavior.

Fixes #180933
DeltaFile
+13-2clang/lib/Analysis/LifetimeSafety/FactsGenerator.cpp
+9-4clang/test/Sema/warn-lifetime-safety.cpp
+3-0clang/test/Sema/warn-lifetime-safety-suggestions.cpp
+2-0clang/include/clang/Analysis/Analyses/LifetimeSafety/FactsGenerator.h
+27-64 files

LLVM/project d34e847clang/lib/Driver/ToolChains Clang.cpp

clang: Use MakeArgStringRef more often (#189463)

Avoid an intermediate copy by using MakeArgStringRef. Also
use better use of Twine with MakeArgString.
DeltaFile
+10-12clang/lib/Driver/ToolChains/Clang.cpp
+10-121 files

LLVM/project f2dff15clang/docs ReleaseNotes.rst, clang/lib/CodeGen CGExprComplex.cpp

[clang] Fixed a crash when explicitly casting between atomic complex types (#172210)

Fixed a crash when explicitly casting between atomic complex types

resolve: #172208
DeltaFile
+85-0clang/test/CodeGen/complex.c
+6-2clang/lib/CodeGen/CGExprComplex.cpp
+1-0clang/docs/ReleaseNotes.rst
+92-23 files

LLVM/project a413a40clang-tools-extra/clang-tidy/portability StdAllocatorConstCheck.cpp

[clang-tidy][NFC] Remove another ad-hoc exclusion for system headers (#190094)

This is another ad-hoc approach made obsolete by #151035.
DeltaFile
+1-7clang-tools-extra/clang-tidy/portability/StdAllocatorConstCheck.cpp
+1-71 files

LLVM/project 16b9fe4clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel EntityPointerLevel.cpp

fix build error
DeltaFile
+2-0clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp
+2-01 files

LLVM/project 7d2f2a3clang/lib/CIR/Dialect/Transforms LoweringPrepare.cpp, clang/test/CIR/CodeGenOpenACC compute-reduction-clause-inline-ops.cpp combined-reduction-clause-outline-ops.cpp

[CIR] Fix off-by-one dtor loop bug (#190242)

We had an off-by-one error in the CIR generation for array destructor
loops, causing us to miss destructing one element of the array. This
change fixes the problem.
DeltaFile
+32-30clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp
+18-18clang/test/CIR/CodeGenOpenACC/compute-reduction-clause-inline-ops.cpp
+18-18clang/test/CIR/CodeGenOpenACC/combined-reduction-clause-outline-ops.cpp
+18-18clang/test/CIR/CodeGenOpenACC/compute-reduction-clause-outline-ops.cpp
+18-18clang/test/CIR/CodeGenOpenACC/loop-reduction-clause-outline-ops.cpp
+18-18clang/test/CIR/CodeGenOpenACC/loop-reduction-clause-inline-ops.cpp
+122-1208 files not shown
+195-19614 files

OpenBSD/ports nGW20VTsysutils/ansible distinfo Makefile, sysutils/ansible/pkg PLIST

   Update ansible 13.4.0 -> 13.5.0
   Changelog: https://github.com/ansible-community/ansible-build-data/blob/13.5.0/13/CHANGELOG-v13.md#v13-5-0
VersionDeltaFile
1.104+596-3sysutils/ansible/pkg/PLIST
1.162+2-2sysutils/ansible/distinfo
1.219+1-1sysutils/ansible/Makefile
+599-63 files

OpenBSD/ports C6pEzQ2sysutils/ansible-core distinfo Makefile, sysutils/ansible-core/patches patch-pyproject_toml

   Update ansible-core -> 2.20.3 -> 2.20.4
   Changelog: https://github.com/ansible/ansible/blob/stable-2.20/changelogs/CHANGELOG-v2.20.rst#v2-20-4
VersionDeltaFile
1.23+6-0sysutils/ansible-core/pkg/PLIST
1.57+2-2sysutils/ansible-core/distinfo
1.7+2-2sysutils/ansible-core/patches/patch-pyproject_toml
1.64+1-1sysutils/ansible-core/Makefile
+11-54 files