LLVM/project 52fd3eclibc/include unistd.yaml, libc/include/llvm-libc-macros/linux unistd-macros.h

[libc] Define _POSIX_THREADS and support _SC_THREADS in sysconf (#201091)

Defined the _POSIX_THREADS macro to 202405L in unistd-macros.h for Linux
to signal POSIX thread support.

Also implemented runtime support for _SC_THREADS in sysconf, returning
_POSIX_THREADS, and added _SC_THREADS and _POSIX_THREADS to the public
unistd.yaml specification.

Added compile-time and runtime tests to verify _POSIX_THREADS definition
and sysconf(_SC_THREADS) behavior. Standardized header comments in
unistd-macros.h to conform to LLVM style.

Assisted-by: Automated tooling, human reviewed.

---------

Co-authored-by: Pavel Labath <pavel at labath.sk>
DeltaFile
+28-0libc/test/include/unistd_macros_test.cpp
+9-0libc/test/include/CMakeLists.txt
+8-1libc/include/llvm-libc-macros/linux/unistd-macros.h
+5-0libc/test/src/unistd/sysconf_test.cpp
+4-0libc/include/unistd.yaml
+3-0libc/src/unistd/linux/sysconf.cpp
+57-16 files

NetBSD/pkgsrc-wip 812644bbup-git DESCR

bup-git: Note in DESCR that this tracks upstream git master

and is not for production use.
DeltaFile
+3-0bup-git/DESCR
+3-01 files

LLVM/project 2790e61clang-tools-extra/clang-tidy/readability NonConstParameterCheck.cpp, clang-tools-extra/docs ReleaseNotes.rst

[clang-tidy] Fix crash in readability-non-const-parameter with redecls (#200178)

The check matches `VarDecls` with `hasInitializer()`, which uses
`getAnyInitializer()` and may therefore match a redeclaration whose
initializer is attached to another declaration. So calling
`IgnoreParenCasts()` on `VD->getInit()` directly would crash when that
redeclaration had no initializer of its own.

This commit fixes the problem by using a new matcher that only matches
VarDecls with an initializer on the current declaration.

Closes https://github.com/llvm/llvm-project/issues/199197
DeltaFile
+16-0clang-tools-extra/test/clang-tidy/checkers/readability/non-const-parameter.cpp
+10-1clang-tools-extra/clang-tidy/readability/NonConstParameterCheck.cpp
+3-0clang-tools-extra/docs/ReleaseNotes.rst
+29-13 files

LLVM/project 6180a48lldb/source/Plugins/DynamicLoader/Windows-DYLD MSVCRTCFrameRecognizer.cpp MSVCRTCFrameRecognizer.h, lldb/source/Plugins/Process/Windows/Common MSVCRTCFrameRecognizer.cpp MSVCRTCFrameRecognizer.h

[lldb][Windows] Register MSVCRTCFrameRecognizer from DynamicLoaderWindowsDYLD (#201097)
DeltaFile
+0-80lldb/source/Plugins/Process/Windows/Common/MSVCRTCFrameRecognizer.cpp
+73-0lldb/source/Plugins/DynamicLoader/Windows-DYLD/MSVCRTCFrameRecognizer.cpp
+42-0lldb/source/Plugins/DynamicLoader/Windows-DYLD/MSVCRTCFrameRecognizer.h
+0-41lldb/source/Plugins/Process/Windows/Common/MSVCRTCFrameRecognizer.h
+5-0lldb/source/Plugins/DynamicLoader/Windows-DYLD/DynamicLoaderWindowsDYLD.cpp
+3-0lldb/source/Plugins/DynamicLoader/Windows-DYLD/CMakeLists.txt
+123-1212 files not shown
+123-1258 files

LLVM/project 2a7524blldb/source/Plugins/Process/Windows/Common ProcessWindows.cpp DebuggerThread.cpp, lldb/test/Shell/Process/Windows output_debug_string.cpp

[lldb][Windows] Support OutputDebugString (#196395)

This picks https://reviews.llvm.org/D128541 back up. It implements
support for `OutputDebugStringA/W` on Windows. It's used by some logging
systems.

The main changes since the original patch:
- Use `WaitForDebugEventEx` for getting debug events over
`WaitForDebugEvent`. According to the
[docs](https://learn.microsoft.com/en-us/windows/win32/api/debugapi/nf-debugapi-waitfordebugeventex),
the only difference is that the -Ex version correctly outputs Unicode
strings.
- Support strings longer than 64 KiB. I set an arbitrary limit of 1 MiB
for the strings we read. The debugger interface only tells us the length
modulo 64 KiB which is a bit awkward. Libraries like Qt already chunk
calls to `OutputDebugString`, so strings shouldn't be too big in
practice.
- Output to stdout instead of a log channel, so the output is always
enabled. I don't know if this should go to stdout or stderr.

    [8 lines not shown]
DeltaFile
+86-1lldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp
+58-0lldb/test/Shell/Process/Windows/output_debug_string.cpp
+9-5lldb/source/Plugins/Process/Windows/Common/DebuggerThread.cpp
+6-1lldb/source/Plugins/Process/Windows/Common/ProcessWindows.h
+4-2lldb/source/Plugins/Process/Windows/Common/LocalDebugDelegate.cpp
+5-1lldb/source/Plugins/Process/Windows/Common/ProcessDebugger.cpp
+168-105 files not shown
+180-1511 files

LLVM/project 9942a38libcxx/include shared_mutex, libcxx/include/__mutex unique_lock.h

[libc++] Apply `[[nodiscard]]` to `unique_lock` and `<shared_mutex>` (#200986)

`[[nodiscard]]` should be applied to functions where discarding the
return value is most likely a correctness issue.

- https://libcxx.llvm.org/CodingGuidelines.html
- https://wg21.link/thread.sharedmutex.class
- https://wg21.link/thread.sharedtimedmutex.class
- https://wg21.link/thread.lock.unique
- https://wg21.link/thread.lock.shared

Remarks:
- All constructors of `shared_lock` are marked `[[nodiscard]]`, which is
consistent with handling for constructors of `unique_lock`.
DeltaFile
+75-2libcxx/test/libcxx/thread/nodiscard.verify.cpp
+29-21libcxx/include/shared_mutex
+5-5libcxx/include/__mutex/unique_lock.h
+109-283 files

FreeBSD/src 4f7092eusr.sbin/virtual_oss/virtual_oss_cmd command.c

virtual_oss_cmd(8): Improve error messages

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
DeltaFile
+4-13usr.sbin/virtual_oss/virtual_oss_cmd/command.c
+4-131 files

FreeBSD/ports b2ecbc5emulators/mame Makefile pkg-plist, emulators/mame/files patch-scripts_src_osd_modules.lua patch-makefile

emulators/mame: Update to 0.288

  - Drop obsolete Qt debugger patch
  - Refresh patches
  - Fix DEBUG option does not respect existing MAKE_ENV flags
  - Fix LOCALBASE substitution in pkg-message

Changes: https://www.mamedev.org/releases/whatsnew_0288.txt

PR:             295760
Reviewed by:    thierry (mentor)
Approved by:    thierry (mentor)
DeltaFile
+0-43emulators/mame/files/patch-scripts_src_osd_modules.lua
+5-6emulators/mame/Makefile
+11-0emulators/mame/pkg-plist
+5-5emulators/mame/files/patch-makefile
+3-3emulators/mame/distinfo
+1-1emulators/mame/files/pkg-message.in
+25-586 files

OPNSense/core 5de581csrc/opnsense/scripts/firmware config.sh read.sh

firmware: stop buffering in sed

Since cmd_output was made the generic filter for subscriptions
the update log showed signs of excessive buffering.  This brings
it back to where it was and also improves the old read case.
DeltaFile
+1-1src/opnsense/scripts/firmware/config.sh
+1-1src/opnsense/scripts/firmware/read.sh
+2-22 files

LLVM/project 94fcaf5llvm/lib/Transforms/Vectorize/SandboxVectorizer/Passes LoadStoreVec.cpp, llvm/test/Transforms/SandboxVectorizer load_store_vec.ll

[LLVM][SandboxVec][LoadStoreVec] Add support for vector ConstantInt/FP. (#200437)

The current implementation treats all ConstantInt/FP values as scalar,
leading to the wrong number of elements being used when combining them.
DeltaFile
+37-0llvm/test/Transforms/SandboxVectorizer/load_store_vec.ll
+14-0llvm/lib/Transforms/Vectorize/SandboxVectorizer/Passes/LoadStoreVec.cpp
+51-02 files

LLVM/project 574243dllvm/lib/Target/SPIRV SPIRVCallLowering.cpp, llvm/test/CodeGen/SPIRV/transcoding func_param_attr.ll

[SPIR-V] Emit missing Sext function parameter decoration for signext args and test other param decorations (#200801)
DeltaFile
+45-0llvm/test/CodeGen/SPIRV/transcoding/func_param_attr.ll
+6-0llvm/lib/Target/SPIRV/SPIRVCallLowering.cpp
+51-02 files

LLVM/project 0012320llvm/lib/CodeGen ComplexDeinterleavingPass.cpp, llvm/test/CodeGen/AArch64 complex-deinterleaving-f32-add.ll

[LLVM][ComplexDeinterleaving] Update identifyDeinterleave to support all forms of zero. (#200400)

The original code misses ConstantFP based zeros.
DeltaFile
+17-0llvm/test/CodeGen/AArch64/complex-deinterleaving-f32-add.ll
+2-2llvm/lib/CodeGen/ComplexDeinterleavingPass.cpp
+19-22 files

LLVM/project 905afb8flang/lib/Semantics mod-file.cpp

format
DeltaFile
+0-1flang/lib/Semantics/mod-file.cpp
+0-11 files

LLVM/project 4b13aeeopenmp/runtime/src kmp_adt.h kmp_str.cpp, openmp/runtime/unittests/ADT TestStringRef.cpp

implement feedback
DeltaFile
+131-0openmp/runtime/unittests/ADT/TestStringRef.cpp
+50-32openmp/runtime/src/kmp_adt.h
+1-1openmp/runtime/src/kmp_str.cpp
+1-1openmp/runtime/src/kmp_str.h
+183-344 files

LLVM/project 227e62eflang/lib/Semantics mod-file.cpp

format
DeltaFile
+2-1flang/lib/Semantics/mod-file.cpp
+2-11 files

LLVM/project 9a9b9d9llvm/lib/DebugInfo/PDB/Native PDBFileBuilder.cpp PDBFile.cpp, llvm/test/tools/llvm-pdbutil dxcontainer.test

Reapply "[PDB][llvm-pdbutil] Add DXContainer support for `pdb2yaml` and `yaml2pdb`" (#201092)

This reapplies #198351 with 2 issues fixed:
- `-Wchanges-meaning` causing an error in `PdbYaml.h`
- UB when parsing DXContainer header from a null buffer, fixed in
#200865

Original patch description:

This patch enables the following:
1. Attempting to parse a `DXContainer` from stream 5 (generated by
DirectX tools) of a PDB file, to be used later in `llvm-pdbutil`.
2. Outputting a PDB file with a built in DXContainer as YAML. Existing
DirectX tools form a PDB container with empty DBI, TPI and IPI streams,
so this patch also allows them to be empty when dumping a PDB file as
YAML.
3. Creating a PDB file from YAML with an built in DXContainer. When
creating a PDB with a DXContainer, streams DBI, TPI and IPI can be
completely empty, so this patch also includes adjustments to allow
forming such a PDB file. This is done to maintain compatibility with
other DirectX tools.
DeltaFile
+143-0llvm/test/tools/llvm-pdbutil/dxcontainer.test
+49-22llvm/lib/DebugInfo/PDB/Native/PDBFileBuilder.cpp
+40-10llvm/tools/llvm-pdbutil/llvm-pdbutil.cpp
+31-0llvm/tools/llvm-pdbutil/YAMLOutputStyle.cpp
+25-1llvm/lib/DebugInfo/PDB/Native/PDBFile.cpp
+7-0llvm/tools/llvm-pdbutil/PdbYaml.h
+295-337 files not shown
+314-3513 files

LLVM/project 10d3c67libc/include limits.yaml, libc/include/llvm-libc-macros limits-macros.h

[libc] Define SSIZE_MAX in limits-macros.h (#201087)

Defined SSIZE_MAX in limits-macros.h to support POSIX compliance.
Applications compiling against LLVM libc require SSIZE_MAX to be defined
in limits.h.

SSIZE_MAX is defined strictly in terms of __PTRDIFF_MAX__, matching
ssize_t defined as __PTRDIFF_TYPE__, ensuring they are always
structurally aligned and compile-time safe.

Added Doxygen comments for SSIZE_MAX.
Added SSIZE_MAX to limits.yaml and added a unit test in limits_test.cpp
to verify the definition.

Assisted-by: Automated tooling, human reviewed.
DeltaFile
+8-0libc/test/src/__support/CPP/limits_test.cpp
+7-0libc/include/llvm-libc-macros/limits-macros.h
+2-0libc/include/limits.yaml
+17-03 files

OpenBSD/ports rf44OaFwww/iridium/patches patch-components_password_manager_core_browser_features_password_features_cc patch-base_system_sys_info_freebsd_cc

   update to 2026.05.148.3
VersionDeltaFile
1.24+10-1www/iridium/patches/patch-components_password_manager_core_browser_features_password_features_cc
1.8+4-6www/iridium/patches/patch-base_system_sys_info_freebsd_cc
1.62+5-5www/iridium/patches/patch-content_browser_renderer_host_render_widget_host_view_aura_cc
1.43+4-4www/iridium/patches/patch-third_party_blink_renderer_platform_runtime_enabled_features_json5
1.23+4-4www/iridium/patches/patch-gpu_command_buffer_service_shared_image_shared_image_factory_cc
1.56+3-3www/iridium/patches/patch-chrome_browser_ui_views_frame_browser_view_cc
+30-2314 files not shown
+48-4120 files

OpenBSD/ports EDLJuPxaudio/whisper.cpp distinfo Makefile, audio/whisper.cpp/patches patch-examples_cli_cli_cpp

   update to whisper.cpp-1.8.5
VersionDeltaFile
1.5+2-2audio/whisper.cpp/distinfo
1.4+1-1audio/whisper.cpp/patches/patch-examples_cli_cli_cpp
1.6+1-1audio/whisper.cpp/Makefile
+4-43 files

FreeBSD/ports 414d763net/syncthing distinfo Makefile

net/syncthing: Update to 2.1.1

re: https://github.com/syncthing/syncthing/releases/tag/v2.1.1
DeltaFile
+3-3net/syncthing/distinfo
+1-1net/syncthing/Makefile
+4-42 files

LLVM/project dc09abcflang/include/flang/Semantics symbol.h, flang/lib/Semantics mod-file.cpp symbol.cpp

[flang][OpenMP] Store DECLARE_TARGET information in WithOmpDeclarative

This will be used to emit DECLARE_TARGET directives into module files.

When a symbol apperars in DECLARE_TARGET (explicitly or explicitly), the
OmpDeclareTarget flag will be set on it. The set of accompanying clauses
will be stored in the associated details, in the WithOmpDeclarative mixin.
The mixin was added to ObjectEntityDetails, ProcEntityDetails, and
CommonBlockDetails.

The design goal was to be able to reconstruct the appropriate DECLARE_
TARGET directive for individual symbols for the purpose of emitting it
in a module file. Simply storing and then unparsing the AST node may
include symbols that should not be emitted.

Additionally, refactor the WithOmpDeclarative printing code for reuse in
symbol dumping for debugging, and for printing clause sets.
DeltaFile
+40-26flang/lib/Semantics/mod-file.cpp
+43-22flang/lib/Semantics/symbol.cpp
+63-0flang/lib/Semantics/resolve-directives.cpp
+41-0flang/test/Semantics/OpenMP/declare-target-modfile.f90
+36-0flang/test/Semantics/OpenMP/declare-target-flags.f90
+23-3flang/include/flang/Semantics/symbol.h
+246-518 files not shown
+264-6814 files

NetBSD/pkgsrc XIJDjtBdoc CHANGES-2026

   doc: Updated net/scaleway-cli to 2.56.1
VersionDeltaFile
1.3458+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc osl8r96net/scaleway-cli distinfo go-modules.mk, net/scaleway-cli/patches patch-internal_namespaces_object_v1_custom__config__get.go patch-internal_namespaces_object_v1_custom__bucket.go

   scaleway-cli: Update to 2.56.1

   pkgsrc changes:
   - Enable "object" subcommands at least on NetBSD... it seems it does not have
     anything specific to (darwin|linux|windows). Probably can be extended to other
     Unix-like OSes.

   Changes:
   Too many to mention please see
   <https://github.com/scaleway/scaleway-cli/releases>.

   It adds several (sub)commands for new services/API, fixes bugs and
   update dependencies.
VersionDeltaFile
1.3+929-955net/scaleway-cli/distinfo
1.3+306-317net/scaleway-cli/go-modules.mk
1.1+12-0net/scaleway-cli/patches/patch-internal_namespaces_object_v1_custom__config__get.go
1.1+12-0net/scaleway-cli/patches/patch-internal_namespaces_object_v1_custom__bucket.go
1.1+12-0net/scaleway-cli/patches/patch-internal_namespaces_object_v1_custom__command.go
1.1+12-0net/scaleway-cli/patches/patch-internal_namespaces_object_v1_custom__disabled.go
+1,283-1,2724 files not shown
+1,321-1,27510 files

OpenBSD/src fEVMceAsys/dev/pci if_mwx.c

   Add extra tab in prototypes.

   From kevlo@
VersionDeltaFile
1.16+60-53sys/dev/pci/if_mwx.c
+60-531 files

OpenBSD/ports zvlqr2reditors/vim-classic Makefile distinfo, editors/vim-classic/patches patch-runtime_filetype_vim patch-runtime_syntax_make_vim

   update to vim-classic-8.3.0
VersionDeltaFile
1.5.2.2+40-0editors/vim-classic/pkg/PLIST
1.12.2.2+5-3editors/vim-classic/Makefile
1.7.2.2+2-2editors/vim-classic/distinfo
1.2.2.2+1-1editors/vim-classic/patches/patch-runtime_filetype_vim
1.1.1.1.2.2+1-1editors/vim-classic/patches/patch-runtime_syntax_make_vim
1.4.2.2+1-1editors/vim-classic/patches/patch-src_configure_ac
+50-86 files

OpenBSD/ports 0EAhl5ceditors/vim-classic Makefile distinfo

   update to vim-classic-8.3.0
VersionDeltaFile
1.15+5-3editors/vim-classic/Makefile
1.10+2-2editors/vim-classic/distinfo
+7-52 files

LLVM/project 17f85f4llvm/include/llvm/BinaryFormat WasmTraits.h, llvm/include/llvm/CAS CASReference.h CASID.h

[llvm] Remove unused DenseMapInfo::getTombstoneKey (#200957)

#200595 changed DenseMap to no longer create tombstone buckets, so
DenseMapInfo<T>::getTombstoneKey() is never called. Remove dead
definitions and dead tombstone branches.
DeltaFile
+0-16llvm/include/llvm/BinaryFormat/WasmTraits.h
+0-11llvm/include/llvm/CAS/CASReference.h
+5-5llvm/include/llvm/CAS/CASID.h
+0-8llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h
+0-8llvm/include/llvm/ExecutionEngine/Orc/SymbolStringPool.h
+2-6llvm/lib/Linker/IRMover.cpp
+7-5421 files not shown
+13-13127 files

LLVM/project e0f5ce1llvm/include/llvm/Analysis ScalarEvolution.h, llvm/include/llvm/IR ModuleSummaryIndex.h ValueHandle.h

[IR][Analysis] Remove unused DenseMapInfo::getTombstoneKey (#200958)

#200595 changed DenseMap to no longer create tombstone buckets, so
DenseMapInfo<T>::getTombstoneKey() is never called. Remove dead
definitions and dead tombstone branches.
DeltaFile
+6-29llvm/lib/IR/LLVMContextImpl.h
+1-15llvm/include/llvm/IR/ModuleSummaryIndex.h
+1-13llvm/include/llvm/IR/ValueHandle.h
+0-12llvm/include/llvm/IR/Attributes.h
+2-7llvm/lib/Analysis/IRSimilarityIdentifier.cpp
+0-9llvm/include/llvm/Analysis/ScalarEvolution.h
+10-8514 files not shown
+15-15520 files

LLVM/project 414b8b9llvm/include/llvm/Transforms/IPO Attributor.h, llvm/lib/Transforms/IPO AttributorAttributes.cpp

[CodeGen][Transforms] Remove unused DenseMapInfo::getTombstoneKey (#200956)

#200595 changed DenseMap to no longer create tombstone buckets, so
DenseMapInfo<T>::getTombstoneKey() is never called. Remove dead
definitions and dead tombstone branches.
DeltaFile
+3-18llvm/lib/Transforms/Scalar/EarlyCSE.cpp
+2-17llvm/include/llvm/Transforms/IPO/Attributor.h
+1-18llvm/lib/Transforms/IPO/AttributorAttributes.cpp
+2-13llvm/lib/Transforms/Utils/Local.cpp
+2-9llvm/lib/Transforms/Scalar/NewGVN.cpp
+0-11llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+10-8639 files not shown
+24-25845 files

LLVM/project f85f70fllvm/lib/Target/AArch64 AArch64StackTaggingPreRA.cpp, llvm/lib/Target/AMDGPU GCNHazardRecognizer.cpp

[Target] Remove unused DenseMapInfo::getTombstoneKey (#200955)

#200595 changed DenseMap to no longer create tombstone buckets, so
DenseMapInfo<T>::getTombstoneKey() is never called. Remove dead
definitions and dead tombstone branches.
DeltaFile
+2-12llvm/lib/Target/X86/X86OptimizeLEAs.cpp
+2-10llvm/lib/Target/AMDGPU/GCNHazardRecognizer.cpp
+0-3llvm/lib/Target/CSKY/MCTargetDesc/CSKYTargetStreamer.h
+0-3llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
+0-3llvm/lib/Target/SPIRV/SPIRVTypeInst.h
+0-1llvm/lib/Target/AArch64/AArch64StackTaggingPreRA.cpp
+4-326 files