FreeBSD/src d949721sys/contrib/openzfs/module/zfs zap.c zap_micro.c, sys/contrib/openzfs/tests/unit munit.c test_zap.c

zfs: merge openzfs/zfs at a170134fe

Notable upstream pull request merges:
 #18372 eaaea55b6 Consistently encode DRR_BEGIN packed nvlist payloads with
                  NV_ENCODE_XDR
 #18410 891e379d0 Fix failfast default and usage
 #18470 a2d053329 zdb: Add some more file layout output, triggered by -v
 #18472 d50f5b6d0 dsl_dir: avoid dd_lock during snapshots_changed updates
 #18493 d65015938 Vdev allocation bias/class change
 #18497 8fdc86675 zfs: annotate nested dd_lock in reservation sync
                  accounting
 #18494 956deba27 zdb: detect BRT and DDT leaks during block traversal
 #18499 c7cfe0805 zarcstat: detect attached L2ARC device with no data
 #18503 439b802e7 sa: fix sa_add_projid lock ordering
 #18508 968f4db03 zpool-attach.8: add EXAMPLES section
 #18513 45dddc452 zfs.4: Fix documentation of zfs_arc_dnode_reduce_percent
 #18516 8ff64005a zap: split implementation out into more files
 #18520 181e1b522 Fix double free for blocks cloned after DDT prune
 #18535 -multiple zstream: fix crashes when refcount tracking enabled

    [28 lines not shown]
DeltaFile
+1,119-1,529sys/contrib/openzfs/module/zfs/zap.c
+2,458-0sys/contrib/openzfs/tests/unit/munit.c
+15-1,608sys/contrib/openzfs/module/zfs/zap_micro.c
+1,458-0sys/contrib/openzfs/module/zfs/zap_fat.c
+1,170-0sys/contrib/openzfs/tests/unit/test_zap.c
+575-0sys/contrib/openzfs/tests/unit/munit.h
+6,795-3,137190 files not shown
+14,745-4,032196 files

LLVM/project 35823d1clang-tools-extra/clang-doc Representation.h Representation.cpp

[clang-doc] Use llvm RTTI over handrolled casting (#202059)

Clang-Doc has a limited amount of polymorphism over Info types.
Historically, these have just been cast directly in a few places, but we
can use the existing llvm RTTI implementation to more rigorously
dispatch and query the types involved with only limited extra code.
This should make future changes a bit harder to get wrong.
DeltaFile
+36-0clang-tools-extra/clang-doc/Representation.h
+10-17clang-tools-extra/clang-doc/Representation.cpp
+8-8clang-tools-extra/clang-doc/BitcodeWriter.cpp
+6-6clang-tools-extra/clang-doc/Serialize.cpp
+5-5clang-tools-extra/clang-doc/YAMLGenerator.cpp
+5-5clang-tools-extra/clang-doc/JSONGenerator.cpp
+70-412 files not shown
+77-528 files

LLVM/project e076ae4llvm/include/llvm/CodeGen MachineInstr.h, llvm/include/llvm/Transforms/IPO Attributor.h

[CodeGen][Transforms] Remove unused DenseMapInfo::getEmptyKey (#201994)

After #201281 DenseMapInfo<T>::getEmptyKey() is no longer used by
DenseMap. Remove the unused getEmptyKey definitions and dead sentinel
uses.
DeltaFile
+5-38llvm/lib/Transforms/Scalar/EarlyCSE.cpp
+0-21llvm/lib/Transforms/IPO/AttributorAttributes.cpp
+0-19llvm/include/llvm/Transforms/IPO/Attributor.h
+1-16llvm/lib/Transforms/Utils/Local.cpp
+1-12llvm/lib/CodeGen/MachineOutliner.cpp
+3-9llvm/include/llvm/CodeGen/MachineInstr.h
+10-11536 files not shown
+12-27542 files

LLVM/project 25a492bllvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/test/Transforms/SLPVectorizer/X86 split-node-reused-and-reordered-operand.ll

[SLP]Keep reuse mask in sync when reordering split node operand

When reorderBottomToTop uses an operand order for a split vectorize
node and the operand has both reordered and reused scalars, only the
reorder indices were cleared while the reuse mask was left stale. This
diverged the split node scalars from the operand effective order.

Fixes #202003

Reviewers: 

Pull Request: https://github.com/llvm/llvm-project/pull/202084
DeltaFile
+106-0llvm/test/Transforms/SLPVectorizer/X86/split-node-reused-and-reordered-operand.ll
+8-0llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+114-02 files

LLVM/project 825d760lld/wasm SyntheticSections.h

[lld][WebAssembly] Remove vestigial ImportKey::State after DenseMapInfo cleanup (#202082)

Unused after #201989 removed getEmptyKey()
DeltaFile
+3-10lld/wasm/SyntheticSections.h
+3-101 files

NetBSD/pkgsrc aiKb00mconverters/py-erlpack Makefile

   py-erlpack: fix build if setuptools isn't installed

   If setuptools is installed, the build will work even if it isn't specified
   as a dependency. Unfortunately, all machines I tested the package on already
   had setuptools installed.
VersionDeltaFile
1.2+3-1converters/py-erlpack/Makefile
+3-11 files

LLVM/project c5c9676clang-tools-extra/include-cleaner/include/clang-include-cleaner Types.h, clang/include/clang/Basic FileEntry.h DirectoryEntry.h

[clang][clang-tools-extra] Remove unused DenseMapInfo::getEmptyKey (#201987)

After #201281 DenseMapInfo<T>::getEmptyKey() is no longer used by
DenseMap. Remove the unused getEmptyKey definitions and dead sentinel
uses.
DeltaFile
+0-22clang/lib/AST/ItaniumCXXABI.cpp
+0-21clang/include/clang/Basic/FileEntry.h
+0-20clang/include/clang/Basic/DirectoryEntry.h
+0-17clang-tools-extra/include-cleaner/include/clang-include-cleaner/Types.h
+0-13clang/lib/APINotes/APINotesFormat.h
+0-13clang/include/clang/Basic/SourceLocation.h
+0-10645 files not shown
+2-35351 files

LLVM/project 02b26ecllvm/lib/Transforms/Scalar LoopInterchange.cpp

[LoopInterchange] Remove unnecessary type check (NFC) (#202073)

As mentioned in #200913, there is an unnecessay type check. Let's remove
it.
DeltaFile
+0-2llvm/lib/Transforms/Scalar/LoopInterchange.cpp
+0-21 files

LLVM/project e910a52llvm/lib/Target/M68k M68kInstrFormats.td, llvm/lib/Target/M68k/Disassembler M68kDisassembler.cpp

[M68k] Disassemble index suppress in the full extension word correctly (#202080)

When the IS (Index Suppress) bit in the full extension word is set, we
need to use NoReg for the index register in the decoded MCInst. This was
not properly supported in the disassembler before.

This patch fixes this issue by using a pseudo 5-bit "register" binary
encoding for index register, where the first 4 bits carry the actual
register number and the last bit (at MSB) indicates whether we suppress
index register or not.
DeltaFile
+13-0llvm/lib/Target/M68k/Disassembler/M68kDisassembler.cpp
+2-5llvm/lib/Target/M68k/M68kInstrFormats.td
+4-1llvm/lib/Target/M68k/MCTargetDesc/M68kMCCodeEmitter.cpp
+3-0llvm/test/MC/Disassembler/M68k/data.txt
+22-64 files

LLVM/project 19f96a9llvm/lib/Object DXContainer.cpp

[DirectX][ObjectYAML] Fix SRCI Names parsing on Big Endian (#202020)

```
Names.Parameters = HeaderOnDisk;
```
converts SRCI Names section header from little endian to platform native
byte order (in converting constructor).
Therefore, extra
```
  if (sys::IsBigEndianHost)
    Names.Parameters.swapBytes();
```
can swap bytes of the header fields again, causing an error on SPARC:
```
SRCI Names section content ends beyond the section boundary
```

Fix that.
DeltaFile
+0-2llvm/lib/Object/DXContainer.cpp
+0-21 files

FreeBSD/src 4a299efsys/dev/firewire firewire.c

firewire: clean up XXX comments

Remove stale and misleading XXX comments throughout firewire.c.
Most were from the original 2002 codebase and either described
correct behavior or noted aspirational improvements that never
happended.

Two actionable items retained as TODO: config ROM CRC validation
and pending xfer cleanup on detach.

Reviewed by:    adrian
Differential Revision:  https://reviews.freebsd.org/D57466
DeltaFile
+9-16sys/dev/firewire/firewire.c
+9-161 files

LLVM/project 3232b4dllvm/include/llvm/Analysis IRSimilarityIdentifier.h ScalarEvolution.h, llvm/include/llvm/IR ValueHandle.h ModuleSummaryIndex.h

[IR][Analysis] Remove unused DenseMapInfo::getEmptyKey (#201997)

After #201281 DenseMapInfo<T>::getEmptyKey() is no longer used by
DenseMap. Remove the unused getEmptyKey definitions and dead sentinel
uses.
DeltaFile
+0-34llvm/lib/IR/LLVMContextImpl.h
+1-13llvm/include/llvm/IR/ValueHandle.h
+1-13llvm/include/llvm/IR/ModuleSummaryIndex.h
+0-12llvm/include/llvm/IR/Attributes.h
+1-11llvm/include/llvm/Analysis/IRSimilarityIdentifier.h
+0-10llvm/include/llvm/Analysis/ScalarEvolution.h
+3-9314 files not shown
+5-16220 files

LLVM/project c384de1llvm/lib/Transforms/Vectorize VPlanTransforms.cpp

[VPlan] Prevent dangling references to trip count after expansion. (#201924)

Set trip count to Poison after expanding SCEVs to VPInstructions. getTripCount should not be used after that other than printing; setting to poison avoids accessing dangling references.
DeltaFile
+4-1llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+4-11 files

FreeBSD/ports 964bd52devel/R-cran-callr Makefile distinfo

devel/R-cran-callr: Update to 3.8.0

Changelog: https://cloud.r-project.org/web/packages/callr/news/news.html
DeltaFile
+3-4devel/R-cran-callr/Makefile
+3-3devel/R-cran-callr/distinfo
+6-72 files

FreeBSD/ports 3e090b5textproc/py-textual-autocomplete distinfo Makefile

textproc/py-textual-autocomplete: update 4.0.5 → 4.0.6
DeltaFile
+3-3textproc/py-textual-autocomplete/distinfo
+2-2textproc/py-textual-autocomplete/Makefile
+5-52 files

FreeBSD/ports 281f41dmisc/antigravity-cli distinfo Makefile

misc/antigravity-cli: update 1.0.5 → 1.0.6
DeltaFile
+5-5misc/antigravity-cli/distinfo
+2-2misc/antigravity-cli/Makefile
+7-72 files

FreeBSD/ports ab36ca5misc/mcp-inspector pkg-plist distinfo, misc/mcp-inspector/files package-lock.json

misc/mcp-inspector: update 0.21.2 → 0.22.0
DeltaFile
+339-441misc/mcp-inspector/files/package-lock.json
+45-85misc/mcp-inspector/pkg-plist
+3-3misc/mcp-inspector/distinfo
+1-1misc/mcp-inspector/Makefile
+388-5304 files

FreeBSD/ports 90d5fe4devel/git-town distinfo Makefile

devel/git-town: update 23.0.1 → 23.0.2
DeltaFile
+7-7devel/git-town/distinfo
+1-2devel/git-town/Makefile
+8-92 files

FreeBSD/ports 0140ee2devel Makefile, devel/py-pipcl Makefile pkg-descr

devel/py-pipcl: New port: Python packaging operations for use by a setup.py script
DeltaFile
+22-0devel/py-pipcl/Makefile
+6-0devel/py-pipcl/pkg-descr
+3-0devel/py-pipcl/distinfo
+1-0devel/Makefile
+32-04 files

FreeBSD/ports 8fd8bc9net/mihomo distinfo Makefile

net/mihomo: update 1.19.26 → 1.19.27
DeltaFile
+5-5net/mihomo/distinfo
+1-2net/mihomo/Makefile
+6-72 files

FreeBSD/ports 0230060textproc/py-bibtexparser Makefile distinfo

textproc/py-bibtexparser: update 1.4.3 → 1.4.4
DeltaFile
+4-3textproc/py-bibtexparser/Makefile
+3-3textproc/py-bibtexparser/distinfo
+7-62 files

FreeBSD/ports 857eee3misc/lean-ctx distinfo Makefile

misc/lean-ctx: update 3.7.4 → 3.7.5
DeltaFile
+31-3misc/lean-ctx/distinfo
+15-1misc/lean-ctx/Makefile
+46-42 files

LLVM/project 3501495llvm/test/CodeGen/X86 kshift.ll

[X86] kshift.ll - regenerate VPTERNLOG asm comments (#202055)
DeltaFile
+12-12llvm/test/CodeGen/X86/kshift.ll
+12-121 files

FreeBSD/src a620746sys/dev/firewire if_fwe.c

fix(fwe): add missing net epoch around ether_input

Wrap the if_input() call in fwe_as_input() with NET_EPOCH_ENTER/EXIT.
The network stack requires epoch protection when delivering packets
via if_input, and fwe was missing it.

Reviewed by:    adrian
Differential Revision:  https://reviews.freebsd.org/D57459
DeltaFile
+3-0sys/dev/firewire/if_fwe.c
+3-01 files

FreeBSD/src 390ae06sys/kern kern_procctl.c

procctl(PROC_REAP_GETPIDS): re-validate reaper after relock of proctree_lock

Reviewed by:    markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D57487
DeltaFile
+32-11sys/kern/kern_procctl.c
+32-111 files

FreeBSD/src 261c97bsys/kern kern_procctl.c

kern_procctl: add get_reaper_or_p() helper

Reviewed by:    markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D57487
DeltaFile
+10-6sys/kern/kern_procctl.c
+10-61 files

FreeBSD/src a845480sys/kern kern_procctl.c

procctl(): do not allow the process to exit inside kern_procctl_single()

Requested and reviewed by:      markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D57491
DeltaFile
+15-21sys/kern/kern_procctl.c
+15-211 files

FreeBSD/ports 2109f6bdevel/py-joblib Makefile

devel/py-joblib: Add CPE information
DeltaFile
+2-1devel/py-joblib/Makefile
+2-11 files

FreeBSD/ports f00a46adevel/py-gitpython Makefile

devel/py-gitpython: Add CPE information
DeltaFile
+2-1devel/py-gitpython/Makefile
+2-11 files

LLVM/project 371dacdlldb/include/lldb/Host HostThread.h, lldb/include/lldb/Symbol SymbolContext.h

[lldb] Remove unused DenseMapInfo::getEmptyKey (#201990)

After #201281 DenseMapInfo<T>::getEmptyKey() is no longer used by
DenseMap. Remove the unused getEmptyKey definitions and dead sentinel
uses.
DeltaFile
+0-13lldb/include/lldb/Symbol/SymbolContext.h
+0-4lldb/include/lldb/Utility/ConstString.h
+0-4lldb/include/lldb/Host/HostThread.h
+1-2lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
+0-3lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
+0-3lldb/include/lldb/Utility/UUID.h
+1-293 files not shown
+1-369 files