LLVM/project 5385418flang-rt/lib/runtime io-api.cpp, flang-rt/unittests/Runtime ExternalIOTest.cpp

[Flang] [Runtime ]Fix write endfile abort (#191633)

A WRITE after ENDFILE with ERR= or IOSTAT= was crashing instead of
handling the error properly. Earlier, the program was crashing because
the error was triggered too early (before error handling was ready).

---------

Co-authored-by: Jay Satish Kumar Patel <kumarpat at hpe.com>
DeltaFile
+54-0flang-rt/unittests/Runtime/ExternalIOTest.cpp
+5-0flang-rt/lib/runtime/io-api.cpp
+59-02 files

LLVM/project e57ebfdflang/test/Integration/OpenMP map-types-and-sizes.f90, flang/test/Lower/OpenMP optional-argument-map-2.f90 target-map-complex.f90

[Flang][OpenMP] remove enable-delayed-privatization-staging to suppor… (#203626)

…t target first private default

This commit follows the decision in #182356 to remove the not yet
implemented for delayed privatization for firstprivate and private in
`omp target` regions in flang


Fixes #182356

Assisted with Opus
DeltaFile
+52-0offload/test/offloading/fortran/target-firstprivate.f90
+1-35flang/test/Lower/OpenMP/optional-argument-map-2.f90
+33-0flang/test/Lower/OpenMP/DelayedPrivatization/target-firstprivate.f90
+6-10flang/test/Lower/OpenMP/target-map-complex.f90
+4-8flang/test/Integration/OpenMP/map-types-and-sizes.f90
+1-10flang/test/Lower/OpenMP/target.f90
+97-6327 files not shown
+126-13233 files

FreeNAS/freenas aaafd0f.github/workflows unittests.yml, src/middlewared_docs test_changelog.py

changelog unit tests
DeltaFile
+283-0src/middlewared_docs/test_changelog.py
+3-0.github/workflows/unittests.yml
+286-02 files

FreeNAS/freenas 56de03csrc/middlewared/middlewared/etc_files/proftpd proftpd.conf.mako, src/middlewared/middlewared/plugins ftp.py

Convert FTP plugin to typesafe pattern

## Context
The `ftp` plugin was still dict-based: a `SystemServiceService` with a string `datastore_extend`, a `do_update` returning a plain dict, and consumers/mako templates reading config via `cfg['key']`. This moves it to the typesafe pattern (lean service class delegating to a `SystemServicePart`, `generic = True`, typed `config()`/`do_update`, `check_annotations=True`, `call2`), matching the converted `ups` plugin.

## Solution
- **New `plugins/ftp/` package** replacing `plugins/ftp.py` and `plugins/ftp_/`: `__init__.py` holds the lean `FTPService` (registered in `main.py`'s `ServiceContainer`), `config.py` holds `FTPModel` + `FTPServicePart` (extend/validate/do_update), and the port/cert attachment delegates plus the `connection_count` helper move in alongside. The old compound `ftp_/status.py` service is folded into `connection_count` as a `@private` method.
- **API models** (`api/v27_0_0/` only): split the legacy `@single_argument_args('ftp_update')` form into the standard `FTPUpdate` / `FTPUpdateArgs(data=...)` / `FTPUpdateResult` shape; the wire API is unchanged.
- **Consumers fixed for the dict→model change:** `usage.py` switches to `call2` + attribute access, and the three proftpd mako templates (plus a dead line in `ftpusers.mako`) move from `ftp['x']` to `ftp.x` now that `ftp.config` returns an `FTPEntry`.
- **`ServicePortDelegate.config()`** now normalizes a Pydantic config to a dict (`isinstance` / `model_dump`), the same dispatch the certificate delegate already does. Without this, the FTP port delegate hit `'FTPEntry' object has no attribute 'get'` whenever `port.validate_port` ran (e.g. on `ftp.update`).
- Added type annotations to `resolve_hostname`/`validate_port` in `async_validators.py` so the typed FTP part can call them, and added `plugins/ftp/` to the mypy workflow.
DeltaFile
+0-203src/middlewared/middlewared/plugins/ftp.py
+121-0src/middlewared/middlewared/plugins/ftp/config.py
+120-0src/middlewared/middlewared/plugins/ftp/__init__.py
+35-35src/middlewared/middlewared/etc_files/proftpd/proftpd.conf.mako
+0-23src/middlewared/middlewared/plugins/ftp_/status.py
+22-0src/middlewared/middlewared/plugins/ftp/cert_attachment.py
+298-26114 files not shown
+368-31020 files

LLVM/project 2d8a394openmp/runtime/src kmp_adt.h kmp_adt.cpp, openmp/runtime/unittests/ADT TestStringRef.cpp CMakeLists.txt

[libomp] Add kmp_str_ref (ADT 1/2) (#176162)

libomp currently has two limitations:
1) although it's C++, it doesn't link against the C++ stdlib 2) it
cannot link against the implementation of LLVM ADTs

These limitations shall not be altered at the moment.

As a result, this commit introduces kmp_str_ref, which is similar to
LLVM's StringRef. It currently only includes methods I need at the
moment, but it's easily extensible.
DeltaFile
+736-0openmp/runtime/unittests/ADT/TestStringRef.cpp
+142-0openmp/runtime/src/kmp_adt.h
+63-0openmp/runtime/src/kmp_adt.cpp
+27-0openmp/runtime/unittests/String/TestKmpStr.cpp
+2-2openmp/runtime/src/kmp_str.cpp
+4-0openmp/runtime/unittests/ADT/CMakeLists.txt
+974-23 files not shown
+978-39 files

pkgin/pkgin d4565e8. messages.h

messages: Remove unused.
DeltaFile
+0-3messages.h
+0-31 files

LLVM/project 5fbc81allvm/lib/Transforms/Scalar JumpThreading.cpp

[JumpThreading] Use isGuaranteedToTransferExecutionToSuccessor() with range (#203918)

Use the overload that accepts a range of instructions. This is not NFC
because the scan is now subject to ScanLimit.
DeltaFile
+3-3llvm/lib/Transforms/Scalar/JumpThreading.cpp
+3-31 files

FreeBSD/ports ce3abd7mail/opendkim-devel Makefile distinfo, mail/opendkim-devel/files patch-lua_pop patch-opendkim_opendkim.c

mail/opendkim-devel: Update to latest snapshot and enable Lua flavors

- Update to 2.11.0-Beta2-49 (commit 1c7a9f47c6)
- Enable Lua flavors support
- Remove obsolete or unsupported options: ADSP_LISTS, LDNS and LUA_ONLY_SIGNING
- Remove patches that have been merged upstream

PR:             295791
Approved by:    hrs (mentor, blanket)
DeltaFile
+0-86mail/opendkim-devel/files/patch-lua_pop
+24-31mail/opendkim-devel/Makefile
+0-36mail/opendkim-devel/files/patch-opendkim_opendkim.c
+0-20mail/opendkim-devel/files/patch-opendkim_opendkim-crypto.c
+3-3mail/opendkim-devel/distinfo
+27-1765 files

FreeBSD/ports f94f9d8net-p2p/amule Makefile

net-p2p/amule: Add missing build option

3.0.0 ships with ENABLE_IP2COUNTRY=OFF and upstream main shows that it
might be turned ON next releases.
Add it to CMAKE_OFF and this way we have all build options covered in port.

Also, add ChangeLog url forgotten in previous commit msg:

ChangeLog: https://github.com/amule-org/amule/releases/tag/3.0.0
DeltaFile
+1-1net-p2p/amule/Makefile
+1-11 files

LLVM/project f32b9ebllvm/lib/Transforms/Scalar ConstantHoisting.cpp, llvm/test/Transforms/ConstantHoisting/AArch64 consthoist-unreachable-phi-edge.ll

[ConstantHoisting] Skip PHI edges from unreachable blocks (#203892)

When collecting constant candidates, skip incoming PHI edges from blocks
that are unreachable from entry. This avoids assertion failures when the
pass later tries to find insertion points or update users for constants
that only appear on unreachable edges.

While touching this part of the code, also remove an older XFAIL from
test/Transforms/ConstantHoisting/X86/pr52689-not-all-uses-rebased.ll
That test case also triggered the same assert once upon a time, but it
has been set to XFAIL for some time since the reproducer no longer
triggered the bug. This patch turns it into a normal test case instead
of an XFAIL test. Afaict the original problem may have been the same. We
have PHI nodes with edges from unreachable blocks. One difference
compared to the new aarch64 test is that here the involved constants are
GEPs and not simple scalars.

Closes https://github.com/llvm/llvm-project/issues/52689
DeltaFile
+58-0llvm/test/Transforms/ConstantHoisting/AArch64/consthoist-unreachable-phi-edge.ll
+24-14llvm/test/Transforms/ConstantHoisting/X86/pr52689-not-all-uses-rebased.ll
+6-0llvm/lib/Transforms/Scalar/ConstantHoisting.cpp
+88-143 files

LLVM/project 99a9ca4clang/test/Sema warn-lifetime-safety.cpp, clang/test/Sema/LifetimeSafety safety.cpp

Merge branch 'main' into users/c8ef/atomic_minmax
DeltaFile
+3,204-3,450llvm/test/CodeGen/X86/vector-interleaved-store-i16-stride-7.ll
+1,905-2,037llvm/test/CodeGen/X86/vector-interleaved-store-i16-stride-6.ll
+3,721-0clang/test/Sema/LifetimeSafety/safety.cpp
+0-3,653clang/test/Sema/warn-lifetime-safety.cpp
+1,825-1,328llvm/test/Transforms/LoopVectorize/WebAssembly/memory-interleave.ll
+1,813-654llvm/test/CodeGen/AMDGPU/llvm.amdgcn.sched.group.barrier.ll
+12,468-11,1221,722 files not shown
+98,650-43,1741,728 files

LLVM/project bdee644clang/test/Sema warn-lifetime-safety.cpp, clang/test/Sema/LifetimeSafety safety.cpp

Merge branch 'main' into users/krzysz00/insert-concat-dagcombine
DeltaFile
+3,204-3,450llvm/test/CodeGen/X86/vector-interleaved-store-i16-stride-7.ll
+1,905-2,037llvm/test/CodeGen/X86/vector-interleaved-store-i16-stride-6.ll
+3,711-0clang/test/Sema/LifetimeSafety/safety.cpp
+0-3,653clang/test/Sema/warn-lifetime-safety.cpp
+5-3,279lldb/docs/python_api_enums.md
+2,484-3llvm/test/CodeGen/AMDGPU/llvm.amdgcn.mfma.ll
+11,309-12,4221,242 files not shown
+81,161-40,6181,248 files

LLVM/project b7ed28flibcxx/include/__atomic atomic_ref.h

Re-apply "Don't use builtins for pointer overloads of fetch_max/min"

It seems that the builtins indeed don't support pointers.
DeltaFile
+2-8libcxx/include/__atomic/atomic_ref.h
+2-81 files

LLVM/project b3c6420llvm/docs AMDGPUUsage.rst

Fixing the block thing, I think
DeltaFile
+3-2llvm/docs/AMDGPUUsage.rst
+3-21 files

LLVM/project 2a78982cross-project-tests/debuginfo-tests/dexter/dex/evaluation StateMatch.py, cross-project-tests/debuginfo-tests/dexter/dex/test_script Script.py Nodes.py

Revert "[Dexter] Add label nodes for line references" (#203920)

Reverts llvm/llvm-project#202544

Commit appears to be causing failures in the pre-merge checks for
AArch64 specifically, though this is not entirely consistent. Reverting
to fix pre-merge checks immediately, will aim to reland with either a
fix or disabling tests for AArch64.
DeltaFile
+7-96cross-project-tests/debuginfo-tests/dexter/dex/test_script/Script.py
+13-80cross-project-tests/debuginfo-tests/dexter/dex/test_script/Nodes.py
+0-42cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/labels/source_root_dir.cpp
+0-39cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/labels/simple_labels.cpp
+0-35cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/labels/offset.cpp
+11-15cross-project-tests/debuginfo-tests/dexter/dex/evaluation/StateMatch.py
+31-3073 files not shown
+32-3369 files

LLVM/project b8f4e70cross-project-tests/debuginfo-tests/dexter/dex/evaluation StateMatch.py, cross-project-tests/debuginfo-tests/dexter/dex/test_script Script.py Nodes.py

Revert "[Dexter] Add label nodes for line references (#202544)"

This reverts commit d3c6d78de158b672ef8bb038566e91ee598e913e.
DeltaFile
+7-96cross-project-tests/debuginfo-tests/dexter/dex/test_script/Script.py
+13-80cross-project-tests/debuginfo-tests/dexter/dex/test_script/Nodes.py
+0-42cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/labels/source_root_dir.cpp
+0-39cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/labels/simple_labels.cpp
+0-35cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/labels/offset.cpp
+11-15cross-project-tests/debuginfo-tests/dexter/dex/evaluation/StateMatch.py
+31-3073 files not shown
+32-3369 files

LLVM/project d038850llvm/lib/Target/SPIRV SPIRVEmitIntrinsics.cpp, llvm/test/CodeGen/SPIRV/pointers getelementptr-subbyte-array.ll

[SPIR-V] Fix division by zero on byte addressing GEP into a subbyte array (#202593)

walkLogicalAccessChainConstant divided the byte offset by the element
size which is zero for sub-byte element types ([N x i1])
DeltaFile
+39-0llvm/test/CodeGen/SPIRV/pointers/getelementptr-subbyte-array.ll
+1-1llvm/lib/Target/SPIRV/SPIRVEmitIntrinsics.cpp
+40-12 files

FreeBSD/src 7f2d790share/man/man7 groups.7

groups.7: Document audio group

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Reviewed by:    emaste
Pull-Request:   https://ron-dev.freebsd.org/FreeBSD/src/pulls/35
DeltaFile
+6-1share/man/man7/groups.7
+6-11 files

FreeBSD/src a6aa95e. UPDATING, share/man/man4 pcm.4

sound: Create all device nodes with GID_AUDIO

Commit 6024e3f99a1e ("Add audio group") introduced GID_AUDIO, initially
for virtual_oss(8) loopback devices. Now make all of them with
GID_AUDIO.

Relnotes:       yes
Sponsored by:   The FreeBSD Foundation
Reviewed by:    emaste
Pull-Request:   https://ron-dev.freebsd.org/FreeBSD/src/pulls/35
DeltaFile
+13-21usr.sbin/virtual_oss/virtual_oss/main.c
+9-2share/man/man4/pcm.4
+3-5usr.sbin/virtual_oss/virtual_oss/virtual_oss.8
+2-2sys/dev/sound/pcm/dsp.c
+3-0UPDATING
+1-1sys/dev/sound/pci/emu10kx.c
+31-314 files not shown
+35-3510 files

LLVM/project e919148mlir/include/mlir/Dialect/LLVMIR NVVMOps.td

[mlir][nfc] Fix typo in tcgen05.ld.red docs (#203630)

Signed-off-by: Asher Mancinelli <amancinelli at nvidia.com>
DeltaFile
+2-2mlir/include/mlir/Dialect/LLVMIR/NVVMOps.td
+2-21 files

LLVM/project 86add58llvm/lib/Target/SPIRV SPIRVInstructionSelector.cpp, llvm/test/CodeGen/SPIRV/hlsl-resources SampleErrors.ll

[SPIR-V] Return false after non-constant offset error in generateSampleImage (#203512)

generateSampleImage emitted the diagnostic but kept building the
instruction, producing a malformed OpImageSample with the offset
silently dropped
DeltaFile
+1-1llvm/test/CodeGen/SPIRV/hlsl-resources/SampleErrors.ll
+1-0llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
+2-12 files

OpenBSD/ports V5NSBKplang/erlang/26 Makefile, lang/erlang/27 Makefile

   MFC -wx subpackaging changes for erlang.
VersionDeltaFile
1.16.2.2+9-7lang/erlang/28/Makefile
1.28.2.2+8-6lang/erlang/27/Makefile
1.31.2.1+2-6lang/erlang/26/Makefile
+19-193 files

pkgin/pkgin 08e366b. pkg_check.c

pkg_check: Improve readability.
DeltaFile
+1-2pkg_check.c
+1-21 files

OpenBSD/ports qhVylQilang/erlang/26 Makefile, lang/erlang/27 Makefile

   adjust handling of erlang's -wx subpackage. it doesn't actually build on
   machines that don't have wxWidgets,-webview, so disable wx completely on
   those archs, rather than try to build it without webview present (which
   fails).

   this both fixes the build, and allows DPB to attempt to build erlang (it
   was previously disabling it due to webkitgtk4 not being available, for
   some reason).

   ok volker
VersionDeltaFile
1.20+9-7lang/erlang/28/Makefile
1.34+8-6lang/erlang/26/Makefile
1.32+8-6lang/erlang/27/Makefile
1.4+8-6lang/erlang/29/Makefile
+33-254 files

LLVM/project 2f0a17cclang/lib/Frontend TextDiagnosticPrinter.cpp, clang/unittests/Frontend TextDiagnosticTest.cpp

[clang] Honor ShowLevel for diagnostics without a source location (#203520)

When lldb evaluates expression and gets error, it prints double
`error: ` as below,
```
(lldb) expression v1::withImplicitTag(Simple{.mem = 6})

note: Ran expression as 'C++11'.
error: error: Multiple internal symbols found for 'v1'
```

The first `error:` is from lldb and the second `error:` is from
clang's diagnostic.  LLDB's `ClangDiagnosticManagerAdapter` sets
`ShowLevel=false`, so that its own rendering
layer (`RenderDiagnosticDetails`) can add the severity prefix with
color.  However, clang still adds "error:" in the output buffer means
the guard is missing.

`TextDiagnosticPrinter::HandleDiagnostic` has two paths: one for

    [13 lines not shown]
DeltaFile
+26-0clang/unittests/Frontend/TextDiagnosticTest.cpp
+2-2lldb/test/Shell/Expr/TestObjCxxEnumConflict.test
+2-1clang/lib/Frontend/TextDiagnosticPrinter.cpp
+1-1lldb/test/API/commands/expression/diagnostics/TestExprDiagnostics.py
+31-44 files

LLVM/project f1f79b5llvm/test/CodeGen/AMDGPU usubsat.ll

[NFC][AMDGPU] Precommit tests for usubsat pattern (#203453)

Add tests to illustrate codegen changes in PR #203155.
DeltaFile
+1,079-0llvm/test/CodeGen/AMDGPU/usubsat.ll
+1,079-01 files

pkgin/pkgin 67f2f4b. main.c

main: Remove support for -F.

Has been deprecated and silently ignored for 6 years.  If anyone is
still using it under the false impression that it does anything then
it's about time to start correcting them.
DeltaFile
+1-4main.c
+1-41 files

pkgin/pkgin 7051d67. order.c

order: Simplify reverse list insertion.
DeltaFile
+4-8order.c
+4-81 files

pkgin/pkgin 0b0f205. impact.c

impact: Inline update_level_if_higher().

Only one caller, not worth it.
DeltaFile
+2-8impact.c
+2-81 files

OpenBSD/src tarRiu4usr.sbin/rpki-client repo.c rsync.c

   Add some guardrails to rsync_base_uri() against future programmer error

   OK tb@
VersionDeltaFile
1.84+3-3usr.sbin/rpki-client/repo.c
1.64+3-1usr.sbin/rpki-client/rsync.c
+6-42 files