LLVM/project d32ffdeclang/docs ClangIRABILowering.md index.rst

[CIR] Add MLIR ABI Lowering design document

Design document for MLIR dialect-agnostic calling convention
lowering that builds on the LLVM ABI Lowering Library
(llvm/lib/ABI/) as the single source of truth for ABI
classification.  Dialects use the library via an adapter layer:
ABITypeMapper maps dialect types to abi::Type*, the library
classifies arguments and returns, and a dialect-specific
ABIRewriteContext applies the decisions back to IR operations.

Targets x86_64 and AArch64, with parity against Classic Clang
CodeGen validated through differential testing.
DeltaFile
+545-0clang/docs/ClangIRABILowering.md
+1-0clang/docs/index.rst
+546-02 files

LLVM/project 2cb01dcclang-tools-extra/clang-doc/benchmarks ClangDocBenchmark.cpp CMakeLists.txt

[clang-doc] Fix benchmark not compiling (#185065)

CI didn't flag that the benchmark was using the outdated Ctx call
when landing the Mustache MD patch since this benchmark isn't tested.
Also added missing libraries in CMake that prevented me from building
the benchmark locally.
DeltaFile
+2-2clang-tools-extra/clang-doc/benchmarks/ClangDocBenchmark.cpp
+2-0clang-tools-extra/clang-doc/benchmarks/CMakeLists.txt
+4-22 files

FreeBSD/src 95dd873sys/contrib/dev/iwlwifi/fw/api rx.h, sys/contrib/dev/iwlwifi/mld rx.c d3.c

iwlwifi: update Intel's mvm/mld drivers

This version is based on
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
05f7e89ab9731565d8a62e3b5d1ec206485eeb0b ( tag: v6.19 ).

Sponsored by:   The FreeBSD Foundation
MFC after:      3 days
DeltaFile
+931-804sys/contrib/dev/iwlwifi/mld/rx.c
+0-809sys/contrib/dev/iwlwifi/mvm/link.c
+359-200sys/contrib/dev/iwlwifi/mld/d3.c
+49-347sys/contrib/dev/iwlwifi/mvm/d3.c
+286-0sys/contrib/dev/iwlwifi/fw/api/rx.h
+175-77sys/contrib/dev/iwlwifi/pcie/gen1_2/trans.c
+1,800-2,237103 files not shown
+3,127-4,432109 files

FreeNAS/freenas 0875b81tests/stig test_01_stig.py

Use auth.login_ex_continue
DeltaFile
+1-1tests/stig/test_01_stig.py
+1-11 files

LLVM/project 918d0fellvm/lib/Target/AMDGPU SIInsertWaitcnts.cpp, llvm/test/CodeGen/AMDGPU asyncmark-pregfx12.ll asyncmark-waitcnt.mir

[AMDGPU] fix asyncmark soft waitcnt bug (#184851)

Asyncmarks record the current wait state and so should not allow waitcnts that occur after them to be merged into waitcnts that occur before.
DeltaFile
+111-8llvm/test/CodeGen/AMDGPU/asyncmark-pregfx12.ll
+25-0llvm/test/CodeGen/AMDGPU/asyncmark-waitcnt.mir
+11-7llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
+147-153 files

FreeNAS/freenas cc9f213src/freenas/usr/local/share/python-gdb libpython.py, src/middlewared/middlewared/api/v27_0_0 smb.py pool_dataset.py

Merge branch 'master' of https://github.com/truenas/middleware into NAS-139477
DeltaFile
+0-1,914src/freenas/usr/local/share/python-gdb/libpython.py
+544-445src/middlewared/middlewared/plugins/etc.py
+0-936tests/api2/test_345_acl_nfs4.py
+918-0src/middlewared/middlewared/api/v27_0_0/smb.py
+860-0tests/unit/test_acltool.py
+818-0src/middlewared/middlewared/api/v27_0_0/pool_dataset.py
+3,140-3,295420 files not shown
+29,514-7,395426 files

LLVM/project 097122cclang/lib/CodeGen CGExprCXX.cpp, clang/test/CodeGenCXX microsoft-abi-diamond-template-multiple-vbptrs.cpp

  [clang][CodeGen] Fix size calculation in vbptr split memory region in EmitNullBaseClassInitialization (#184558)

When splitting memory stores around multiple virtual base pointers
(vbptrs)
in the Microsoft ABI, the calculation for the size of the memory region
after
  each vbptr was incorrect.

The bug/old calculation: SplitAfterSize = LastStoreSize -
SplitAfterOffset
  This subtracts an absolute offset from a relative size, causing
  incorrect (too small) sizes after the second vbptr.
  
  The correct size should be:
  SplitAfterSize = (LastStoreOffset + LastStoreSize) - SplitAfterOffset

Since all store regions extend to the end of the non-virtual portion
(NVSize),
  this patch uses the simplified form: 

    [3 lines not shown]
DeltaFile
+122-0clang/test/CodeGenCXX/microsoft-abi-diamond-template-multiple-vbptrs.cpp
+1-2clang/lib/CodeGen/CGExprCXX.cpp
+123-22 files

FreeBSD/ports 26b198email/davmail pkg-plist Makefile, mail/davmail/files patch-build.xml

mail/davmail: Update 6.1.0 => 6.5.1

Release Notes:
https://sourceforge.net/p/davmail/code/HEAD/tree/tags/6.5.1/RELEASE-NOTES.md

Improve port:
- Reordered Makefile variables per portclippy.
- Parametrize davmail with PORTNAME.
- Replace PORTVERSION with DISTVERSION.

PR:             293568
Co-authored-by: Vladimir Druzenko <vvd at FreeBSD.org>
DeltaFile
+25-53mail/davmail/pkg-plist
+20-20mail/davmail/Makefile
+8-7mail/davmail/files/patch-build.xml
+3-3mail/davmail/distinfo
+56-834 files

LLVM/project 216a3f1utils/bazel/llvm-project-overlay/clang BUILD.bazel

[Bazel] Fixes 3da28bf (#185082)

This fixes 3da28bfbce4d7ac8eaea6b8489031d01748d4fc5.

Co-authored-by: Google Bazel Bot <google-bazel-bot at google.com>
DeltaFile
+5-0utils/bazel/llvm-project-overlay/clang/BUILD.bazel
+5-01 files

LLVM/project 25e201bclang/test/CodeGenObjC expose-direct-method-cross-linkage.m

Address reviewer's concerns
DeltaFile
+0-174clang/test/CodeGenObjC/expose-direct-method-cross-linkage.m
+0-1741 files

LLVM/project 2065c7fllvm/test/Instrumentation/AddressSanitizer basic-msvc64.ll

clean up triple + arg
DeltaFile
+1-2llvm/test/Instrumentation/AddressSanitizer/basic-msvc64.ll
+1-21 files

LLVM/project 9cc615allvm/lib/Transforms/Scalar LoopFuse.cpp

[LoopFusion] remove else after return (NFC) (#184993)

A bit of a small nitpick, close it if unnecessary. (clang-tidy warnings)
DeltaFile
+2-4llvm/lib/Transforms/Scalar/LoopFuse.cpp
+2-41 files

LLVM/project f01f875clang/test/CodeGenObjC expose-direct-method.m expose-direct-method-varargs.m

Address reviewer's concerns
DeltaFile
+41-2clang/test/CodeGenObjC/expose-direct-method.m
+3-3clang/test/CodeGenObjC/expose-direct-method-varargs.m
+2-2clang/test/CodeGenObjC/expose-direct-method-linkedlist.m
+46-73 files

FreeNAS/freenas b2b3f82tests/sharing_protocols/smb test_smb_timemachine_snapshot.py

NAS-140168 / 26.0.0-BETA.2 / Fix time machine snapshot test (by anodos325) (#18392)

This commit fixes a test regression caused by API endpoint behavior
change. Since it was originally calling a private endpoint, there was no
guarantee of stability and things changed as we switched to
zfs.resource.snapshot.count.

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

Co-authored-by: Andrew Walker <andrew.walker at truenas.com>
DeltaFile
+1-1tests/sharing_protocols/smb/test_smb_timemachine_snapshot.py
+1-11 files

LLVM/project 57f1ec6compiler-rt/lib/builtins CMakeLists.txt

builtins: adjust FP80 source management (#183871)

We would previously include the FP80 sources into the Windows build if
we built with the GNU driver rather than the `cl` driver.
DeltaFile
+13-7compiler-rt/lib/builtins/CMakeLists.txt
+13-71 files

OpenZFS/src c5905b2include libzfs_core.h, lib/libzfs libzfs_sendrecv.c

Implement lzc_send_progress

This commit adds an implementation of lzc_send_progress, which
existed in the libzfs_core header, but not in ABI and lacked
an actual implementation. The libzfs_send_progress function
is altered so that it wraps around the lzc operation. This
fills a functional gap in libzfs core.

Reviewed-by: Alexander Motin <alexander.motin at TrueNAS.com>
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: Ameer Hamza <ahamza at ixsystems.com>
Signed-off-by: Andrew Walker <andrew.walker at truenas.com>
Closes #18288
DeltaFile
+33-0lib/libzfs_core/libzfs_core.c
+2-15lib/libzfs/libzfs_sendrecv.c
+8-0lib/libzfs_core/libzfs_core.abi
+1-1include/libzfs_core.h
+44-164 files

FreeNAS/freenas 4cc2c48tests/sharing_protocols/smb test_smb_timemachine_snapshot.py

NAS-140168 / 27.0.0-BETA.1 / Fix time machine snapshot test (#18390)

This commit fixes a test regression caused by API endpoint behavior
change. Since it was originally calling a private endpoint, there was no
guarantee of stability and things changed as we switched to
zfs.resource.snapshot.count.
DeltaFile
+1-1tests/sharing_protocols/smb/test_smb_timemachine_snapshot.py
+1-11 files

OpenZFS/src c58b8b7config toolchain-cfi.m4 zfs-build.m4, module/icp/asm-aarch64/blake3 b3_aarch64_sse2.S b3_aarch64_sse41.S

Fix check for .cfi_negate_ra_state on aarch64

Checking for LD_VERSION in unreliable as not all distros define it on
the compiler's preprocessor.

Explicitly check it via autoconf.

This fixes support for Ubuntu 18.04 on arm64.

Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Juhyung Park <qkrwngud825 at gmail.com>
Closes #18262
DeltaFile
+33-0config/toolchain-cfi.m4
+2-2module/icp/asm-aarch64/blake3/b3_aarch64_sse2.S
+2-2module/icp/asm-aarch64/blake3/b3_aarch64_sse41.S
+1-0config/zfs-build.m4
+38-44 files

FreeNAS/freenas 50085fdsrc/middlewared/middlewared/plugins/pool_ pool.py, src/middlewared/middlewared/plugins/zpool query_impl.py get_zpool_scan_impl.py

more cleanup of AI SLOP
DeltaFile
+43-20src/middlewared/middlewared/plugins/zpool/query_impl.py
+0-23src/middlewared/middlewared/plugins/zpool/get_zpool_scan_impl.py
+7-4src/middlewared/middlewared/plugins/pool_/pool.py
+0-2src/middlewared/middlewared/plugins/zpool/__init__.py
+50-494 files

FreeNAS/freenas 83eba03src/middlewared/middlewared/plugins/zpool query_impl.py crud.py

clean up
DeltaFile
+21-36src/middlewared/middlewared/plugins/zpool/query_impl.py
+2-2src/middlewared/middlewared/plugins/zpool/crud.py
+23-382 files

FreeNAS/freenas 7161516src/middlewared/middlewared/plugins/zpool get_zpool_status_impl.py get_zpool_topology_impl.py

badddd
DeltaFile
+0-29src/middlewared/middlewared/plugins/zpool/get_zpool_status_impl.py
+0-18src/middlewared/middlewared/plugins/zpool/get_zpool_topology_impl.py
+0-4src/middlewared/middlewared/plugins/zpool/__init__.py
+0-513 files

FreeNAS/freenas 5cf6491src/middlewared/middlewared/plugins/zpool get_zpool_properties_impl.py query_impl.py

more AI garbage
DeltaFile
+0-26src/middlewared/middlewared/plugins/zpool/get_zpool_properties_impl.py
+1-4src/middlewared/middlewared/plugins/zpool/query_impl.py
+0-2src/middlewared/middlewared/plugins/zpool/__init__.py
+1-323 files

FreeNAS/freenas 2fae0c8src/middlewared/middlewared/api/v27_0_0 zpool_query.py __init__.py

add v27 dirs
DeltaFile
+173-0src/middlewared/middlewared/api/v27_0_0/zpool_query.py
+1-0src/middlewared/middlewared/api/v27_0_0/__init__.py
+174-02 files

FreeNAS/freenas 6c55f6dsrc/middlewared/middlewared/plugins/pool_ pool.py, src/middlewared/middlewared/plugins/zpool query_impl.py

add expand_info()
DeltaFile
+30-0src/middlewared/middlewared/plugins/zpool/query_impl.py
+14-5src/middlewared/middlewared/plugins/pool_/pool.py
+44-52 files

FreeNAS/freenas 55103dbsrc/middlewared/middlewared/api/v26_0_0 zpool_query.py, src/middlewared/middlewared/plugins/pool_ topology.py pool.py

add zpool.query
DeltaFile
+221-0src/middlewared/middlewared/plugins/zpool/query_impl.py
+173-0src/middlewared/middlewared/api/v26_0_0/zpool_query.py
+60-3src/middlewared/middlewared/plugins/pool_/topology.py
+41-19src/middlewared/middlewared/plugins/pool_/pool.py
+39-0src/middlewared/middlewared/plugins/zpool/crud.py
+29-0src/middlewared/middlewared/plugins/zpool/get_zpool_status_impl.py
+563-2214 files not shown
+668-4320 files

FreeNAS/freenas 9527c9csrc/middlewared/middlewared/plugins/zpool query_impl.py get_zpool_scan_impl.py

fix1
DeltaFile
+6-0src/middlewared/middlewared/plugins/zpool/query_impl.py
+3-1src/middlewared/middlewared/plugins/zpool/get_zpool_scan_impl.py
+9-12 files

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

[AArch64][PAC] Emit `!dbg` locations in `*_vfpthunk_` functions (#179688)

The usage of pointers to member functions with Pointer Authentication
requires generation of `*_vfpthunk_` functions. These thunk functions
can be later inlined and optimized by replacing the indirect call
instruction with a direct one and then inlining that function call.

In absence of `!dbg` metadata attached to the original call instruction,
such inlining ultimately results in an assertion "!dbg attachment points
at wrong subprogram for function" in the assertions-enabled builds. By
manually executing `opt` with `-verify-each` option on the LLVM IR
produced by the frontend, an actual issue can be observed: "inlinable
function call in a function with debug info must have a !dbg location"
after the replacement of indirect call instruction with the direct one
takes place.

This commit fixes the issue by attaching artificial `!dbg` locations to
the original call instruction (as well as most other instructions in
`*_vfpthunk_` function) the same way it is done for other

    [3 lines not shown]
DeltaFile
+39-0clang/test/DebugInfo/CXX/ptrauth-member-function-pointer-debuglocs.cpp
+4-0clang/lib/CodeGen/ItaniumCXXABI.cpp
+43-02 files

LLVM/project 0eb9577clang/lib/AST PrintfFormatString.cpp FormatString.cpp, clang/lib/Sema SemaChecking.cpp

add format string handling

(cherry picked from commit 20a6fdfe3045eebaf1acc4fff7269c66e85e10c3)
(cherry picked from commit f416afce1fda8733c693aaef3f15c8b099154c20)
DeltaFile
+241-164clang/lib/AST/PrintfFormatString.cpp
+128-118clang/lib/AST/FormatString.cpp
+104-51clang/lib/AST/ScanfFormatString.cpp
+40-36clang/lib/Sema/SemaChecking.cpp
+23-16clang/lib/AST/FormatStringParsing.h
+19-0llvm/lib/Support/TextEncoding.cpp
+555-38512 files not shown
+618-39718 files

LLVM/project 08cd2e9clang/include/clang/Basic TargetInfo.h, clang/lib/AST ASTContext.cpp

convert to exec-charset inside getPredefinedStringLiteralFromCache, test __builtin_FILE()

(cherry picked from commit 9e4f1d155064ed3cef04ce15df068ca906aa3c55)
DeltaFile
+28-0clang/test/CodeGen/systemz-charset.cpp
+10-0clang/lib/AST/ASTContext.cpp
+5-4clang/lib/Lex/TextEncodingConfig.cpp
+3-0clang/lib/Basic/TargetInfo.cpp
+2-0clang/include/clang/Basic/TargetInfo.h
+0-1llvm/include/llvm/Support/TextEncoding.h
+48-56 files

HardenedBSD/src be35d1eusr.bin Makefile

HBSD: Resolve merge conflict

Signed-off-by:  Shawn Webb <shawn.webb at hardenedbsd.org>
DeltaFile
+0-8usr.bin/Makefile
+0-81 files