LLVM/project 57e0b69clang/docs ReleaseNotes.rst, clang/lib/Sema SemaType.cpp

[Clang][Sema] Fix crash when __funcref is applied to non-function-pointer types (#176102)

Applying the funcref type to a non-function pointer was crashing. Added
validation to check that the type is a function pointer before
attempting to process it. If validation fails, emit the existing
err_attribute_webassembly_funcref diagnostic and return early.

Fixes #118233
DeltaFile
+28-0clang/test/SemaCXX/wasm-funcref-crash.cpp
+26-0clang/test/Sema/wasm-funcref-crash.c
+8-0clang/lib/Sema/SemaType.cpp
+3-0clang/docs/ReleaseNotes.rst
+65-04 files

FreeBSD/src 506203ausr.sbin/makefs makefs.8

makefs.8: Cleanup man page

Reviewed by:    ziaee
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D54538

(cherry picked from commit 12c51484188f88bcabc5b38ca8523fcde76830a6)
DeltaFile
+5-4usr.sbin/makefs/makefs.8
+5-41 files

LLVM/project cc8df4dclang-tools-extra/clang-tidy/performance MoveConstArgCheck.cpp, clang-tools-extra/docs ReleaseNotes.rst

[clang-tidy] Fix performance-move-const-arg for trivially copyable types with private copy constructor (#175449)

Closes [#174826](https://github.com/llvm/llvm-project/issues/174826)
DeltaFile
+34-0clang-tools-extra/test/clang-tidy/checkers/performance/move-const-arg.cpp
+4-0clang-tools-extra/docs/ReleaseNotes.rst
+2-1clang-tools-extra/clang-tidy/performance/MoveConstArgCheck.cpp
+40-13 files

FreeBSD/src 70db1cdusr.sbin/makefs/msdos msdosfs_vfsops.c

makefs: Fix typo 's/mirrorring/mirroring/'

MFC after:      1 week

(cherry picked from commit 73af599fb7be6806b553ac6f470d76711b74286c)
DeltaFile
+1-1usr.sbin/makefs/msdos/msdosfs_vfsops.c
+1-11 files

FreeBSD/src 6434137usr.sbin/makefs/msdos msdosfs_vfsops.c

makefs: Fix typo 's/mirrorring/mirroring/'

MFC after:      1 week

(cherry picked from commit 73af599fb7be6806b553ac6f470d76711b74286c)
DeltaFile
+1-1usr.sbin/makefs/msdos/msdosfs_vfsops.c
+1-11 files

FreeNAS/freenas 0838790src/freenas/etc/systemd/system/docker.service.d override.conf, src/middlewared/middlewared/plugins/docker state_management.py

Gracefully stop Docker service during system shutdown

This commit adds changes to gracefully stop Docker during system shutdown. By using a terminate method with a 60-second timeout, apps using databases or other stateful services can cleanly shutdown before the system halts.
DeltaFile
+27-6src/middlewared/middlewared/plugins/docker/state_management.py
+1-0src/freenas/etc/systemd/system/docker.service.d/override.conf
+28-62 files

LLVM/project 6fac9b1clang/include/clang/AST ASTStructuralEquivalence.h Attr.h, clang/lib/AST ASTStructuralEquivalence.cpp AttrImpl.cpp

[AST] Support structural equivalence checking of attributes on Decls (#168769)

The structural equivalence checker currently treats any explicit
attributes on a declaration as a reason to consider the declarations
non-equivalent in C23 mode, even when both declarations carry the same
attributes. This is unnecessarily strict and causes two otherwise
equivalent declarations to be rejected just because they carry
explicitly annotated attributes.

This patch enables TableGen to automatically generate attribute
equivalence checking functions. By default, two attributes are
considered equivalent if their normalized spellings match and all of
their arguments are equivalent. Attributes that require special handling
can provide a custom equivalence function (e.g., areAlignedAttrsEqual
for attribute Aligned).

The following attribute argument kinds currently always evaluate as
nonequivalent, since their equivalence checking has not yet been
implemented:

    [14 lines not shown]
DeltaFile
+400-23clang/test/C/C23/n3037.c
+106-38clang/lib/AST/ASTStructuralEquivalence.cpp
+82-0clang/lib/AST/AttrImpl.cpp
+75-0clang/utils/TableGen/ClangAttrEmitter.cpp
+27-0clang/include/clang/AST/ASTStructuralEquivalence.h
+4-0clang/include/clang/AST/Attr.h
+694-611 files not shown
+696-617 files

FreeBSD/src 5f53e65usr.sbin/makefs makefs.8

makefs.8: Cleanup man page

Reviewed by:    ziaee
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D54538

(cherry picked from commit 12c51484188f88bcabc5b38ca8523fcde76830a6)
DeltaFile
+5-4usr.sbin/makefs/makefs.8
+5-41 files

FreeBSD/src 2bcc556usr.sbin/makefs/msdos msdosfs_vfsops.c

makefs: Fix typo 's/mirrorring/mirroring/'

MFC after:      1 week

(cherry picked from commit 73af599fb7be6806b553ac6f470d76711b74286c)
DeltaFile
+1-1usr.sbin/makefs/msdos/msdosfs_vfsops.c
+1-11 files

FreeBSD/src 99d4a01usr.sbin/makefs/tests makefs_msdos_tests.sh makefs_ffs_tests.sh

makefs: tests: Fix timestamp-related tests

Use a variable for mtree that includes the DEFAULT_MTREE_KEYWORDS, in
order to avoid missing the important "time" keyword or passing an
unimplemented "nlink" keyword.

Unskip the "failing" tests, and comment out the specific failing checks,
these will be addressed (or at least discussed) in a different revision.

For MS-DOS tests, use an even value timestamp, as precision is 2s.

For ZFS tests, use import_image instead of mount_image consistently.

Reviewed by:    bnovkov, markj
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D54429

(cherry picked from commit 93b15dbc1fbc3c33c9bd53091b28c3b629d0abe1)
DeltaFile
+8-11usr.sbin/makefs/tests/makefs_msdos_tests.sh
+6-9usr.sbin/makefs/tests/makefs_ffs_tests.sh
+5-7usr.sbin/makefs/tests/makefs_cd9660_tests.sh
+5-7usr.sbin/makefs/tests/makefs_zfs_tests.sh
+1-0usr.sbin/makefs/tests/makefs_tests_common.sh
+25-345 files

FreeBSD/src b10369dusr.sbin/makefs/tests makefs_cd9660_tests.sh makefs_ffs_tests.sh

makefs: tests: Fix -D flag test

As stated in the manual page:

-F is almost certainly not the option you are looking for.  To
create an image from a list of files in an mtree format manifest,
specify it as the last argument on the command line, not as the
argument to -F.

This change does exactly that.  Also bug #192839 has already been fixed.

Reviewed by:    ngie
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D54428

(cherry picked from commit 96efda9cd55689ef3fa067281d8b0a42a7122536)
DeltaFile
+13-11usr.sbin/makefs/tests/makefs_cd9660_tests.sh
+13-11usr.sbin/makefs/tests/makefs_ffs_tests.sh
+8-0usr.sbin/makefs/tests/makefs_tests_common.sh
+34-223 files

LLVM/project 90f296allvm/lib/Object OffloadBundle.cpp, llvm/test/tools/llvm-readobj/MachO all.test

[llvm-readobj][offload] Fix llvm-readobj --all on MachO (#175912)

Currently running llvm-readobj --all on any MachO object asserts,
because it implies --offload, and the --offload extraction includes an
assert on the object format. Instead, we should be silently ignoring.

This regressed in https://github.com/llvm/llvm-project/pull/143342.

(cherry picked from commit 7abe5b73b57340f49778d69eb8ad0f8b701941ea)
DeltaFile
+34-0llvm/test/tools/llvm-readobj/MachO/all.test
+3-1llvm/lib/Object/OffloadBundle.cpp
+37-12 files

FreeBSD/src c0b56dbusr.sbin/makefs/tests makefs_cd9660_tests.sh makefs_tests_common.sh

makefs: tests: Cleanup and remove default flags

Cleanup and remove default atf_check flags for clarity.  The following
two lines are equivalent:

    atf_check $cmd
    atf_check -s exit:0 -e empty -o empty $cmd

Update the links to the reference documents.

Remove the D_flag_cleanup function, as common_cleanup() for these
particular set of tests does two things:

1. Unmount the md(4) device.
2. Destroy the md(4) device.

Essentially, one should only call common_cleanup() if the test body
invokes mount_image().  This is not the case for D_flag_body().


    [7 lines not shown]
DeltaFile
+58-89usr.sbin/makefs/tests/makefs_cd9660_tests.sh
+34-39usr.sbin/makefs/tests/makefs_tests_common.sh
+28-41usr.sbin/makefs/tests/makefs_zfs_tests.sh
+27-42usr.sbin/makefs/tests/makefs_ffs_tests.sh
+7-7usr.sbin/makefs/tests/makefs_msdos_tests.sh
+154-2185 files

FreeBSD/src 463c0b8usr.sbin/makefs/tests makefs_zfs_tests.sh

makefs: tests: Double the timeout of ZFS file_extend test

The test makefs_zfs_tests:file_extend is timing out on ci.freebsd.org.
Double the default timeout to allow it to finish.

Reported by:    Jenkins
Reviewed by:    asomers
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D54425

(cherry picked from commit 065f02174f76a49fbf537ee51ed8068d3d398b08)
DeltaFile
+6-0usr.sbin/makefs/tests/makefs_zfs_tests.sh
+6-01 files

FreeBSD/src f8b5a8ausr.sbin/makefs/tests makefs_zfs_tests.sh

makefs: tests: Double the timeout of ZFS compression test

The test makefs_zfs_tests:compression is timing out on ci.freebsd.org.
Double the default timeout to allow it to finish.

While here, check if the file exists before cleaning up, otherwise, cat
may fail.

Reported by:    Jenkins
Reviewed by:    asomers
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D54424

(cherry picked from commit 9f28e92637e9a29124f407b74d7665a921865a53)
DeltaFile
+16-6usr.sbin/makefs/tests/makefs_zfs_tests.sh
+16-61 files

FreeBSD/src 10a4af9usr.sbin/makefs/tests makefs_cd9660_tests.sh makefs_msdos_tests.sh

makefs/tests: Use require.kmods property instead of ad-hoc checks

Signed-off-by:  Siva Mahadevan <me at svmhdvn.name>
MFC after:      3 days
Sponsored by:   The FreeBSD Foundation
Pull Request:   https://github.com/freebsd/freebsd-src/pull/1870

(cherry picked from commit 2cd31bd8fa687922d2a571ae53456ecd2e9ba095)
DeltaFile
+0-19usr.sbin/makefs/tests/makefs_cd9660_tests.sh
+0-8usr.sbin/makefs/tests/makefs_msdos_tests.sh
+2-0usr.sbin/makefs/tests/Makefile
+2-273 files

LLVM/project 04c715allvm/lib/Target/X86 X86InstrCompiler.td, llvm/test/CodeGen/X86 replace-thunk-tail-win.ll

[X86] Fix TC_RETURN selection failure for Win+Thunk combination (#175977)

https://github.com/llvm/llvm-project/pull/158055 added a
IsNotWin64CCFunc predicate to these cases for reasons that are not super
clear to me, which causes selection failures as this combination is not
covered elsewhere.

Fixes https://github.com/llvm/llvm-project/issues/175965.

(cherry picked from commit 2789ad2b79b40494fa9f915e9661d63cd404c8cc)
DeltaFile
+19-0llvm/test/CodeGen/X86/replace-thunk-tail-win.ll
+2-2llvm/lib/Target/X86/X86InstrCompiler.td
+21-22 files

LLVM/project facab69llvm/lib/Target TargetLoweringObjectFile.cpp, llvm/test/CodeGen/AArch64 ptrauth-global-no-pic.ll ptrauth-irelative.ll

[PAC][ELF] Place AUTH constants in .data.rel.ro for position dependent code (#150418)

For AArch64 target machine, effective relocation model on Windows and
Darwin is always PIC, while for ELF targets Static is used when
DynamicNoPIC is requested (see `getEffectiveRelocModel` in
AArch64TargetMachine.cpp).

This resulted in using .rodata section for AUTH constants, which is
wrong since these are filled with AUTH dynamic relocs and require the
section to be writeable during dynamic relocation resolving.

This patch adds a check ensuring if the constant itself or one of the
nested constants are AUTH ones. If so, use .data.rel.ro section.

(cherry picked from commit 2bf35f32330d6a0cada403559cd84e659224515a)
DeltaFile
+53-0llvm/test/CodeGen/AArch64/ptrauth-global-no-pic.ll
+19-0llvm/lib/Target/TargetLoweringObjectFile.cpp
+8-8llvm/test/CodeGen/AArch64/ptrauth-irelative.ll
+80-83 files

FreeBSD/doc e941d90website/data/ru/news news.toml

website/ru: Update data/news/news.toml

Sync to EN 8a270ee683c8cd5befe768c9fe8f5a34b60e4cad
Add FRDP footer
DeltaFile
+11-1website/data/ru/news/news.toml
+11-11 files

LLVM/project c91ab61flang/docs OpenACC.md, flang/lib/Semantics resolve-directives.cpp

[flang][acc] Disallow duplicate variables in use_device clause (#176217)

Add a semantic check to detect when the same variable appears multiple
times in `use_device` clauses on the same `host_data` directive. While
the OpenACC specification does not explicitly prohibit this, allowing
duplicates is likely a user error and provides no additional semantics.

A similar restriction was already in place for `private`,
`firstprivate`, and `reduction` clauses on compute constructs. This
change extends that behavior to `use_device` on `host_data`.

Error message:
`'<var>' appears in more than one USE_DEVICE clause on the same
HOST_DATA directive`
DeltaFile
+31-0flang/lib/Semantics/resolve-directives.cpp
+8-0flang/test/Semantics/OpenACC/acc-host-data.f90
+6-0flang/docs/OpenACC.md
+45-03 files

LLVM/project 41dd36bclang/include/clang/CIR MissingFeatures.h, clang/lib/CIR/CodeGen CIRGenAsm.cpp CIRGenModule.cpp

[CIR] Implement codegen for inline assembly with output operands (#176006)

Part of: #153267

This is a continuation of: #154014

This patch handles output operands for inline assembly, taking the
original patch, but adding some additional tests, plus responding to all
of the original comments, plus doing some of my personal cleanup
(including extracting addVariableConstraints in a separate patch).

---------

Co-authored-by: Iris Shi <0.0 at owo.li>
DeltaFile
+301-8clang/lib/CIR/CodeGen/CIRGenAsm.cpp
+148-16clang/test/CIR/CodeGen/inline-asm.c
+20-0clang/lib/CIR/CodeGen/CIRGenModule.cpp
+16-0clang/lib/CIR/CodeGen/TargetInfo.h
+9-0clang/lib/CIR/CodeGen/CIRGenModule.h
+2-1clang/include/clang/CIR/MissingFeatures.h
+496-256 files

LLVM/project c49c7e7llvm/lib/Target/ARM ARMInstrThumb.td, llvm/test/CodeGen/ARM tldrlit_ga_size.mir

[ARM] Add size to `tLDRLIT_ga_pcrel|abs` Pseudo Instructions (#175663)

Compiling OpenSSL for Thumb was giving a crash in `ARMConstantIslands`
with error message: "underestimated function size". Adding a size for
`tLDRLIT_ga_pcrel` pseudo instruction fixes the issue. Also added a
size for `tLDRLIT_ga_abs` as per review comments.
DeltaFile
+77-0llvm/test/CodeGen/ARM/tldrlit_ga_size.mir
+6-2llvm/lib/Target/ARM/ARMInstrThumb.td
+83-22 files

FreeBSD/src ce8cd5detc/mtree BSD.debug.dist

mtree: debug: Add missing krb5 entries

Reviewed by:    ivy
Differential Revision:  https://reviews.freebsd.org/D54681
DeltaFile
+4-0etc/mtree/BSD.debug.dist
+4-01 files

LLVM/project 97576a8llvm/docs/CommandGuide llvm-readobj.rst llvm-readelf.rst, llvm/test/tools/llvm-readobj/ELF call-graph-info.test call-graph-info-warn-malformed.test

Revert "[llvm-readobj] Dump callgraph section info for ELF" (#176221)

Reverts llvm/llvm-project#157499

Following up on discourse post. Reverting this patch and will attempt a
reland addressing post merge comments.
DeltaFile
+0-521llvm/test/tools/llvm-readobj/ELF/call-graph-info.test
+0-366llvm/test/tools/llvm-readobj/ELF/call-graph-info-warn-malformed.test
+1-277llvm/tools/llvm-readobj/ELFDumper.cpp
+17-25llvm/docs/CommandGuide/llvm-readobj.rst
+4-12llvm/docs/CommandGuide/llvm-readelf.rst
+0-4llvm/tools/llvm-readobj/llvm-readobj.cpp
+22-1,2052 files not shown
+22-1,2078 files

FreeBSD/ports 531bc90editors/emacs-devel distinfo Makefile

editors/emacs-devel: Update to 2026-01-15 snapshot

Some new etc/NEWS items:
6d0d71de68c - New IELM option to insert newline when inside sexp (bug#80123)
9c1da99a850 - Optionally inhibit echo area progress reporting (bug#80198)
ea5d079e262 - Allow Ispell to save corrections as abbrevs
aa6e42f18b7 - Rename VC outgoing and incoming log commands to include "-root-"
785059a1f7a - Add frame identifiers (bug#80138)
bdd9acb6aa3 - hideshow: Reword documentation (bug#80116)
4e779d20f18 - Update cursor display using Xterm escape sequences
5b89d469656 - Bind 'apropos-user-option' to C-h u
c8d19034aa9 - Allow 'package-isolate' to fetch missing packages
881be95cddc - Allow reviewing packages before installation
d7fd87b403d - shadowfile.el uses eqhemeral buffer names now
8343ce6c529 - External Tramp methods can be used in multi-hops
48b80a1e2b9 - New function 'window-cursor-info'
51498a88cf9 - Add frame parameters 'cloned-from' and 'undeleted' (bug#80104)
ad500a13e41 - Compile queries in treesit-f-l-recompute-features (bug#80108)


    [2 lines not shown]
DeltaFile
+3-3editors/emacs-devel/distinfo
+2-2editors/emacs-devel/Makefile
+2-0editors/emacs-devel/pkg-plist
+7-53 files

LLVM/project 46f9b76lldb/include/lldb/Symbol SymbolFile.h SymbolFileOnDemand.h, lldb/source/Plugins/SymbolFile/Breakpad SymbolFileBreakpad.h SymbolFileBreakpad.cpp

[lldb][NFC] Make parameter const in SymbolFile::GetParameterStackSize (#176220)

DeltaFile
+2-1lldb/source/Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.h
+2-1lldb/include/lldb/Symbol/SymbolFile.h
+2-1lldb/include/lldb/Symbol/SymbolFileOnDemand.h
+1-1lldb/source/Symbol/SymbolFileOnDemand.cpp
+1-1lldb/source/Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.cpp
+8-55 files

LLVM/project 4049208llvm/lib/CodeGen/GlobalISel IRTranslator.cpp, llvm/lib/CodeGen/SelectionDAG FunctionLoweringInfo.cpp

[CodeGen] Check BlockAddress users before marking block as taken (#174480)

DeltaFile
+48-0llvm/test/CodeGen/AArch64/GlobalISel/blockaddress-stale-addresstaken.ll
+39-0llvm/test/CodeGen/X86/blockaddress-stale-addresstaken.ll
+9-2llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
+8-2llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
+4-4llvm/test/CodeGen/X86/speculative-load-hardening-indirect.ll
+108-85 files

LLVM/project e81ab30llvm/lib/Target/AArch64/GISel AArch64InstructionSelector.cpp, llvm/test/CodeGen/AArch64/GlobalISel select-unmerge.mir

[AArch64][GlobalISel] Fix selection of scalar-to-scalar G_UNMERGE_VALUES (#176223)

We can handle these FPR unmerges by treating them as pseudo-vectors of
the narrow element type.

Fixes #173722
DeltaFile
+124-0llvm/test/CodeGen/AArch64/GlobalISel/select-unmerge.mir
+5-5llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
+129-52 files

LLVM/project 5546ce9llvm/lib/Target/AMDGPU SIInstrInfo.cpp VOP1Instructions.td, llvm/test/CodeGen/AMDGPU imm16.ll fma.f16.ll

[AMDGPU] Allow 16-bit imm folding in real true16 (#173318)

DeltaFile
+127-268llvm/test/CodeGen/AMDGPU/imm16.ll
+15-1llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
+6-6llvm/test/CodeGen/AMDGPU/fma.f16.ll
+4-4llvm/test/CodeGen/AMDGPU/llvm.fmuladd.f16.ll
+2-2llvm/test/CodeGen/AMDGPU/br_cc.f16.ll
+1-1llvm/lib/Target/AMDGPU/VOP1Instructions.td
+155-2826 files

FreeNAS/freenas 44ae74csrc/middlewared/middlewared/api/v26_04_0 zfs_resource_snapshot.py, src/middlewared/middlewared/plugins/apps upgrade.py

Make all `zfs.resource.snapshot` calls type-safe
DeltaFile
+117-140src/middlewared/middlewared/plugins/zfs/snapshot_crud.py
+39-30src/middlewared/middlewared/plugins/pool_/snapshot.py
+36-9src/middlewared/middlewared/api/v26_04_0/zfs_resource_snapshot.py
+17-16src/middlewared/middlewared/plugins/apps/upgrade.py
+17-12src/middlewared/middlewared/plugins/docker/migrate.py
+17-7src/middlewared/middlewared/plugins/vm/clone.py
+243-21419 files not shown
+331-27425 files