FreeBSD/ports 09eda8dwww/R-cran-shiny distinfo Makefile

www/R-cran-shiny: Update to 1.14.0

Reported by:    portscout
DeltaFile
+3-3www/R-cran-shiny/distinfo
+1-1www/R-cran-shiny/Makefile
+4-42 files

LLVM/project fe24cb9.github/workflows prune-unused-branches.py

fix

Created using spr 1.3.7
DeltaFile
+3-1.github/workflows/prune-unused-branches.py
+3-11 files

LLVM/project ab3ea41.github/workflows prune-unused-branches.py

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.7

[skip ci]
DeltaFile
+3-1.github/workflows/prune-unused-branches.py
+3-11 files

LLVM/project 94fb2ff.github/workflows prune-unused-branches.py

fix

Created using spr 1.3.7
DeltaFile
+3-1.github/workflows/prune-unused-branches.py
+3-11 files

LLVM/project 510ef07llvm/lib/Transforms/Instrumentation NumericalStabilitySanitizer.cpp, llvm/test/Instrumentation/NumericalStabilitySanitizer non_float_store.ll

[NSan] Fix null-pointer crash on unsupported vector element sizes (#202270)

In propagateNonFTStore, BitcastTy is left null when a ConstantDataVector
has an element width other than 32/64/80 bits (e.g., f16, bf16, fp128).
Passing a null element type into VectorType::get crashes. Guard the
VectorType::get call so the unsupported case falls through to the "reset
shadow to unknown" path.

---------

Co-authored-by: Alexander Shaposhnikov <ashaposhnikov at google.com>
DeltaFile
+28-0llvm/test/Instrumentation/NumericalStabilitySanitizer/non_float_store.ll
+3-2llvm/lib/Transforms/Instrumentation/NumericalStabilitySanitizer.cpp
+31-22 files

LLVM/project 84e1550.github/workflows prune-unused-branches.py prune-branches.yml

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+7-2.github/workflows/prune-unused-branches.py
+2-0.github/workflows/prune-branches.yml
+9-22 files

LLVM/project e71e7c3.github/workflows prune-unused-branches.py

[𝘀𝗽𝗿] changes to main this commit is based on

Created using spr 1.3.7

[skip ci]
DeltaFile
+7-2.github/workflows/prune-unused-branches.py
+7-21 files

LLVM/project 1f1c27a.github/workflows prune-unused-branches.py

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+7-2.github/workflows/prune-unused-branches.py
+7-21 files

LLVM/project 6c25981llvm/include/llvm/Support GlobPattern.h, llvm/lib/Support GlobPattern.cpp

Revert "[NFC][Support] Implement slash-agnostic path matching in GlobPattern" (#205409)

Reverts llvm/llvm-project#202854 due to downstream breakage (see
discussion in
https://github.com/llvm/llvm-project/pull/202854#issuecomment-4746579478)
DeltaFile
+0-62llvm/unittests/Support/GlobPatternTest.cpp
+14-37llvm/lib/Support/GlobPattern.cpp
+3-6llvm/include/llvm/Support/GlobPattern.h
+17-1053 files

LLVM/project 080895bcompiler-rt/lib/instrumentor-examples/pointer-tracking pointer_tracking_runtime.cpp pointer_tracking_config.json, compiler-rt/test/instrumentor-examples pointer_tracking_test.c simple_pointer_tracking.c

[Instrumentor] Add runtime examples: [3/N] Pointer tracking

The example shows how globals and stack allocations can be tracked. For
each we record if it was read/written and how long the time was between
creation and first use, and last use and deallocation. This is reported
at the end.
DeltaFile
+384-0compiler-rt/lib/instrumentor-examples/pointer-tracking/pointer_tracking_runtime.cpp
+98-0compiler-rt/test/instrumentor-examples/pointer_tracking_test.c
+95-0compiler-rt/lib/instrumentor-examples/pointer-tracking/pointer_tracking_config.json
+86-0compiler-rt/lib/instrumentor-examples/pointer-tracking/README.md
+67-0compiler-rt/lib/instrumentor-examples/pointer-tracking/CMakeLists.txt
+37-0compiler-rt/test/instrumentor-examples/simple_pointer_tracking.c
+767-04 files not shown
+776-110 files

LLVM/project 3b19279flang/lib/Semantics expression.cpp, flang/test/Semantics cuf29.cuf

[flang][cuda] Prefer valid intrinsics over host-only generics in device code (#205376)

In CUDA device code, a host-only generic can shadow an intrinsic with
the same name and cause a valid call such as maxloc(a, 1) to be rejected
as non-device-callable. Retry intrinsic resolution for host-only generic
function calls in device context, preserving normal diagnostics when no
valid intrinsic matches.
DeltaFile
+72-0flang/test/Semantics/cuf29.cuf
+39-0flang/lib/Semantics/expression.cpp
+111-02 files

FreeBSD/src 91413e8sys/compat/linuxkpi/common/src linux_compat.c

linuxkpi ioctl handler: restore the user data pointer

instead of trying to hack around it with LINUX_IOCTL_MIN_PTR.  Since
linux file ioctl methods expect the user address in the data argument,
this should work for all ioctls, including the variable-length cases
like ibcore.

Only do it for the FreeBSD ABI, where we know how to reliably access the
original syscall arguments.

Reviewed by:    Ariel Ehrenberg <aehrenberg at nvidia.com>, markj
Discussed with: zishun.yi.dev at gmail.com
Sponsored by:   NVidia networking
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D57612
DeltaFile
+44-4sys/compat/linuxkpi/common/src/linux_compat.c
+44-41 files

FreeBSD/src 7e093e5sbin/ifconfig ifconfig.c

ifconfig: Fix handling of unsupported -j option with MK_JAIL=no

The ifconfig(8) utility built with MK_JAIL=no does not support the
-j option.  When the option is specified, Perror() is called without
setting errno, which can result in errno being reported as zero and
a misleading error message being displayed.

Also remove "[-j jail]" from the usage message when built with
MK_JAIL=no.

Event:  Halifax Hackathon 202606
DeltaFile
+12-6sbin/ifconfig/ifconfig.c
+12-61 files

LLVM/project 0c6a0c4mlir/include/mlir/Dialect/Tosa/IR TosaComplianceData.h.inc, mlir/lib/Dialect/Tosa/IR TosaOps.cpp

[mlir][tosa] Add support for matmul_t (#203894)

Adds support for matmul_t added to the specification in
https://github.com/arm/tosa-specification/pull/50.

This includes:
- Operator definition
- Verification logic for the operator
- Output shape inference for the operator
- Validation checks to ensure compliance with the TOSA specification
including profile compliance and level checks.
- Support for matmul_t to matmul in the downgrade pass.

Note that MXFP support will be added in a follow-up commit.
DeltaFile
+148-40mlir/lib/Dialect/Tosa/IR/TosaOps.cpp
+81-2mlir/lib/Dialect/Tosa/Transforms/TosaDowngrade1p1To1p0.cpp
+81-0mlir/test/Dialect/Tosa/ops.mlir
+73-3mlir/test/Dialect/Tosa/verifier.mlir
+66-0mlir/test/Dialect/Tosa/tosa-infer-shapes.mlir
+55-0mlir/include/mlir/Dialect/Tosa/IR/TosaComplianceData.h.inc
+504-4512 files not shown
+669-4618 files

FreeBSD/src 6a606e7sys/dev/usb/serial uchcom.c

usb: Add missing unsetup while detaching uchcom

Reviewed by:    christos
MFC after:      2 weeks
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57329

(cherry picked from commit 2934783fa80de2854d9527ae11db85c47ac65a91)
DeltaFile
+1-0sys/dev/usb/serial/uchcom.c
+1-01 files

LLVM/project cf6527allvm/utils/gn/secondary/compiler-rt/lib/profile BUILD.gn, llvm/utils/gn/secondary/llvm/lib/Target/RISCV BUILD.gn

[gn build] Port commits (#205428)

55d7f777d958
582a20269e2c
DeltaFile
+1-0llvm/utils/gn/secondary/compiler-rt/lib/profile/BUILD.gn
+1-0llvm/utils/gn/secondary/llvm/lib/Target/RISCV/BUILD.gn
+2-02 files

FreeBSD/src e01b503sys/dev/usb usb_transfer.c

usb: Add missing mtx lock and unlock in pushing dma queue

Accessing usb_xfer_queue requires bus lock, we added this missing lock
in here to prevent racing issue.

Reviewed by:    adrian
MFC after:      2 weeks
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57293

(cherry picked from commit df5e9e3da5b9b3fe63ed4aaaa19b824fd18ae0f2)
DeltaFile
+2-0sys/dev/usb/usb_transfer.c
+2-01 files

FreeBSD/src 2cf3e6bsys/dev/usb/controller xhci.c

xhci: Do not drop and add bits in xhci

Drop and Add bits reset the data toggle for high-speed devices in XHCI.
The toggle bit represents the sequence number in USB 2.0 transfers. However,
a device can only recognize that the toggle bit has been reset while in
the HALT state. As a result, the host and device toggle values may
become mismatched, causing xHCI to reject the packet. This issue was
observed while testing the EZ-USB FX2 device.

The transfer may then return to the original value after a
bi-directional TD because the toggle field is only one bit wide. This
explains the reson that we can only receive packets bi-transfer in some
case. Therefore, we do not reset the toggle bit here.

Reviewed by:    adrian
MFC after:      2 weeks
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57146

(cherry picked from commit 28d85db46b484589e2ee74cf4b270db066821de1)
DeltaFile
+9-5sys/dev/usb/controller/xhci.c
+9-51 files

FreeBSD/src 6c9fbc4sys/dev/usb/serial uchcom.c

usb: Add missing unsetup while detaching uchcom

Reviewed by:    christos
MFC after:      2 weeks
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57329

(cherry picked from commit 2934783fa80de2854d9527ae11db85c47ac65a91)
DeltaFile
+1-0sys/dev/usb/serial/uchcom.c
+1-01 files

FreeBSD/src 9f2b898lib/msun/aarch64 fenv.h, lib/msun/arm fenv.h

libc: Use slow path in fenv in C++

C++ exposes cfenv functions via using ::func. Our name-mangling
mechanism rewrites all function calls causing symbols such as
std::feclearexcept to be transformed into std::__feclearexcept_int.
Since no such function exists, compilation fails.

The using ::feclearexpect declarations themselves are unaffected because
they are not function calls, which further exposes the mismatch

As a result, enable the fast path only for C and fall back to the slow
path in C++.

Reviewed by:    kib
Fixes:          5bc64b7d417d
MFC after:      2 weeks
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57450

(cherry picked from commit 9c0489508695fde3bdd742edfd1b4b681aab4d19)
DeltaFile
+12-0lib/msun/powerpc/fenv.h
+12-0lib/msun/riscv/fenv.h
+10-0lib/msun/arm/fenv.h
+10-0lib/msun/aarch64/fenv.h
+10-0lib/msun/x86/fenv.h
+54-05 files

FreeBSD/src 27b2489sys/x86/cpufreq hwpstate_intel.c

hwpstate_intel: Disable package control on hybrid CPU

In package control mode, the performance of all cores depends on the
most recent value written to the request field. If the last write comes
from an E-core, all cores are forced to align with the E-core
performance level, resulting in significant performance degradation.
Therefore, package control is disabled on hybrid-core systems.

Reviewed by:    olce
MFC after:      2 weeks
Sponsored by:   The FreeBSD Foundation
Sponsored by:   Framework Computer Inc
Differential Revision: https://reviews.freebsd.org/D57377

(cherry picked from commit 7b26353a59d66dc1bc611fd042a49b9e3bd13699)
DeltaFile
+21-0sys/x86/cpufreq/hwpstate_intel.c
+21-01 files

FreeBSD/src df2d578sys/dev/usb/controller xhci.c

xhci: Do not drop and add bits in xhci

Drop and Add bits reset the data toggle for high-speed devices in XHCI.
The toggle bit represents the sequence number in USB 2.0 transfers. However,
a device can only recognize that the toggle bit has been reset while in
the HALT state. As a result, the host and device toggle values may
become mismatched, causing xHCI to reject the packet. This issue was
observed while testing the EZ-USB FX2 device.

The transfer may then return to the original value after a
bi-directional TD because the toggle field is only one bit wide. This
explains the reson that we can only receive packets bi-transfer in some
case. Therefore, we do not reset the toggle bit here.

Reviewed by:    adrian
MFC after:      2 weeks
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57146

(cherry picked from commit 28d85db46b484589e2ee74cf4b270db066821de1)
DeltaFile
+9-5sys/dev/usb/controller/xhci.c
+9-51 files

FreeBSD/src 4f40c7csys/dev/usb usb_transfer.c

usb: Add missing mtx lock and unlock in pushing dma queue

Accessing usb_xfer_queue requires bus lock, we added this missing lock
in here to prevent racing issue.

Reviewed by:    adrian
MFC after:      2 weeks
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57293

(cherry picked from commit df5e9e3da5b9b3fe63ed4aaaa19b824fd18ae0f2)
DeltaFile
+2-0sys/dev/usb/usb_transfer.c
+2-01 files

FreeBSD/src 381ebe2tests/sys/fs/fusefs mockfs.cc

fusefs: proofread an error message in the tests

Reported by:    otis
Fixes:          2c1482e3053 ("fusefs: fix a race in the pre-init tests")
MFC after:      2 weeks
Sponsored by:   ConnectWise
DeltaFile
+1-1tests/sys/fs/fusefs/mockfs.cc
+1-11 files

LLVM/project 0ca87a1clang/lib/UnifiedSymbolResolution USRGeneration.cpp, clang/unittests/Index IndexTests.cpp

[clang-index][USR] GenLoc prints file entry at most once, allow repeated offsets

GenLoc previously printed the source location at most once per USR,
gated by a member flag toggled on the first call.  During the
recursive visit, if both an outer and an inner decl needed to print
the location, only the outer one was printed.  When the outer decl did
not need the offset, no offset was ever printed.  For example, the USR
of `Holder<decltype([]{})>::method` depends on the location of the
type of the lambda but the outer decl prints the file entry only,
which disables offset printing.

Change the logic so the file-entry part of the location is printed at
most once (it must be identical), while offsets of sub-decl locations
may be printed multiple times.
DeltaFile
+35-10clang/lib/UnifiedSymbolResolution/USRGeneration.cpp
+34-0clang/unittests/Index/IndexTests.cpp
+69-102 files

FreeNAS/freenas 6246892tests/directory_services test_zzz_truenas_ha.py test_activedirectory_basic.py

Fix tests
DeltaFile
+0-36tests/directory_services/test_zzz_truenas_ha.py
+0-30tests/directory_services/test_activedirectory_basic.py
+0-662 files

LLVM/project 418c3f8llvm/docs/CommandGuide index.md, llvm/docs/GlobalISel index.rst Pipeline.rst

[docs] Enforce unambiguous toctree in llvm/docs

It seems like using a non-`hidden` `toctree` for page navigation is a
bit of a trap, in that every doc must have a single unique path through
the global toctree to the root doc, and it is very easy to end up with
multiple.

This patch tries to address the warnings (actually infos, hence why it
does not fail the build) in llvm/docs/, namely:

  $ sphinx-build -b html -jauto llvm/docs/ /tmp/sphinx-out
  checking consistency...
  llvm/docs/AMDGPUDwarfExtensionAllowLocationDescriptionOnTheDwarfExpressionStack/AMDGPUDwarfExtensionAllowLocationDescriptionOnTheDwarfExpressionStack.md: document is referenced in multiple toctrees: ['UserGuides', 'AMDGPUUsage'], selecting: UserGuides <- AMDGPUDwarfExtensionAllowLocationDescriptionOnTheDwarfExpressionStack/AMDGPUDwarfExtensionAllowLocationDescriptionOnTheDwarfExpressionStack
  llvm/docs/AMDGPUDwarfExtensionsForHeterogeneousDebugging.rst: document is referenced in multiple toctrees: ['UserGuides', 'AMDGPUUsage'], selecting: UserGuides <- AMDGPUDwarfExtensionsForHeterogeneousDebugging
  llvm/docs/CommandGuide/llvm-reduce.rst: document is referenced in multiple toctrees: ['CommandGuide/index', 'CommandGuide/index', 'Reference'], selecting: Reference <- CommandGuide/llvm-reduce
  llvm/docs/GitHub.rst: document is referenced in multiple toctrees: ['GettingInvolved', 'UserGuides'], selecting: UserGuides <- GitHub
  llvm/docs/GlobalISel/IRTranslator.rst: document is referenced in multiple toctrees: ['GlobalISel/index', 'GlobalISel/Pipeline'], selecting: GlobalISel/index <- GlobalISel/IRTranslator
  llvm/docs/GlobalISel/InstructionSelect.rst: document is referenced in multiple toctrees: ['GlobalISel/index', 'GlobalISel/Pipeline'], selecting: GlobalISel/index <- GlobalISel/InstructionSelect
  llvm/docs/GlobalISel/Legalizer.rst: document is referenced in multiple toctrees: ['GlobalISel/index', 'GlobalISel/Pipeline'], selecting: GlobalISel/index <- GlobalISel/Legalizer

    [35 lines not shown]
DeltaFile
+126-81llvm/docs/CommandGuide/index.md
+30-21llvm/docs/GlobalISel/index.rst
+50-0utils/docs/llvm_sphinx/ext/checks.py
+21-21llvm/tools/llvm-debuginfo-analyzer/README.md
+0-14llvm/docs/tutorial/MyFirstLanguageFrontend/index.rst
+0-8llvm/docs/GlobalISel/Pipeline.rst
+227-1455 files not shown
+229-15411 files

LLVM/project ed6f75dclang/docs ghlinks.py conf.py, lldb/docs conf.py

[docs] Create utils/docs

llvm-project is home to many sphinx documentation sites, each with
configuration quirks and bespoke extensions.

The sphinx config model makes sharing code somewhat difficult. There
are options like sphinx-multiproject, but some of our docs builds are
out of the source tree while some are done out of the binary tree, so
the multiproject configuration itself would need to be generated. It
also would impose more uniformity around extensions than required.

This change instead creates a python package at utils/docs/llvm_sphinx
and makes it available to all sphinx-build processes via PYTHONPATH.
Each conf.py does not modify its own sys.path because not all builds are
out of the source tree, so there isn't a stable relative path to use to
refer to the utils/docs/ directory.

Type checking via pyright in new package is pinned to being python 3.8
compatible.

    [29 lines not shown]
DeltaFile
+0-273clang/docs/ghlinks.py
+151-0utils/docs/llvm_sphinx/ext/ghlinks/__init__.py
+71-0utils/docs/llvm_sphinx/__init__.py
+12-44llvm/docs/conf.py
+6-39lldb/docs/conf.py
+9-30clang/docs/conf.py
+249-38623 files not shown
+423-64929 files

LLVM/project c4bd250

Bump minimum required sphinx Python to 3.8

There seems to be de-facto use of at least 3.6 in docs, namely:

* Use of pathlib (3.4) in various places
* Format f-strings (3.6) and used in clang/docs/ghlinks.py

I don't see a strong reason to maintain the divide in minimum version
between test/docs, especially considering the "FIXME" indicating
the 3.0 lower bound was just a guess to begin with.

Change-Id: I11e00295ae0a13ec0f1c5cefbb2fdd2db272b152
DeltaFile
+0-00 files

LLVM/project c290057

[docs] Add BOLTAArch64OptimizationStatus to toctree

Building docs-bolt-html fails with:

  Warning, treated as error:
  /home/slinder1/llvm-project/scratch/bolt/docs/BOLTAArch64OptimizationStatus.rst:document isn't included in any toctree

Just add the orphan document to the toctree in the index to silence
this. If there is a better parent it can be moved somewhere else in the
tree.

Change-Id: I1d26d96d5485d97d29231da89f8c8408b375c41f
DeltaFile
+0-00 files