OpenZFS/src 0467ba0. SECURITY.md .gitignore

Add SECURITY.md policy file

Add a basic SECURITY.md file to establish the repository's security
reporting policy.  Includes guidance for reporting security issues
and what to expect.

Reviewed-by: Allan Jude <allan at klarasystems.com>
Reviewed-by: George Melikov <mail at gmelikov.ru>
Signed-off-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Closes #18766
DeltaFile
+29-0SECURITY.md
+1-0.gitignore
+30-02 files

FreeBSD/ports 42b098cdevel Makefile, devel/perfetto Makefile distinfo

devel/perfetto: new port

thj@ and adrian@ did all of the underlying FreeBSD-specific
porting work and testing. I helped with creating the Ports
tree Makefile.

Co-authored-by:         Tom Jones <thj at FreeBSD.org>
Co-authored-by:         Adrian Chadd <adrian at FreeBSD.org>
Differential Revision:  https://reviews.freebsd.org/D56762
DeltaFile
+71-0devel/perfetto/Makefile
+25-0devel/perfetto/distinfo
+10-0devel/perfetto/files/patch-tools_gen__c__protos
+10-0devel/perfetto/pkg-plist
+6-0devel/perfetto/pkg-descr
+1-0devel/Makefile
+123-06 files

LLVM/project 470e52cllvm/lib/Target/PowerPC PPCFrameLowering.cpp

[PowerPC] Use INT64_MAX instead of LONG_MAX. (#208249)

The value of LONG_MAX is dependent on the host environment used to build
the compiler. For example, X86-64 Windows has a different value than
X86-64 Linux. Using LONG_MAX would give inconsistent results when cross
compiling.
DeltaFile
+2-2llvm/lib/Target/PowerPC/PPCFrameLowering.cpp
+2-21 files

LLVM/project 69e2ec6utils/docs/llvm_sphinx __init__.py

[docs] Enable colon_fence myst extension, fix admonitions (#208322)

The colon_fence myst extension enables triple-colon fences for
admonitions, as in:

:::{note}
**Regular** _markdown_ text, not code.
:::

Using triple colon fences for admonition blocks helps markdown editors
treat the body as markdown text, rather than fixed-width code with a
syntax highlight.

This change fixes a live doc bug in MyFirstTypoFix.md, which uses this
admonition style:
https://llvm.org/docs/MyFirstTypoFix.html

Currently ":::{note} The code changes presented" leaks through in the
HTML, and this one line change fixes it.
DeltaFile
+1-1utils/docs/llvm_sphinx/__init__.py
+1-11 files

LLVM/project 0bd936ebolt/include/bolt/Core BinaryFunction.h, bolt/lib/Core BinaryFunction.cpp

[BOLT] Register PIE indirect goto relocations (#206819)

PIE binaries use R_*_RELATIVE dynamic relocations for indirect goto jump
tables. BOLT creates entry points for their targets but does not mark
these addresses as targets from data relocations, so indirect jumps with
unknown control flow (which originates from indirect goto) have no CFG
successors and are interpreted as potential tail calls, while the jump
targets are incorrectly identified as additional entry points.

Add these offsets to the function's list of non-entry relocation
references instead of marking them as entry points. Extend relocation
rewriting to also check whether a block is externally referenced. This
mirrors behavior of data-to-code relocations in non-pie binaries.
DeltaFile
+16-7bolt/lib/Rewrite/RewriteInstance.cpp
+9-10bolt/test/AArch64/computed-goto.s
+8-6bolt/test/indirect-goto-relocs.test
+6-0bolt/include/bolt/Core/BinaryFunction.h
+6-0bolt/test/X86/indirect-goto.test
+5-1bolt/lib/Core/BinaryFunction.cpp
+50-246 files

NetBSD/pkgsrc-wip 8800f0bp5-Imager distinfo Makefile

p5-Imager: update to 1.033.

Imager 1.033 - 7 July 2026
============

 - fix mishandling of large EXIF IFD entry count values, treating them
   as negative numbers.  This could lead to an attempt to allocate a
   block nearly the size of the address space, which fails and causes
   an exit.  Such counts are now treated as unsigned and caught either
   when the multiplication result is checked, or when the end of the
   IFD referenced memory is outside the EXIF block.
   Thanks to cpan-security.
   CVE-2026-14454

 - JPEG: depend on Imager 1.033 for the EXIF fix.

 - fix a thread context object reference count leak in the bumpmap and
   bumpmap_complex filters.


    [2 lines not shown]
DeltaFile
+3-3p5-Imager/distinfo
+1-1p5-Imager/Makefile
+4-42 files

LLVM/project 790fbc8mlir/include/mlir/Dialect/OpenACC OpenACCOps.td, mlir/test/Dialect/OpenACC ops.mlir

[mlir][acc] Add acc.on_device op (#208096)

Add an operation to represent the runtime call to acc_on_device.

This runtime call is important to fold early in the compilation pipeline
and having an operation allows us to easily recognize it when emitted by
frontends.
DeltaFile
+27-0mlir/include/mlir/Dialect/OpenACC/OpenACCOps.td
+12-0mlir/test/Dialect/OpenACC/ops.mlir
+39-02 files

LLVM/project 4ae0064mlir/lib/Dialect/OpenACC/Transforms ACCSpecializeForDevice.cpp

remove unused struct
DeltaFile
+0-7mlir/lib/Dialect/OpenACC/Transforms/ACCSpecializeForDevice.cpp
+0-71 files

FreeBSD/src 750d429sys/kern vfs_cache.c

vfs cache: further massage some commentary
DeltaFile
+13-5sys/kern/vfs_cache.c
+13-51 files

LLVM/project 362cd64llvm/lib/Transforms/Scalar SimpleLoopUnswitch.cpp, llvm/test/Transforms/SimpleLoopUnswitch trivial-unswitch-convergent.ll

[SimpleLoopUnswitch] Don't latch-redirect trivial unswitch across convergent ops (#207047)

The trivial-unswitch case added in #204934 can redirect a loop-invariant
branch's latch edge to the loop exit, turning it into an exit branch
that then gets hoisted to the preheader. That changes how many
iterations (and, on GPUs, which lanes) execute the loop body.

When the loop contains a convergent operation that runs each iteration,
hoisting the branch lets one (possibly non-uniform) path bypass the loop
entirely and skip the convergent op. Concretely, this miscompiles an
AMDGPU warp reduction (llvm.amdgcn.update.dpp): lanes drop out of the
cross-lane shuffle, so block reductions come back with partial results.

Guard the new latch-redirect transform with the same convergent /
cross-block-token check that isSafeForNonTrivialUnswitching already
applies (refactored into a shared loopContainsConvergentOrTokenOp
helper). Adds a target-independent lit test that fails before this
change and passes after.

Co-authored-by: Claude Opus
DeltaFile
+84-0llvm/test/Transforms/SimpleLoopUnswitch/trivial-unswitch-convergent.ll
+15-5llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
+99-52 files

LLVM/project b8cc845utils/bazel/llvm-project-overlay/llvm config.bzl

[bazel] Correct config.h definitions for musl (#207295)

The Bazel overlay encodes several configure-time config.h results
manually. It currently treats all Linux platforms as having
execinfo.h/backtrace() and mallinfo(). That matches glibc, but is false
when the build is configured for musl libc.

The upstream .bazelrc provides --config=hermetic-toolchain. A musl build
can be selected by pairing that with the platform labels from the
external Bazel module named llvm, for example:

  bazel build --config=hermetic-toolchain \
    --platforms=@llvm//platforms:linux_x86_64_musl \
    --extra_execution_platforms=@llvm//toolchain:linux_x86_64_platform \
    @llvm-project//llvm:not

Only define HAVE_BACKTRACE/BACKTRACE_HEADER when not targeting musl, and
only define HAVE_MALLINFO for GNU libc. With the old definitions, this
fails in LLVM Support, e.g.:

    [5 lines not shown]
DeltaFile
+15-4utils/bazel/llvm-project-overlay/llvm/config.bzl
+15-41 files

LLVM/project e6b0517llvm/test/Transforms/IndVarSimplify eliminate-max-from-min-exit.ll, llvm/test/Transforms/LoopVectorize single-early-exit-deref-assumptions.ll

[LV,IndVars] Add tests for missed SCEV min/max reasoning (NFC) (#208314)

Add extra tests for missed SCEV min/max reasoning, including 
https://github.com/llvm/llvm-project/pull/204083.
DeltaFile
+164-0llvm/test/Transforms/LoopVectorize/single-early-exit-deref-assumptions.ll
+160-0llvm/test/Transforms/IndVarSimplify/eliminate-max-from-min-exit.ll
+324-02 files

FreeBSD/ports 25fdff6security/vuxml/vuln 2026.xml

security/vuxml: Document libXfont2 vulnerabilities

Sponsored by:   tipi.work
DeltaFile
+29-0security/vuxml/vuln/2026.xml
+29-01 files

LLVM/project 482013eclang/docs UsersManual.md StandardCPlusPlusModules.md

[docs] Convert selected rst docs with rst2myst
DeltaFile
+2,637-2,453clang/docs/UsersManual.md
+1,466-1,537clang/docs/StandardCPlusPlusModules.md
+568-701clang/docs/PointerAuthentication.md
+482-521clang/docs/HIPSupport.md
+550-444clang/docs/Modules.md
+231-612clang/docs/OpenMPSupport.md
+5,934-6,26814 files not shown
+7,523-8,02320 files

LLVM/project 70a9894clang/docs UsersManual.md UsersManual.rst

[docs] Rename selected Clang docs to Markdown
DeltaFile
+6,268-0clang/docs/UsersManual.md
+0-6,268clang/docs/UsersManual.rst
+2,512-0clang/docs/StandardCPlusPlusModules.md
+0-2,512clang/docs/StandardCPlusPlusModules.rst
+0-1,729clang/docs/PointerAuthentication.rst
+1,729-0clang/docs/PointerAuthentication.md
+10,509-10,50938 files not shown
+17,194-17,19544 files

LLVM/project d969b55clang/docs OpenMPSupport.md PointerAuthentication.md

[docs] Finish MyST migration for selected docs
DeltaFile
+83-3clang/docs/OpenMPSupport.md
+22-22clang/docs/PointerAuthentication.md
+27-11clang/docs/UsersManual.md
+10-15clang/docs/MisExpect.md
+10-2clang/docs/OpenCLSupport.md
+4-5clang/docs/StandardCPlusPlusModules.md
+156-5811 files not shown
+173-8717 files

LLVM/project 2ba7a61clang/lib/Sema SemaTemplateInstantiate.cpp SemaTemplateInstantiateDecl.cpp, llvm/docs LangRef.rst LangRef.md

Merge branch 'main' of https://github.com/llvm/llvm-project into revert-191268-feat/104057
DeltaFile
+0-33,233llvm/docs/LangRef.rst
+30,305-0llvm/docs/LangRef.md
+0-2,759llvm/test/CodeGen/AMDGPU/memory-legalizer-single-wave-workgroup-memops.ll
+496-176llvm/test/CodeGen/AMDGPU/global-saddr-atomics.ll
+194-429clang/lib/Sema/SemaTemplateInstantiate.cpp
+301-165clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
+31,296-36,762118 files not shown
+34,081-38,222124 files

LLVM/project ea0b237utils/docs/llvm_sphinx __init__.py

[docs] Enable colon_fence myst extension, fix admonitions

The colon_fence myst extension enables triple-colon fences for
admonitions, as in:

:::{note}
**Regular** _markdown_ text, not code.
:::

Using triple colon fences for admonition blocks helps markdown editors
treat the body as markdown text, rather than fixed-width code with a
syntax highlight.

This change fixes a live doc bug in MyFirstTypoFix.md, which uses this
admonition style:
https://llvm.org/docs/MyFirstTypoFix.html

Currently ":::{note} The code changes presented" leaks through in the
HTML, and this one line change fixes it.
DeltaFile
+1-1utils/docs/llvm_sphinx/__init__.py
+1-11 files

LLVM/project a56885allvm/lib/Target/Hexagon HexagonRegisterInfo.td, llvm/test/CodeGen/Hexagon pr183850.ll

[Hexagon] Drop artificial VF sub-registers from W0-W15 (PR183850) (#208260)

Declaring VF0-VF15 as an artificial (vsub_fake) third sub-register of
W0-W15 caused MachineCopyPropagation to associate DBG_VALUEs of $wN with
unrelated $vM COPYs via reg-unit overlap, tripping the
hasDebugOperandForReg assertion in updateDbgUsersToReg.

Remove the fake sub-register from W0-W15. The reverse-alias WR0-WR15
keep vsub_fake intentionally.
DeltaFile
+152-0llvm/test/CodeGen/Hexagon/pr183850.ll
+23-17llvm/lib/Target/Hexagon/HexagonRegisterInfo.td
+175-172 files

LLVM/project f550160flang/lib/Lower OpenACC.cpp, flang/test/Lower/OpenACC locations.f90

[flang][OpenACC] Attach `OpenACCLoopLocAttr` to `acc.loop` op (#208238)

Introduce an attribute `OpenACCLoopLocAttr` that can be attached to an
`acc.loop` operation to record loop locations and directive location
separately.

Attach it to `acc.loop` when building the op in flang.
DeltaFile
+23-7flang/lib/Lower/OpenACC.cpp
+19-4flang/test/Lower/OpenACC/locations.f90
+9-0mlir/include/mlir/Dialect/OpenACC/OpenACCOps.td
+51-113 files

FreeBSD/src 665bb2dcontrib/tzdata africa northamerica

contrib/tzdata: import tzdata 2026c

Changes: https://github.com/eggert/tz/blob/2026c/NEWS

MFC after:      3 days
DeltaFile
+32-159contrib/tzdata/africa
+107-14contrib/tzdata/northamerica
+71-8contrib/tzdata/NEWS
+17-28contrib/tzdata/Makefile
+14-7contrib/tzdata/europe
+9-9contrib/tzdata/theory.html
+250-2258 files not shown
+272-24414 files

LLVM/project 843b0f5clang/lib/Driver/ToolChains AMDGPU.cpp, clang/test/Driver amdgpu-openmp-gpu-max-threads-per-block.c

clang/AMDGPU: Remove driver restriction on --gpu-max-threads-per-block

Previously this flag was only handled for HIP, and would produce an unused
argument warning. There is a custom warning produced by cc1 that the
argument isn't supported, but practically speaking that was unreachable
due to not forwarding the argument. Also add a test for the untested warning.
Also use a simpler method for forwarding the flag to cc1.
DeltaFile
+14-0clang/test/Frontend/openmp-warn-gpu-max-threads-per-block.c
+2-8clang/lib/Driver/ToolChains/AMDGPU.cpp
+6-0clang/test/Driver/amdgpu-openmp-gpu-max-threads-per-block.c
+22-83 files

LLVM/project 78a7560clang/include/clang/Driver CommonArgs.h, clang/lib/Driver/ToolChains CommonArgs.cpp AMDGPU.cpp

clang/AMDGPU: Fix double linking opencl libs with --libclc-lib

Noticed by inspection. If using an explicit --libclc-lib flag,
do not attempt to also link the rocm device libs which will contain
different implementations of the same opencl symbols.

Co-Authored-By: Claude <noreply at anthropic.com>
DeltaFile
+8-7clang/lib/Driver/ToolChains/CommonArgs.cpp
+9-0clang/test/Driver/opencl-libclc.cl
+5-1clang/include/clang/Driver/CommonArgs.h
+2-1clang/lib/Driver/ToolChains/AMDGPU.cpp
+24-94 files

LLVM/project e36ae6bclang/lib/Driver/ToolChains AMDGPU.cpp HIPAMD.cpp

clang/AMDGPU: Merge toolchain subclasses

Simplify the toolchain implementations by collapsing
them into one. Previously we had a confusing split. The
AMDGPUToolChain base class implemented much of the base
support. It was subclassed by ROCMToolChain, which would
have been more accurately described as the offloading subclass.

That was further subclassed into HIP and OpenMP specific subclasses.
Deleting those two is the important part of this change. There was
code duplication, and features arbitrarily handled in one but not
the other. The offload kind is passed in almost everywhere if you
really need to know the original language. However, I consider
this an antifeature, and it is really poor QoI to have the HIP
and OpenMP toolchains behave differently in any way. The platform
should be consistent and the driver behaviors should not depend
on the language.

There is additional mess in the handling of spirv, which this

    [9 lines not shown]
DeltaFile
+281-125clang/lib/Driver/ToolChains/AMDGPU.cpp
+2-211clang/lib/Driver/ToolChains/HIPAMD.cpp
+0-94clang/lib/Driver/ToolChains/AMDGPUOpenMP.cpp
+53-23clang/lib/Driver/ToolChains/AMDGPU.h
+0-68clang/lib/Driver/ToolChains/AMDGPUOpenMP.h
+1-55clang/lib/Driver/ToolChains/HIPAMD.h
+337-5764 files not shown
+362-59110 files

FreeBSD/src dd6fd39. africa northamerica

Import tzdata 2026c
DeltaFile
+32-159africa
+107-14northamerica
+71-8NEWS
+17-28Makefile
+14-7europe
+9-9theory.html
+250-2258 files not shown
+272-24414 files

LLVM/project 41c4167llvm/docs AMDGPUUsage.rst, llvm/lib/Target/AMDGPU SIMemoryLegalizer.cpp

Revert "[AMDGPU] Use wavefront scope for single-wave workgroup synchronization (#187673)" (#208280)

This reverts commit ebc56070eb8d25c8dc73a2e97caaeb4db0f7c9fa.

Revert justified by correctness issues around DMA operations as seen in
https://github.com/llvm/llvm-project/pull/207473 .
DeltaFile
+0-2,759llvm/test/CodeGen/AMDGPU/memory-legalizer-single-wave-workgroup-memops.ll
+496-176llvm/test/CodeGen/AMDGPU/global-saddr-atomics.ll
+104-80llvm/test/CodeGen/AMDGPU/flat-saddr-atomics.ll
+8-26llvm/lib/Target/AMDGPU/SIMemoryLegalizer.cpp
+0-12llvm/docs/AMDGPUUsage.rst
+3-3llvm/test/CodeGen/AMDGPU/llvm.amdgcn.load.monitor.gfx1250.ll
+611-3,0563 files not shown
+615-3,0669 files

LLVM/project 19c1b2clldb/include/lldb/DataFormatters FormatManager.h DataVisualization.h, lldb/source/DataFormatters TypeCategoryMap.cpp DataVisualization.cpp

[lldb] Remove unused AnyMatches functions from DataFormatters (#208288)

The only `AnyMatches` function actually used is in TypeCategoryImpl and
TieredFormatterContainer.
DeltaFile
+0-16lldb/source/DataFormatters/TypeCategoryMap.cpp
+0-10lldb/include/lldb/DataFormatters/FormatManager.h
+0-9lldb/source/DataFormatters/DataVisualization.cpp
+0-7lldb/include/lldb/DataFormatters/DataVisualization.h
+0-7lldb/include/lldb/DataFormatters/TypeCategoryMap.h
+0-495 files

LLVM/project ccab26fclang/docs UsersManual.md StandardCPlusPlusModules.md

[docs] Convert selected rst docs with rst2myst
DeltaFile
+2,637-2,453clang/docs/UsersManual.md
+1,466-1,537clang/docs/StandardCPlusPlusModules.md
+568-701clang/docs/PointerAuthentication.md
+482-521clang/docs/HIPSupport.md
+550-444clang/docs/Modules.md
+231-612clang/docs/OpenMPSupport.md
+5,934-6,26814 files not shown
+7,523-8,02320 files

LLVM/project f93dd9dclang/docs OpenMPSupport.md PointerAuthentication.md

[docs] Finish MyST migration for selected docs
DeltaFile
+83-3clang/docs/OpenMPSupport.md
+22-22clang/docs/PointerAuthentication.md
+27-11clang/docs/UsersManual.md
+10-15clang/docs/MisExpect.md
+10-2clang/docs/OpenCLSupport.md
+4-5clang/docs/StandardCPlusPlusModules.md
+156-5811 files not shown
+173-8717 files

LLVM/project 0f2a034clang/docs UsersManual.md UsersManual.rst

[docs] Rename selected Clang docs to Markdown
DeltaFile
+6,268-0clang/docs/UsersManual.md
+0-6,268clang/docs/UsersManual.rst
+0-2,512clang/docs/StandardCPlusPlusModules.rst
+2,512-0clang/docs/StandardCPlusPlusModules.md
+0-1,729clang/docs/PointerAuthentication.rst
+1,729-0clang/docs/PointerAuthentication.md
+10,509-10,50938 files not shown
+17,194-17,19544 files