LLVM/project 36ce871llvm/include/llvm/Transforms/IPO Instrumentor.h, llvm/lib/Transforms/IPO Instrumentor.cpp

[Instrumentor] Add support for modules and globals

We can emit callbacks when a module is loaded/unloaded and before
globals are initialized. Both happens in newly introduced constructors
and destructors.
DeltaFile
+316-0llvm/lib/Transforms/IPO/Instrumentor.cpp
+93-0llvm/include/llvm/Transforms/IPO/Instrumentor.h
+64-0llvm/test/Instrumentation/Instrumentor/module_and_globals.ll
+46-0llvm/test/Instrumentation/Instrumentor/default_config.json
+11-8llvm/test/Instrumentation/Instrumentor/alloca_and_function.ll
+3-3llvm/test/Instrumentation/Instrumentor/unreachable.ll
+533-116 files

LLVM/project 940242ellvm/test/tools/llvm-cov directory_coverage.linux.test directory_coverage.test, llvm/test/tools/llvm-objdump/X86 source-interleave-prefix-windows.test

[Windows][test] Fix "LLVM" test failures when LLVM_WINDOWS_PREFER_FORWARD_SLASH is ON (#184556)

This patch fixes several LLVM test failures on Windows that occur when
the LLVM_WINDOWS_PREFER_FORWARD_SLASH CMake option is enabled.

The failures were caused by tests either hardcoding backslash
expectations in FileCheck or constructing paths with strict backslashes
in C++ unit tests, both of which break when the environment is
configured to prefer forward slashes.

Specific changes:
- `llvm-cov` lit tests: Changed the path separators with
`-DSEP=%{fs-sep}`.
- `llvm-objdump` lit test: Relaxed
`source-interleave-prefix-windows.test` to accept either forward or
backward slashes using the `{{[/\\]}}` regex. This makes the path
matching resilient to the underlying separator preference without losing
precision.
- CommandLineTest.cpp: Conditionalized the TestRoot variable to use

    [5 lines not shown]
DeltaFile
+0-53llvm/test/tools/llvm-cov/directory_coverage.linux.test
+52-0llvm/test/tools/llvm-cov/directory_coverage.test
+0-44llvm/test/tools/llvm-cov/directory_coverage.win.test
+9-8llvm/test/tools/llvm-cov/native_separators.c
+10-2llvm/test/tools/llvm-objdump/X86/source-interleave-prefix-windows.test
+6-1llvm/unittests/Support/Path.cpp
+77-1081 files not shown
+79-1107 files

LLVM/project ba31b6dllvm/docs Instrumentor.rst, llvm/lib/Transforms/IPO InstrumentorUtils.cpp

[Instrumentor] Add a property filter for static properties

The user can define static filters in the json to limit instrumentation
to opportunities that match the static expression, e.g., is_volatile==1.
The matcher logic is pretty basic for now. Integer comparisons, pointer
null checks, string equalities and startswith are supported.

The commit was prepared with Claude (AI) and modified/tested by me.
DeltaFile
+475-0llvm/lib/Transforms/IPO/InstrumentorUtils.cpp
+153-0llvm/docs/Instrumentor.rst
+114-0llvm/test/Instrumentation/Instrumentor/test_filter_parentheses.ll
+69-0llvm/test/Instrumentation/Instrumentor/test_filter.ll
+58-0llvm/test/Instrumentation/Instrumentor/test_filter_parentheses_config.json
+56-0llvm/test/Instrumentation/Instrumentor/test_filter_config.json
+925-013 files not shown
+1,223-219 files

LLVM/project 1530593llvm/include/llvm/Target Target.td, llvm/test/TableGen aarch64-apple-tuning-features.td

[llvm] Sort the Subtarget feature implies list by name (#197302)
DeltaFile
+11-11llvm/test/TableGen/aarch64-apple-tuning-features.td
+1-1llvm/include/llvm/Target/Target.td
+12-122 files

LLVM/project 18e73eellvm/docs/TableGen ProgRef.rst, llvm/lib/TableGen TGParser.cpp Record.cpp

[llvm] Add a tablegen !sort operator (#197303)

This operator creates a new ``list`` containing the same elements as
*list*
but in sorted order. To determine the order, TableGen binds the variable
*var* to each element and evaluates the *key* expression, which
presumably
refers to *var*. The key must produce a ``string`` or integer value
(``bit``, ``bits``, or ``int``); all keys must be of the same type.
Elements
with equal keys preserve their original relative order, resulting in a
stable
sort.

For example, to sort a list of records by their ``Name`` field::

`  list<Thing> sorted = !sort(t, Things, t.Name);`
DeltaFile
+66-26llvm/lib/TableGen/TGParser.cpp
+71-0llvm/test/TableGen/sort.td
+62-1llvm/lib/TableGen/Record.cpp
+15-0llvm/docs/TableGen/ProgRef.rst
+2-2llvm/lib/TableGen/TGParser.h
+1-0llvm/lib/TableGen/TGLexer.cpp
+217-292 files not shown
+219-298 files

LLVM/project 93bfabbllvm/tools/llvm-offload-binary llvm-offload-binary.cpp

[Offload] Make 'llvm-offload-binary' use multi-binaries (#197456)

Summary:
There's two ways you can put multiple binaries in the section. Either
use the version two multi-binary support or just concatenate them. This
PR changes the llvm-offload-binary tool to use the multi-support rather
than directly concatenating them.

The motivation for this is to save space and make it easier to support
compression in the future. Compression would be a flag in the header and
the compression is only really valuable if it can combine the
architecture variants. ELF section compression is a little spotty but
would be another good solution.
DeltaFile
+8-9llvm/tools/llvm-offload-binary/llvm-offload-binary.cpp
+8-91 files

LLVM/project 5549c1bclang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel EntityPointerLevel.cpp

address comments
DeltaFile
+5-4clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp
+5-41 files

FreeBSD/ports 5b6315ddevel/py-pytest-mock Makefile distinfo

devel/py-pytest-mock: Update to 3.15.1

Tweaks on top of the PR patch:

- Use DISTVERSION (referenced by ${DISTVERSION} in DISTNAME) instead
  of PORTVERSION.
- Add py-wheel to BUILD_DEPENDS (required by USE_PYTHON=pep517 with the
  setuptools build backend).
- Bump pytest dep to >=6.2.5 to match upstream pyproject.toml.

PR:             273337
Submitted by:   takefu
DeltaFile
+11-9devel/py-pytest-mock/Makefile
+3-3devel/py-pytest-mock/distinfo
+2-1devel/py-pytest-mock/pkg-descr
+16-133 files

FreeBSD/ports e7938f3lang/erlang-runtime29 distinfo Makefile, lang/erlang-runtime29/files patch-Makefile.in

lang/erlang-runtime29: Update to 29.0
DeltaFile
+9-9lang/erlang-runtime29/files/patch-Makefile.in
+3-3lang/erlang-runtime29/distinfo
+0-1lang/erlang-runtime29/Makefile
+12-133 files

FreeBSD/src 49937a6sys/fs/nfs nfs_commonport.c nfs_var.h, sys/fs/nfsclient nfs_clport.c nfs_clrpcops.c

nfscl: Disable use of callbacks for NFSv4.0

The only use for callbacks for NFSv4.0 is delegations
and delegations rarely work well for NFSv4.0 anyhow.

Therefore, this patch disables callbacks for the
NFSv4.0 client.  This is the same behavior as
occurred when the nfscbd(8) daemon was not running.

This change allowed a function called nfscl_getmyip()
to be removed from the kernel, which is nice since
maintaining this function was bothersome, due to its
use of routing, etc.

(cherry picked from commit 71ac1ec5c9d990e7881e75f04140eb0bfe473a21)
DeltaFile
+0-79sys/fs/nfsclient/nfs_clport.c
+5-45sys/fs/nfsclient/nfs_clrpcops.c
+0-4sys/fs/nfs/nfs_commonport.c
+0-1sys/fs/nfs/nfs_var.h
+5-1294 files

FreeBSD/ports c3b5e83games/veloren-weekly distinfo Makefile

games/veloren-weekly: update to s20260513

Changes:        https://gitlab.com/veloren/veloren/-/compare/3a05b7fc49...50376dc2e4
(cherry picked from commit 658e7418197036fe13117a0e69662b218a7e3967)
DeltaFile
+3-3games/veloren-weekly/distinfo
+2-2games/veloren-weekly/Makefile
+5-52 files

LLVM/project 0051700llvm/lib/Target/AMDGPU/Disassembler AMDGPUDisassembler.cpp, llvm/test/MC/AMDGPU literals.s

[AMDGPU] Fix disasm roundtrip for forced fp64 literal
DeltaFile
+3-1llvm/lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp
+1-3llvm/test/MC/AMDGPU/literals.s
+4-42 files

FreeBSD/ports a6e06edgraphics/mesa-devel distinfo Makefile

graphics/mesa-devel: update to 26.1.b.1298

Changes:        https://gitlab.freedesktop.org/mesa/mesa/-/compare/0f75fa5bfd2...f6debb842d7
DeltaFile
+3-3graphics/mesa-devel/distinfo
+2-2graphics/mesa-devel/Makefile
+5-52 files

FreeBSD/ports 03dfe6bemulators/rpcs3 distinfo Makefile

emulators/rpcs3: update to 0.0.40.19359

Changes:        https://github.com/RPCS3/rpcs3/compare/4f47fee360...320e8d634a
DeltaFile
+3-3emulators/rpcs3/distinfo
+2-2emulators/rpcs3/Makefile
+5-52 files

FreeBSD/ports 658e741games/veloren-weekly distinfo Makefile

games/veloren-weekly: update to s20260513

Changes:        https://gitlab.com/veloren/veloren/-/compare/3a05b7fc49...50376dc2e4
DeltaFile
+3-3games/veloren-weekly/distinfo
+2-2games/veloren-weekly/Makefile
+5-52 files

FreeBSD/ports 62bca0dnet/wayvnc distinfo Makefile, net/wayvnc/files patch-aml1

net/wayvnc: update to 0.10.0

Changes:        https://github.com/any1/wayvnc/releases/tag/v0.10.0
Reported by:    GitHub (watch releases)
DeltaFile
+0-178net/wayvnc/files/patch-aml1
+3-3net/wayvnc/distinfo
+1-4net/wayvnc/Makefile
+4-1853 files

FreeBSD/ports e15cfacbenchmarks/clpeak distinfo Makefile

benchmarks/clpeak: update to 2.0.6

Changes:        https://github.com/krrishnarraj/clpeak/releases/tag/2.0.6
Reported by:    GitHub (watch releases)
DeltaFile
+3-3benchmarks/clpeak/distinfo
+1-1benchmarks/clpeak/Makefile
+4-42 files

FreeBSD/ports 1ba36e8net/neatvnc distinfo pkg-plist, net/neatvnc/files patch-aml1

net/neatvnc: update to 1.0.0

Changes:        https://github.com/any1/neatvnc/releases/tag/v1.0.0
Reported by:    GitHub (watch releases)
DeltaFile
+0-249net/neatvnc/files/patch-aml1
+3-3net/neatvnc/distinfo
+2-2net/neatvnc/pkg-plist
+1-1net/neatvnc/Makefile
+2-0net/wayvnc/Makefile
+8-2555 files

LLVM/project 16a1e05lldb/packages/Python/lldbsuite/test/builders builder.py, lldb/packages/Python/lldbsuite/test/make Makefile.rules

[lldb] Support building test inferiors without debug info (#197002)

Add first class support for building test inferiors without debug info,
instead of having to pass `-g0` in the Makefile or the build dictionary.

```
def test(self):
    self.build(debug_info="none")
```

rdar://164923931
DeltaFile
+4-1lldb/test/API/lang/objcxx/objc-from-cpp-frames-without-debuginfo/TestObjCFromCppFramesWithoutDebugInfo.py
+4-0lldb/packages/Python/lldbsuite/test/make/Makefile.rules
+2-1lldb/test/API/commands/frame/var-dil/basics/NoDebugInfo/TestFrameVarDILNoDebugInfo.py
+0-1lldb/test/API/lang/objcxx/objc-from-cpp-frames-without-debuginfo/Makefile
+0-1lldb/test/API/commands/frame/var-dil/basics/NoDebugInfo/Makefile
+1-0lldb/packages/Python/lldbsuite/test/builders/builder.py
+11-46 files

FreeBSD/src e0e4d7bsys/vm vm_map.c

vm_map_growstack(): consistently use local vars instead of curthread/proc

(cherry picked from commit 642dd17ee94377c3d5533d05d0d9a58b88f60387)
DeltaFile
+8-6sys/vm/vm_map.c
+8-61 files

FreeBSD/src cd1e479tests/sys/arch/amd64 int0x80.c

amd/int0x80 test: fix inline asm for gcc

(cherry picked from commit d5728351a58b87764f3302eb8c4ca9f35e99e8b6)
DeltaFile
+3-2tests/sys/arch/amd64/int0x80.c
+3-21 files

FreeBSD/src 43c00fbsys/kern vfs_bio.c

bufspace_wait(): only try to help bufdaemon if there is a chance to help

(cherry picked from commit ce4e8c478a261ce6c7af7d81817f86420c5239b9)
DeltaFile
+2-1sys/kern/vfs_bio.c
+2-11 files

FreeBSD/src 5af938fsys/fs/fdescfs fdesc_vnops.c

fdescfs: do not change vnode type on VOP_GETATTR()

PR:     294768

(cherry picked from commit fbecfc4aa028964f972a0457809aa041d415f61b)
DeltaFile
+0-1sys/fs/fdescfs/fdesc_vnops.c
+0-11 files

FreeBSD/src 871bf8asys/vm vm_map.c

vm_map_growstack(): use local for p->p_vmspace

(cherry picked from commit 8eef59db254283eaaee47be94d4ea9f2fef4f2ad)
DeltaFile
+1-2sys/vm/vm_map.c
+1-21 files

FreeBSD/src 1aa7214sys/vm vm_map.c

vm_map_growstack(): give a hint to user that stack was blown out

(cherry picked from commit 18c5a26f8a747583b9bca3a6a1ae9db1ed4591a3)
DeltaFile
+15-2sys/vm/vm_map.c
+15-21 files

LLVM/project c5c9fd3llvm/lib/Target/AMDGPU/AsmParser AMDGPUAsmParser.cpp, llvm/test/MC/AMDGPU literals.s

[AMDGPU] Validate forced lit() immediate

Right now it takes validation path of an inline constant if fits
even though it is forced to literal encoding.
DeltaFile
+7-8llvm/test/MC/AMDGPU/literals.s
+7-1llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
+14-92 files

LLVM/project 009fbc9clang/test/Driver clang-sycl-linker-test.cpp, clang/test/Driver/Inputs/SYCL two-kernels.ll

[clang-sycl-linker] Migrate tests from Driver/ to Tooling/ and use LLVM IR input (#197566)

1. Replace the C++ source test that required compiling with %clangxx and
separate Input files with self-contained .ll tests using split-file.

2. Split the test into two files:
- clang-sycl-linker.ll: basic tool behavior (link, dev libs, AOT,
errors)
  - clang-sycl-linker-split-mode.ll: device code split mode handling

Co-Authored-By: Claude
DeltaFile
+0-99clang/test/Driver/clang-sycl-linker-test.cpp
+97-0clang/test/Tooling/clang-sycl-linker.ll
+51-0clang/test/Tooling/clang-sycl-linker-split-mode.ll
+0-23clang/test/Driver/Inputs/SYCL/two-kernels.ll
+148-1224 files

LLVM/project 5208f2eclang/include/clang/AST DeclTemplate.h, clang/lib/AST DeclTemplate.cpp

[clang] NFC: add asserts enforcing template parameters have valid positions

Some tests are violating these assertions, so they are commented out.

Most of these are alias CTAD tests, with a couple of lambda in concepts tests on
top of that.

For the test in `clang/test/SemaTemplate/concepts.cpp`, that was broken by #195995
and needs a partial revert at least.
DeltaFile
+103-97clang/test/SemaTemplate/deduction-guide.cpp
+25-34clang/include/clang/AST/DeclTemplate.h
+14-15clang/lib/AST/DeclTemplate.cpp
+12-6clang/test/SemaCXX/ctad.cpp
+15-1clang/test/SemaCXX/cxx20-ctad-type-alias.cpp
+8-5clang/test/AST/ast-dump-ctad-alias.cpp
+177-1586 files not shown
+202-17012 files

LLVM/project d2a57ecllvm/lib/Target/AMDGPU SIInstrInfo.cpp, llvm/test/MachineVerifier/AMDGPU lit64.mir

[AMDGPU] Add lit64 machine verifier (#196457)
DeltaFile
+13-4llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
+9-0llvm/test/MachineVerifier/AMDGPU/lit64.mir
+22-42 files

LLVM/project 8ebd857clang/lib/Format ContinuationIndenter.cpp

[clang-format][NFC] Correct comment (#197592)
DeltaFile
+1-1clang/lib/Format/ContinuationIndenter.cpp
+1-11 files