LLVM/project 05e9086utils/bazel/llvm-project-overlay/mlir BUILD.bazel

[bazel][mlir][AMDGPU] Fix BUILD file formatting for #178784 (#178798)

DeltaFile
+1-1utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+1-11 files

LLVM/project 4cd15a7

[orc-rt] Add C API for Errors, plus ORC_RT_C_ABI macro. (#178794)

This commit introduces a C interface for the ORC runtime's Error
handling system, enabling C clients and language bindings to work with
ORC errors.

The ORC_RT_C_ABI macro applies __attribute__((visibility("default")))
(on platforms that support it), ensuring C API symbols are exported when
building the ORC runtime as a shared library. In the future I expect
that this will be extended to support other platforms (e.g. dllexport on
Windows).
DeltaFile
+0-00 files

LLVM/project 65925b0llvm/lib/Target/AMDGPU AMDGPULegalizerInfo.cpp AMDGPURegisterBankInfo.cpp, llvm/test/CodeGen/AMDGPU/GlobalISel legalize-sitofp.mir

[AMDGPU] Replace AMDGPUISD::FFBH_I32 with ISD::CTLS (#178420)

Per CDNA4 ISA:
V_FFBH_I32
Count the number of leading bits that are the same as the sign bit of a
vector input and store the result into a vector register. Store -1 if
all input bits are the same.

which matches CTLS semantics.

Addresses: https://github.com/llvm/llvm-project/issues/177635
DeltaFile
+10-10llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-sitofp.mir
+7-2llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
+7-0llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
+2-1llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+1-2llvm/lib/Target/AMDGPU/AMDGPUInstrInfo.td
+1-1llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
+28-161 files not shown
+29-177 files

LLVM/project 66424a0libc/cmake/modules LLVMLibCCompileOptionRules.cmake, libc/config config.json

[libc] provide str to float build configs (#178780)

The str to float code path offers options which can reduce code bloat.
Expose them as build config options. Disable Eisel Lemire for avoiding
code bloat caused by DETAILED_POWERS_OF_TEN look up table.
DeltaFile
+14-0libc/config/config.json
+12-0libc/cmake/modules/LLVMLibCCompileOptionRules.cmake
+5-0libc/config/baremetal/config.json
+4-0libc/docs/configure.rst
+2-2libc/src/__support/str_to_float.h
+37-25 files

FreeBSD/ports 2408f42dns/dnsmasq-devel Makefile distinfo, dns/dnsmasq-devel/files patch-inotify

dns/dnsmasq-devel: update to v2.93test2

Changes: (notably --log-malloc)

* ed2ba5b 2026-01-26 | Optimise TCP send. (HEAD -> master, tag: v2.93test2, origin/master, origin/HEAD) [Simon Kelley]
* 729c16a 2026-01-26 | Rationalise DNS TCP buffer use. [Simon Kelley]
* 80acb76 2026-01-24 | Don't start malloc() logging until the log system is configured. [Simon Kelley]
* f1fa05d 2026-01-24 | Don't log free(NULL) calls. [Simon Kelley]
* b148ba4 2026-01-24 | Add --log-malloc debugging option. [Simon Kelley]
* 81f6196 2026-01-24 | Fix memory allocation in blockdata_retrieve() [Simon Kelley]
* cb32170 2026-01-18 | Fix DNSSEC fail with CNAME replies to DS queries. (tag: v2.93test1) [Simon Kelley]
* 8eb3684 2026-01-18 | Log SERVFAIL from usptream servers. [Simon Kelley]
* 8fa68a6 2025-12-19 | The only_failed argument has been added to the log-queries parameter. [Pavel Bozhko]
* 1269f07 2026-01-15 | Fix DNSSEC failure with spurious RRSIGs. [Simon Kelley]
* e1faf70 2026-01-14 | Support Inotify in FreeBSD. [Matthias Andree]
* f603a4f 2026-01-12 | Fix a corner-case in DNSSEC validation with wildcards. [Simon Kelley]
* c090f1d 2025-12-06 | Terminate TCP child processes that arise from UDP truncated replies. [Simon Kelley]
* fa48bdb 2025-12-05 | Tidy up code in in do_tcp_connection() which filters incoming connections. [Simon Kelley]

(cherry picked from commit 81dfe97b7966b99cc0d605a952d3f8a88edc6d16)
DeltaFile
+0-40dns/dnsmasq-devel/files/patch-inotify
+5-5dns/dnsmasq-devel/Makefile
+3-3dns/dnsmasq-devel/distinfo
+8-483 files

LLVM/project 3dfcd84utils/bazel/llvm-project-overlay/mlir BUILD.bazel

[bazel][mlir][AMDGPU] Fix build for #178562 (#178784)

Fixes 52dfcab327fe959074563603b6ebaaed314e9677.

Co-authored-by: Pranav Kant <prka at google.com>
DeltaFile
+17-4utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+17-41 files

FreeBSD/ports 81dfe97dns/dnsmasq-devel Makefile distinfo, dns/dnsmasq-devel/files patch-inotify

dns/dnsmasq-devel: update to v2.93test2

Changes: (notably --log-malloc)

* ed2ba5b 2026-01-26 | Optimise TCP send. (HEAD -> master, tag: v2.93test2, origin/master, origin/HEAD) [Simon Kelley]
* 729c16a 2026-01-26 | Rationalise DNS TCP buffer use. [Simon Kelley]
* 80acb76 2026-01-24 | Don't start malloc() logging until the log system is configured. [Simon Kelley]
* f1fa05d 2026-01-24 | Don't log free(NULL) calls. [Simon Kelley]
* b148ba4 2026-01-24 | Add --log-malloc debugging option. [Simon Kelley]
* 81f6196 2026-01-24 | Fix memory allocation in blockdata_retrieve() [Simon Kelley]
* cb32170 2026-01-18 | Fix DNSSEC fail with CNAME replies to DS queries. (tag: v2.93test1) [Simon Kelley]
* 8eb3684 2026-01-18 | Log SERVFAIL from usptream servers. [Simon Kelley]
* 8fa68a6 2025-12-19 | The only_failed argument has been added to the log-queries parameter. [Pavel Bozhko]
* 1269f07 2026-01-15 | Fix DNSSEC failure with spurious RRSIGs. [Simon Kelley]
* e1faf70 2026-01-14 | Support Inotify in FreeBSD. [Matthias Andree]
* f603a4f 2026-01-12 | Fix a corner-case in DNSSEC validation with wildcards. [Simon Kelley]
* c090f1d 2025-12-06 | Terminate TCP child processes that arise from UDP truncated replies. [Simon Kelley]
* fa48bdb 2025-12-05 | Tidy up code in in do_tcp_connection() which filters incoming connections. [Simon Kelley]
DeltaFile
+0-40dns/dnsmasq-devel/files/patch-inotify
+5-5dns/dnsmasq-devel/Makefile
+3-3dns/dnsmasq-devel/distinfo
+8-483 files

FreeNAS/freenas 331bc50tests/sharing_protocols/iscsi test_261_iscsi_cmd.py

Use sync always for dataset in test__alua_config
DeltaFile
+14-3tests/sharing_protocols/iscsi/test_261_iscsi_cmd.py
+14-31 files

FreeNAS/freenas 525fc21src/middlewared/middlewared/plugins/failover_ event.py, src/middlewared/middlewared/plugins/iscsi_ alua.py

Simplify ALUA reset and eliminate overhead

Make iscsi.alua.reset_active a simple wrapper around the dlm job
of the same name.  This will reduce overhead when called by
standby_after_start because it does not operate on the ACTIVE
node's cluster_mode.

Furthermore, remove iscsi.alua.active_elected entirely as it
duplicates functionality that will now be handled by reset_active.
We can also remove the chaining with activate_extents as it is
the STANDBY that needs to check that reset_active has completed,
which it now does in standby_after_start (via has_active_jobs).
DeltaFile
+25-68src/middlewared/middlewared/plugins/iscsi_/alua.py
+1-4src/middlewared/middlewared/plugins/failover_/event.py
+26-722 files

FreeNAS/freenas aba0647src/middlewared/middlewared/plugins dlm.py, src/middlewared/middlewared/plugins/failover_ event.py

Add dlm.reset_active and call from vrrp_master
DeltaFile
+40-1src/middlewared/middlewared/plugins/dlm.py
+13-2src/middlewared/middlewared/plugins/failover_/event.py
+53-32 files

FreeNAS/freenas 03f980bsrc/middlewared/middlewared/plugins/iscsi_ alua.py

In iscsi.alua.become_active do not propagate service restart

The STANDBY should bring up the service using standby_after_start
DeltaFile
+7-1src/middlewared/middlewared/plugins/iscsi_/alua.py
+7-11 files

LLVM/project 1a80fd6llvm/lib/CodeGen/SelectionDAG SelectionDAGDumper.cpp

SelectionDAG: Add -print-sdnode-addrs flag.

Similar to -print-inst-addrs and -print-mi-addrs.
DeltaFile
+6-0llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
+6-01 files

LLVM/project e6429d6llvm/docs DebuggingLLVM.rst

Add the backend flags to DebuggingLLVM.
DeltaFile
+4-0llvm/docs/DebuggingLLVM.rst
+4-01 files

FreeNAS/freenas 906ac57src/middlewared/middlewared/plugins/iscsi_ targets.py

Add iscsi.target.logout_all
DeltaFile
+16-0src/middlewared/middlewared/plugins/iscsi_/targets.py
+16-01 files

LLVM/project 6679578libc/src/stdio/baremetal printf_modular.cpp, libc/src/stdio/printf_core float_dec_converter.h float_dec_converter_limited.h

clang-format
DeltaFile
+4-4libc/src/stdio/printf_core/float_dec_converter.h
+4-4libc/src/stdio/printf_core/float_dec_converter_limited.h
+2-2libc/src/stdio/printf_core/float_hex_converter.h
+2-2libc/src/stdio/printf_core/parser.h
+2-1libc/src/stdio/baremetal/printf_modular.cpp
+0-1libc/src/stdio/printf_core/float_impl.cpp
+14-146 files

LLVM/project 0078303libc/src/stdio/printf_core float_dec_converter_limited.h float_dec_converter.h

Clarify logic about definitions; change MODULAR->MODULE
DeltaFile
+4-4libc/src/stdio/printf_core/float_dec_converter_limited.h
+4-4libc/src/stdio/printf_core/float_dec_converter.h
+4-4libc/src/stdio/printf_core/parser.h
+2-3libc/src/stdio/printf_core/printf_config.h
+2-2libc/src/stdio/printf_core/float_hex_converter.h
+2-1libc/src/stdio/printf_core/float_impl.cpp
+18-186 files

FreeBSD/ports 3c2399edevel/py-rtree Makefile

devel/py-rtree: Fix build
DeltaFile
+1-0devel/py-rtree/Makefile
+1-01 files

LLVM/project 34a7608bolt/docs CommandLineArgumentReference.md, bolt/lib/Passes PLTCall.cpp

[BOLT] Drop -znow requirement for PLT optimization on x86-64 (#178758)

On x86-64, PLT optimization does not require the binary to be linked
with -znow because indirect calls through GOT work correctly with lazy
binding. At runtime, the dynamic linker's resolver will populate the GOT
entry on the first call, just like with a regular PLT call.

This change removes the -znow requirement specifically for x86-64 while
keeping it for other architectures. I haven't checked RISV-V, but it's
still necessary on AArch64.
DeltaFile
+14-0bolt/test/runtime/X86/plt-call.c
+9-2bolt/lib/Passes/PLTCall.cpp
+1-1bolt/docs/CommandLineArgumentReference.md
+24-33 files

LLVM/project b93d6c2lldb/source/Host/macosx/objcxx HostInfoMacOSX.mm

[lldb] Fix another typeo.  No idea how this compiled for me.
DeltaFile
+1-1lldb/source/Host/macosx/objcxx/HostInfoMacOSX.mm
+1-11 files

LLVM/project 66f687blldb/source/Host/macosx/objcxx HostInfoMacOSX.mm

[lldb] Add explicit namespace qualifiers for two SP types,
include DataBuffer.h.  This compiles without error for me,
but not for Alex.
DeltaFile
+3-2lldb/source/Host/macosx/objcxx/HostInfoMacOSX.mm
+3-21 files

FreeNAS/freenas 704121dtests/api2 test_300_nfs.py

NAS-139413 / 26.0.0-BETA.1 / Improve resiliency in the NFS ci tests. (#18080)

Some of the NFS CI tests have demonstrated instability. It's been common
to see many failures in CI runs.
The failures are not due to an actual problem with the code under test.
It's the test infrastructure and other artificial conditions around the
CI test bed.

This PR addresses many of those problems by improving the resilience of
the tests.

This addresses issues that can be resolved within the CI tests
themselves.
Tested against single and HA VMs.
DeltaFile
+205-82tests/api2/test_300_nfs.py
+205-821 files

LLVM/project a9b67d0lldb/source/Host/macosx/objcxx HostInfoMacOSX.mm

[lldb] Fix a compile error that came up with some compilers
Some versions will construct the DataExtractorSP here,
it seems.  Others need it explicitly created.
DeltaFile
+4-2lldb/source/Host/macosx/objcxx/HostInfoMacOSX.mm
+4-21 files

FreeBSD/src fdcd67bsys/kern subr_firmware.c

firmware: Fix inverted FIRMWARE_GET_NOWARN logic

The try_binary_file() function has inverted logic for the
FIRMWARE_GET_NOWARN flag.  When the flag is set (meaning "don't warn"),
the code sets warn=true and makes noise anyway.

Invert the assignment to warn to correctly suppress warnings when
FIRMWARE_GET_NOWARN is set.

Reviewed by:    kevans
Differential Revision:  https://reviews.freebsd.org/D54955
DeltaFile
+1-1sys/kern/subr_firmware.c
+1-11 files

LLVM/project 6ecca43llvm/lib/Target/AArch64 AArch64StackTagging.cpp

[Darwin][MTE] bugfix: Only instrument stack history buffer if there are instrumented allocas in the function (#178770)

DeltaFile
+4-1llvm/lib/Target/AArch64/AArch64StackTagging.cpp
+4-11 files

FreeBSD/ports 649e3cfsecurity/vuxml/vuln 2026.xml

security/vuxml: populate missing <name> for security/zeek

Reported by:    Dan Langille
Fixes:  03bfa3969e0d
DeltaFile
+1-1security/vuxml/vuln/2026.xml
+1-11 files

FreeNAS/freenas 4665e33tests/api2 test_300_nfs.py

Another resilience tweak.
DeltaFile
+15-11tests/api2/test_300_nfs.py
+15-111 files

LLVM/project a1c81b0libcxx/test/std/containers/container.adaptors/flat.map/flat.map.cons move_exceptions.pass.cpp, libcxx/test/std/containers/container.adaptors/flat.multimap/flat.multimap.cons move_exceptions.pass.cpp

[libc++][test] Make `EvilContainer` a sequence container (#178626)

In tests for flat container adaptors, the `EvilContainer` type doesn't
have sufficient constructors to meet the requirements for sequence
containers ([sequence.reqmts]). Also, assignment from an
`initializer_list` doesn't have correct return type.

This patch makes `EvilContainer` inherit constructors from `vector<int>`
and add a correct assignment operator from `initializer_list<int>`.
DeltaFile
+7-0libcxx/test/std/containers/container.adaptors/flat.map/flat.map.cons/move_exceptions.pass.cpp
+7-0libcxx/test/std/containers/container.adaptors/flat.multimap/flat.multimap.cons/move_exceptions.pass.cpp
+7-0libcxx/test/std/containers/container.adaptors/flat.multiset/flat.multiset.cons/move.pass.cpp
+7-0libcxx/test/std/containers/container.adaptors/flat.set/flat.set.cons/move.pass.cpp
+28-04 files

LLVM/project 2aa020flldb/source/Core Module.cpp, lldb/source/Plugins/ObjectFile/COFF ObjectFileCOFF.cpp

[lldb][NFC] Module, ModuleSpec, GetSectionData use DataExtractorSP (#178347)

In a PR last month I changed the ObjectFile CreateInstance etc methods
to accept an optional DataExtractorSP instead of a DataBufferSP, and
retain the extractor in a shared pointer internally in all of the
ObjectFile subclasses. This is laying the groundwork for using a
VirtualDataExtractor for some Mach-O binaries on macOS, where the
segments of the binary are out-of-order in actual memory, and we add a
lookup table to make it appear that the TEXT segment is at offset 0 in
the Extractor, etc. Working on the actual implementation, I realized we
were still using DataBufferSP's in ModuleSpec and Module, as well as in
ObjectFile::GetModuleSpecifications.

I originally was making a much larger NFC change where I had all
ObjectFile subclasses operating on DataExtractors throughout their
implementation, as well as in the DWARF parser. It was a very large
patchset. Many subclasses start with their DataExtractor, then create
smaller DataExtractors for parts of the binary image - the string table,
the symbol table, etc., for processing.

    [26 lines not shown]
DeltaFile
+116-112lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
+51-48lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
+28-19lldb/source/Symbol/ObjectFile.cpp
+28-14lldb/source/Plugins/ObjectFile/COFF/ObjectFileCOFF.cpp
+19-18lldb/source/Core/Module.cpp
+14-17lldb/source/Plugins/ObjectFile/JSON/ObjectFileJSON.cpp
+256-22840 files not shown
+419-34246 files

LLVM/project f949e40clang/include/clang/CIR/Dialect/IR CIROps.td, clang/lib/CIR/Lowering/DirectToLLVM LowerToLLVM.cpp

[CIR] Add lowering for BlockAddressOp, IndirectBrOp and LabelOp (#178106)

This PR introduces lowering support for gcc `labels-as-values` by
handling `LabelOp`, `BlockAddressOp` and `IndirectBrOp`.

Block tags are emitted to mark the target location in the IR,while block
address users may be created before their corresponding tag is
available. `LLVMBlockAddressInfo` is used to record unresolved
references and resolve them once all block tags have been emitted.

This enables a two phase lowering where block address users are first
materialized with placeholders and later updated with the resolved block
tag information.
DeltaFile
+94-3clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+74-4clang/test/CIR/CodeGen/label-values.c
+2-2clang/include/clang/CIR/Dialect/IR/CIROps.td
+170-93 files

FreeBSD/src b249cb2sys/kern sched_4bsd.c kern_synch.c, sys/sys sched.h proc.h

SCHED_4BSD: maybe_resched() cannot schedule ast() for curthread

maybe_resched() needs to schedule TDA_SCHED for curthread, but this
requires taking curthread lock while owning some other thread lock.
To avoid introducing the order:
- Use a scheduler-private TDP flag.
- Register an unconditional TDA_SCHED_PRIV for 4BSD.
When an AST needs to be scheduled, i.e. the current thread must do
context switch in the return to userspace path, set the flag.
Then the ast handler calls ast_scheduler(), which gives the same
effect as scheduling TDA_AST.

The overhead is a single function call on each userspace return, for
4BSD case.

Reported and tested by: pho (previous version)
Reviewed by:    markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D54945
DeltaFile
+19-2sys/kern/sched_4bsd.c
+2-0sys/sys/sched.h
+1-1sys/kern/kern_synch.c
+1-0sys/sys/proc.h
+23-34 files