LLVM/project 9a9b501lldb/source/Plugins/Language/CPlusPlus MsvcStl.h CPlusPlusLanguage.cpp, lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/expected Makefile main.cpp

[lldb] Add MSVC STL formatter for std::expected (#217243)

Pretty-print MSVC STL `std::expected<T, E>` and `expected<void, E>`.
Engaged values show `Value`; unexpected alternatives show `Unexpected`.
The anonymous union is walked the same way as `optional` so PDB debug
info still finds `_Value` / `_Unexpected`.

Tests: generic C++23 MSVC STL coverage for engaged, unexpected, void,
and reference cases using PDB debug info.

Part of #24834

Assisted-by: Grok 4.6
Assisted-by: codex-5.6-high

---------

Co-authored-by: Bjorn Schobben <bjorn.schobben at aimsport.com>
DeltaFile
+101-0lldb/source/Plugins/Language/CPlusPlus/MsvcStlExpected.cpp
+46-0lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/expected/TestDataFormatterStdExpected.py
+24-0lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
+12-0lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/expected/main.cpp
+8-0lldb/source/Plugins/Language/CPlusPlus/MsvcStl.h
+4-0lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/expected/Makefile
+195-01 files not shown
+196-07 files

LLVM/project 8a9cc1cmlir/include/mlir/IR DialectImplementation.h, mlir/test/IR properties-invalid.mlir properties.mlir

Revert "[MLIR][ODS] Parse prop-dict fields with custom parsers" (#218010)

Reverts llvm/llvm-project#217590 due to buildbot failures (reported in
https://github.com/llvm/llvm-project/pull/217590#issuecomment-5372403484
and
https://github.com/llvm/llvm-project/pull/217590#issuecomment-5373041184)

```
******************** TEST 'MLIR :: IR/properties.mlir' FAILED ********************
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/mlir-opt /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/mlir/test/IR/properties.mlir -split-input-file | /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/mlir-opt | /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/FileCheck /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/mlir/test/IR/properties.mlir
# executed command: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/mlir-opt /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/mlir/test/IR/properties.mlir -split-input-file
# .---command stderr------------
# | /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/mlir/test/IR/properties.mlir:95:60: error: custom op 'test.with_key_value_parser_boundaries' expected integer value
# | test.with_key_value_parser_boundaries <specializedValues = [3, 4], specializedMaybe = some<7>, values = array<i64: 1, 2>, maybe = [], maybeEnum = [], next = 9>
# |                                                            ^
# `-----------------------------
```
DeltaFile
+0-264mlir/test/lib/Dialect/Test/TestOps.td
+0-218mlir/tools/mlir-tblgen/OpFormatGen.cpp
+1-94mlir/test/IR/properties.mlir
+4-76mlir/include/mlir/IR/DialectImplementation.h
+0-79mlir/test/IR/properties-invalid.mlir
+0-34mlir/test/lib/Dialect/Test/TestOps.h
+5-7656 files not shown
+13-83512 files

FreeBSD/src a793cablib/libusb libusb10_hotplug.c

libusb: Avoid signed integer overflow UB

Instead, just reset next_callback_id to 1 at INT_MAX.  The potential for
duplicate callback IDs remains.

Sponsored by:   The FreeBSD Foundation
DeltaFile
+8-3lib/libusb/libusb10_hotplug.c
+8-31 files

FreeBSD/ports a9c645cmultimedia/butt Makefile distinfo

multimedia/butt: update 1.45.0 -> 1.47.0, pet repology

- Fix possible corruption when recording .wav files
- When using Vorbis in VBR mode the min bitrate was
  set for the upper limit instead of the max bitrate

Changes:        https://danielnoethen.de/butt/Changelog.html
DeltaFile
+3-3multimedia/butt/distinfo
+1-2multimedia/butt/Makefile
+4-52 files

LLVM/project f7ab6bcllvm/lib/Transforms/Vectorize VPlanUtils.cpp, llvm/test/Transforms/LoopVectorize trip-count-expansion-may-introduce-ub.ll hoist-and-sink-mem-ops-with-invariant-pointers.ll

[VPlan] Expand negated add operands as a subtract in VPSCEVExpander. (#215253)

Update VPSCEVExpander to try to expand adds of negative values as
subtract, instead of adding the negated operand. This matches IR
SCEVExpander behavior and improves expansions slightly.

It also avoids regressions when expanding more expressions.

Alive2 Proof: https://alive2.llvm.org/ce/z/Emgeqv

Depends on https://github.com/llvm/llvm-project/pull/215252
DeltaFile
+50-17llvm/lib/Transforms/Vectorize/VPlanUtils.cpp
+33-1llvm/test/Transforms/LoopVectorize/VPlan/expand-scev.ll
+2-6llvm/test/Transforms/LoopVectorize/cast-induction.ll
+2-3llvm/test/Transforms/LoopVectorize/nested-loops-scev-expansion.ll
+2-2llvm/test/Transforms/LoopVectorize/trip-count-expansion-may-introduce-ub.ll
+2-2llvm/test/Transforms/LoopVectorize/hoist-and-sink-mem-ops-with-invariant-pointers.ll
+91-316 files

LLVM/project 714039bllvm/lib/Transforms/IPO LowerTypeTests.cpp ThinLTOBitcodeWriter.cpp, llvm/test/Transforms/LowerTypeTests promoted-internal.ll

[CFI] Create an external linkage alias instead of promoting internals
DeltaFile
+19-32llvm/lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
+35-0llvm/lib/Transforms/IPO/LowerTypeTests.cpp
+29-0llvm/test/Transforms/LowerTypeTests/promoted-internal.ll
+10-7llvm/test/Transforms/ThinLTOBitcodeWriter/comdat.ll
+4-2llvm/test/Transforms/ThinLTOBitcodeWriter/split-vfunc-internal.ll
+3-2llvm/test/Transforms/ThinLTOBitcodeWriter/split-internal2.ll
+100-432 files not shown
+104-478 files

LLVM/project e39a7dallvm/lib/Transforms/IPO WholeProgramDevirt.cpp, llvm/test/ThinLTO/X86 devirt-alias-attributes.ll devirt-alias-cross-module.ll

[WPD] Dereference `GlobalAlias` targets
DeltaFile
+84-0llvm/test/ThinLTO/X86/devirt-alias-cross-module-interposable.ll
+78-0llvm/test/ThinLTO/X86/devirt-alias-attributes-interposable.ll
+61-0llvm/test/ThinLTO/X86/devirt-alias-cross-module.ll
+51-0llvm/test/ThinLTO/X86/devirt-alias-attributes.ll
+37-0llvm/test/Transforms/WholeProgramDevirt/uniform-retval-alias.ll
+11-4llvm/lib/Transforms/IPO/WholeProgramDevirt.cpp
+322-41 files not shown
+327-77 files

FreeBSD/ports ef4e8eddevel/tortoisehg distinfo pkg-plist

devel/tortoisehg: Update to 7.2.2
DeltaFile
+7-3devel/tortoisehg/Makefile
+0-7devel/tortoisehg/pkg-plist
+3-3devel/tortoisehg/distinfo
+10-133 files

FreeBSD/ports f8519cdgraphics/mesa-dri pkg-plist, graphics/mesa-dri/files patch-src_vulkan_vram-report-limit-layer_vram__report__limit__layer.c patch-src_gallium_winsys_amdgpu_drm_amdgpu__bo.c

graphics/mesa-*: update to 26.2.1

Differential Revision: https://reviews.freebsd.org/D58728
Co-authored-by: Gleb Popov <arrowd at FreeBSD.org>
DeltaFile
+0-27graphics/mesa-dri/files/patch-src_util_u__memory.h
+13-0graphics/mesa-dri/files/patch-src_panfrost_perf_pan__perf.h
+6-6graphics/mesa-dri/files/patch-src_gallium_drivers_llvmpipe_lp__rast__tri.c
+0-11graphics/mesa-dri/files/patch-src_vulkan_vram-report-limit-layer_vram__report__limit__layer.c
+0-11graphics/mesa-dri/files/patch-src_gallium_winsys_amdgpu_drm_amdgpu__bo.c
+10-0graphics/mesa-dri/pkg-plist
+29-555 files not shown
+37-6311 files

FreeBSD/ports 554d98bwww/phpmyfaq Makefile distinfo

www/phpmyfaq: Update to 4.1.8
DeltaFile
+16-10www/phpmyfaq/pkg-plist
+3-3www/phpmyfaq/distinfo
+1-1www/phpmyfaq/Makefile
+20-143 files

FreeBSD/ports a553383databases/pecl-rrd Makefile distinfo

databases/pecl-rrd: Update to 2.0.4
DeltaFile
+3-3databases/pecl-rrd/distinfo
+1-2databases/pecl-rrd/Makefile
+4-52 files

LLVM/project 061865fclang/lib/CodeGen CodeGenModule.cpp, clang/test/CodeGenCXX msvc-global-delete-llvm-used.cpp

[clang][win] Fix __global_delete breaking __attribute__((used)) (#217753)

The `__empty_global_delete` fallback introduced in #209585 was marked
used via `llvm::appendToUsed()`, which creates a global named
"llvm.used" during codegen. `CodeGenModule::emitLLVMUsed()` later
unconditionally creates its own global of that same name at end-of-TU,
so the name collision renamed the latter to "llvm.used.1" -- a name LLVM
ignores. The result was that every `__attribute__((used))` global in the
TU silently lost its used semantics whenever a `__global_delete` wrapper
was emitted, letting those symbols be dropped.

Mark the fallback used via `CodeGenModule::addUsedGlobal()` instead, so
it joins the single llvm.used that `emitLLVMUsed()` emits.
`emitLLVMUsed()` runs well after `emitGlobalDeleteForwardingBodies()` in
`Release()`, so the fallback is still recorded in time.

Fixes a regression reported on #209585.
DeltaFile
+17-0clang/test/CodeGenCXX/msvc-global-delete-llvm-used.cpp
+1-1clang/lib/CodeGen/CodeGenModule.cpp
+18-12 files

FreeNAS/freenas 9528c53src/middlewared/middlewared/api/base model.py, src/middlewared/middlewared/pytest/unit/api/base test_model.py

Do not annotate the model serializers' return type
DeltaFile
+37-0src/middlewared/middlewared/pytest/unit/api/base/test_model.py
+6-6src/middlewared/middlewared/api/base/model.py
+43-62 files

LLVM/project 7fbd45cclang/lib/CodeGen CGOpenMPRuntime.cpp, clang/test/OpenMP distribute_parallel_for_simd_num_threads_codegen.cpp distribute_parallel_for_num_threads_codegen.cpp

[clang][OpenMP] Fix thread bounds for split directives

Claude assisted with this patch.
DeltaFile
+82-0clang/test/OpenMP/thread_limit_gpu.c
+29-8clang/lib/CodeGen/CGOpenMPRuntime.cpp
+8-8clang/test/OpenMP/distribute_parallel_for_simd_num_threads_codegen.cpp
+8-8clang/test/OpenMP/distribute_parallel_for_num_threads_codegen.cpp
+127-244 files

FreeBSD/src 2916ae6usr.sbin/makefs/tests makefs_msdos_tests.sh

makefs: Fix atime tests on MS-DOS (FAT) file systems

On FAT file systems, access time has a resolution of 1 day, so it is
really the access date.

Strip the time component from the epoch timestamp in order to check the
access time.

Reference: https://learn.microsoft.com/en-us/windows/win32/sysinfo/file-times

Reviewed by:    ngie
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D54584
DeltaFile
+10-6usr.sbin/makefs/tests/makefs_msdos_tests.sh
+10-61 files

LLVM/project e6967cellvm/test/CodeGen/AArch64/GlobalISel prelegalizer-combiner-scalar.mir irtranslator-vararg.ll

[AArch64][GlobalISel] Add tests for scalar types. NFC (#218006)
DeltaFile
+70-0llvm/test/CodeGen/AArch64/GlobalISel/irtranslator-vararg.ll
+43-0llvm/test/CodeGen/AArch64/GlobalISel/prelegalizer-combiner-scalar.mir
+113-02 files

Linux/linux 2be02a7drivers/power/supply power_supply_core.c max17042_battery.c

Merge tag 'for-v7.3' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply

Pull power supply and reset updates from Sebastian Reichel:
 "Power-supply core:
   - Add PbAc, NiZn, RAM, and ZnAr battery chemistry types
   - Create LED triggers based on properties instead of device type
   - Provide power_supply_get_system_batteries() for usage with USB-C
   - Add registration init callback for race-free device setup

  Power-supply drivers:
   - new TI BQ25630 charger driver
   - new SG Micro sgm41542 charger driver
   - bq257xx: Add support for BQ25792
   - max8903: add DC and USB input current-limit controls
   - max17042_battery: Initialize MAX17055 from battery info
   - sbs-battery: map newly introduced battery chemistries
   - drop extra error messages for IRQ request failures
   - lot's of driver removal race condition fixes
   - misc small cleanups and fixes

    [27 lines not shown]
DeltaFile
+1,127-0drivers/power/supply/sgm41542_charger.c
+1,075-0drivers/power/supply/bq25630_charger.c
+527-3drivers/power/supply/bq257xx_charger.c
+401-29drivers/power/supply/max8903_charger.c
+340-35drivers/power/supply/max17042_battery.c
+165-4drivers/power/supply/power_supply_core.c
+3,635-7180 files not shown
+4,448-44686 files

FreeBSD/ports 8319879math/R-cran-lava Makefile distinfo

math/R-cran-lava: Update to 1.9.3

ChangeLog: https://cran.r-project.org/web/packages/lava/news/news.html
DeltaFile
+3-3math/R-cran-lava/distinfo
+1-1math/R-cran-lava/Makefile
+4-42 files

FreeBSD/ports 765919emath/R-cran-DEoptimR Makefile distinfo

math/R-cran-DEoptimR: Update to 1.2-1

ChangeLog: https://cran.r-project.org/web/packages/DEoptimR/news.html
DeltaFile
+3-3math/R-cran-DEoptimR/distinfo
+1-1math/R-cran-DEoptimR/Makefile
+4-42 files

FreeBSD/ports 0698d76games/trx Makefile distinfo

games/trx: Update to 1.10.2

ChangeLog: https://github.com/LostArtefacts/TRX/releases/tag/trx-1.10.2
DeltaFile
+3-3games/trx/distinfo
+1-1games/trx/Makefile
+4-42 files

FreeBSD/src 5fece24usr.sbin/makefs zfs.c makefs.8, usr.sbin/makefs/tests makefs_zfs_tests.sh

makefs: zfs: Allow the path vdev property to be set

This allows specifying custom vdev paths (such as GPT labels like
/dev/gpt/...) when creating ZFS filesystem images via makefs(8), rather
than defaulting to /dev/null.

Reviewed by:    markj
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D59031
DeltaFile
+45-0usr.sbin/makefs/tests/makefs_zfs_tests.sh
+21-17usr.sbin/makefs/makefs.8
+9-1usr.sbin/makefs/zfs.c
+1-0usr.sbin/makefs/zfs/zfs.h
+76-184 files

Linux/linux 283955ddrivers/hsi/clients nokia-modem.c, drivers/hsi/controllers omap_ssi_port.c omap_ssi_core.c

Merge tag 'hsi-for-7.3' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-hsi

Pull HSI updates from Sebastian Reichel:

 - omap_ssi_core: fix missing DMA mask

 - misc small cleanups

* tag 'hsi-for-7.3' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-hsi:
  hsi: omap_ssi_core: fix missing DMA mask setup for SSI controller device
  HSI: omap_ssi: Remove redundant dev_err()
  HSI: nokia-modem: Remove redundant dev_err()
  hsi: omap_ssi: remove debugfs on port creation failure
DeltaFile
+10-4drivers/hsi/controllers/omap_ssi_core.c
+0-6drivers/hsi/controllers/omap_ssi_port.c
+1-4drivers/hsi/clients/nokia-modem.c
+11-143 files

NetBSD/pkgsrc w6RB2Dwdevel Makefile, devel/go-wire DESCR go-modules.mk

   go-wire: remove

   only use was historical TOOL dependency of www/grafana
VersionDeltaFile
1.4677+1-2devel/Makefile
1.4+1-1devel/go-wire/go-modules.mk
1.4+1-1devel/go-wire/distinfo
1.2+1-1devel/go-wire/PLIST
1.54+1-1devel/go-wire/Makefile
1.2+0-0devel/go-wire/DESCR
+5-66 files

OpenBSD/ports t5gNvG8www/webkitgtk4 Makefile distinfo, www/webkitgtk4/patches patch-Source_bmalloc_bmalloc_bmalloc_h

   Update to webkitgtk{41,60}-2.52.6.
VersionDeltaFile
1.146.2.3+2-2www/webkitgtk4/distinfo
1.2.2.1+1-1www/webkitgtk4/patches/patch-Source_bmalloc_bmalloc_bmalloc_h
1.257.2.4+1-1www/webkitgtk4/Makefile
+4-43 files

OpenBSD/ports rTaSDANwww/webkitgtk4 Makefile distinfo, www/webkitgtk4/patches patch-Source_bmalloc_bmalloc_bmalloc_h

   Update to webkitgtk{41,60}-2.52.6.
VersionDeltaFile
1.149+2-2www/webkitgtk4/distinfo
1.3+1-1www/webkitgtk4/patches/patch-Source_bmalloc_bmalloc_bmalloc_h
1.261+1-1www/webkitgtk4/Makefile
+4-43 files

Linux/linux f96718fDocumentation/devicetree/bindings/mmc ti,omap2420-mmc.yaml qcom,sdhci-msm.yaml, drivers/mmc/host litex_mmc.c

Merge tag 'mmc-v7.3' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc

Pull MMC updates from Ulf Hansson:
 "MMC core:
   - Reject invalid perdev_minors for the block device before division
   - Document DT fixed-layout NVMEM provider support for eMMC cards

  MMC host:
   - Convert a couple of plain text DT bindings to the yaml format
   - bcm2835: DMA mapping improvements
   - cqhci: Fix sparse warnings for endian conversions
   - dw_mmc: Stop and complete DMA also in busy state
   - dw_mmc-rockchip: Add support for the RV1106 variant
   - litex_mmc: Add dynamic bus width support
   - moxart: Propagate error for DMA completion timeout
   - pxamci: Remove PXA remnants for the PXA93x support
   - rtsx_usb_sdmmc: Avoid USB I/O in runtime autosuspend
   - rtsx_usb_sdmmc: Suppress false CD after init timeout
   - sdhci_am654: Add Judith Mendez as maintainer

    [28 lines not shown]
DeltaFile
+32-99drivers/mmc/host/litex_mmc.c
+0-110Documentation/devicetree/bindings/mmc/sdhci-st.txt
+105-0Documentation/devicetree/bindings/mmc/st,sdhci.yaml
+67-28Documentation/devicetree/bindings/mmc/qcom,sdhci-msm.yaml
+60-0Documentation/devicetree/bindings/mmc/ti,omap2420-mmc.yaml
+1-57include/linux/soc/pxa/cpu.h
+265-29444 files not shown
+488-46050 files

LLVM/project a3e612bclang/include/clang/ScalableStaticAnalysis/Analyses/EntityPointerLevel EntityPointerLevel.h, clang/lib/ScalableStaticAnalysis/Analyses/EntityPointerLevel EntityPointerLevel.cpp

[SSAF][EntityPointerLevel] Add an intermediate data structure DeclPointerLevel

A DeclPointerLevel differs from an EntityPointerLevel only in that it
retains the AST Decl node instead of abstracting it to an Entity. The
AST node carries more information, such as types, that can be used by
extractors before converting DeclPointerLevels to EntityPointerLevels.

E.g., PointerFlowExtractor can use it to compute the upper bound on
pointer levels for an entity. It is needed for fixing the bug reported
in rdar://183529483.

First step for:
rdar://183529483
DeltaFile
+140-81clang/lib/ScalableStaticAnalysis/Analyses/EntityPointerLevel/EntityPointerLevel.cpp
+72-0clang/unittests/ScalableStaticAnalysis/Analyses/EntityPointerLevel/EntityPointerLevelTest.cpp
+42-9clang/include/clang/ScalableStaticAnalysis/Analyses/EntityPointerLevel/EntityPointerLevel.h
+43-0clang/test/Analysis/Scalable/clang-reforge-end-to-end/unsafe-buffer-reachable-hang.cpp
+1-0clang/unittests/ScalableStaticAnalysis/CMakeLists.txt
+298-905 files

LLVM/project dbee7c9llvm/include/llvm/IR IntrinsicsAMDGPU.td, llvm/lib/Target/AMDGPU SIInstructions.td

[AMDGPU] Guard media instruction patterns with target feature

As well as their corresponding intrinsics.
DeltaFile
+1,608-357llvm/test/CodeGen/AMDGPU/sad.ll
+44-0llvm/test/CodeGen/AMDGPU/llvm.amdgcn.intrinsics.sad.err.ll
+15-13llvm/lib/Target/AMDGPU/SIInstructions.td
+10-4llvm/include/llvm/IR/IntrinsicsAMDGPU.td
+1,677-3744 files

LLVM/project 22b52ceflang/lib/Parser prescan.cpp, flang/test/Parser/OpenMP compiler-directive.f

[flang][OpenMP] Allow 0 after directive sentinels (#217124)

Fixes #199877
DeltaFile
+9-7flang/lib/Parser/prescan.cpp
+7-0flang/test/Parser/OpenMP/compiler-directive.f
+16-72 files

OpenBSD/ports 0AtLdN8devel/spidermonkey140 Makefile distinfo

   Update to spidermonkey140-140.14.0.
VersionDeltaFile
1.14+2-2devel/spidermonkey140/distinfo
1.14+1-1devel/spidermonkey140/Makefile
+3-32 files