LLVM/project 20e952eclang/lib/Sema SemaType.cpp SemaOpenCL.cpp, clang/test/SemaOpenCL storageclass.cl access-qualifier.cl

[OpenCL] Fix extensions checks for 3.1 (#208370)

These extension checks apply to 3.1 as well.
This fix kernel build fails when OpenCL 3.1 is enabled in
https://github.com/intel/opencl-clang/pull/752

Assisted-by: Claude
DeltaFile
+17-13clang/test/SemaOpenCL/storageclass.cl
+7-5clang/test/SemaOpenCL/access-qualifier.cl
+7-0clang/test/SemaOpenCL/fp64-fp16-options.cl
+2-2clang/lib/Sema/SemaType.cpp
+3-0clang/test/SemaOpenCL/unsupported-image.cl
+1-1clang/lib/Sema/SemaOpenCL.cpp
+37-211 files not shown
+38-227 files

FreeBSD/ports 185849cnet-im/parla Makefile distinfo

net-im/parla: Update to 0.6.4
DeltaFile
+2-6net-im/parla/Makefile
+3-3net-im/parla/distinfo
+5-92 files

FreeBSD/src f28c418sys/fs/nfsclient nfs_clstate.c

nfs_clstate.c: Fix CB_RECALL handling for NFSv4.1/4.2

Recent testing with a modified NFSv4.1/4.2 client that
sometimes ignored CB_RECALL callbacks, identified a few
problems when handling the unusual case of CB_RECALL not
be performed by the client.
- The csa_cachethis argument to CB_SEQUENCE was being ignored.
- The CB_SEQUENCE operation would reply NFSERR_DELAY
  after the first CB_RECALL attempt, making retries
  ineffective.
- The code could return NFSERR_RESOURCE, which is a
  NFSv4.0 specific error code.

This patch fixes the above three problems.

The patch only affects the NFSv4.1/4.2 client when
delegations are being issued and the client somehow
fails to handle a CB_RECALL callback of a delegation,
which is an unusual case.

    [2 lines not shown]
DeltaFile
+9-2sys/fs/nfsclient/nfs_clstate.c
+9-21 files

FreeBSD/src d2b2facsys/fs/nfsclient nfs_clstate.c

nfs_clstate.c: Fix CB_RECALL handling for NFSv4.1/4.2

Recent testing with a modified NFSv4.1/4.2 client that
sometimes ignored CB_RECALL callbacks, identified a few
problems when handling the unusual case of CB_RECALL not
be performed by the client.
- The csa_cachethis argument to CB_SEQUENCE was being ignored.
- The CB_SEQUENCE operation would reply NFSERR_DELAY
  after the first CB_RECALL attempt, making retries
  ineffective.
- The code could return NFSERR_RESOURCE, which is a
  NFSv4.0 specific error code.

This patch fixes the above three problems.

The patch only affects the NFSv4.1/4.2 client when
delegations are being issued and the client somehow
fails to handle a CB_RECALL callback of a delegation,
which is an unusual case.

    [2 lines not shown]
DeltaFile
+9-2sys/fs/nfsclient/nfs_clstate.c
+9-21 files

FreeBSD/ports d619cbax11-toolkits/ntk Makefile, x11-toolkits/ntk/files imp.py

x11-toolkits/ntk: Unbreak by adding imp.py shim on PYTHONPATH for bundled waf on Python 3.12

Reported by:    fallout
DeltaFile
+48-0x11-toolkits/ntk/files/imp.py
+6-0x11-toolkits/ntk/Makefile
+54-02 files

FreeBSD/ports 0a79467biology/ncbi-toolkit Makefile, biology/ncbi-toolkit/files patch-tools_readdb.c

biology/ncbi-toolkit: Unbreak by fixing chained C comparison in tools/readdb.c

Reported by:    fallout
DeltaFile
+16-0biology/ncbi-toolkit/files/patch-tools_readdb.c
+1-1biology/ncbi-toolkit/Makefile
+17-12 files

FreeBSD/ports 9536e10science/py-libgetar Makefile

science/py-libgetar: Unbreak by dropping py-breathe to avoid numpy conflict

Reported by:    fallout
DeltaFile
+1-2science/py-libgetar/Makefile
+1-21 files

FreeBSD/ports dbd3ca6misc/py-scikit-fusion Makefile, misc/py-scikit-fusion/files patch-setup.py

scikit-fusion: Unbreak by replacing import imp with importlib.util

Reported by:    fallout
DeltaFile
+27-0misc/py-scikit-fusion/files/patch-setup.py
+0-2misc/py-scikit-fusion/Makefile
+27-22 files

FreeBSD/ports 6c703d6net/wayvnc distinfo Makefile

net/wayvnc: update to 0.10.1

Changes:        https://github.com/any1/wayvnc/releases/tag/v0.10.1
Reported by:    GitHub (watch releases)

(cherry picked from commit 2684b2196807ae680c3fbeeaad3dd858562db079)
DeltaFile
+3-3net/wayvnc/distinfo
+1-1net/wayvnc/Makefile
+4-42 files

FreeBSD/ports 72ff7e3net/neatvnc distinfo Makefile

net/neatvnc: update to 1.0.1

Changes:        https://github.com/any1/neatvnc/releases/tag/v1.0.1
Reported by:    GitHub (watch releases)

(cherry picked from commit 064e0269750286296aee6e22a89f83ebbcecbe32)
DeltaFile
+3-3net/neatvnc/distinfo
+1-1net/neatvnc/Makefile
+1-1net/neatvnc/pkg-plist
+5-53 files

FreeBSD/ports d6b722fx11/swaylock distinfo Makefile

x11/swaylock: update to 1.8.6

Changes:        https://github.com/swaywm/swaylock/releases/tag/v1.8.6
Reported by:    GitHub (watch releases)

(cherry picked from commit 3877e31114c51008d92bf04902e5aad8684b182e)
DeltaFile
+3-3x11/swaylock/distinfo
+1-1x11/swaylock/Makefile
+4-42 files

FreeBSD/ports b93d874x11/swaylock-plugin distinfo Makefile

x11/swaylock-plugin: update to 1.8.7

Changes:        https://github.com/mstoeckl/swaylock-plugin/releases/tag/v1.8.7
Reported by:    GitHub (watch releases)

(cherry picked from commit f08dc31c382ce9e2bfe448befc45979eeb051726)
DeltaFile
+3-3x11/swaylock-plugin/distinfo
+1-1x11/swaylock-plugin/Makefile
+4-42 files

FreeBSD/ports 2684b21net/wayvnc distinfo Makefile

net/wayvnc: update to 0.10.1

Changes:        https://github.com/any1/wayvnc/releases/tag/v0.10.1
Reported by:    GitHub (watch releases)
DeltaFile
+3-3net/wayvnc/distinfo
+1-1net/wayvnc/Makefile
+4-42 files

FreeBSD/ports 064e026net/neatvnc distinfo Makefile

net/neatvnc: update to 1.0.1

Changes:        https://github.com/any1/neatvnc/releases/tag/v1.0.1
Reported by:    GitHub (watch releases)
DeltaFile
+3-3net/neatvnc/distinfo
+1-1net/neatvnc/Makefile
+1-1net/neatvnc/pkg-plist
+5-53 files

FreeBSD/ports 3877e31x11/swaylock distinfo Makefile

x11/swaylock: update to 1.8.6

Changes:        https://github.com/swaywm/swaylock/releases/tag/v1.8.6
Reported by:    GitHub (watch releases)
DeltaFile
+3-3x11/swaylock/distinfo
+1-1x11/swaylock/Makefile
+4-42 files

FreeBSD/ports f08dc31x11/swaylock-plugin distinfo Makefile

x11/swaylock-plugin: update to 1.8.7

Changes:        https://github.com/mstoeckl/swaylock-plugin/releases/tag/v1.8.7
Reported by:    GitHub (watch releases)
DeltaFile
+3-3x11/swaylock-plugin/distinfo
+1-1x11/swaylock-plugin/Makefile
+4-42 files

LLVM/project ea21481clang/lib/Sema SemaExpand.cpp

[Clang] Fix APSInt width of template argument in FinishCXXExpansionStmt() (#208859)

After merging #169680, we started getting assertions in
IntegerLiteral::Create() on some ARM systems:

```
Assertion `V.getBitWidth() == C.getIntWidth(type) &&
"Integer type is not the correct size for constant."'
```

The expansion statements patch doesn't ever create an IntegerLiteral
directly, but there is one place where we create a TemplateArgument of
type 'ptrdiff_t', but we unconditionally set the bit width of its APSInt
to 64 bits.

Presumably, the assertion is due to 'ptrdiff_t' not being a 64-bit type
on these systems, so make sure that we query its bit width and use that
as the width of the APSInt.


    [3 lines not shown]
DeltaFile
+6-2clang/lib/Sema/SemaExpand.cpp
+6-21 files

FreeBSD/ports b3fec64science/py-phonopy Makefile

science/py-phonopy: Unbreak by wildcarded .so in strip targets

Reported by:    fallout
DeltaFile
+2-2science/py-phonopy/Makefile
+2-21 files

FreeBSD/ports 1c349bescience/py-icet Makefile

science/py-icet: Unbreak by sildcarded .so in strip target.

Reported by:    fallout
DeltaFile
+1-1science/py-icet/Makefile
+1-11 files

FreeBSD/ports d460072science/cantera Makefile pkg-plist, science/cantera/files patch-interfaces_cython_SConscript

science/cantera: Unbreak by fixing wheel-filename mismatch via SConscript sentinel/glob

Also: Python ABI parameterized in strip target and pkg-plist.
DeltaFile
+40-0science/cantera/files/patch-interfaces_cython_SConscript
+4-1science/cantera/Makefile
+1-1science/cantera/pkg-plist
+45-23 files

FreeBSD/ports a5f48c9misc/pytorch Makefile

misc/pytorch: Unbreak by adding libfmt.so:devel/libfmt to LIB_DEPENDS

Reported by:    fallout
DeltaFile
+1-0misc/pytorch/Makefile
+1-01 files

Illumos/gate f4df593usr/src/pkg/manifests system-test-libctest.p5m, usr/src/test/libc-tests/runfiles default.run

18185 retire run_arch_tests.ksh in libc-tests
Reviewed by: Gordon Ross <Gordon.W.Ross at gmail.com>
Reviewed by: Toomas Soome <tsoome at me.com>
Approved by: Dan McDonald <danmcd at Edgecast.io>
DeltaFile
+0-65usr/src/test/libc-tests/tests/common/run_arch_tests.ksh
+17-25usr/src/pkg/manifests/system-test-libctest.p5m
+17-9usr/src/test/libc-tests/runfiles/default.run
+7-12usr/src/test/libc-tests/tests/Makefile.com
+0-1usr/src/test/libc-tests/tests/wctype/Makefile
+0-1usr/src/test/libc-tests/tests/nl_langinfo/Makefile
+41-1136 files not shown
+41-11912 files

LLVM/project 8e955eelldb/include/lldb/DataFormatters TypeCategoryMap.h, lldb/source/DataFormatters TypeCategoryMap.cpp

[lldb] TypeCategoryMap: Replace ConstString with StringRef (#208117)

I plan on removing ConstStrings from DataFormatters where possible.
There's a lot of entangled classes in DataFormatters but TypeCategoryMap
feels approachable to start with.
DeltaFile
+11-10lldb/source/DataFormatters/TypeCategoryMap.cpp
+8-7lldb/include/lldb/DataFormatters/TypeCategoryMap.h
+19-172 files

LLVM/project a355651lldb/include/lldb/Core Debugger.h, lldb/source/Plugins/ScriptInterpreter/Python ScriptInterpreterPython.cpp ScriptInterpreterPythonImpl.h

[lldb] Serialize scripted-command output with the statusline (#208609)

A Python command's print() writes to sys.stdout, which the interpreter
session pointed at the debugger's raw terminal descriptor via
PyFile_FromFd. Those writes bypass the debugger's output lock, so they
can race with the statusline, resulting in truncated output. Back the
session's terminal stdout and stderr with a pipe instead. A reader
thread drains the pipe and writes to the terminal through
Debugger::PrintAsync, which takes the same output lock as the
statusline.

Only redirect when a statusline could actually be drawing: the pipe and
reader thread are set up only when StatuslineSupported() holds
(show-statusline is enabled and the output is an escape-code-capable
terminal) and the target is the debugger's own terminal. The interactive
interpreter opts out entirely, since input()'s readline line editing and
echo need both sys.stdin and sys.stdout to be the real terminal.

Python still gets a real line-buffered text file over the pipe, so

    [6 lines not shown]
DeltaFile
+190-7lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
+46-0lldb/test/API/functionalities/statusline/TestStatusline.py
+31-7lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h
+17-0lldb/test/API/functionalities/statusline/statusline_flood.py
+4-1lldb/include/lldb/Core/Debugger.h
+288-155 files

LLVM/project 18f8a35lldb/include/lldb/Utility Policy.h, lldb/source/Utility Policy.cpp

[lldb] Make PolicyStack::Get() out-of-line (#208815)

LLDB builds with hidden visibility by default, so a function-local
static in an inline function is not shared across shared library
boundaries: each dylib that includes this header and calls an inline
Get() gets its own private copy of the thread_local stack, silently
splitting one logical per-thread stack into several. Declaring it
out-of-line ensures every dylib resolves to the single instance defined
in Policy.cpp.

Nothing currently pushes a policy from outside liblldb, so this has no
observable effect yet, but any future capability that needs to be set in
one shared library and read in another depends on this.

Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>
DeltaFile
+8-0lldb/source/Utility/Policy.cpp
+1-4lldb/include/lldb/Utility/Policy.h
+9-42 files

LLVM/project b5a7d1elldb/unittests/SymbolFile/PDB SymbolFilePDBTests.cpp

[lldb] Fix SymbolFilePDBTests build for StringRef FileSpec getters (#208857)

f9b5264523b1 changed FileSpec::GetDirectory() to return llvm::StringRef
instead of ConstString. ConstString had an operator bool, so the guard

```
if (left.GetDirectory() && right.GetDirectory())
```

compiled. StringRef has neither a bool conversion nor operator&&, so the
test no longer builds. Check for a non-empty directory instead, which
preserves the original "if BOTH have a directory" intent.
DeltaFile
+1-1lldb/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp
+1-11 files

NetBSD/pkgsrc XXwM2i2inputmethod/ja-freewnn-lib distinfo, inputmethod/ja-freewnn-lib/patches patch-configure patch-configure.in

   ja-freewnn-*: make FreeWnn-1.1.1-a023 builds with gcc 15

   - various fixes to use proper function prototypes for C23
   - use proper function types for signal handlers
   - use proper variadic arguments to print messages using printf formats
   - fix test programs in configure.in and regen configure using
     autoconf 2.72 for modern C23 compilers
   - appease more several warnings

   - also apply fixes to build FreeWnn on recent Linux distributions:
    - set LC_ALL=C before egrep(1) against EUC files to avoid unexpected
      errors for EUC files
    - use _DEFAULT_SOURCE for Linux rather than obsolete _BSD_SOURCE
      for newer glibc

   - update several patch comments properly to clarify each fix
    - gcc 14 enables -Werror=incompatible-pointer-types by default
      but still uses -std=gnu17 by default
    - gcc 15 has switched to -std=gnu23 by default so that old K&R

    [6 lines not shown]
VersionDeltaFile
1.4+18,030-75inputmethod/ja-freewnn-lib/patches/patch-configure
1.3+103-669inputmethod/ja-freewnn-lib/patches/patch-configure.in
1.2+69-3inputmethod/ja-freewnn-lib/patches/patch-Wnn_romkan_rk__main.c
1.18+43-19inputmethod/ja-freewnn-lib/distinfo
1.1+57-0inputmethod/ja-freewnn-lib/patches/patch-Wnn_etc_getopt.c
1.2+48-5inputmethod/ja-freewnn-lib/patches/patch-Wnn_jutil_atof.c
+18,350-77142 files not shown
+18,949-93848 files

LLVM/project 8830609lldb/docs dil-expr-lang.ebnf, lldb/source/ValueObject DILEval.cpp DILLexer.cpp

[lldb] Add composite assignments to existing operators
DeltaFile
+47-14lldb/source/ValueObject/DILEval.cpp
+39-12lldb/source/ValueObject/DILLexer.cpp
+45-0lldb/test/API/commands/frame/var-dil/expr/Assignment/TestFrameVarDILCompositeAssign.py
+14-4lldb/source/ValueObject/DILAST.cpp
+11-3lldb/source/ValueObject/DILParser.cpp
+6-1lldb/docs/dil-expr-lang.ebnf
+162-343 files not shown
+174-349 files

LLVM/project 1b87946clang/include/clang/Basic AtomicLineLogger.h, clang/lib/Basic AtomicLineLogger.cpp CMakeLists.txt

[clang] Adding an Atomic Line Logger (#205395)

This PR adds an atomic line logger to `clang`.

Situations have arisen where `clang` performs multi-threaded tasks (such
as dependency scanning), and race conditions may happen. Such race
conditions are difficult to debug using either `lldb` or with
`llvm::errs()`.

This logger provides atomic logging per line to a file on disk with time
stamps at each line to facilitate such investigations. Specifically, the
logger is designed with the following properties:

1. Each line is atomically written to the backing file. This avoids
concurrent writes making the output text interleaving.
2. Each line is prefixed with a timestamp, a process ID and a thread ID.
3. `LogLine` implements a `<<` operator to allow arbitrary printable
types to be piped into it.
4. The `LogLine`'s user does not need to check if it is setup or valid.

    [12 lines not shown]
DeltaFile
+232-0clang/unittests/Basic/AtomicLineLoggerTest.cpp
+119-0clang/lib/Basic/AtomicLineLogger.cpp
+74-0clang/include/clang/Basic/AtomicLineLogger.h
+1-0clang/lib/Basic/CMakeLists.txt
+1-0clang/unittests/Basic/CMakeLists.txt
+427-05 files

Illumos/gate ac2250cusr/src/lib/libc/port/threads spawn.c, usr/src/test/libc-tests/tests/posix_spawn posix_spawn_priv.c

17689 posix_spawn() could avoid copying data and stopping threads
18160 posix_spawnp() evaluates its default search path too late
Reviewed by: Robert Mustacchi <rm at fingolfin.org>
Reviewed by: Dan Cross <cross at oxidecomputer.com>
Approved by: Dan McDonald <danmcd at edgecast.io>
DeltaFile
+1,296-0usr/src/uts/common/os/spawn.c
+372-542usr/src/lib/libc/port/threads/spawn.c
+461-0usr/src/test/os-tests/tests/spawn/spawn-syscall.c
+324-78usr/src/test/libc-tests/tests/posix_spawn/posix_spawn_priv.c
+246-76usr/src/uts/common/os/fork.c
+292-0usr/src/test/os-tests/tests/xsave/spawn_fpu.c
+2,991-69674 files not shown
+5,027-94280 files