FreeBSD/src 7bf81e3bin/ls ls.c, bin/ls/tests ls_tests.sh

ls: check fts_children() for errors that may not surface otherwise

In particular, if one simply does a non-recursive `ls` on a directory
that is not accessible, there are some classes of errors that may cause
it to fail that wouldn't be surfaced unless we do an fts_read() that
will recurse into the inaccessible directory.  Catch those kinds of
errors here since we cannot expect to an FTS_ERR/FTS_DNR entry to follow
up on them.

PR:             287451
Reviewed by:    kib
Discusssed with:        des
Differential Revision:  https://reviews.freebsd.org/D51056
DeltaFile
+30-0bin/ls/tests/ls_tests.sh
+17-0bin/ls/ls.c
+47-02 files

LLVM/project 0dad2b7clang/include/clang/Analysis/Analyses/LifetimeSafety Loans.h, clang/lib/Analysis/LifetimeSafety Checker.cpp FactsGenerator.cpp

Field and interior paths
DeltaFile
+190-100clang/include/clang/Analysis/Analyses/LifetimeSafety/Loans.h
+174-101clang/unittests/Analysis/LifetimeSafetyTest.cpp
+145-47clang/test/Sema/warn-lifetime-safety-invalidations.cpp
+48-64clang/lib/Analysis/LifetimeSafety/Checker.cpp
+50-48clang/lib/Analysis/LifetimeSafety/FactsGenerator.cpp
+42-42clang/test/Sema/warn-lifetime-safety-dataflow.cpp
+649-4028 files not shown
+841-47914 files

LLVM/project 7a1489fclang/lib/Analysis/LifetimeSafety FactsGenerator.cpp

move_unique_ptr_release
DeltaFile
+13-12clang/lib/Analysis/LifetimeSafety/FactsGenerator.cpp
+13-121 files

LLVM/project 6fdf93cllvm/utils/git requirements_formatting.txt requirements_formatting.txt.in

Update requirements_formatting.txt.in (#180963)

At https://github.com/intel/llvm dependabot reports a few alerts
regarding use of:
- urllib3 < v2.6.3 (CVE-2026-21441)
- pynacl < 1.6.2 (CVE-2025-69277)
- cryptography <= 46.0.4 (CVE-2026-26007)

Update requirements_formatting.txt.in & re-generate
requirements_formatting.txt.
DeltaFile
+229-118llvm/utils/git/requirements_formatting.txt
+3-0llvm/utils/git/requirements_formatting.txt.in
+232-1182 files

FreeNAS/freenas 18511b1src/middlewared/middlewared/plugins/truecommand connection.py

NAS-139717 / 26.0.0-BETA.1 / Update TrueCommand portal URI. (#18181)

Eliminate usage of 'iX' and 'ixsystems.com' and converting to 'TrueNAS'
and 'truenas.com'
DeltaFile
+3-3src/middlewared/middlewared/plugins/truecommand/connection.py
+3-31 files

LLVM/project 5e69031llvm/test/tools/llvm-reduce unconditional-br-phi.ll, llvm/tools/llvm-reduce/deltas ReduceUsingSimplifyCFG.cpp

[review] Add test case with phi-nodes and switch
DeltaFile
+89-0llvm/test/tools/llvm-reduce/unconditional-br-phi.ll
+1-1llvm/tools/llvm-reduce/deltas/ReduceUsingSimplifyCFG.cpp
+90-12 files

FreeNAS/freenas 6795481src/middlewared/middlewared/utils io.py, tests/unit test_atomic_replace.py

Add logic for preserving existing uid / gid to atomic_rewrite

This commit adds plumbing to accept uid / gid -1 to preserve
existing permissions (if they exist). This is an odd edge-case
but it matches some potential usage of file rewrite in
middleware.
DeltaFile
+296-0tests/unit/test_atomic_replace.py
+17-9src/middlewared/middlewared/utils/io.py
+313-92 files

LLVM/project 997f280clang/include/clang/Analysis/Scalable/Serialization SerializationFormatRegistry.h SerializationFormat.h, clang/lib/Analysis/Scalable/Serialization SerializationFormatRegistry.cpp SerializationFormat.cpp

[clang][ssaf] Remove VFS support from SerializationFormat (#180891)

This change removes support for `VFS` in `SerializationFormat`,
introduced in https://github.com/llvm/llvm-project/pull/179516/. `VFS`
only provides a virtual input backend and its matched pair,
`VirtualOutputBackend`, does not provide support for an
`InMemoryOutputBackend`. There was an attempt from our end to implement
this support in https://github.com/llvm/llvm-project/pull/179515 but it
did not succeed. Supporting virtual reads but not virtual writes makes
the SerializationFormat APIs asymmetric. So we have decided to remove
`VFS` support altogether.

---------

Co-authored-by: Balazs Benics <benicsbalazs at gmail.com>
DeltaFile
+28-9clang/unittests/Analysis/Scalable/Registries/SerializationFormatRegistryTest.cpp
+6-5clang/unittests/Analysis/Scalable/Registries/MockSerializationFormat.cpp
+3-8clang/include/clang/Analysis/Scalable/Serialization/SerializationFormatRegistry.h
+3-8clang/lib/Analysis/Scalable/Serialization/SerializationFormatRegistry.cpp
+0-5clang/include/clang/Analysis/Scalable/Serialization/SerializationFormat.h
+0-3clang/lib/Analysis/Scalable/Serialization/SerializationFormat.cpp
+40-382 files not shown
+42-408 files

LLVM/project df4a559clang/lib/CodeGen ItaniumCXXABI.cpp, clang/test/DebugInfo/CXX ptrauth-member-function-pointer-debuglocs.cpp

[AArch64][PAC] Emit `!dbg` locations in `*_vfpthunk_` functions

In absence of `!dbg` metadata, it is possible for indirect
authenticated call to be replaced with a direct call instruction
without `!dbg` metadata. This may result in an error reported by
LLVM IR verifier ("inlinable function call in a function with
debug info must have a !dbg location") or an assertion triggered
after inlining this call ("!dbg attachment points at wrong
subprogram for function").
DeltaFile
+31-0clang/test/DebugInfo/CXX/ptrauth-member-function-pointer-debuglocs.cpp
+4-0clang/lib/CodeGen/ItaniumCXXABI.cpp
+35-02 files

LLVM/project 271506fclang/test/DebugInfo/CXX ptrauth-member-function-pointer-debuglocs.cpp

Address review comments
DeltaFile
+11-3clang/test/DebugInfo/CXX/ptrauth-member-function-pointer-debuglocs.cpp
+11-31 files

FreeBSD/src e894544usr.sbin/pw pw.8

pw: make manual page more friendly for uid/gid search

pw.8 structure is quite different from usual manual page, especially in
describing -o option usage.  Specifically, these paragraphs do not
contain "uid/gid" terms, and have "user id"/"group id" instead,
making searching for "override duplicate safety belt" difficult.
Try to simplify such searches.

Also, clarify uid/gid space between 100 and 1000 as "somewhat special",
as it actually is.

Discussed on:   russian telegram FreeBSD group
Reviewed by:    eugen, novel
MFC after:      1 week
DeltaFile
+7-4usr.sbin/pw/pw.8
+7-41 files

OpenZFS/src cdf89f4module/zfs spa.c

Flush RRD only when TXGs contain data

This change modifies the behavior of spa_sync_time_logger when
flushing the RRD database.

Previously, once the sync interval elapsed, a flush would always
be generated. On solid-state devices, especially when the pool was
otherwise idle, this caused disks to wake up solely to write RRD
data. Since RRD is best-effort telemetry, this behavior is
unnecessary and wasteful.

With this change, spa_sync_time_logger delays flushing until a TXG
that already contains data is being synced. The RRD update is
appended to that TXG instead of forcing the creation of
a new write-only TXG.

During pool export, flushing is forced regardless of whether
the TXG contains user data. At that stage, data durability takes
precedence and a write must be issued.

    [5 lines not shown]
DeltaFile
+20-12module/zfs/spa.c
+20-121 files

LLVM/project 5129b3cbolt/include/bolt/Core BinaryFunction.h, bolt/lib/Passes IdenticalCodeFolding.cpp

[BOLT] Make FoldedIntoFunction always point to root parent (#180855)

After ICF folds functions, FoldedIntoFunction may point to a function
that was also folded. Add a post-processing step at the end of ICF to
flatten all chains so FoldedIntoFunction always points to the ultimate
root parent (a function that is not itself folded).
DeltaFile
+13-0bolt/lib/Passes/IdenticalCodeFolding.cpp
+4-7bolt/lib/Rewrite/RewriteInstance.cpp
+2-1bolt/include/bolt/Core/BinaryFunction.h
+19-83 files

LLVM/project 2fd5479lldb/source/Host/windows/PythonPathSetup PythonPathSetup.cpp

[lldb][windows] fix undeclared identifier error GetModulePath (#180989)

`LLDB_PYTHON_DLL_RELATIVE_PATH` can be unset while
`LLDB_PYTHON_RUNTIME_LIBRARY_FILENAME` is, since it's set automatically
by CMake. This situation causes a build failure which this patch fixes.

This issue was introduced in
https://github.com/llvm/llvm-project/pull/180784.
DeltaFile
+1-1lldb/source/Host/windows/PythonPathSetup/PythonPathSetup.cpp
+1-11 files

LLVM/project efeef56clang/test/CodeGenObjC direct-method-ret-mismatch.m

fix test
DeltaFile
+8-8clang/test/CodeGenObjC/direct-method-ret-mismatch.m
+8-81 files

LLVM/project e6b99falldb/source/Target Process.cpp

[LLDB]Fix asan error from pr/179799 (#180996)

Fix asan error mentioned in [this
comment](https://github.com/llvm/llvm-project/pull/179799#issuecomment-3882710678)
This is breaking our internal builds.

Details: The field needs to be cleaned up or we'll have a leak. We could
also make it a smart pointer if you'd like. But as-is, this is the
quickest way to resolve the issue.
DeltaFile
+2-0lldb/source/Target/Process.cpp
+2-01 files

LLVM/project 65f3329llvm/lib/Target/AMDGPU AMDGPURegBankLegalizeRules.cpp, llvm/test/CodeGen/AMDGPU/GlobalISel llvm.amdgcn.raw.buffer.atomic.integer-minmax.ll

[AMDGPU][GlobalIsel] Add register bank legalization rules for buffer atomic int min max (#180975)

This patch adds register bank legalization rules for buffer atomic int
min max operations in the AMDGPU GlobalISel pipeline.
DeltaFile
+282-0llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.raw.buffer.atomic.integer-minmax.ll
+4-1llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeRules.cpp
+286-12 files

FreeNAS/freenas 5551acasrc/middlewared/middlewared/plugins/pool_ dataset_encryption_lock.py, src/middlewared/middlewared/utils user_api_key.py

Fix some more non-ascii charts
DeltaFile
+16-16src/middlewared/middlewared/utils/user_api_key.py
+6-6src/middlewared/middlewared/plugins/pool_/dataset_encryption_lock.py
+22-222 files

LLVM/project d48674eclang/test/CodeGen systemz-charset.c

add test for cc1 error
DeltaFile
+4-0clang/test/CodeGen/systemz-charset.c
+4-01 files

LLVM/project 96bf61eclang/include/clang/Lex TextEncodingConfig.h LiteralSupport.h, clang/lib/Driver/ToolChains Clang.cpp

address comments
DeltaFile
+6-6clang/lib/Driver/ToolChains/Clang.cpp
+6-4clang/lib/Lex/TextEncodingConfig.cpp
+3-3clang/include/clang/Lex/TextEncodingConfig.h
+3-3clang/lib/Lex/LiteralSupport.cpp
+2-1llvm/include/llvm/TargetParser/Triple.h
+1-0clang/include/clang/Lex/LiteralSupport.h
+21-176 files

LLVM/project 4834bfaclang/include/clang/Lex TextEncodingConfig.h, clang/lib/Lex LiteralSupport.cpp TextEncodingConfig.cpp

remove ToSystemEncodingConverter, support translating multibyte characters to single byte in the exec encoding
DeltaFile
+10-9clang/lib/Lex/LiteralSupport.cpp
+0-14clang/lib/Lex/TextEncodingConfig.cpp
+9-1clang/test/CodeGen/systemz-charset.c
+1-6clang/include/clang/Lex/TextEncodingConfig.h
+20-304 files

LLVM/project 6fe9a4dclang/include/clang/Basic TokenKinds.h, clang/lib/CodeGen ItaniumCXXABI.cpp

translate typeinfo to default encoding, address other comments
DeltaFile
+13-4clang/lib/CodeGen/ItaniumCXXABI.cpp
+4-4clang/lib/Lex/TextEncodingConfig.cpp
+0-7clang/include/clang/Basic/TokenKinds.h
+17-153 files

LLVM/project 123048cclang/include/clang/Basic DiagnosticLexKinds.td, clang/lib/Lex LiteralSupport.cpp

add proper diagnostics for char conversion
DeltaFile
+26-8clang/lib/Lex/LiteralSupport.cpp
+2-0clang/include/clang/Basic/DiagnosticLexKinds.td
+28-82 files

LLVM/project 4542286clang/lib/Lex LiteralSupport.cpp

add more error handling, address comments
DeltaFile
+68-42clang/lib/Lex/LiteralSupport.cpp
+68-421 files

LLVM/project f3448bfclang/include/clang/Basic DiagnosticFrontendKinds.td, clang/lib/Frontend CompilerInstance.cpp

improve testcase
DeltaFile
+15-3clang/test/CodeGen/systemz-charset.c
+2-2clang/include/clang/Basic/DiagnosticFrontendKinds.td
+1-1clang/lib/Frontend/CompilerInstance.cpp
+18-63 files

LLVM/project b3bc569clang/include/clang/Lex TextEncodingConfig.h LiteralConverter.h, clang/lib/Lex LiteralConverter.cpp TextEncodingConfig.cpp

rename LiteralConverter to TextEncodingConfig
DeltaFile
+0-60clang/lib/Lex/LiteralConverter.cpp
+59-0clang/lib/Lex/TextEncodingConfig.cpp
+40-0clang/include/clang/Lex/TextEncodingConfig.h
+0-40clang/include/clang/Lex/LiteralConverter.h
+5-5clang/lib/Lex/LiteralSupport.cpp
+5-5clang/include/clang/Lex/LiteralSupport.h
+109-1103 files not shown
+116-1179 files

LLVM/project 4ca764cclang/lib/Driver/ToolChains Clang.cpp, clang/lib/Lex LiteralSupport.cpp

remove implementation details from driver, use const reference
DeltaFile
+6-10clang/lib/Driver/ToolChains/Clang.cpp
+11-2llvm/lib/Support/TextEncoding.cpp
+1-2llvm/include/llvm/Support/TextEncoding.h
+1-1llvm/include/llvm/TargetParser/Triple.h
+1-1clang/lib/Lex/LiteralSupport.cpp
+20-165 files

LLVM/project 6930ac2clang/lib/Frontend CompilerInstance.cpp

fix CI
DeltaFile
+2-2clang/lib/Frontend/CompilerInstance.cpp
+2-21 files

LLVM/project 2e5d6a0clang/include/clang/Lex LiteralConverter.h, clang/include/clang/Options Options.td

address comments
DeltaFile
+30-23clang/lib/Lex/LiteralConverter.cpp
+31-13clang/lib/Lex/LiteralSupport.cpp
+15-11clang/lib/Driver/ToolChains/Clang.cpp
+11-6clang/include/clang/Lex/LiteralConverter.h
+9-7clang/test/Driver/clang_f_opts.c
+9-4clang/include/clang/Options/Options.td
+105-6411 files not shown
+130-7617 files

LLVM/project 94d0ff2clang/lib/Frontend FrontendAction.cpp, clang/lib/Lex PPDirectives.cpp

do not translate line/digit directives, do not translate filename
DeltaFile
+4-2clang/lib/Lex/PPDirectives.cpp
+3-1clang/lib/Frontend/FrontendAction.cpp
+7-32 files