LLVM/project ffdaf85lld/ELF BPSectionOrderer.cpp, lld/test/ELF bp-section-orderer.s

[lld][ELF] filter out section symbols when use BP reorder (#151685)

When using Temporal Profiling with the BP algorithm, we encounter an
issue with the internal function reorder. In cases where the symbol
table contains entries like:
```
Symbol table '.symtab' contains 45 entries:
   Num:    Value          Size Type    Bind   Vis       Ndx Name
    10: 0000000000000000     0 SECTION LOCAL  DEFAULT    18 .text.L1
    11: 0000000000000000    24 FUNC    LOCAL  DEFAULT    18 L1
````
The zero-sized section symbol .text.L1 gets stored in the secToSym map
first. However, when the function lookup searches for L1 (as seen in
[BPSectionOrdererBase.inc:191](https://github.com/llvm/llvm-project/blob/main/lld/include/lld/Common/BPSectionOrdererBase.inc#L191)),
it fails to find the correct entry in rootSymbolToSectionIdxs because
the section symbol has already claimed that slot.
This patch fixes the issue by skipping zero-sized symbols during the
addSections process, ensuring that function symbols are properly
registered for lookup.
DeltaFile
+67-23lld/test/ELF/bp-section-orderer.s
+6-4lld/ELF/BPSectionOrderer.cpp
+73-272 files

LLVM/project b9ca01bllvm/lib/Target/RISCV/Disassembler RISCVDisassembler.cpp

[RISCV] Move the decoder table for XCV, Xqci and XRivos from standard section to vendor section. NFC
DeltaFile
+3-3llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
+3-31 files

FreeBSD/ports 1eb4ce7astro/py-sunpy distinfo Makefile

astro/py-sunpy: Update to 7.0.1
DeltaFile
+3-3astro/py-sunpy/distinfo
+1-1astro/py-sunpy/Makefile
+4-42 files

LLVM/project 3769ce0llvm/lib/Target/RISCV/MCTargetDesc RISCVAsmBackend.cpp, llvm/test/MC/RISCV align.s cfi-advance.s

MC: Refine ALIGN relocation conditions

Each section now tracks the index of the first linker-relaxable
fragment, enabling two changes:

* Delete redundant ALIGN relocations before the first linker-relaxable
  instruction in a section. The primary example is the offset 0
  R_RISCV_ALIGN relocation for a text section aligned by 4.
* For alignments larger than the NOP size after the first
  linker-relaxable instruction, ALIGN relocations are now generated, even in
  norelax regions. This fixes the issue #150159.

The new test llvm/test/MC/RISCV/Relocations/align-after-relax.s
verifies the required ALIGN in a norelax region following
linker-relaxable instructions.
By using a fragment index within the subsection (which is less than or
equal to the section's index), the implementation may generate redundant
ALIGN relocations in lower-numbered subsections before the first
linker-relaxable instruction.

    [30 lines not shown]
DeltaFile
+50-0llvm/test/MC/RISCV/Relocations/align-after-relax.s
+18-27llvm/test/MC/RISCV/align.s
+22-8llvm/lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.cpp
+15-13llvm/test/MC/RISCV/cfi-advance.s
+18-5llvm/test/MC/RISCV/align-option-relax.s
+23-0llvm/test/MC/RISCV/Relocations/align-norvc.s
+146-538 files not shown
+172-8514 files

LLVM/project c9f3a70llvm/include/llvm/TextAPI Architecture.def, llvm/unittests/TextAPI TextStubV5Tests.cpp

[TextAPI] Add riscv32 as a supported arch (#152619)

DeltaFile
+27-0llvm/unittests/TextAPI/TextStubV5Tests.cpp
+5-0llvm/include/llvm/TextAPI/Architecture.def
+32-02 files

LLVM/project 05dd957llvm/lib/Analysis DependenceAnalysis.cpp, llvm/test/Analysis/DDG basic-loopnest.ll

[DA] Fix the check between Subscript and Size after delinearization (#151326)

Delinearization provides two values: the size of the array, and the
subscript of the access. DA checks their validity (`0 <= subscript <
size`), with some special handling. In particular, to ensure `subscript
< size`, calculate the maximum value of `subscript - size` and check if
it is negative. There was an issue in its process: when `subscript -
size` is expressed as an affine format like `init + step * i`, the value
in the last iteration (`start + step * (num_iterations - 1)`) was
assumed to be the maximum value. This assumption is incorrect in the
following cases:

- When `step` is negative
- When the AddRec wraps

This patch introduces extra checks to ensure the sign of `step` and
verify the existence of nsw/nuw flags.

Also, `isKnownNonNegative(S - smax(1, Size))` was used as a regular

    [5 lines not shown]
DeltaFile
+82-3llvm/test/Analysis/DependenceAnalysis/DADelin.ll
+25-12llvm/lib/Analysis/DependenceAnalysis.cpp
+4-1llvm/test/Analysis/DDG/basic-loopnest.ll
+3-1llvm/test/Analysis/DependenceAnalysis/Coupled.ll
+114-174 files

LLVM/project af05428.ci generate_test_report_lib_test.py generate_test_report_lib.py

[𝘀𝗽𝗿] initial version

Created using spr 1.3.6
DeltaFile
+274-5.ci/generate_test_report_lib_test.py
+132-21.ci/generate_test_report_lib.py
+4-2.ci/generate_test_report_github.py
+2-1.ci/utils.sh
+412-294 files

LLVM/project af808e6.ci generate_test_report_lib_test.py generate_test_report_lib.py

[𝘀𝗽𝗿] changes to main this commit is based on

Created using spr 1.3.6

[skip ci]
DeltaFile
+212-5.ci/generate_test_report_lib_test.py
+118-17.ci/generate_test_report_lib.py
+330-222 files

LLVM/project 530b3fa.ci generate_test_report_lib_test.py generate_test_report_lib.py

[𝘀𝗽𝗿] initial version

Created using spr 1.3.6
DeltaFile
+212-5.ci/generate_test_report_lib_test.py
+118-17.ci/generate_test_report_lib.py
+330-222 files

LLVM/project 27c5ba3.ci generate_test_report_lib_test.py generate_test_report_lib.py

[𝘀𝗽𝗿] changes to main this commit is based on

Created using spr 1.3.6

[skip ci]
DeltaFile
+107-0.ci/generate_test_report_lib_test.py
+51-0.ci/generate_test_report_lib.py
+158-02 files

LLVM/project a33c377.ci generate_test_report_lib_test.py generate_test_report_lib.py

[𝘀𝗽𝗿] initial version

Created using spr 1.3.6
DeltaFile
+107-0.ci/generate_test_report_lib_test.py
+51-0.ci/generate_test_report_lib.py
+158-02 files

FreeBSD/doc adee2b7website/content/en/releases/14.2R errata.adoc, website/content/en/releases/14.3R errata.adoc

Add errata affecting 14.2R and 14.3R

FreeBSD-EN-25:12.efi affects 14.3R
FreeBSD-EN-25:13.wlan_tkip affects 14.3R
FreeBSD-EN-25:14.route affects 14.2R and 14.3R
DeltaFile
+3-0website/content/en/releases/14.3R/errata.adoc
+1-0website/content/en/releases/14.2R/errata.adoc
+4-02 files

FreeBSD/doc 0b2b1c6website/content/en/releases/13.5R errata.adoc, website/content/en/releases/14.2R errata.adoc

Add security advisory affecting 13.5R, 14.2R and 14.3R

FreeBSD-SA-25:07.libarchive affects all supported releases
DeltaFile
+1-3website/content/en/releases/14.3R/errata.adoc
+1-0website/content/en/releases/14.2R/errata.adoc
+1-0website/content/en/releases/13.5R/errata.adoc
+3-33 files

LLVM/project 9fbe3b6llvm/test/Analysis/CostModel/ARM cast.ll cast_ldst.ll, llvm/test/CodeGen/AMDGPU load-global-i8.ll

rebase

Created using spr 1.3.5-bogner
DeltaFile
+10,298-0llvm/test/CodeGen/Xtensa/atomic-rmw.ll
+2,025-3,649llvm/test/Analysis/CostModel/ARM/cast.ll
+1,525-2,819llvm/test/Analysis/CostModel/ARM/cast_ldst.ll
+3,001-1,193llvm/test/CodeGen/AMDGPU/load-global-i8.ll
+3,413-0llvm/test/MC/AMDGPU/gfx1250_asm_vop3cx.s
+3,413-0llvm/test/MC/Disassembler/AMDGPU/gfx1250_dasm_vop3cx.txt
+23,675-7,6612,133 files not shown
+137,026-47,7692,139 files

FreeBSD/ports ab46eb7security/vuxml/vuln 2025.xml

security/vuxml: add FreeBSD SA issued on 2025-08-08

FreeBSD-SA-25:07.libarchive affects all supported versions of FreeBSD.
DeltaFile
+31-0security/vuxml/vuln/2025.xml
+31-01 files

FreeBSD/src 49eba35. RELNOTES

RELNOTES: Add an entry for COPY_FILE_RANGE_CLONE
DeltaFile
+6-0RELNOTES
+6-01 files

FreeBSD/doc e546c17website/static/security/advisories FreeBSD-SA-25:07.libarchive.asc FreeBSD-EN-25:14.route.asc, website/static/security/patches/EN-25:12 efi.patch

Add EN-25:12 through EN-25:14 and SA-25:07.

Approved by:    so
DeltaFile
+38,022-0website/static/security/patches/SA-25:07/libarchive.patch
+136-0website/static/security/advisories/FreeBSD-SA-25:07.libarchive.asc
+133-0website/static/security/advisories/FreeBSD-EN-25:14.route.asc
+131-0website/static/security/advisories/FreeBSD-EN-25:13.wlan_tkip.asc
+130-0website/static/security/advisories/FreeBSD-EN-25:12.efi.asc
+59-0website/static/security/patches/EN-25:12/efi.patch
+38,611-08 files not shown
+38,714-014 files

FreeBSD/src 37b2cb5sys/fs/fuse fuse_vnops.c, sys/kern vfs_vnops.c vfs_syscalls.c

vfs: Add support for file cloning to VOP_COPY_FILE_RANGE

NFSv4 has a separate CLONE operation from COPY with
a couple of semantics differences. Unlike COPY, CLONE
must complete the "copy on write" and cannot return
partially copied. It also is required to use offsets (and
the length if not to EOF) that are aligned to a buffer
boundary.

Since VOP_COPY_FILE_RANGE() can already do "copy on write"
for file systems that support it, such as ZFS with block
cloning enabled, all this patch does is add a flag called
COPY_FILE_RANGE_CLONE so that it will conform to the
rule that it must do a "copy on write" to completion.

The patch also adds a new pathconf(2) name _PC_CLONE_BLKSIZE,
which acquires the blocksize requirement for cloning and
returns 0 for file systems that do not support the
"copy on write" feature. (This is needed for the NFSv4.2

    [7 lines not shown]
DeltaFile
+13-4sys/sys/vnode.h
+5-0sys/kern/vfs_vnops.c
+3-0sys/fs/fuse/fuse_vnops.c
+1-1sys/kern/vfs_syscalls.c
+1-0sys/kern/vfs_default.c
+1-0sys/sys/unistd.h
+24-56 files

LLVM/project 1458eb2libclc/clc/include/clc/shared binary_decl_with_scalar_second_arg.inc

[NFC][libclc] Delete unused clc/shared/binary_decl_with_scalar_second_arg.inc (#152463)

DeltaFile
+0-15libclc/clc/include/clc/shared/binary_decl_with_scalar_second_arg.inc
+0-151 files

FreeBSD/ports 52bac24www/py-django52 distinfo Makefile

www/py-django52: Update to 5.2.5
DeltaFile
+3-3www/py-django52/distinfo
+1-1www/py-django52/Makefile
+4-42 files

LLVM/project 4394a0cflang/lib/Evaluate tools.cpp, flang/test/Lower/CUDA cuda-data-transfer.cuf

[flang][cuda] Fix detection of implicit data transfer with a global (#152604)

DeltaFile
+18-0flang/test/Lower/CUDA/cuda-data-transfer.cuf
+1-1flang/lib/Evaluate/tools.cpp
+19-12 files

FreeBSD/ports 72a5799devel/electron36 distinfo Makefile.version, devel/electron36/files patch-electron_shell_browser_native__window__views.cc patch-electron_shell_browser_api_electron__api__web__contents.cc

devel/electron36: update to 36.7.4

Changelog: https://github.com/electron/electron/releases/tag/v36.7.4

Reported by:    GitHub (watch releases)
DeltaFile
+21-21devel/electron36/files/patch-electron_shell_browser_native__window__views.cc
+5-5devel/electron36/distinfo
+5-5devel/electron36/files/patch-electron_shell_browser_api_electron__api__web__contents.cc
+2-2devel/electron36/files/patch-electron_shell_browser_native__window__views.h
+1-1devel/electron36/Makefile.version
+0-1devel/electron36/Makefile
+34-356 files

FreeBSD/src 23bc592. UPDATING, sys/conf newvers.sh

Add UPDATING entries and bump version.

Approved by:    so
DeltaFile
+6-0UPDATING
+1-1sys/conf/newvers.sh
+7-12 files

FreeBSD/src 0781dd1. UPDATING, sys/conf newvers.sh

Add UPDATING entries and bump version.

Approved by:    so
DeltaFile
+10-0UPDATING
+1-1sys/conf/newvers.sh
+11-12 files

FreeBSD/doc 78d5245website/content/en/releases/15.0R schedule.adoc

15.0: On schedule

The code slush has started.

Approved by:    re (implicit)
DeltaFile
+1-1website/content/en/releases/15.0R/schedule.adoc
+1-11 files

FreeBSD/src 5982521. UPDATING, sys/conf newvers.sh

Add UPDATING entries and bump version.

Approved by:    so
DeltaFile
+16-0UPDATING
+1-1sys/conf/newvers.sh
+17-12 files

FreeBSD/src e4c0ecbsys/conf newvers.sh

15.0: Update main to -PRERELEASE

This marks the start of the FreeBSD 15.0 release cycle; the tree is now
in "code slush".

Developers are encouraged to prioritize fixing bugs over adding new
featuresa t this time.  Commit approval from re@ is not required but
if new features introduce problems they may be removed from the
upcoming release.

Approved by:    re (implicit)
DeltaFile
+1-1sys/conf/newvers.sh
+1-11 files

HardenedBSD/src f95d935sys/kgssapi gss_accept_sec_context.c gss_init_sec_context.c, sys/riscv/starfive jh7110_pcie.c jh7110_gpio.c

Merge remote-tracking branch 'origin/hardened/current/master' into hardened/current/cross-dso-cfi
DeltaFile
+1,025-0sys/riscv/starfive/jh7110_pcie.c
+474-32usr.sbin/gssd/gssd.c
+367-0sys/riscv/starfive/jh7110_gpio.c
+144-1sys/kgssapi/gss_accept_sec_context.c
+144-1sys/kgssapi/gss_init_sec_context.c
+93-29sys/rpc/rpcsec_gss/svc_rpcsec_gss.c
+2,247-6378 files not shown
+2,919-37884 files

HardenedBSD/src dddb900sys/kgssapi gss_init_sec_context.c gss_accept_sec_context.c, sys/riscv/starfive jh7110_pcie.c jh7110_gpio.c

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+1,025-0sys/riscv/starfive/jh7110_pcie.c
+471-32usr.sbin/gssd/gssd.c
+367-0sys/riscv/starfive/jh7110_gpio.c
+144-1sys/kgssapi/gss_init_sec_context.c
+144-1sys/kgssapi/gss_accept_sec_context.c
+93-29sys/rpc/rpcsec_gss/svc_rpcsec_gss.c
+2,244-6329 files not shown
+2,651-19035 files

HardenedBSD/ports 5caabb4devel/api-linter distinfo, devel/bstring Makefile pkg-descr

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+36-0lang/fpc-devel/pkg-plist
+23-0net/gerbera/files/patch-CMakeLists.txt
+13-5devel/bstring/Makefile
+2-10devel/bstring/pkg-descr
+1-9x11/xscreensaver/files/patch-driver_XScreenSaver.ad.in
+5-5devel/api-linter/distinfo
+80-2937 files not shown
+185-12743 files