LLVM/project d14866fllvm/utils/gn/secondary/clang/lib/ScalableStaticAnalysisFramework/Analyses BUILD.gn

gn build: Port a4538a3ad902



Reviewers: 

Pull Request: https://github.com/llvm/llvm-project/pull/194077
DeltaFile
+1-0llvm/utils/gn/secondary/clang/lib/ScalableStaticAnalysisFramework/Analyses/BUILD.gn
+1-01 files

FreeBSD/ports 3fa5c27astro/qmapshack distinfo Makefile, astro/qmapshack/files patch-src_qmapshack_setup_CAppSetupLinux.cpp patch-src_qmaptool_setup_CAppSetupLinux.cpp

astro/qmapshack: update to 1.20.2

Release Notes:
  https://github.com/Maproom/qmapshack/releases/tag/V_1.20.2
DeltaFile
+13-5astro/qmapshack/files/patch-src_qmapshack_setup_CAppSetupLinux.cpp
+13-5astro/qmapshack/files/patch-src_qmaptool_setup_CAppSetupLinux.cpp
+3-3astro/qmapshack/distinfo
+1-2astro/qmapshack/Makefile
+30-154 files

Linux/linux 27d128ckernel/trace ring_buffer.c

Merge tag 'trace-ring-buffer-v7.1-3' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace

Pull ring-buffer fix from Steven Rostedt:

 - Fix accounting of persistent ring buffer rewind

   On boot up, the head page is moved back to the earliest point of the
   saved ring buffer. This is because the ring buffer being read by user
   space on a crash may not save the part it read. Rewinding the head
   page back to the earliest saved position helps keep those events from
   being lost.

   The number of events is also read during boot up and displayed in the
   stats file in the tracefs directory. It's also used for other
   accounting as well. On boot up, the "reader page" is accounted for
   but a rewind may put it back into the buffer and then the reader page
   may be accounted for again.

   Save off the original reader page and skip accounting it when

    [4 lines not shown]
DeltaFile
+7-6kernel/trace/ring_buffer.c
+7-61 files

Linux/linux f3e3dbcblock blk.h bio.c, drivers/block ublk_drv.c zloop.c

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

Pull block fixes from Jens Axboe:

 - Series for zloop, fixing a variety of issues

 - t10-pi code cleanup

 - Fix for a merge window regression with the bio memory allocation mask

 - Fix for a merge window regression in ublk, caused by an issue with
   the maple tree iteration code at teardown

 - ublk self tests additions

 - Zoned device pgmap fixes

 - Various little cleanups and fixes


    [22 lines not shown]
DeltaFile
+80-43drivers/block/ublk_drv.c
+59-64drivers/block/zloop.c
+103-0tools/testing/selftests/ublk/test_integrity_03.sh
+13-12include/linux/t10-pi.h
+21-0block/blk.h
+6-5block/bio.c
+282-12455 files not shown
+347-18761 files

FreeBSD/ports 446014fsecurity/nss distinfo Makefile

security/nss: update to 3.123.1

Announcement:
  https://groups.google.com/a/mozilla.org/g/dev-tech-crypto/c/IXfP0olxGT0
(cherry picked from commit b9183d42817a217f2cc71e12877e2fb270f68a0c)
DeltaFile
+3-3security/nss/distinfo
+1-1security/nss/Makefile
+4-42 files

FreeBSD/ports b9183d4security/nss distinfo Makefile

security/nss: update to 3.123.1

Announcement:
  https://groups.google.com/a/mozilla.org/g/dev-tech-crypto/c/IXfP0olxGT0
DeltaFile
+3-3security/nss/distinfo
+1-1security/nss/Makefile
+4-42 files

FreeBSD/src f31e6b1sys/dev/speaker spkr.c

speaker(4): move static data to text

Make this data const (it doesn't change) which will also move it to
a text section.

Signed-off-by: Raphael Poss <knz at thaumogen.net>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1922
DeltaFile
+2-2sys/dev/speaker/spkr.c
+2-21 files

FreeBSD/src 45a12d8sys/dev/speaker spkr.c

Revert "speaker(4): move static data to bss"

This reverts commit 690ef95b3354ac7a80aa469fa7a8f15f07962f83.

The commit message was wrong.
DeltaFile
+2-2sys/dev/speaker/spkr.c
+2-21 files

Linux/linux fa58e6eio_uring memmap.c register.c

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

Pull io_uring fixes from Jens Axboe:

 - Fix for a NOMMU bug with io_uring, where NOMMU doesn't grab page refs
   at mmap time. NOMMU also has entirely broken FOLL_PIN support, yet
   here we are

 - A few fixes covering minor issues introduced in this merge window

 - data race annotation to shut up KCSAN for when io-wq limits are
   applied

 - A nospec addition for direct descriptor file updating. Rest of the
   direct descriptor path already had this, but for some reason the
   update did not. Now they are all the same

 - Various minor defensive changes that claude identified and suggested
   terrible fixes for, turned into actually useful cleanups:

    [47 lines not shown]
DeltaFile
+45-1io_uring/memmap.c
+26-6io_uring/register.c
+11-4io_uring/tctx.c
+7-2io_uring/rsrc.h
+4-2io_uring/poll.c
+4-1io_uring/zcrx.c
+97-165 files not shown
+109-2211 files

LLVM/project 2b43da5llvm/lib/Target/AArch64 AArch64StackTaggingPreRA.cpp AArch64.h

[NewPM] Port for AArch64StackTaggingPreRA (#194021)

This patch migrates the AArch64StackTaggingPreRA pass to the New Pass
Manager.

Following the standard pattern for pass migrations:
- The core logic has been extracted into a standalone
AArch64StackTaggingPreRAImpl class.
- A new pass manager wrapper (AArch64StackTaggingPreRAPass) has been
created.
- The legacy pass manager wrapper has been renamed to
AArch64StackTaggingPreRALegacy and updated to call the shared
implementation.
- The pass is registered in AArch64PassRegistry.def to make it available
to the New PM.
DeltaFile
+40-15llvm/lib/Target/AArch64/AArch64StackTaggingPreRA.cpp
+9-2llvm/lib/Target/AArch64/AArch64.h
+2-2llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
+1-0llvm/lib/Target/AArch64/AArch64PassRegistry.def
+52-194 files

LLVM/project 2826b51llvm/docs AMDGPUUsage.rst, llvm/lib/Target/AMDGPU AMDGPUAsmPrinter.cpp

[AMDGPU] Add `.amdgpu.info` section for per-function metadata

AMDGPU object linking requires the linker to propagate resource usage
(registers, stack, LDS) across translation units. To support this, the compiler
must emit per-function metadata and call graph edges in the relocatable object
so the linker can compute whole-program resource requirements.

This PR introduces a `.amdgpu.info` ELF section using a tagged, length-prefixed
binary format: each entry is encoded as:

```
[kind: u8] [len: u8] [payload: <len> bytes]
```

A function scope is opened by an `INFO_FUNC` entry (containing a symbol
reference), followed by per-function attributes (register counts, flags, private
segment size) and relational edges (direct calls, LDS uses, indirect call
signatures). String data such as function type signatures is stored in a
companion `.amdgpu.strtab` section.

    [4 lines not shown]
DeltaFile
+221-0llvm/test/CodeGen/AMDGPU/lds-link-time-codegen-typeid.ll
+179-0llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
+155-2llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
+126-0llvm/test/MC/AMDGPU/amdgpu-info-roundtrip.s
+113-0llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
+106-0llvm/docs/AMDGPUUsage.rst
+900-29 files not shown
+1,209-1415 files

FreeBSD/src 861deacsys/arm/broadcom/bcm2835 bcm2838_xhci.c

Fix xhci detection on Raspberry Pi 400

If you use the FreeBSD pre-build Raspberry Pi image, it does not include
the specific .dtb file for the Raspberry Pi 400. On this hardware, it
will fall back to attempting to load the Raspberry Pi 4 .dtb file
instead.

The Pi 4 .dtb file reports the board compatible name as
"raspberrypi,4-model-b" The Pi 400 .dtb file reports the board
compatible name as "raspberrypi,400" However, it's even better to
use the generic name.

When using the official Pi 400 .dtb file from the Raspberry Pi Firmware
collection, the FreeBSD xhci driver currently fails to recognize this,
and thus fails to initialize the xhci device. This means no external
USB, or internal USB (which feeds the build-in keyboard)

The official Raspberry Pi FreeBSD image has been working on the Pi 400
"on accident" simply because it didn't include the Pi 400 .dtb file

    [11 lines not shown]
DeltaFile
+2-2sys/arm/broadcom/bcm2835/bcm2838_xhci.c
+2-21 files

LLVM/project f6463b7clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel EntityPointerLevelFormat.cpp EntityPointerLevel.cpp, clang/lib/ScalableStaticAnalysisFramework/Analyses/PointerFlow PointerFlowFormat.cpp PointerFlow.cpp

Move serialization code to *Format.cpp files
DeltaFile
+113-0clang/lib/ScalableStaticAnalysisFramework/Analyses/PointerFlow/PointerFlowFormat.cpp
+106-0clang/lib/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsageFormat.cpp
+0-96clang/lib/ScalableStaticAnalysisFramework/Analyses/PointerFlow/PointerFlow.cpp
+0-88clang/lib/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsage.cpp
+58-0clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevelFormat.cpp
+0-42clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp
+277-2261 files not shown
+280-2267 files

LLVM/project 2953eacllvm/docs LangRef.rst, llvm/include/llvm/IR DataLayout.h

[DataLayout] Add null pointer value infrastructure

Add support for specifying the null pointer bit representation per address space
in DataLayout via new pointer spec flags:
- 'z': null pointer is all-zeros
- 'o': null pointer is all-ones

When neither flag is present, the address space inherits the default set by the
new 'N<null-value>' top-level specifier ('Nz' or 'No'). If that is also absent,
the null pointer value is unknown and LLVM will not fold based on it.

No target DataLayout strings are updated in this change. This is pure
infrastructure for a future ConstantPointerNull semantic change to support
targets with non-zero null pointers (e.g. AMDGPU).
DeltaFile
+153-1llvm/unittests/IR/DataLayoutTest.cpp
+64-6llvm/lib/IR/DataLayout.cpp
+30-1llvm/include/llvm/IR/DataLayout.h
+17-1llvm/docs/LangRef.rst
+3-3llvm/test/Linker/2003-08-24-InheritPtrSize.ll
+267-125 files

LLVM/project 17b5b21llvm/lib/MC MCSection.cpp, llvm/test/MC/AMDGPU reloc-directive.s

[𝘀𝗽𝗿] initial version

Created using spr 1.3.6-beta.1
DeltaFile
+23-0llvm/test/MC/X86/reloc-directive-tlsgd.s
+19-1llvm/lib/MC/MCSection.cpp
+6-6llvm/test/MC/Mips/reloc-directive-label-offset.s
+5-5llvm/test/MC/SystemZ/reloc-directive.s
+4-4llvm/test/MC/Mips/reloc-directive.s
+3-3llvm/test/MC/AMDGPU/reloc-directive.s
+60-1915 files not shown
+101-5721 files

LLVM/project 3c5b94flld/MachO ConcatOutputSection.cpp

add updateBranchTargetToThunk
DeltaFile
+22-24lld/MachO/ConcatOutputSection.cpp
+22-241 files

FreeNAS/freenas 4384f3dsrc/middlewared/middlewared/plugins/network_ global_config.py, tests/api2 test_service_announcement.py

Simplify restart

(cherry picked from commit 29d8b900ffc742c49de603094fa20a78a026da54)
DeltaFile
+146-20tests/api2/test_service_announcement.py
+12-18src/middlewared/middlewared/plugins/network_/global_config.py
+158-382 files

FreeNAS/freenas 8a06b8esrc/middlewared/middlewared/etc_files/local/avahi/services ADISK.service.py, src/middlewared/middlewared/etc_files/local/truenas-discovery truenas-discoveryd.conf.py

Use truenas-discovery service

This commit replaces avahi, wsdd, and netbios services with a
unified truenas-discovery service. This simplifies the middleware
implementation of these services. Tests are adjusted so that we
have more direct testing that middleware configuration changes
are reflected in the in-memory running configuration of the
truenas-discoveryd daemon. During testing / validation I
discovered that there were some escape avenues whereby the
configuration may not be properly reloaded after netbios name
or workgroup changes.

(cherry picked from commit 509ea9d1256d707185f1fb18d30410fef0ef2684)
DeltaFile
+0-479tests/api2/test_310_service_announcement.py
+463-0tests/api2/test_service_announcement.py
+13-160src/middlewared/middlewared/utils/mdns.py
+63-0src/middlewared/middlewared/etc_files/local/truenas-discovery/truenas-discoveryd.conf.py
+0-63src/middlewared/middlewared/etc_files/local/avahi/services/ADISK.service.py
+58-0src/middlewared/middlewared/etc_files/local/truenas-discovery/services.d/ADISK.conf.py
+597-70228 files not shown
+814-1,03734 files

Linux/linux b85900efs/nfs nfs4proc.c pnfs.c, include/trace/events rpcrdma.h

Merge tag 'nfs-for-7.1-1' of git://git.linux-nfs.org/projects/trondmy/linux-nfs

Pull NFS client updates from Trond Myklebust:
 "Bugfixes:

   - Fix handling of ENOSPC so that if we have to resend writes, they
     are written synchronously

   - SUNRPC RDMA transport fixes from Chuck

   - Several fixes for delegated timestamps in NFSv4.2

   - Failure to obtain a directory delegation should not cause stat() to
     fail with NFSv4

   - Rename was failing to update timestamps when a directory delegation
     is held on NFSv4

   - Ensure we check rsize/wsize after crossing a NFSv4 filesystem

    [35 lines not shown]
DeltaFile
+66-111net/sunrpc/xprtrdma/rpc_rdma.c
+145-32net/sunrpc/xprtrdma/frwr_ops.c
+30-13net/sunrpc/xprtrdma/xprt_rdma.h
+32-10fs/nfs/nfs4proc.c
+14-14include/trace/events/rpcrdma.h
+17-5fs/nfs/pnfs.c
+304-18519 files not shown
+442-21425 files

FreeNAS/freenas 6f84b37src/middlewared/middlewared/etc_files/local/avahi/services ADISK.service.py, src/middlewared/middlewared/etc_files/local/truenas-discovery truenas-discoveryd.conf.py

NAS-140780 / 27.0.0-BETA.1 / Use truenas-discovery service (#18801)

This commit replaces avahi, wsdd, and netbios services with a unified
truenas-discovery service. This simplifies the middleware implementation
of these services. Tests are adjusted so that we have more direct
testing that middleware configuration changes are reflected in the
in-memory running configuration of the truenas-discoveryd daemon. During
testing / validation I discovered that there were some escape avenues
whereby the configuration may not be properly reloaded after netbios
name or workgroup changes.
DeltaFile
+589-0tests/api2/test_service_announcement.py
+0-479tests/api2/test_310_service_announcement.py
+13-160src/middlewared/middlewared/utils/mdns.py
+0-63src/middlewared/middlewared/etc_files/local/avahi/services/ADISK.service.py
+63-0src/middlewared/middlewared/etc_files/local/truenas-discovery/truenas-discoveryd.conf.py
+58-0src/middlewared/middlewared/etc_files/local/truenas-discovery/services.d/ADISK.conf.py
+723-70228 files not shown
+939-1,04234 files

FreeNAS/freenas cbcc97esrc/middlewared/middlewared/etc_files lio.py, src/middlewared/middlewared/plugins etc.py

LIO ALUA fixes
DeltaFile
+19-5src/middlewared/middlewared/plugins/iscsi_/alua.py
+18-0src/middlewared/middlewared/utils/lio/config.py
+7-0src/middlewared/middlewared/etc_files/lio.py
+0-2src/middlewared/middlewared/plugins/etc.py
+44-74 files

LLVM/project 7bcd12cclang/include/clang/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel EntityPointerLevelFormat.h, clang/include/clang/ScalableStaticAnalysisFramework/Analyses/PointerFlow PointerFlow.h

fix license title length
DeltaFile
+2-3clang/include/clang/ScalableStaticAnalysisFramework/Analyses/PointerFlow/PointerFlow.h
+2-2clang/lib/ScalableStaticAnalysisFramework/Analyses/PointerFlow/PointerFlow.cpp
+1-1clang/lib/ScalableStaticAnalysisFramework/Analyses/PointerFlow/PointerFlowExtractor.cpp
+1-1clang/lib/ScalableStaticAnalysisFramework/Tool/Utils.cpp
+1-1clang/include/clang/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevelFormat.h
+1-1clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp
+8-96 files

LLVM/project b49855fllvm/lib/Target/AMDGPU SIInstrInfo.td, llvm/lib/Target/AMDGPU/AsmParser AMDGPUAsmParser.cpp

[AMDGPU][MC] Allow the nolds modifier (#185129)

Some pre-GFX11 buffer_load instructions have two variants: one
requires the lds modifier and one does not allow lds. For the latter
allow nolds to be used.
DeltaFile
+18-0llvm/test/MC/AMDGPU/gfx7_asm_mubuf.s
+18-0llvm/test/MC/AMDGPU/gfx9_asm_mubuf.s
+18-0llvm/test/MC/AMDGPU/gfx10_asm_mubuf.s
+18-0llvm/test/MC/AMDGPU/gfx8_asm_mubuf.s
+2-1llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
+1-0llvm/lib/Target/AMDGPU/SIInstrInfo.td
+75-16 files

LLVM/project 7ea78de.github/workflows issue-release-workflow.yml

Revert "workflows/issue-release-workflow: Use GitHub app for generating tokens" (#194058)

Reverts llvm/llvm-project#193825

Fails due to insufficient permissions:

`
github.GithubException.GithubException: 422 {"message": "Validation
Failed", "errors": [{"resource": "PullRequest", "code": "custom",
"field": "fork_collab", "message": "fork_collab Fork collab can't be
granted by someone without permission"}], "documentation_url":
"https://docs.github.com/rest/pulls/pulls#create-a-pull-request",
"status": "422"}
`
DeltaFile
+1-13.github/workflows/issue-release-workflow.yml
+1-131 files

LLVM/project ebbaa93llvm/include/llvm/ABI TargetInfo.h, llvm/lib/ABI CMakeLists.txt

[llvm] Implement the BPF ABI (#194031)

Implements BPFTargetInfo, the first target-specific ABI lowering for the
LLVM ABI library introduced in #158329.

BPFTargetInfo mirrors the BPF ABI rules currently encoded in
`clang::BPFABIInfo` (clang/lib/CodeGen/Targets/BPF.cpp), but operates
entirely on `llvm::abi` types, keeping the logic frontend-independent:

  - Empty aggregates and void returns are ignored
  - Aggregates ≤64 bits are coerced to an aligned integer type
  - Aggregates 65–128 bits are coerced to [2 x i64]
- Aggregates >128 bits and oversized _BitInt types are passed/returned
indirectly
  - Promotable integers are sign/zero extended
  - All aggregate returns are indirect

Also adds the `createBPFTargetInfo` factory function declaration to
TargetInfo.h.
DeltaFile
+88-0llvm/lib/ABI/Targets/BPF.cpp
+1-1llvm/include/llvm/ABI/TargetInfo.h
+1-0llvm/lib/ABI/CMakeLists.txt
+90-13 files

FreeNAS/freenas 0b056eesrc/middlewared/middlewared/plugins/network_ global_config.py

Simplify restart
DeltaFile
+1-20src/middlewared/middlewared/plugins/network_/global_config.py
+1-201 files

LLVM/project da2c4a9clang/lib/AST ExprConstant.cpp, clang/lib/AST/ByteCode Compiler.cpp

[clang] Add constant evaluation support for CK_ToUnion. (#193370)

Implementation is heavily based on the evaluation code for initializer
lists, but it's different enough that I couldn't figure out a good way
to share the code.

This fixes one of the few remaining gaps where CodeGen can
constant-evaluate a value which AST can't evaluate.
DeltaFile
+25-0clang/lib/AST/ByteCode/Compiler.cpp
+16-0clang/lib/AST/ExprConstant.cpp
+6-0clang/test/AST/ByteCode/const-eval.c
+1-1clang/lib/CodeGen/CGExprConstant.cpp
+48-14 files

LLVM/project 5b570d1mlir/lib/Target/LLVMIR/Dialect/LLVMIR LLVMToLLVMIRTranslation.cpp

[NFC][MLIR] Use `getIntrinsicSignature` to verify overloaded intrinsics (#194035)

`getIntrinsicSignature` internally handles the decoding of the IIT table
and running the match, which is what this code is doing. So, use that
instead of manually doing what `getIntrinsicSignature` does.
DeltaFile
+3-11mlir/lib/Target/LLVMIR/Dialect/LLVMIR/LLVMToLLVMIRTranslation.cpp
+3-111 files

LLVM/project fa2588ellvm/lib/Transforms/Instrumentation NumericalStabilitySanitizer.cpp

[NFC][NSAN] Use `getIntrinsicSignature` instead of `matchIntrinsicSignature` (#194025)

`getIntrinsicSignature` internally handles the decoding of the IIT table
and running the match, which is what this code is doing. So use that
instead of manually doing what `getIntrinsicSignature` does.
DeltaFile
+5-9llvm/lib/Transforms/Instrumentation/NumericalStabilitySanitizer.cpp
+5-91 files

LLVM/project 1813c32clang/include/clang/ScalableStaticAnalysisFramework/Analyses/PointerFlow PointerFlow.h, clang/include/clang/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage UnsafeBufferUsage.h

remove base default ctor call
DeltaFile
+1-1clang/include/clang/ScalableStaticAnalysisFramework/Analyses/PointerFlow/PointerFlow.h
+1-1clang/include/clang/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsage.h
+2-22 files