LLVM/project 46bc562clang/test/CodeGen/LoongArch/lasx builtin-alias.c builtin.c, lldb/source/Plugins/Process/Utility lldb-riscv-register-enums.h RegisterInfos_riscv32.h

Merge branch 'users/rnk/llvm-md-2a' into users/rnk/llvm-md-2b
DeltaFile
+3,563-3,543llvm/test/CodeGen/AMDGPU/memintrinsic-unroll.ll
+2,749-2,749clang/test/CodeGen/LoongArch/lasx/builtin-alias.c
+2,745-2,745clang/test/CodeGen/LoongArch/lasx/builtin.c
+4,489-13lldb/source/Utility/RISCV_DWARF_Registers.h
+4,473-0lldb/source/Plugins/Process/Utility/lldb-riscv-register-enums.h
+4,253-32lldb/source/Plugins/Process/Utility/RegisterInfos_riscv32.h
+22,272-9,0821,474 files not shown
+77,494-39,5321,480 files

LLVM/project fe560c5clang/test/CodeGen/LoongArch/lasx builtin-alias.c builtin.c, lldb/source/Plugins/Process/Utility lldb-riscv-register-enums.h RegisterInfos_riscv32.h

Merge branch 'main' into users/rnk/llvm-md-2a
DeltaFile
+3,563-3,543llvm/test/CodeGen/AMDGPU/memintrinsic-unroll.ll
+2,749-2,749clang/test/CodeGen/LoongArch/lasx/builtin-alias.c
+2,745-2,745clang/test/CodeGen/LoongArch/lasx/builtin.c
+4,489-13lldb/source/Utility/RISCV_DWARF_Registers.h
+4,473-0lldb/source/Plugins/Process/Utility/lldb-riscv-register-enums.h
+4,253-32lldb/source/Plugins/Process/Utility/RegisterInfos_riscv32.h
+22,272-9,0821,474 files not shown
+77,494-39,5321,480 files

NetBSD/pkgsrc-wip 31b1b13. TODO

TODO: + shotcut-26.6, tor-browser-15.0.15.
DeltaFile
+2-2TODO
+2-21 files

LLVM/project 34555beclang/lib/ScalableStaticAnalysisFramework/Analyses SSAFAnalysesCommon.h, clang/lib/ScalableStaticAnalysisFramework/Analyses/PointerFlow PointerFlowExtractor.cpp

[SSAF][Extractor] Make hard errors in Extractors quiet

Hard errors were used in extractors during development to quickly
identify unsupported language constructs. This commit converts them to
DEBUG_WITH_TYPE so that these errors are silenced in release builds.

rdar://178747892
DeltaFile
+31-0clang/unittests/ScalableStaticAnalysisFramework/Analyses/PointerFlow/PointerFlowTest.cpp
+25-0clang/unittests/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsageTest.cpp
+10-11clang/lib/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsageExtractor.cpp
+10-9clang/lib/ScalableStaticAnalysisFramework/Analyses/PointerFlow/PointerFlowExtractor.cpp
+9-0clang/lib/ScalableStaticAnalysisFramework/Analyses/SSAFAnalysesCommon.h
+85-205 files

LLVM/project 4f73c81clang/include/clang/Basic FileManager.h, clang/include/clang/Lex HeaderSearch.h

[clang][lex] Store `HeaderFileInfo` in a `MapVector` (#201936)

This is a re-commit of PR #200968 (f357a47) that was reverted by PR
#201702 (adaa9e0). One call-site of
`HeaderSearch::forEachExistingLocalFileInfo()` in `ASTWriter` relies on
stable order, which the `DenseMap` didn't provide. This PR switches to
`MapVector`, which has the same performance characteristics as the
original solution at the cost of a theoretical memory usage increase.

Original PR description:

Calling `FileManager::GetUniqueIDMapping()` during modular builds gets
very expensive if the `FileManager` has seen lots of files. This
function is used in two places in the `ASTWriter` to look up
`HeaderFileInfo` in `HeaderSearch`.

This PR changes the storage of `HeaderFileInfo` from
`FileEntry::getUID()`-indexed `std::vector<T>` to
`llvm::DenseMap<FileEntryRef, T>`, improving scanning performance by
~2.5%.
DeltaFile
+37-60clang/lib/Serialization/ASTWriter.cpp
+11-22clang/lib/Lex/HeaderSearch.cpp
+0-18clang/lib/Basic/FileManager.cpp
+17-0llvm/include/llvm/ADT/MapVector.h
+7-8clang/include/clang/Lex/HeaderSearch.h
+0-5clang/include/clang/Basic/FileManager.h
+72-1136 files

LLVM/project 80ad296llvm/lib/IR Verifier.cpp, llvm/lib/Transforms/Utils InlineFunction.cpp

Reland "Remove the optional bitcast between a musttail call and its ret" (#201280) (#201642)

This relands #201280, which was reverted in #201479 because it broke the
sanitizer buildbot

The revert was caused by a heap-use-after-free in
`BitcodeReader::materialize`

Fix: The CallBase branch could have erased I before we read it in the
new conditional
DeltaFile
+9-34llvm/lib/IR/Verifier.cpp
+32-0llvm/test/Bitcode/musttail-bitcast-upgrade.ll
+0-24llvm/test/Transforms/CallSiteSplitting/musttail.ll
+2-21llvm/lib/Transforms/Utils/InlineFunction.cpp
+0-19llvm/test/Transforms/SafeStack/X86/musttail.ll
+0-14llvm/test/Instrumentation/AddressSanitizer/musttail.ll
+43-1125 files not shown
+55-13411 files

OPNSense/plugins 461e171security/stunnel/src/opnsense/mvc/app/controllers/OPNsense/Stunnel ServicesController.php, security/stunnel/src/opnsense/mvc/app/models/OPNsense/Stunnel Stunnel.xml

security/stunnel: unrelated sanity while here
DeltaFile
+5-12security/stunnel/src/opnsense/mvc/app/models/OPNsense/Stunnel/Stunnel.xml
+1-1security/stunnel/src/opnsense/mvc/app/controllers/OPNsense/Stunnel/ServicesController.php
+6-132 files

OPNSense/plugins c88f61dsecurity/stunnel/src/opnsense/scripts/stunnel generate_certs.php

security/stunnel: remove plugins.inc since config.inc includes it
DeltaFile
+19-20security/stunnel/src/opnsense/scripts/stunnel/generate_certs.php
+19-201 files

LLVM/project 4183355flang/lib/Lower/OpenMP Utils.cpp ClauseProcessor.cpp, flang/lib/Optimizer/OpenMP MapInfoFinalization.cpp

[Flang][OpenMP] Support iterator modifiers in map and motion clauses

Support iterated array elements and array sections in map and motion clauses for
target data, target enter data, target exit data, and target update constructs.

Preserve mapper resolution for iterated entries, including explicit mappers,
user-defined default mappers, declare mapper entries, and implicit default
mappers.

This PR stacked on top of #197047 and #197752.

This patch is part of the feature work for #188061.

Assisted with copilot.
DeltaFile
+507-0flang/test/Lower/OpenMP/motion-iterator.f90
+183-0flang/lib/Lower/OpenMP/Utils.cpp
+96-12flang/lib/Lower/OpenMP/ClauseProcessor.cpp
+25-0flang/test/Lower/OpenMP/declare-mapper-iterator.f90
+15-0flang/lib/Optimizer/OpenMP/MapInfoFinalization.cpp
+12-0flang/lib/Lower/OpenMP/Utils.h
+838-123 files not shown
+838-399 files

LLVM/project e9a4dd0compiler-rt/test/fuzzer OutOfProcessFuzzTarget.cpp

[compiler-rt] Add stdlib include to OutOfProcessFuzzTarget.cpp (#201944)

Fixes test after libc++ PR #195509 which drops transitive includes.
DeltaFile
+1-0compiler-rt/test/fuzzer/OutOfProcessFuzzTarget.cpp
+1-01 files

OPNSense/core 1e4ffcbsrc/etc/rc.syshook.d/carp 20-dhcrelay, src/opnsense/scripts/filter list_non_mvc_rules.php

backend: plugins.inc is hardwired via config.inc
DeltaFile
+1-2src/opnsense/scripts/syslog/list_applications.php
+0-1src/opnsense/scripts/filter/list_non_mvc_rules.php
+0-1src/opnsense/scripts/syslog/clearlog.php
+0-1src/opnsense/scripts/syslog/log_archive
+0-1src/etc/rc.syshook.d/carp/20-dhcrelay
+1-65 files

FreeBSD/src 77e894csys/security/audit audit_trigger.c

audit: Replace TAILQ with STAILQ

This reduces the size of a trigger entry from 24 bytes to 16 (or from
12 bytes to 8 on 32-bit) with no additional complexity.

MFC after:      1 week
Sponsored by:   Klara, Inc.
Reviewed by:    kevans, emaste
Differential Revision:  https://reviews.freebsd.org/D57464
DeltaFile
+11-11sys/security/audit/audit_trigger.c
+11-111 files

FreeBSD/src 0620c99sys/security/audit audit_trigger.c

audit: Add poll / select support

It was previously not possible to poll() or select() on the trigger
device, which made implementing proper signal handling in auditd
difficult.

MFC after:      1 week
Sponsored by:   Klara, Inc.
Reviewed by:    kevans, markj
Differential Revision:  https://reviews.freebsd.org/D57457
DeltaFile
+21-2sys/security/audit/audit_trigger.c
+21-21 files

FreeBSD/src 520e0f5sys/netinet6 udp6_usrreq.c

udp: Fix resource leaks in an error path in udp6_send()

Reported by:    Andrew Griffiths <andrew at calif.io>
Fixes:          069a67374ed9 ("ip6: Remove support for RFC2675 (Jumbo Payload Option)")
Reviewed by:    pouria, tuexen, glebius
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D57341
DeltaFile
+2-4sys/netinet6/udp6_usrreq.c
+2-41 files

OPNSense/plugins 85cb0f7security/stunnel Makefile, security/stunnel/src/opnsense/scripts/stunnel generate_certs.php

security/stunnel: missing include; closes #5481
DeltaFile
+1-1security/stunnel/Makefile
+1-0security/stunnel/src/opnsense/scripts/stunnel/generate_certs.php
+2-12 files

LLVM/project 3b89e77compiler-rt/lib/sanitizer_common/symbolizer sanitizer_wrappers.cpp

[compiler-rt] [sanitizers] Add includes for symbolizer (#201929)

After ce5b2e876494cb95f02d9f915081e2b8781e74d1 this stopped building.
DeltaFile
+2-0compiler-rt/lib/sanitizer_common/symbolizer/sanitizer_wrappers.cpp
+2-01 files

LLVM/project 0bb7ad1clang/include/clang/ScalableStaticAnalysisFramework/Core/Model EntityLinkage.h, clang/lib/ScalableStaticAnalysisFramework/Core/TUSummary TUSummaryExtractor.cpp

[SSAF] Let function parameters inherit linkage from their parent functions

SSAF treats parameters as entities and may not always associate them
back to their parent functions. Therefore, it needs to identify
parameters of functions with external linkage across different
TUs. Treating them as having no linkage (as in C++) causes the same
parameter in different TUs to be assigned different EntityIDs. As a
result, the behavior of the parameter across multiple TUs cannot be
correlated.

rdar://178844032
DeltaFile
+63-0clang/test/Analysis/Scalable/PointerFlow/external-inline-function-in-multi-tu.test
+42-0clang/unittests/ScalableStaticAnalysisFramework/TUSummaryBuilderTest.cpp
+18-0clang/lib/ScalableStaticAnalysisFramework/Core/TUSummary/TUSummaryExtractor.cpp
+4-2clang/include/clang/ScalableStaticAnalysisFramework/Core/Model/EntityLinkage.h
+127-24 files

LLVM/project de59f9ellvm/include/llvm/BinaryFormat DXContainer.h, llvm/include/llvm/ObjectYAML DXContainerYAML.h

[DirectX][ObjectYAML] Add SRCI part support (#199446)

Add support for DXContainer SRCI in the ObjectYAML pipeline so it can be
represented in structured YAML and round-tripped through
yaml2obj/obj2yaml.

SRCI is emitted into shader PDB files. It stores shader source code that
is displayed in PIX, and shader compilation flags.
DeltaFile
+324-4llvm/lib/Object/DXContainer.cpp
+243-0llvm/lib/MC/DXContainerInfo.cpp
+213-0llvm/unittests/Object/DXContainerTest.cpp
+185-0llvm/include/llvm/BinaryFormat/DXContainer.h
+179-0llvm/lib/ObjectYAML/DXContainerYAML.cpp
+151-0llvm/include/llvm/ObjectYAML/DXContainerYAML.h
+1,295-414 files not shown
+2,627-520 files

LLVM/project 3590131mlir/include/mlir/Dialect/SPIRV/IR SPIRVCLOps.td, mlir/test/Dialect/SPIRV/IR ocl-ops.mlir

[mlir][SPIR-V] Add OpenCL cbrt op (#201914)
DeltaFile
+21-0mlir/include/mlir/Dialect/SPIRV/IR/SPIRVCLOps.td
+16-0mlir/test/Dialect/SPIRV/IR/ocl-ops.mlir
+2-0mlir/test/Target/SPIRV/ocl-ops.mlir
+39-03 files

LLVM/project afa1a62flang/lib/Lower/OpenMP Utils.cpp ClauseProcessor.cpp

[flang][OpenMP][NFC] Share declare mapper helpers for iterator modifier lowering

Move mapper lookup and implicit default mapper creation into reusable
OpenMP lowering helpers so regular map lowering and iterator-generated
map entries can use the same resolution path.

This prepares Flang iterator modifier lowering for map and motion clauses
without changing the generated IR for existing non-iterator maps.
DeltaFile
+153-0flang/lib/Lower/OpenMP/Utils.cpp
+6-142flang/lib/Lower/OpenMP/ClauseProcessor.cpp
+7-0flang/lib/Lower/OpenMP/Utils.h
+166-1423 files

LLVM/project 2c3b350flang/lib/Lower/OpenMP Utils.h

Add doxygen documentation to resolveMapperId
DeltaFile
+18-0flang/lib/Lower/OpenMP/Utils.h
+18-01 files

LLVM/project d2dc471llvm/lib/Target/AMDGPU AMDGPUBarrierLatency.cpp, llvm/test/CodeGen/AMDGPU ldsdmacnt_sched.mir

[AMDGPU] Do not always add latency between LDSDMA -> S_WAIT_LDSDMA

Change-Id: Ibeee5f7bfdeab730ebbc5a1724b716ca2ce0d335
DeltaFile
+351-0llvm/test/CodeGen/AMDGPU/ldsdmacnt_sched.mir
+74-0llvm/lib/Target/AMDGPU/AMDGPUBarrierLatency.cpp
+425-02 files

LLVM/project 276cc2fllvm/lib/Target/DirectX/DXILWriter DXILBitcodeWriter.cpp, llvm/lib/Target/DirectX/DirectXIRPasses DXILDebugInfo.cpp

[DirectX] Rewrite DIGlobalVariableExpression to DXDIGlobalVariable (#199791)

DIGlobalVariable used to have an `expr` operand. Starting from
bceaaa964360 `expr` is now an operand of DIGlobalVariableExpression,
which references both the variable and the expression.

Before:
    !0 = !DIGlobalVariable(expr: !1)
    !1 = !DIExpression(DW_OP_plus, 4)

Now:
    !2 = !DIGlobalVariableExpression(var: !3, expr: !4)
!3 = distinct !DIGlobalVariable(name: "a", scope: null, isLocal: false,
isDefinition: true, type: !6)
    !4 = !DIExpression(DW_OP_plus, 4)

DXIL does not support DIGlobalVariableExpression, so we have to fold
`expr` back to DIGlobalVariable.


    [2 lines not shown]
DeltaFile
+39-0llvm/test/CodeGen/DirectX/DebugInfo/di-globalvariable.ll
+36-0llvm/test/tools/dxil-dis/di-globalvariable.ll
+17-0llvm/lib/Target/DirectX/DirectXIRPasses/DXILDebugInfo.cpp
+1-1llvm/lib/Target/DirectX/DXILWriter/DXILBitcodeWriter.cpp
+93-14 files

OpenZFS/src a8ef128module/zfs zil.c

Fix uninitialized variable warning in zil_parse()

This resolves the following possible uninitialized variable warning
when building with --enable-code-coverage and gcc 8.5.0.

    module/zfs/zil.c: In function ‘zil_parse’:
    module/zfs/zil.c:549:47: warning: ‘end’ may be used uninitialized
    in this function [-Wmaybe-uninitialized]

Reviewed-by: Alexander Motin <alexander.motin at TrueNAS.com>
Signed-off-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Closes #18633
DeltaFile
+1-1module/zfs/zil.c
+1-11 files

FreeBSD/ports ed29b91devel/py-lizard distinfo Makefile

devel/py-lizard: update to 1.23.0

Approved by:    lwhsu (mentor, implicitly)
DeltaFile
+3-3devel/py-lizard/distinfo
+1-1devel/py-lizard/Makefile
+4-42 files

Linux/linux c10130cio_uring net.c

Merge tag 'io_uring-7.1-20260605' of git://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux

Pull io_uring fix from Jens Axboe:
 "A single fix for a missing flag mask when multishot is used with
  an incrementally consumed buffer ring, potentially leading to
  application confusion because of lack of IORING_CQE_F_BUF_MORE
  consistency"

* tag 'io_uring-7.1-20260605' of git://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux:
  io_uring/net: inherit IORING_CQE_F_BUF_MORE across bundle recv retries
DeltaFile
+2-1io_uring/net.c
+2-11 files

LLVM/project 3e0046ccompiler-rt/lib/sanitizer_common/symbolizer sanitizer_wrappers.cpp

fix

Created using spr 1.3.7
DeltaFile
+1-0compiler-rt/lib/sanitizer_common/symbolizer/sanitizer_wrappers.cpp
+1-01 files

FreeNAS/freenas 73131a9src/middlewared/middlewared/plugins/smb_ util_smbconf.py, src/middlewared/middlewared/utils/account authenticator.py

NAS-141279 / 26.0.0-RC.1 / Fix various broken unit tests (by anodos325) (#19084)

These bitrotted while unit tests pipeline was borkne.

* Remove afp resource optimization for SMB AFP shares
* Fix middleware pytest unit test that's failing
* Fix authenticator test assertion
* Fix API key length assertion
* Fix pool stats assertion
* Fix offset for directory services secrets

Original PR: https://github.com/truenas/middleware/pull/19081

Co-authored-by: Andrew Walker <andrew.walker at truenas.com>
DeltaFile
+0-25tests/unit/test_account_userns.py
+5-5tests/unit/test_api_key_keyring.py
+5-1tests/unit/test_logger.py
+3-2tests/unit/test_utmp.py
+5-0src/middlewared/middlewared/utils/account/authenticator.py
+4-0src/middlewared/middlewared/plugins/smb_/util_smbconf.py
+22-331 files not shown
+23-347 files

FreeNAS/freenas 5ca5012src/middlewared/middlewared/plugins/smb_ util_smbconf.py, src/middlewared/middlewared/utils/account authenticator.py

NAS-141279 / 27.0.0-BETA.1 / Fix various broken unit tests (#19081)

These bitrotted while unit tests pipeline was borkne.

* Remove afp resource optimization for SMB AFP shares
* Fix middleware pytest unit test that's failing
* Fix authenticator test assertion
* Fix API key length assertion
* Fix pool stats assertion
* Fix offset for directory services secrets

(cherry picked from commit 761fb9628c14c5daf1d215ab8509b813c31ea9a8)
DeltaFile
+0-25tests/unit/test_account_userns.py
+5-5tests/unit/test_api_key_keyring.py
+5-1tests/unit/test_logger.py
+5-0src/middlewared/middlewared/utils/account/authenticator.py
+3-2tests/unit/test_utmp.py
+4-0src/middlewared/middlewared/plugins/smb_/util_smbconf.py
+22-331 files not shown
+23-347 files

LLVM/project c3e9d05lld/MachO LTO.cpp, lld/test/MachO icf-safe-thunks.ll

[lld-macho][LTO] Emit `__llvm_addrsig` for `--icf=safe_thunks` (#188486)

LTO was emitting `__llvm_addrsig` metadata when `--icf=safe` was
specified, but not for `--icf=safe_thunks`. After the recent PR
https://github.com/llvm/llvm-project/pull/188400 that makes safe ICF
conservative without `__llvm_addrsig` (marking all symbols as
address-significant when the section is absent), this omission caused
safe_thunks to silently degrade for all LTO-compiled objects: every
symbol became `keepUnique`, preventing body folding entirely.

Fix this by also enabling `EmitAddrsig` when `icfLevel` is
`safe_thunks`. This allows the LTO backend to emit precise
address-significance metadata, so that only truly address-significant
functions get thunk treatment while non-address-significant identical
functions can still be body-folded.

Add a regression test that verifies LTO + `--icf=safe_thunks` correctly
body-folds non-address-significant identical functions, which would fail
without this fix due to missing addrsig metadata.
DeltaFile
+59-0lld/test/MachO/icf-safe-thunks.ll
+2-1lld/MachO/LTO.cpp
+61-12 files