LLVM/project 84bc21fmlir/unittests CMakeLists.txt, mlir/unittests/Tools CMakeLists.txt

[mlir-lsp] Add transport unit tests (#89855)

Add unit tests for some aspects of the JSON transport and message
handler. These will be expanded in future patches as behavior is
modified.
DeltaFile
+65-0mlir/unittests/Tools/lsp-server-support/Transport.cpp
+6-0mlir/unittests/Tools/lsp-server-support/CMakeLists.txt
+1-0mlir/unittests/Tools/CMakeLists.txt
+1-0mlir/unittests/CMakeLists.txt
+73-04 files

LLVM/project 827d11elibcxx/src time_zone.cpp

Address review comments.
DeltaFile
+41-69libcxx/src/time_zone.cpp
+41-691 files

Linux/linux e88c4cffs/btrfs scrub.c inode.c, fs/btrfs/tests extent-map-tests.c

Merge tag 'for-6.9-rc5-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux

Pull btrfs fixes from David Sterba:

 - fix information leak by the buffer returned from LOGICAL_INO ioctl

 - fix flipped condition in scrub when tracking sectors in zoned mode

 - fix calculation when dropping extent range

 - reinstate fallback to write uncompressed data in case of fragmented
   space that could not store the entire compressed chunk

 - minor fix to message formatting style to make it conforming to the
   commonly used style

* tag 'for-6.9-rc5-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux:
  btrfs: fix wrong block_start calculation for btrfs_drop_extent_map_range()
  btrfs: fix information leak in btrfs_ioctl_logical_to_ino()

    [3 lines not shown]
DeltaFile
+9-9fs/btrfs/scrub.c
+6-7fs/btrfs/inode.c
+3-9fs/btrfs/backref.c
+5-0fs/btrfs/tests/extent-map-tests.c
+1-1fs/btrfs/messages.c
+1-1fs/btrfs/extent_map.c
+25-276 files

FreeNAS/freenas 61e22acsrc/middlewared/middlewared/client client.py

Update src/middlewared/middlewared/client/client.py

Co-authored-by: themylogin <themylogin at gmail.com>
DeltaFile
+1-1src/middlewared/middlewared/client/client.py
+1-11 files

NomadBSD/NomadBSD c45ea7a. build, patch/usr/local/share/networkmgr net_api.py.diff

Remove networkmgr patch

The patch for networkmgr is no longer necessary.
DeltaFile
+0-12patch/usr/local/share/networkmgr/net_api.py.diff
+0-8build
+0-202 files

LLVM/project 409b407compiler-rt/lib/sanitizer_common sanitizer_symbolizer_markup.cpp sanitizer_symbolizer_markup_constants.h

[sanitizer_symbolizer] Cast arguments for format strings in markup

When compiling the common sanitizer libraries, there are many warnings
about format specifiers, similar to:

    compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_markup.cpp:31:32: warning: format specifies type 'void *' but the argument has type 'uptr' (aka 'unsigned long') [-Wformat]
       31 |   buffer->AppendF(kFormatData, DI->start);
          |                   ~~~~~~~~~~~  ^~~~~~~~~
    compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_markup_constants.h:33:46: note: format string is defined here
       33 | constexpr const char *kFormatData = "{{{data:%p}}}";
          |                                              ^~
          |                                              %lu
    compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_markup.cpp:46:43: warning: format specifies type 'void *' but the argument has type 'uptr' (aka 'unsigned long') [-Wformat]
       46 |   buffer->AppendF(kFormatFrame, frame_no, address);
          |                   ~~~~~~~~~~~~            ^~~~~~~
    compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_markup_constants.h:36:48: note: format string is defined here
       36 | constexpr const char *kFormatFrame = "{{{bt:%u:%p}}}";
          |                                                ^~
          |                                                %lu

    [7 lines not shown]
DeltaFile
+10-6compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_markup.cpp
+1-1compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_markup_constants.h
+11-72 files

FreeBSD/ports dc33d4aports-mgmt/poudriere-devel distinfo Makefile, ports-mgmt/poudriere-devel/files patch-test_common.sh

ports-mgmt/poudriere-devel: Update to 3.3.0-1748-gd75f4e1dc4

Changes:
 - testport: Fix -c
 - testport: Don't fetch package being tested

PR:     278479
DeltaFile
+0-19ports-mgmt/poudriere-devel/files/patch-test_common.sh
+3-3ports-mgmt/poudriere-devel/distinfo
+2-2ports-mgmt/poudriere-devel/Makefile
+5-243 files

FreeNAS/freenas e3fde06

Empty commit to create PR on github.

You should reset it
DeltaFile
+0-00 files

LLVM/project d609029clang/include/clang/Lex HeaderSearch.h, clang/lib/Lex HeaderSearch.cpp

[clang][modules] Allow module maps with textual headers to be non-affecting (#89441)

When writing out a PCM, we skip serializing headers' `HeaderFileInfo`
struct whenever this condition evaluates to `true`:

```c++
!HFI || (HFI->isModuleHeader && !HFI->isCompilingModuleHeader)
```

However, when Clang parses a module map file, each textual header gets a
`HFI` with `isModuleHeader=false`, `isTextualModuleHeader=true` and
`isCompilingModuleHeader=false`. This means the condition evaluates to
`false` even if the header was never included and the module map did not
affect the compilation. Each PCM file that happened to parse such module
map then contains a copy of the `HeaderFileInfo` struct for all textual
headers, and considers the containing module map affecting.

This patch makes it so that we skip headers that have not been included,
essentially removing the virality of textual headers when it comes to
PCM serialization.
DeltaFile
+44-34clang/lib/Serialization/ASTWriter.cpp
+46-0clang/test/Modules/prune-non-affecting-module-map-files-textual.c
+10-4clang/include/clang/Lex/HeaderSearch.h
+1-0clang/lib/Lex/HeaderSearch.cpp
+101-384 files

FreeNAS/freenas 15d258esrc/middlewared/middlewared/plugins/webui enclosure.py

fix typo in webui.enclosure.dashboard (#13616)

DeltaFile
+1-1src/middlewared/middlewared/plugins/webui/enclosure.py
+1-11 files

LLVM/project b10e4b8llvm/include/llvm/Analysis Loads.h, llvm/lib/Analysis Loads.cpp

[GVN] Restrict equality propagation for pointers (#82458)

This patch does the following:

Adds the following functions:
- replaceDominatedUsesWithIf() that takes a callback.

- canReplacePointersIfEqual(...) returns true if the underlying object
is the same, and for null and const dereferencable pointer replacements.

- canReplacePointersIfEqualInUse(...) returns true for the above as well
as if the use is in icmp/ptrtoint or phi/selects feeding into them.

Updates GVN using the functions above so that the pointer replacements
are only made using the above API.

https://reviews.llvm.org/D143129
DeltaFile
+212-15llvm/test/Transforms/GVN/condprop.ll
+55-15llvm/lib/Analysis/Loads.cpp
+32-18llvm/unittests/Analysis/LoadsTest.cpp
+22-8llvm/lib/Transforms/Scalar/GVN.cpp
+23-3llvm/lib/Transforms/Utils/Local.cpp
+10-7llvm/include/llvm/Analysis/Loads.h
+354-661 files not shown
+366-667 files

FreeNAS/freenas fa42424src/middlewared/middlewared/plugins/webui enclosure.py

fix typo in webui.enclosure.dashboard
DeltaFile
+1-1src/middlewared/middlewared/plugins/webui/enclosure.py
+1-11 files

FreeNAS/freenas 486bb7esrc/middlewared/middlewared/plugins nfs.py

Fix logic error and broaden exception trap
DeltaFile
+10-8src/middlewared/middlewared/plugins/nfs.py
+10-81 files

FreeBSD/ports 570bd44multimedia Makefile, multimedia/droidcam Makefile distinfo

multimedia/droidcam: New port: GNU/Linux/nix client for DroidCam

DroidCam turns your phone/tablet into a webcam for your PC.
Use it with chat programs like Zoom, MS Teams, and Skype.

PR:             278432
Author:         Yusuf Yaman <nxjosephofficial at protonmail.com>
WWW:            https://github.com/dev47apps/droidcam
DeltaFile
+66-0multimedia/droidcam/Makefile
+11-0multimedia/droidcam/files/patch-droidcam.desktop
+3-0multimedia/droidcam/distinfo
+2-0multimedia/droidcam/pkg-descr
+1-0multimedia/Makefile
+83-05 files

NetBSD/src tj9joNFbin/csh str.c glob.c

   csh: replace malloc(x * y) and realloc(x * y) with reallocarray
VersionDeltaFile
1.17+15-15bin/csh/str.c
1.32+14-14bin/csh/glob.c
1.36+14-13bin/csh/dir.c
1.34+5-8bin/csh/file.c
1.23+4-4bin/csh/misc.c
1.45+3-3bin/csh/func.c
+55-576 files

HardenedBSD/src 4573239share/man/man5 src.conf.5, share/mk src.opts.mk

HBSD: Resolve merge conflicts

Signed-off-by:  Shawn Webb <shawn.webb at hardenedbsd.org>
DeltaFile
+1-19share/man/man5/src.conf.5
+0-5share/mk/src.opts.mk
+1-242 files

Illumos/gate 21ca3fausr/src/cmd/ptools/ptree ptree.c

16495 ptree -g should be more willing to use UTF-8 box characters
Reviewed by: Rich Lowe <richlowe at richlowe.net>
Reviewed by: Peter Tribble <peter.tribble at gmail.com>
Reviewed by: Jason King <jason.brian.king+illumos at gmail.com>
Reviewed by: Toomas Soome <tsoome at me.com>
Approved by: Gordon Ross <gordon.w.ross at gmail.com>
DeltaFile
+7-7usr/src/cmd/ptools/ptree/ptree.c
+7-71 files

LLVM/project d3f6a88llvm/lib/Target/AArch64 AArch64ISelLowering.cpp, llvm/test/CodeGen/AArch64 sve-streaming-mode-fixed-length-optimize-ptrue.ll sve-streaming-mode-fixed-length-loads.ll

[AArch64] Unify lowering logic for fixed-length vectors. (#89393)

In preparation of decoupling codegen for SME from SVE, this patch does a
bit of cleanup to unify the logic around calling
'addTypeForFixedLengthSVE'.

We only want to call this function when:
* We have access to both SVE and NEON, but we prefer to use SVE.
* We have access to SVE, but there is no access to NEON.

Inside 'addTypeForFixedLengthSVE', we normally use Custom lowering for
all operations so they can be converted to/from scalable vector
operations.

However, there are some exceptions:

* For 64/128bit vector loads/stores we prefer the AdvSIMD LDR/STR
D/Q-reg instructions, since these are available in Streaming-SVE mode.


    [3 lines not shown]
DeltaFile
+109-124llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+2-12llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-optimize-ptrue.ll
+3-8llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-loads.ll
+1-10llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-vselect.ll
+1-10llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-select.ll
+0-10llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-reduce.ll
+116-17410 files not shown
+126-21616 files

NetBSD/src 9HtXPafbin/csh csh.h

   csh: add a helper definition for the reallocarray function
VersionDeltaFile
1.30+2-1bin/csh/csh.h
+2-11 files

NetBSD/src HK75vlnbin/csh alloc.c extern.h

   csh: add a reallocarray function for using inside csh
VersionDeltaFile
1.16+15-2bin/csh/alloc.c
1.35+2-1bin/csh/extern.h
+17-32 files

LLVM/project 5ba9e6elibcxx/include chrono, libcxx/include/__chrono time_zone.h

[libc++][TZDB] Implements time zone get_info(local_time).

Implements parts of:
- P0355 Extending to Calendars and Time Zones
DeltaFile
+1,302-0libcxx/test/std/time/time.zone/time.zone.timezone/time.zone.members/get_info.local_time.pass.cpp
+175-0libcxx/src/time_zone.cpp
+7-0libcxx/include/__chrono/time_zone.h
+3-0libcxx/include/chrono
+2-0libcxx/test/libcxx/diagnostics/chrono.nodiscard.verify.cpp
+1,489-05 files

HardenedBSD/src 3129d2asys/contrib/openzfs/module/os/linux/zfs abd_os.c, sys/contrib/openzfs/module/zfs dbuf.c zio_inject.c

Merge remote-tracking branch 'internal/freebsd/current/main' into hardened/current/master

Conflicts:
        share/man/man5/src.conf.5 (unresolved)
        share/mk/src.opts.mk (unresolved)
DeltaFile
+108-114sys/contrib/openzfs/module/zfs/dbuf.c
+165-0sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_parallel_admin.ksh
+129-9sys/contrib/openzfs/module/zfs/zio_inject.c
+137-0sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_parallel_pos.ksh
+130-0sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_parallel_neg.ksh
+74-46sys/contrib/openzfs/module/os/linux/zfs/abd_os.c
+743-169100 files not shown
+1,420-607106 files

LLVM/project 7c0da79flang/include/flang/Lower Allocatable.h, flang/lib/Lower OpenACC.cpp Allocatable.cpp

[flang][cuda] Use fir.cuda_deallocate for automatic deallocation (#89662)

Automatic deallocation of allocatable that are cuda device variable must
use the fir.cuda_deallocate operation. This patch update the automatic
deallocation code generation to use this operation when the variable is
a cuda variable.

This patch has also the side effect to correctly call
`attachDeclarePostDeallocAction` for OpenACC declare variable on
automatic deallocation as well. Update the code in
`attachDeclarePostDeallocAction` so we do not attach on fir.result but
on the correct last op.
DeltaFile
+19-13flang/lib/Lower/OpenACC.cpp
+30-0flang/test/Lower/CUDA/cuda-allocatable.cuf
+7-5flang/lib/Lower/Allocatable.cpp
+3-2flang/lib/Lower/ConvertVariable.cpp
+5-0flang/test/Lower/OpenACC/acc-declare.f90
+3-1flang/include/flang/Lower/Allocatable.h
+67-216 files

FreeBSD/ports b61f27cdevel/hyprwayland-scanner distinfo Makefile

devel/hyprwayland-scanner: update to 0.3.0

Changes:        https://github.com/hyprwm/hyprwayland-scanner/releases/tag/v0.3.0
Reported by:    GitHub (watch releases)
DeltaFile
+3-3devel/hyprwayland-scanner/distinfo
+1-1devel/hyprwayland-scanner/Makefile
+4-42 files

LLVM/project 31e769clibcxx/include/__numeric saturation_arithmetic.h

[libc++] Makes saturation functions privately available. (#89503)

These functions are useful in the implementation of the time zone
database. So expose them with private names.

The functions could be exposed before C++ 20, but since libc++ is mostly
C++ 17 complete it seems less useful to allow earlier.

---------

Co-authored-by: Hristo Hristov <zingam at outlook.com>
DeltaFile
+35-6libcxx/include/__numeric/saturation_arithmetic.h
+35-61 files

NetBSD/src EjgKSM4doc CHANGES

   recent changes
VersionDeltaFile
1.3050+13-1doc/CHANGES
+13-11 files

LLVM/project f489043llvm/lib/TargetParser RISCVISAInfo.cpp

[RISCV] Sort the ImpliedExts tables in RISCVISAInfo.cpp alphabetically. NFC
DeltaFile
+2-2llvm/lib/TargetParser/RISCVISAInfo.cpp
+2-21 files

NetBSD/src JPJ5ZGmdistrib/sparc64/cdroms Makefile, distrib/sparc64/cdroms/installdvd Makefile

   sparc64 follows x86 and gets an installdvd image with all sets
VersionDeltaFile
1.1+35-0distrib/sparc64/cdroms/installdvd/Makefile
1.2+2-2distrib/sparc64/cdroms/Makefile
+37-22 files

FreeBSD/poudriere d75f4e1src/share/poudriere testport.sh

testport: Fix -c

This does not handle MOVED.

Reported at https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278479
DeltaFile
+2-0src/share/poudriere/testport.sh
+2-01 files

FreeBSD/poudriere 6b02356src/share/poudriere common.sh

testport: Don't fetch port being tested
DeltaFile
+6-0src/share/poudriere/common.sh
+6-01 files