FreeBSD/ports cf2aa4csecurity/tinc distinfo Makefile

security/tinc: Update to 1.0.37
DeltaFile
+3-3security/tinc/distinfo
+2-2security/tinc/Makefile
+5-52 files

LLVM/project fb51d6fllvm/test/CodeGen/AMDGPU llvm.amdgcn.reduce.sub.ll llvm.amdgcn.reduce.add.ll

Update test cases
DeltaFile
+424-146llvm/test/CodeGen/AMDGPU/llvm.amdgcn.reduce.sub.ll
+420-142llvm/test/CodeGen/AMDGPU/llvm.amdgcn.reduce.add.ll
+406-108llvm/test/CodeGen/AMDGPU/llvm.amdgcn.reduce.min.ll
+406-108llvm/test/CodeGen/AMDGPU/llvm.amdgcn.reduce.max.ll
+372-132llvm/test/CodeGen/AMDGPU/llvm.amdgcn.reduce.xor.ll
+394-108llvm/test/CodeGen/AMDGPU/llvm.amdgcn.reduce.umax.ll
+2,422-7443 files not shown
+3,512-1,0689 files

LLVM/project acbbe5cclang-tools-extra/test/clang-tidy/checkers/Inputs/Headers/std stddef.h cstddef, clang-tools-extra/test/clang-tidy/checkers/readability implicit-bool-conversion.cpp implicit-bool-conversion-cxx98.cpp

[clang-tidy][NFC] Remove hack in readability-implicit-bool-conversion testcases (#188399)

Another attempt after #184850
DeltaFile
+4-7clang-tools-extra/test/clang-tidy/checkers/readability/implicit-bool-conversion.cpp
+1-4clang-tools-extra/test/clang-tidy/checkers/readability/implicit-bool-conversion-cxx98.cpp
+2-0clang-tools-extra/test/clang-tidy/checkers/Inputs/Headers/std/stddef.h
+2-0clang-tools-extra/test/clang-tidy/checkers/Inputs/Headers/std/cstddef
+9-114 files

HardenedBSD/src 746d6b2lib/libc/stdlib realpath.3 realpath.c, sys/dev/nvmf/controller nvmft_controller.c

Merge branch 'freebsd/15-stable/main' into hardened/15-stable/main
DeltaFile
+12-24lib/libc/stdlib/realpath.3
+7-3lib/libc/stdlib/realpath.c
+1-1sys/dev/nvmf/controller/nvmft_controller.c
+20-283 files

HardenedBSD/ports 105f265sysutils/vm-bhyve Makefile, sysutils/vm-bhyve-devel Makefile

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+97-119www/agate/distinfo
+47-58www/agate/Makefile.crates
+3-3textproc/py-gladtex/distinfo
+1-2www/agate/Makefile
+2-1sysutils/vm-bhyve-devel/Makefile
+1-1sysutils/vm-bhyve/Makefile
+151-1842 files not shown
+153-1858 files

FreeBSD/ports 0dfb415sysutils/vm-bhyve-devel pkg-plist Makefile

sysutils/vm-bhyve-devel: Fix plist
DeltaFile
+1-0sysutils/vm-bhyve-devel/pkg-plist
+1-0sysutils/vm-bhyve-devel/Makefile
+2-02 files

HardenedBSD/ports 0dfb415sysutils/vm-bhyve-devel Makefile pkg-plist

sysutils/vm-bhyve-devel: Fix plist
DeltaFile
+1-0sysutils/vm-bhyve-devel/Makefile
+1-0sysutils/vm-bhyve-devel/pkg-plist
+2-02 files

LLVM/project 621f0a6llvm/test/CodeGen/AMDGPU schedule-gcn-physreg-pressure.ll

Added test for early clobber with a tuple register.
DeltaFile
+71-0llvm/test/CodeGen/AMDGPU/schedule-gcn-physreg-pressure.ll
+71-01 files

FreeBSD/ports fb22151textproc/py-gladtex distinfo Makefile

textproc/py-gladtex: Update 3.1 => 4.0

Approved by:            db@, yuri@ (Mentors, implicit)
DeltaFile
+3-3textproc/py-gladtex/distinfo
+1-1textproc/py-gladtex/Makefile
+4-42 files

HardenedBSD/ports fb22151textproc/py-gladtex distinfo Makefile

textproc/py-gladtex: Update 3.1 => 4.0

Approved by:            db@, yuri@ (Mentors, implicit)
DeltaFile
+3-3textproc/py-gladtex/distinfo
+1-1textproc/py-gladtex/Makefile
+4-42 files

LLVM/project 2eae3f3clang/lib/DependencyScanning DependencyScannerImpl.cpp, clang/test/ClangScanDeps p1689-suppress-warnings.cppm

[Reland] [ClangScanDeps] Do not emit warning for P1689 format (#186966) (#188401)

Close https://github.com/llvm/llvm-project/issues/185394

This is only for P1689 format as ClangScanDeps/optimize-vfs-pch.m will
check for warning message. I'll leave this to people who want to change
that.
DeltaFile
+23-0clang/test/ClangScanDeps/p1689-suppress-warnings.cppm
+2-0clang/lib/DependencyScanning/DependencyScannerImpl.cpp
+25-02 files

OpenBSD/ports BdqI2BYdevel/quirks Makefile, devel/quirks/files Quirks.pm

   Add www/py-cookies removal to quirks
VersionDeltaFile
1.1797+2-1devel/quirks/files/Quirks.pm
1.1785+1-1devel/quirks/Makefile
+3-22 files

OpenBSD/ports sk47VjQwww/py-cookies distinfo Makefile, www/py-cookies/pkg PLIST DESCR

   Remove www/py-cookies.

   No consumers and was marked broken with the python 3.11 transition two
   years ago.

   ok tb
VersionDeltaFile
1.2+0-0www/py-cookies/distinfo
1.6+0-0www/py-cookies/pkg/PLIST
1.2+0-0www/py-cookies/pkg/DESCR
1.12+0-0www/py-cookies/Makefile
+0-04 files

OpenBSD/ports 3rLVmWfwww Makefile

   Unhook www/py-cookies from the build as I garbage collect it.
VersionDeltaFile
1.1178+0-1www/Makefile
+0-11 files

LLVM/project 3b04d26compiler-rt/test/asan/TestCases stack_container_dynamic_lib.c stack_container_dynamic_lib.cpp

[asan] Convert __SANITIZER_DISABLE_CONTAINER_OVERFLOW__ tests to C (#188406)

As-is tests do not pass on android with older C++ headers.
There is nothing C++ specific in tests.

Followup to #181721.
DeltaFile
+126-0compiler-rt/test/asan/TestCases/stack_container_dynamic_lib.c
+0-118compiler-rt/test/asan/TestCases/stack_container_dynamic_lib.cpp
+49-0compiler-rt/test/asan/TestCases/disable_container_overflow_checks.c
+0-49compiler-rt/test/asan/TestCases/disable_container_overflow_checks.cpp
+175-1674 files

LLVM/project 311b4declang/lib/Sema SemaLookup.cpp

clang-format
DeltaFile
+1-1clang/lib/Sema/SemaLookup.cpp
+1-11 files

OpenBSD/ports xzkujuax11/treewm Makefile

   treewm: pass -Wno-error=implicit-int in CFLAGS to fix build on sparc64

   breakage pointed out by kmos
VersionDeltaFile
1.30+2-0x11/treewm/Makefile
+2-01 files

FreeBSD/ports ce23d0dwww/agate distinfo Makefile.crates

www/agate: Update 3.3.20 => 3.3.21

Approved by:            db@, yuri@ (Mentors, implicit)
DeltaFile
+97-119www/agate/distinfo
+47-58www/agate/Makefile.crates
+1-2www/agate/Makefile
+145-1793 files

HardenedBSD/ports ce23d0dwww/agate distinfo Makefile.crates

www/agate: Update 3.3.20 => 3.3.21

Approved by:            db@, yuri@ (Mentors, implicit)
DeltaFile
+97-119www/agate/distinfo
+47-58www/agate/Makefile.crates
+1-2www/agate/Makefile
+145-1793 files

OpenBSD/src Usx6grIsys/kern kern_pledge.c

   In the namei callback for __pledge_open() invert the logic of checking
   pledge/namei modes and then checking for the path.  Now, first
   identify the path with array bsearch then check the pledge/namei modes.
   Since this is __pledge_open(), if the path is not known, terminate with
   an EACCES abort.  If the path is known but the pledge/namei modes don't
   suggest an unveil bypass, allow the code to fallthrough to the rpath/wpath
   checks, and then back into namei for unveil validation.
   ok dgl
VersionDeltaFile
1.353+140-80sys/kern/kern_pledge.c
+140-801 files

LLVM/project bd31d4dclang/lib/AST ASTContext.cpp, clang/lib/Sema SemaLookup.cpp SemaChecking.cpp

[Clang] define memory scopes as a builtin enum

Clang currently represents memory scopes as pre-defined preprocessor macros that
evaluate to integers. But so far, there are three sets of conflicting scopes:
"common" clang scopes, HIP scopes and OpenCL scopes. These sets use the same
integers in different orders, making it impossible to validate their use. A
better approach is to represent these scopes as enum types, so that the integer
values become less significant. Sema can now validate the scope argument by its
type instead.

Both C and C++ define an enum for memory_order, but there is no standard enum
for memory_scope. This change introduces a Clang-specific enum "memory_scope".
The pre-defined macros are now mapped to this enum. Later changes can add
similar enums for other languages.

enum __memory_scope {
  __memory_scope_system,
  __memory_scope_device,
  __memory_scope_workgroup,

    [19 lines not shown]
DeltaFile
+78-0clang/lib/AST/ASTContext.cpp
+66-0clang/lib/Sema/SemaLookup.cpp
+30-30clang/test/Preprocessor/init.c
+58-0clang/test/Sema/scoped-atomic-scope-warning.c
+56-0clang/test/Sema/builtin-memory-scope.c
+50-0clang/lib/Sema/SemaChecking.cpp
+338-3013 files not shown
+473-6019 files

OpenBSD/src ConoqBusys/kern kern_pledge.c kern_sysctl.c

   Wrap the pledge-related sysctl code in SMALL_KERNEL, because it is big
   and the ramdisk does not need it
   ok mlarkin, discussed with dgl
VersionDeltaFile
1.352+3-1sys/kern/kern_pledge.c
1.486+3-1sys/kern/kern_sysctl.c
+6-22 files

LLVM/project f599bfclld/ELF LinkerScript.cpp

[ELF] Guard relocation section handling behind copyRelocs in addOrphanSections. NFC (#188409)

In addOrphanSections, getRelocatedSection() only returns non-null for -r
or --emit-relocs links. Guard code blocks with `copyRelocs` to skip
unnecessary dyn_cast + getRelocatedSection calls per section in the
common case. Hoist copyRelocs and relocatable to local variables so the
compiler does not reload them through ctx on every loop iteration.

"Assign sections" decreases by 1ms.
DeltaFile
+28-22lld/ELF/LinkerScript.cpp
+28-221 files

LLVM/project 665c2e9flang/test/Integration/OpenMP taskloop-bounds-cast.f90, llvm/lib/Frontend/OpenMP OMPIRBuilder.cpp

[Flang][OpenMP] Remove dead restoreIP in OpenMP taskloop lowering (#187222)

This fixes an intermittent crash in `OpenMP` taskloop lowering.

In `OMPIRBuilder::createTaskloop`, the `restoreIP` in `PostOutlineCB`
was immediately overwritten by the following
`Builder.SetInsertPoint(StaleCI)` with no instructions created in
between, so it was effectively dead. This patch removes that dead
restore, which is the smallest change and preserves the intended IR
placement.

Adds a regression test that compiles a taskloop to LLVM IR and verifies
the bounds casts and __kmpc_taskloop call are present.
DeltaFile
+33-0flang/test/Integration/OpenMP/taskloop-bounds-cast.f90
+27-0mlir/test/Target/LLVMIR/openmp-taskloop-bounds-cast.mlir
+0-2llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
+60-23 files

LLVM/project b16e012flang-rt/lib/runtime trampoline.cpp

[flang-rt] Fix macOS build: define _DARWIN_C_SOURCE for mmap flags (#186142)

On Darwin, `sys/mman.h` hides `MAP_JIT` and `MAP_ANON(YMOUS)` when
`_POSIX_C_SOURCE` is defined unless `_DARWIN_C_SOURCE` is also defined.
`trampoline.cpp` uses those flags, so this change defines
`_DARWIN_C_SOURCE` before including `<sys/mman.h>` in this file.

Fixes build failure reported in #183108.

Co-authored-by: Sairudra More <moresair at pe31.hpc.amslabs.hpecorp.net>
DeltaFile
+15-2flang-rt/lib/runtime/trampoline.cpp
+15-21 files

LLVM/project 483d8b6llvm/cmake/modules UnityBuild.cmake

use the right target ClangTidyTests
DeltaFile
+2-2llvm/cmake/modules/UnityBuild.cmake
+2-21 files

LLVM/project 98742dc.ci monolithic-linux.sh, llvm CMakeLists.txt

refactor UnityBuild.cmake
DeltaFile
+1,448-1,308llvm/cmake/modules/UnityBuild.cmake
+31-24llvm/CMakeLists.txt
+1-1.ci/monolithic-linux.sh
+1,480-1,3333 files

LLVM/project 798e545clang/lib/CodeGen CMakeLists.txt, clang/unittests CMakeLists.txt

works
DeltaFile
+1,460-0llvm/cmake/modules/UnityBuild.cmake
+0-62clang/unittests/CMakeLists.txt
+0-38clang/lib/CodeGen/CMakeLists.txt
+0-34llvm/utils/TableGen/CMakeLists.txt
+0-26llvm/lib/CodeGen/CMakeLists.txt
+0-23mlir/test/lib/IR/CMakeLists.txt
+1,460-183117 files not shown
+1,470-1,163123 files

LLVM/project 7384e9dclang/include/clang/CIR MissingFeatures.h, clang/lib/CIR/CodeGen CIRGenModule.cpp CIRGenModule.h

[CIR] Add addLLVMUsed and addLLVMCompilerUsed methods to CIRGenModule
DeltaFile
+104-2clang/lib/CIR/CodeGen/CIRGenModule.cpp
+27-0clang/test/CIR/CodeGenHIP/hip-cuid.hip
+19-0clang/lib/CIR/CodeGen/CIRGenModule.h
+0-1clang/include/clang/CIR/MissingFeatures.h
+150-34 files

LLVM/project 1a1dcf2clang/include/clang/CIR MissingFeatures.h, clang/include/clang/CIR/Dialect/IR CIROps.td

[CIR][CIRGen] Support for section atttribute
DeltaFile
+26-13clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+20-4clang/lib/CIR/CodeGen/CIRGenModule.cpp
+14-0clang/test/CIR/CodeGen/global-section.c
+7-1clang/include/clang/CIR/Dialect/IR/CIROps.td
+0-1clang/include/clang/CIR/MissingFeatures.h
+67-195 files