FreeBSD/ports 94e92ea — lang/v8 Makefile.crates Makefile, lang/v8/files patch-src_objects_js-temporal-zoneinfo64.cc temporal_capi-BUILD.gn.in

lang/v8: update to 15.5.35.20 (Chrome 155 stable)

- Enable Temporal.  GN can only build the temporal_capi Rust crate with
  the Chromium Rust toolchain, so build it with cargo as a static
  library through a small wrapper crate (temporal_capi is no_std) and
  have GN link that.  Crate versions follow Chromium's Cargo.lock.
  Time zone data is read from devel/icu; use the accessors libicuuc
  exports instead of ICU's internal udatamem.h, which is not installed.
- Use libclang and its Python bindings from the llvm port for the new
  metagen instance-types generator, and work around Cursor being
  unhashable in the bindings before LLVM 21.
- Ignore check_includes_strict, which devel/gn does not know yet.
- Add the licenses of the statically linked crates.
- Depend on libicuuc.so, which is what gets linked, instead of
  libicudata.so, and stop depending on glib, which was never linked.
- Drop DIST_SUBDIR; distfile names have been unique since the switch
  to the GitHub mirror.
DeltaFile
+481-0lang/v8/files/temporal_capi-Cargo.lock
+149-57lang/v8/distinfo
+51-17lang/v8/Makefile
+46-0lang/v8/Makefile.crates
+38-0lang/v8/files/temporal_capi-BUILD.gn.in
+33-0lang/v8/files/patch-src_objects_js-temporal-zoneinfo64.cc
+798-746 files not shown
+862-8612 files

LLVM/project 5b0ebe6 — clang/include/clang/CIR/Dialect/IR CIROps.td, clang/lib/CIR/Dialect/IR CIRDialect.cpp

[CIR] Implement BranchOpInterface for switch.flat

Switch.flat should minic llvm.switch as they are both CFG
formed. Implement the same mechanism as what we have in llvm.switch
and add ArrayRef<Attribute> override when we actually know the operands.

Assisted-by: Claude # Tests
DeltaFile
+70-0clang/test/CIR/Transforms/switch-flat-sccp.cir
+20-0clang/lib/CIR/Dialect/IR/CIRDialect.cpp
+4-4clang/test/CIR/IR/switch-flat.cir
+1-0clang/include/clang/CIR/Dialect/IR/CIROps.td
+95-44 files

LLVM/project 585e300 — clang/lib/CodeGen CGExpr.cpp CGExprAgg.cpp, clang/test/CodeGenObjC strong-in-c-struct.m

[Clang][CodeGen] Fix clang codegen eh cleanup (NFC) (#226743)

NFC for the following reasons:

- `DK_none` and `DK_cxx_destructor` can never reach
`pushLifetimeExtendedDestroy` at either of the two call sites. `DK_none`
is filtered out by the `if (...)` check. `DK_cxx_destructor ` only
occurs for a C++ class, but the code runs only if
`!getLangOpts().CPlusPlus`.

- For the other three (`DK_objc_strong_lifetime`,
`DK_objc_weak_lifetime`, and `DK_nontrivial_c_struct`), the boolean flag
controls whether the remaining not-yet-destroyed elements of an array
get destroyed in `emitArrayDestroy` when the destroyer call itself
throws when destroying an array element. But the flag is irrelevant here
because the destroyer functions for the three never throw: they are all
called via `EmitNounwindRuntimeCall`, which produces a plain `call`
rather than an `invoke`.
DeltaFile
+35-0clang/test/CodeGenObjC/strong-in-c-struct.m
+2-3clang/lib/CodeGen/CGExprAgg.cpp
+1-3clang/lib/CodeGen/CGExpr.cpp
+38-63 files

FreeBSD/src a66236e — sys/arm64/arm64 identcpu.c cpufunc_asm.S, sys/arm64/include cpufunc.h

arm64: avoid full icache flushes on PIPT icaches

On many arm64 processors, the kernel plays a part in maintaining
instruction cache (icache) coherence as the contents of the underlying
physical pages change.  Previously, the only mechanism for maintaining
icache coherence implemented by the machine-dependent layer was a full
icache flush.  However, on machines with physically indexed and
physically tagged (PIPT) icaches, where aliasing cannot occur, we can
instead selectively invalidate just the affected cache lines.

Reviewed by:    andrew
Tested by:      markj
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D60271
DeltaFile
+64-17sys/arm64/arm64/cpufunc_asm.S
+12-4sys/arm64/arm64/identcpu.c
+2-0sys/arm64/include/cpufunc.h
+78-213 files

LLVM/project 19d3b2d — mlir/lib/Target/LLVMIR DebugTranslation.cpp

[mlir][NFC] Use DefaultUnreachable in TypeSwitch (#230333)

Simplify unreachable case in `TypeSwitch` to use `DefaultUnreachable`.
Similar to #162010.
DeltaFile
+2-3mlir/lib/Target/LLVMIR/DebugTranslation.cpp
+2-31 files

GhostBSD/ports 6aaa1e3 — sysutils/be-station pkg-plist

sysutils/be-station: fix pkg-plist

The egg-info version matches PORTVERSION, so the framework already adds
it to the plist. Listing it in pkg-plist as well made check-plist fail.
DeltaFile
+0-5sysutils/be-station/pkg-plist
+0-51 files

GhostBSD/ports 38f6b07 — ports-mgmt/software-station Makefile distinfo

ports-mgmt/software-station: update to 2.3

Add the new French and Brazilian Portuguese translations and the
__pycache__ files that were missing from pkg-plist. The egg-info now
matches PORTVERSION, so drop it from pkg-plist and let the framework
add it.
DeltaFile
+6-5ports-mgmt/software-station/pkg-plist
+3-3ports-mgmt/software-station/distinfo
+1-1ports-mgmt/software-station/Makefile
+10-93 files

FreeBSD/ports 46f83f4 — comms/cqrlog pkg-plist, comms/cqrlog/files patch-src_fDbSqlSel.pas patch-src_dData.lfm

comms/cqrlog: Update to 3.2.0

With hat:       hamradio
Reviewed by:    db
DeltaFile
+276-29comms/cqrlog/files/patch-src_dData.pas
+43-17comms/cqrlog/files/patch-src_fPreferences.pas
+37-14comms/cqrlog/pkg-plist
+29-11comms/cqrlog/files/patch-src_dUtils.pas
+38-0comms/cqrlog/files/patch-src_fDbSqlSel.pas
+38-0comms/cqrlog/files/patch-src_dData.lfm
+461-7118 files not shown
+668-14924 files

LLVM/project 3be74a9 — compiler-rt/lib/asan asan_rtl.cpp

Revert PrintAddressSpaceLayout changes, only print kGaplessShadow flag
DeltaFile
+36-41compiler-rt/lib/asan/asan_rtl.cpp
+36-411 files

LLVM/project 8b775e2 — compiler-rt/lib/asan asan_mapping.h asan_shadow_setup.cpp

[ASan][Darwin] Support gapless shadow layout for iOS 27.0

When the shadow can be placed entirely above app memory (as on the
new iOS 27.0 embedded VM layout, where debug memory pushes shadow
past kHighMemEnd), there is no need to split shadow into low/high
halves with a middle gap.

- Add kGaplessShadow (Apple-only) to detect this configuration.
- Teach InitializeShadowMemory to reserve one contiguous shadow
  region and protect only the shadow-of-shadow when kGaplessShadow
  is true, with CHECKs asserting the mapping preconditions.
- Update PrintAddressSpaceLayout to print the single-region layout.

rdar://167657399
DeltaFile
+41-35compiler-rt/lib/asan/asan_rtl.cpp
+39-1compiler-rt/lib/asan/asan_shadow_setup.cpp
+9-0compiler-rt/lib/asan/asan_mapping.h
+89-363 files

LLVM/project de95e26 — compiler-rt/lib/sanitizer_common sanitizer_common.h sanitizer_platform.h, compiler-rt/test/asan/TestCases/Darwin sandbox-vm-region-recurse.cpp

[sanitizer_common][Darwin] Add debug memory region support for iOS 27.0

iOS 27.0 bumps the address space from 36 to 39 bits on some devices,
and reserves some address space for sanitizers.

- Add SANITIZER_IOSDEVICE and SANITIZER_EMBEDDED_VM_LAYOUT macros;
  bump Darwin iOS/ARM64 SANITIZER_MMAP_RANGE_SIZE from 36 to 39 bits.
- Add ActivateDebugMemory / DebugMemoryActive and tag mmap allocations
  above DARWIN_DEBUG_MEMORY_START with VM_MEMORY_DEBUG when using the
  debug range; verify returned addresses fall within the expected range.
- Replace GetAppReservedRanges with GetAppRanges, populated from
  sysctls on supported devices.
- Extend FindAvailableMemoryRange with a use_debug_vm parameter and
  route MapDynamicShadow through it when debug memory is active.
- Centralize mach_vm_region_recurse calls through
  internal_mach_vm_region_recurse, which fatals on KERN_DENIED.

rdar://167657399
DeltaFile
+333-68compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp
+15-15compiler-rt/lib/sanitizer_common/sanitizer_win.cpp
+19-1compiler-rt/lib/sanitizer_common/sanitizer_mac.h
+6-2compiler-rt/lib/sanitizer_common/sanitizer_platform.h
+0-4compiler-rt/lib/sanitizer_common/sanitizer_common.h
+1-1compiler-rt/test/asan/TestCases/Darwin/sandbox-vm-region-recurse.cpp
+374-916 files

OpenBSD/src mpU1fhX — usr.sbin/smtpd/smtpctl Makefile, usr.sbin/smtpd/smtpd Makefile

   we may as well install the relinked binaries as x,og-r
   ok millert dgl
VersionDeltaFile
1.48+2-2usr.sbin/smtpd/smtpctl/Makefile
1.117+2-1usr.sbin/smtpd/smtpd/Makefile
1.2+2-1usr.sbin/smtpd/smtpd-scheduler/Makefile
1.2+2-1usr.sbin/smtpd/smtpd-queue/Makefile
1.2+2-1usr.sbin/smtpd/smtpd-lka/Makefile
1.2+2-1usr.sbin/smtpd/smtpd-dispatcher/Makefile
+12-73 files not shown
+18-109 files

LLVM/project 9429767 — bolt/lib/Rewrite RewriteInstance.cpp, bolt/test/AArch64 split-func-mapping-symbol.s

[BOLT][AArch64] Don't treat entry mapping symbols as function symbols (#230244)

ARM code mapping symbol ($x) at a function entry is treated as a
function alias. When rewriting, it's updated to match the function:
* gets function output size - while mapping syms should be size 0,
* fragment/ICF symbols are derived from it (e.g. $x.cold.0), without
  corresponding parent symbol.

Move mapping symbols together with the function but keep 0-sized and
don't add extra symbols for them.

This fixes issues of reading BOLTed binary with such symbols where
perf2bolt/heatmap report:
* "parent function not found for $x.cold.0",
* "owning FILE symbol not found for symbol $x.cold.0".

Test Plan: added split-func-mapping-symbol.s

Assisted-by: Claude Opus 5.5
DeltaFile
+71-0bolt/test/AArch64/split-func-mapping-symbol.s
+10-2bolt/lib/Rewrite/RewriteInstance.cpp
+81-22 files

LLVM/project 98ecca7 — clang/test/CIR/CodeGenSYCL sycl-module-id.cpp

[CIR][SYCL][NFC] Add sycl-module-id test (#230324)

Port clang/test/CodeGenSYCL/sycl-module-id.cpp to ClangIR.

FWIW I will port the SYCL tests from OG to CIR. That will likely make it
easier to track what is missing.

Co-authored-by: Claude Opus 5.5 (1M context) <noreply at anthropic.com>
DeltaFile
+35-0clang/test/CIR/CodeGenSYCL/sycl-module-id.cpp
+35-01 files

LLVM/project 561fa0e — clang/test/CIR/CodeGenSYCL functionptr-addrspace.cpp

[CIR][SYCL][NFC] Add functionptr-addrspace test (#230327)

Port clang/test/CodeGenSYCL/functionptr-addrspace.cpp to ClangIR.

Co-authored-by: Claude Opus 5.5 (1M context) <noreply at anthropic.com>
DeltaFile
+33-0clang/test/CIR/CodeGenSYCL/functionptr-addrspace.cpp
+33-01 files

LLVM/project 0ffb828 — bolt/lib/Rewrite RewriteInstance.cpp, bolt/test bolt-reserved.test

[BOLT] Ignore __bolt_reserved syms in perf2bolt/heatmap (#230300)

Aggregation and heatmap don't rewrite the binary, so skipping setting
reserved space is safe. This unblocks aggregation from BOLTed binary
that used and updated these markers.

Test Plan: updated bolt-reserved.test
DeltaFile
+13-0bolt/test/bolt-reserved.test
+4-0bolt/lib/Rewrite/RewriteInstance.cpp
+17-02 files

FreeBSD/src 88a5924 — lib/libc/stdlib getenv.c

libc/stdlib/getenv.c:  always allocate new environment

PR:     298747

(cherry picked from commit dec68aeff8ce0ce154e93325a74bba6af71c87af)
DeltaFile
+1-1lib/libc/stdlib/getenv.c
+1-11 files

LLVM/project a26bff1 — llvm/lib/Target/WebAssembly WebAssemblyFastISel.cpp, llvm/test/CodeGen/WebAssembly fast-isel-simd128.ll

[WebAssembly] Fall back to SelectionDAG for vector compares in FastISel (#227368)

FastISel's selectICmp and selectFCmp each classify compare operands
with a single scalar test: anything but i64 is treated as i32, and
anything but f64 as f32, vectors included. A vector compare therefore
emits a scalar i32.eq/i32.ne (or f32.eq) that consumes the two v128
registers holding the operands, and the resulting module fails
validation ("type mismatch: expected i32, found v128").

Return false for vector operands in both selectors so the SelectionDAG
lowers them to SIMD compares, and extend the existing
fast-isel-simd128.ll test to cover vector compares on both wasm32 and
wasm64 (UTC-generated checks, with the vectors passed in as arguments).

The vector compare only reaches this path when the rest of the block
does not bail out, which is why it went unnoticed: the common shapes
(a vector icmp feeding extractelement, a bitcast, an intrinsic, or a
branch condition) all miss somewhere in FastISel and the SelectionDAG
revisits the block, replacing the bad compare. A vector compare

    [4 lines not shown]
DeltaFile
+65-0llvm/test/CodeGen/WebAssembly/fast-isel-simd128.ll
+14-0llvm/lib/Target/WebAssembly/WebAssemblyFastISel.cpp
+79-02 files

FreeBSD/src 58ac9bf — libexec/rtld-elf rtld.c

rtld.c: avoid double-free on dso load failure in do_load_object()

(cherry picked from commit 274236ed084a259a0e8a11df1afebd2f2f1fb097)
DeltaFile
+1-0libexec/rtld-elf/rtld.c
+1-01 files

FreeBSD/src 46237e2 — libexec/rtld-elf/i386 reloc.c

rtld-elf/i386: remove no longer true __unused args annotations

(cherry picked from commit ea23918b025baf72a43c0ce6f3f505ef153c2644)
DeltaFile
+1-1libexec/rtld-elf/i386/reloc.c
+1-11 files

FreeBSD/src a6d8b44 — lib/libc/stdlib getenv.c

libc/stdlib/getenv.c:  always allocate new environment

PR:     298747

(cherry picked from commit dec68aeff8ce0ce154e93325a74bba6af71c87af)
DeltaFile
+1-1lib/libc/stdlib/getenv.c
+1-11 files

LLVM/project 825b7fa — libc/include/llvm-libc-macros/linux sys-inotify-macros.h, libc/include/sys inotify.yaml

[libc] add sys/inotify (#230314)

The sys/inotify header has linux functions for watching a directory.
This PR adds those functions, and their relevant macros and type. Tests
are fairly simple since the functions are all syscall wrappers.

Assisted-by: Automated tooling, human reviewed
DeltaFile
+82-0libc/include/sys/inotify.yaml
+73-0libc/test/src/sys/inotify/linux/CMakeLists.txt
+56-0libc/src/sys/inotify/linux/CMakeLists.txt
+54-0libc/include/llvm-libc-macros/linux/sys-inotify-macros.h
+50-0libc/test/src/sys/inotify/linux/inotify_init_test.cpp
+49-0libc/src/__support/OSUtil/linux/syscall_wrappers/CMakeLists.txt
+364-035 files not shown
+1,028-041 files

LLVM/project 8b7a4fb — llvm/utils/gn/secondary/clang/lib/CodeGenUtils BUILD.gn

[gn build] Port a789eb1d665b (#230326)
DeltaFile
+0-1llvm/utils/gn/secondary/clang/lib/CodeGenUtils/BUILD.gn
+0-11 files

NetBSD/pkgsrc-wip 5aa43c3 — photocraft Makefile cargo-depends.mk

Update graphics/photocraft to v.0.5.0
DeltaFile
+30-3photocraft/distinfo
+9-0photocraft/cargo-depends.mk
+1-1photocraft/Makefile
+40-43 files

GhostBSD/ports 478edb1 — sysutils/backup-station distinfo pkg-plist, sysutils/be-station pkg-plist Makefile

sysutils/be-station: rename from backup-station, update to 0.8

Backup Station was renamed upstream to BE Station. Add the port under
its new name and remove sysutils/backup-station, with a MOVED entry.

- Require py-bectl 0.7 and Python 3.12+, drop the unused pkg dependency
- Point WWW at the be-station repository instead of software-station
- Shorten COMMENT to describe what the tool does

sysutils/ghostbsd-utils: update to 26.10.0 and depend on be-station.
DeltaFile
+0-22sysutils/backup-station/Makefile
+21-0sysutils/be-station/Makefile
+10-0sysutils/be-station/pkg-plist
+0-5sysutils/backup-station/pkg-plist
+2-2sysutils/ghostbsd-utils/Makefile
+0-3sysutils/backup-station/distinfo
+33-325 files not shown
+40-3511 files

LLVM/project b08e005 — clang/lib/CIR/CodeGen CIRGenCall.cpp, clang/test/CIR/CodeGen spir-call-calling-conv.c spir-call-calling-conv.cpp

[CIR] Emit calling convention on call sites (#230123)

Adds calling convention on the call sites. 

Note: I opted to execlude support for runtime calling convention
(classic getRuntimeCC()) on calls to runtime functions created in CIR
passes (EH, __cxa_atexit, __cxa_guard_*, dynamic_cast, global init).
These keep the default C calling convention and are marked with
TODO(cir) and `MissingFeatures::opFuncCallingConv()` for a follow-up.

---------

Co-authored-by: Claude Opus 5.5 (1M context) <noreply at anthropic.com>
DeltaFile
+65-0clang/test/CIR/CodeGen/spir-call-calling-conv.cpp
+41-0clang/test/CIR/CodeGen/spir-call-calling-conv.c
+40-0clang/test/CIR/Lowering/call-calling-conv.cir
+39-0clang/test/CIR/IR/call-calling-conv.cir
+38-0clang/test/CIR/CodeGenSYCL/call-calling-conv.cpp
+21-16clang/lib/CIR/CodeGen/CIRGenCall.cpp
+244-1621 files not shown
+476-6627 files

LLVM/project f93f4e3 — llvm/lib/CodeGen/AsmPrinter EHStreamer.cpp, llvm/test/CodeGen/X86 eh-call-site-info-for-inline-asm.ll

[X86] Emit LSDA call site info for inline asm calls marked `unwind` (#218276)

LLVM currently doesn't consider inline asm calls with the `unwind`
keyword when generating the list of LSDA call sites of a function.
For example, given the following IR

```llvm
declare i32 @rust_eh_personality(i32, i32, i64, ptr, ptr)
declare void @bar()

define void @example() personality ptr @rust_eh_personality {
entry:
  call void asm sideeffect alignstack inteldialect unwind "call foo", ""()

  invoke void @bar()
          to label %cont unwind label %lpad

cont:
  ret void

    [98 lines not shown]
DeltaFile
+49-0llvm/test/CodeGen/X86/eh-call-site-info-for-inline-asm.ll
+6-0llvm/lib/CodeGen/AsmPrinter/EHStreamer.cpp
+55-02 files

LLVM/project 89157ec — bolt/include/bolt/Core BinaryContext.h, bolt/lib/Core BinaryEmitter.cpp BinaryContext.cpp

[BOLT] Keep ambiguous references next to function boundaries valid

A reference into code without a relocation that names its target, e.g. a
RIP-relative LEA whose relocation was against a section symbol, cannot be told
apart from "Next - Delta" and "Prev + Offset" when it lands right before or
after a function start. HHVM built with LLVM 23 has such a reference to
"sqlite3RCStrUnref - 1", which lands in padding and makes BOLT fail with
-strict. Without padding, BOLT silently kept such references relative to the
preceding function. See bolt/test/X86/unanchored-code-reference.s.

BOLT now collects these references from code and, when they are within
--boundary-ref-distance bytes (default 2) of a function start, keeps the
functions around them in place in lite mode. When all functions are processed,
it emits those functions unoptimized and back-to-back with the original bytes
between them, and checks after linking that they kept their size and distance.

Absolute references right before a function start are now relative to that
function. This replaces the workaround for "fptr - 1" in de-virtualized member
function pointer calls, which dropped the relocation and left the input
address in the code.
DeltaFile
+253-0bolt/test/X86/unanchored-code-reference.s
+224-0bolt/test/X86/unanchored-code-reference-fuse.s
+221-0bolt/lib/Core/BinaryContext.cpp
+57-21bolt/lib/Rewrite/RewriteInstance.cpp
+49-0bolt/include/bolt/Core/BinaryContext.h
+43-4bolt/lib/Core/BinaryEmitter.cpp
+847-253 files not shown
+883-259 files

LLVM/project 2e9e63d — clang/include/clang/Basic BuiltinsX86.td, clang/test/Sema ms-x86-builtins-int64-lp64.c

[BuiltinsX86] Use long long for the __int64 MS intrinsics (#154946)

Microsoft declares _Interlocked*64, _xgetbv and _xsetbv with __int64,
which is
long long on every target. BuiltinsX86.td used int64_t and uint64_t,
which are
long on LP64, so declaring them as Microsoft does fails there:

  error: conflicting types for '_InterlockedIncrement64'

Use long long int and unsigned long long int, as __emul does.
DeltaFile
+10-10clang/include/clang/Basic/BuiltinsX86.td
+19-0clang/test/Sema/ms-x86-builtins-int64-lp64.c
+29-102 files

LLVM/project f821f0f — llvm/cmake/modules MLGOLower.cmake, llvm/lib/Analysis CMakeLists.txt

[mlgo] Allow passing pre-emitc-ed models
DeltaFile
+79-58llvm/cmake/modules/MLGOLower.cmake
+98-0llvm/lib/Analysis/models/inline-oz-test-model.inc
+49-0llvm/lib/Analysis/models/regalloc-eviction-test-model.inc
+13-12llvm/lib/CodeGen/CMakeLists.txt
+13-12llvm/lib/Analysis/CMakeLists.txt
+3-21llvm/lib/CodeGen/MLRegAllocEvictAdvisor.cpp
+255-10320 files not shown
+324-19526 files