LLVM/project 7087094clang/test/Analysis/Scalable/ssaf-format/TUSummary summary-data.test linkage.test, clang/test/Analysis/Scalable/ssaf-format/TUSummary/Inputs rt-two-summary-types.json

[clang][ssaf] Convert `JSONFormat` tests for `TUSummary` and `TUSummaryEncoding` to lit tests (#192187)

This change converts most of the `TUSummary` json tests in `TUSummaryTest.cpp` to use `lit`. Some tests require more care and will be addressed in future PRs.
DeltaFile
+9-1,615clang/unittests/ScalableStaticAnalysisFramework/Serialization/JSONFormatTest/TUSummaryTest.cpp
+208-0clang/test/Analysis/Scalable/ssaf-format/TUSummary/Inputs/rt-two-summary-types.json
+202-0clang/test/Analysis/Scalable/ssaf-format/TUSummary/summary-data.test
+104-0clang/test/Analysis/Scalable/ssaf-format/TUSummary/linkage.test
+86-0clang/test/Analysis/Scalable/ssaf-format/TUSummary/id-table.test
+69-0clang/test/Analysis/Scalable/ssaf-format/TUSummary/top-level.test
+678-1,61556 files not shown
+1,683-1,61562 files

OpenBSD/src 7RFiFasusr.bin/tmux window.c server-client.c

   Fix mouse events on tiled pane status line - when panes share a border,
   prefer the pane for which the border is the status line. With Dane
   Jensen.
VersionDeltaFile
1.331+22-2usr.bin/tmux/window.c
1.464+3-7usr.bin/tmux/server-client.c
+25-92 files

LLVM/project cae945eclang/unittests/ScalableStaticAnalysisFramework/Analyses/PointerFlow PointerFlowTest.cpp

fix clang format
DeltaFile
+1-1clang/unittests/ScalableStaticAnalysisFramework/Analyses/PointerFlow/PointerFlowTest.cpp
+1-11 files

LLVM/project b01fe4ellvm/lib/Target/AMDGPU AMDGPUBarrierLatency.cpp, llvm/test/CodeGen/AMDGPU ldsdmacnt_sched.mir

[AMDGPU] Do not always add latency between LDSDMA -> S_WAIT_LDSDMA (#201942)

In loop bodies we typically see LDSDMA instructions prefetched an
iteration or more. Thus, we may have LDSDMA, followed by S_WAIT_LDSDMA
that is waiting on prior iteration LDSDMA. Currently, the scheduler
thinks there will be a long stall between this LDSDMA and S_WAIT_LDSDMA.

This adds some basic checking for LDSDMA and S_WAIT_LDSDMA in the same
region to avoid adding latency in cases where we are certain the
S_WAIT_LDSDMA does not correspond with the LDSDMA.
DeltaFile
+351-0llvm/test/CodeGen/AMDGPU/ldsdmacnt_sched.mir
+74-0llvm/lib/Target/AMDGPU/AMDGPUBarrierLatency.cpp
+425-02 files

FreeBSD/src d09b42alibexec/rc rc, share/man/man8 rc.8

rc: Bail if /dev/null is not a device

On startup, check that /dev/null exists and is a character device.
Otherwise, one of two things will happen: either /dev is a writable
directory and we will immediately create /dev/null as a regular file
and dump garbage into it, or it does not and we will spit out a stream
of error messages about failing to create /dev/null.

PR:             295782
MFC after:      1 week
Reviewed by:    jhb, emaste
Differential Revision:  https://reviews.freebsd.org/D57447

(cherry picked from commit b5a96894f67a92f78f0641763eff1e0a46f2e036)
DeltaFile
+11-2share/man/man8/rc.8
+5-0libexec/rc/rc
+16-22 files

FreeBSD/src c8b81d5usr.sbin/etcupdate etcupdate.sh

etcupdate: Make diff -l actually work

While here, remove unnecessary blank lines.

MFC after:      1 week
Fixes:          6d65c91b9a47 ("etcupdate: fix arguments order of diff command")
Reviewed by:    Boris Lytochkin <lytboris at gmail.com>
Differential Revision:  https://reviews.freebsd.org/D57330

(cherry picked from commit a85e39030f8c7faa3d5a33373389440de6f0fff7)
DeltaFile
+4-14usr.sbin/etcupdate/etcupdate.sh
+4-141 files

FreeBSD/src d6800beusr.bin/limits limits.c

limits: Fix pipebuf resource type

* pipebuf is a size but is listed as a count

PR:             295623
MFC after:      1 week
Fixes:          f54f41403d14 ("usr.bin/limits: support RLIMIT_PIPEBUF")
Reviewed by:    kib
Differential Revision:  https://reviews.freebsd.org/D57456

(cherry picked from commit ad524568f9fb77e270a22744d81b9cea0a2ab0eb)
DeltaFile
+1-1usr.bin/limits/limits.c
+1-11 files

FreeBSD/src 62f3971lib/libarchive Makefile.inc, usr.bin/bsdcat Makefile

libarchive: Clean up the build configuration

* Move settings duplicated in libarchive, bsdcat, bsdcpio, bsdtar, and
  bsdunzip into libarchive's Makefile.inc.

* Drop some CFLAGS that merely duplicated some of the contents of our
  platform configuration header.

MFC after:      1 week
Reviewed by:    mm
Differential Revision:  https://reviews.freebsd.org/D57307

(cherry picked from commit eb3a0a74a069d0f294e1596504676459282bb308)

libarchive: Fix typo in sed command

MFC after:      1 week
Fixes:          eb3a0a74a069 ("libarchive: Clean up the build configuration")
Reported by:    Shawn Webb <shawn.webb at hardenedbsd.org>

    [2 lines not shown]
DeltaFile
+5-13usr.bin/cpio/Makefile
+6-11usr.bin/bsdcat/Makefile
+11-5lib/libarchive/Makefile.inc
+6-8usr.bin/bsdcat/tests/Makefile
+6-8usr.bin/cpio/tests/Makefile
+4-10usr.bin/unzip/Makefile
+38-555 files not shown
+59-8611 files

FreeBSD/src 5c12023libexec/rc rc, share/man/man8 rc.8

rc: Bail if /dev/null is not a device

On startup, check that /dev/null exists and is a character device.
Otherwise, one of two things will happen: either /dev is a writable
directory and we will immediately create /dev/null as a regular file
and dump garbage into it, or it does not and we will spit out a stream
of error messages about failing to create /dev/null.

PR:             295782
MFC after:      1 week
Reviewed by:    jhb, emaste
Differential Revision:  https://reviews.freebsd.org/D57447

(cherry picked from commit b5a96894f67a92f78f0641763eff1e0a46f2e036)
DeltaFile
+11-1share/man/man8/rc.8
+5-0libexec/rc/rc
+16-12 files

FreeBSD/src 0932e25lib/libarchive Makefile.inc, usr.bin/bsdcat Makefile

libarchive: Clean up the build configuration

* Move settings duplicated in libarchive, bsdcat, bsdcpio, bsdtar, and
  bsdunzip into libarchive's Makefile.inc.

* Drop some CFLAGS that merely duplicated some of the contents of our
  platform configuration header.

MFC after:      1 week
Reviewed by:    mm
Differential Revision:  https://reviews.freebsd.org/D57307

(cherry picked from commit eb3a0a74a069d0f294e1596504676459282bb308)

libarchive: Fix typo in sed command

MFC after:      1 week
Fixes:          eb3a0a74a069 ("libarchive: Clean up the build configuration")
Reported by:    Shawn Webb <shawn.webb at hardenedbsd.org>

    [2 lines not shown]
DeltaFile
+5-13usr.bin/cpio/Makefile
+6-11usr.bin/bsdcat/Makefile
+11-5lib/libarchive/Makefile.inc
+7-8usr.bin/bsdcat/tests/Makefile
+7-8usr.bin/cpio/tests/Makefile
+4-10usr.bin/unzip/Makefile
+40-555 files not shown
+63-8611 files

FreeBSD/src f4744e7usr.bin/limits limits.c

limits: Fix pipebuf resource type

* pipebuf is a size but is listed as a count

PR:             295623
MFC after:      1 week
Fixes:          f54f41403d14 ("usr.bin/limits: support RLIMIT_PIPEBUF")
Reviewed by:    kib
Differential Revision:  https://reviews.freebsd.org/D57456

(cherry picked from commit ad524568f9fb77e270a22744d81b9cea0a2ab0eb)
DeltaFile
+1-1usr.bin/limits/limits.c
+1-11 files

FreeBSD/src 70dfaf4usr.sbin/etcupdate etcupdate.sh

etcupdate: Make diff -l actually work

While here, remove unnecessary blank lines.

MFC after:      1 week
Fixes:          6d65c91b9a47 ("etcupdate: fix arguments order of diff command")
Reviewed by:    Boris Lytochkin <lytboris at gmail.com>
Differential Revision:  https://reviews.freebsd.org/D57330

(cherry picked from commit a85e39030f8c7faa3d5a33373389440de6f0fff7)
DeltaFile
+4-14usr.sbin/etcupdate/etcupdate.sh
+4-141 files

LLVM/project 6ff6b64clang/unittests/ScalableStaticAnalysisFramework/Analyses/PointerFlow PointerFlowTest.cpp, clang/unittests/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage UnsafeBufferUsageTest.cpp

Use SaveAndRestore
DeltaFile
+2-5clang/unittests/ScalableStaticAnalysisFramework/Analyses/PointerFlow/PointerFlowTest.cpp
+2-3clang/unittests/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsageTest.cpp
+4-82 files

LLVM/project 884a434lldb/source/Plugins/Language/CPlusPlus LibCxxMap.cpp LibCxx.cpp, lldb/source/Plugins/Language/ObjC ObjCLanguage.cpp Cocoa.cpp

[lldb][NFC] Remove redundant TypeSystemClang.h includes (#202439)

TypeSystemClang.h includes a lot of other unique headers, and should not
be included unless needed.
DeltaFile
+0-2lldb/source/Plugins/Language/CPlusPlus/LibCxxMap.cpp
+1-1lldb/source/Plugins/Language/ObjC/ObjCLanguage.cpp
+0-1lldb/source/Plugins/Language/CPlusPlus/LibCxx.cpp
+0-1lldb/source/Plugins/Language/CPlusPlus/LibCxxUnorderedMap.cpp
+0-1lldb/source/Plugins/Language/CPlusPlus/LibStdcpp.cpp
+0-1lldb/source/Plugins/Language/ObjC/Cocoa.cpp
+1-75 files not shown
+1-1211 files

LLVM/project c0c6694llvm/lib/Transforms/Vectorize VPlanRecipes.cpp, llvm/test/Transforms/LoopVectorize/VPlan vplan-printing-reductions-tail-folded.ll

[VPlan] Fix vplan printing for VPExpressionRecipe w/conditional reduction. (#198954)

This patch contains two parts.

- Add a new vplan-printing test which is duplicated from
vplan-printing-reductions.ll and force tail folding.
- Fix the printing of VPExpressionRecipe for conditional reductions.
Since the mask operand cannot be accessed directly through the reduction
recipe once folded, it need to be fetched from the expression recipe's
operands.
DeltaFile
+1,474-0llvm/test/Transforms/LoopVectorize/VPlan/vplan-printing-reductions-tail-folded.ll
+7-5llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
+1-1llvm/test/Transforms/LoopVectorize/VPlan/AArch64/vplan-printing.ll
+1,482-63 files

FreeBSD/src 2ff705fsys/netinet/libalias alias_db.c

libalias: Serialize updates to the global instance list

libalias maintains a global list of all libalias handles.  The list was
updated without any locking, but nothing prevents updates from running
concurrently.

MFC after:      1 week
DeltaFile
+17-0sys/netinet/libalias/alias_db.c
+17-01 files

FreeBSD/src acf0be6sys/netinet6 ip6_input.c

ip6: Drop dead code in ip6_input_hbh()

After commit 069a67374ed9, ip6_input() quickly rejects packets with
plen == 0, before ip6_input_hbh() is called.  So, there is no need to
check this condition again in the helper function.

Reviewed by:    pouria, zlei, tuexen
Differential Revision:  https://reviews.freebsd.org/D57342
DeltaFile
+4-16sys/netinet6/ip6_input.c
+4-161 files

FreeBSD/src 6cd8a1btests/sys/kern ptrace_test.c

tests/ptrace: Validate PT_SC_REMOTE with some tricky syscalls

Reviewed by:    kib
MFC after:      2 weeks
Differential Revision:  https://reviews.freebsd.org/D57485
DeltaFile
+215-0tests/sys/kern/ptrace_test.c
+215-01 files

FreeBSD/src c491c2dlib/libc/iconv iconv.3

iconv.3: Fix formatting of the error section

MFC after:      1 week
DeltaFile
+1-0lib/libc/iconv/iconv.3
+1-01 files

FreeBSD/src 5bd78cfcontrib/openbsm/bin/auditd auditd_fbsd.c auditd.c

auditd: Fix signal handling

Rewrite the main loop to use ppoll() instead of just blocking on read,
blocking the signals we care about when we aren't polling.

I didn't bother replacing alarm() with setitimer(); the alarm code
is dead anyway since there is no way for max_idletime to acquire a
non-zero value.

While here, avoid leaking the pid file and trigger descriptors to the
log child.

PR:             295840
MFC after:      1 week
Sponsored by:   Klara, Inc.
Reviewed by:    kevans
Differential Revision:  https://reviews.freebsd.org/D57451
DeltaFile
+39-40contrib/openbsm/bin/auditd/auditd_fbsd.c
+40-10contrib/openbsm/bin/auditd/auditd.c
+4-0contrib/openbsm/bin/auditd/audit_warn.c
+3-0contrib/openbsm/bin/auditd/auditd.h
+86-504 files

OpenBSD/ports 4u69YIkmath/py-cvxopt Makefile distinfo, math/py-cvxopt/patches patch-setup_py

   update to py3-cvxopt-1.3.3

   mark ONLY_FOR_ARCHS = ${LP64_ARCHS}; there are a bunch of pointer type
   issues in src/C/lapack.c (cvxopt uses an "int_t" type, which is really
   Py_ssize_t aka long, but this file confuses int_t * with int *).
VersionDeltaFile
1.3+11-11math/py-cvxopt/patches/patch-setup_py
1.18+5-3math/py-cvxopt/Makefile
1.4+2-2math/py-cvxopt/distinfo
+18-163 files

LLVM/project 8796683llvm/unittests/Support/DynamicLibrary PipSqueak.h

[test][DynamicLibrary] Add visibility attribute for GCC/Clang in PipSqueak.h (#202445)

By default CFI builds with hidden, failing expectation for the test.
DeltaFile
+2-0llvm/unittests/Support/DynamicLibrary/PipSqueak.h
+2-01 files

FreeBSD/src 05f132asbin/mount_udf mount_udf.8

mount_udf.8: Alphabetize and align options

While here, remove "The following UDF specific options are available:".
It is unused and does not appear to have ever been used.

MFC after:      3 days
DeltaFile
+5-6sbin/mount_udf/mount_udf.8
+5-61 files

LLVM/project 76afb4dclang/lib/StaticAnalyzer/Core BugReporterVisitors.cpp, clang/test/Analysis placement-new.cpp uninit-const.c

[analyzer] Fix misleading 'initialized here' note for uninitialized d… (#198345)

…eclarations

When a variable is declared without an initializer, the
BugReporterVisitor would emit 'initialized here' as a note, which is
confusing because the variable was never initialized.
Change the note to 'declared without an initial value' for declarations
that have no initializer. Global-storage variables are also taken into
consideration.
Removed the SI.Value.isUndef() case, as it is unreachable in
practice because core.uninitialized.Assign (a core checker, always
enabled) reports
the assignment before this note can surface.
DeltaFile
+7-19clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
+11-11clang/test/Analysis/placement-new.cpp
+5-5clang/test/Analysis/uninit-const.c
+4-4clang/test/Analysis/std-c-library-functions-arg-constraints.c
+4-4clang/test/Analysis/uninit-vals.m
+2-2clang/test/Analysis/std-c-library-functions-arg-constraints-tracking-notes.c
+33-451 files not shown
+34-467 files

FreeBSD/doc 7493960documentation/content/en/books/handbook/disks _index.adoc

handbook/disks: Fix fdformat section number
DeltaFile
+1-1documentation/content/en/books/handbook/disks/_index.adoc
+1-11 files

OpenBSD/ports ijVdZJRwww/squid distinfo Makefile

   update to squid-7.6
VersionDeltaFile
1.132.2.1+2-2www/squid/distinfo
1.288.2.1+1-1www/squid/Makefile
+3-32 files

OpenBSD/ports s49zPo0net/routinator distinfo crates.inc

   update to routinator-0.15.2
VersionDeltaFile
1.25.2.1+328-310net/routinator/distinfo
1.16.2.1+163-154net/routinator/crates.inc
1.53.2.1+1-1net/routinator/Makefile
+492-4653 files

OpenBSD/ports LeCfyqxnet/routinator distinfo crates.inc

   update to routinator-0.15.2
VersionDeltaFile
1.26+328-310net/routinator/distinfo
1.17+163-154net/routinator/crates.inc
1.54+1-1net/routinator/Makefile
+492-4653 files

OpenBSD/ports ynkqY3Xmath/spread-sheet-widget distinfo Makefile

   spread-sheet-widget: repair with llvm 22 by updating to 0.7
VersionDeltaFile
1.5+2-2math/spread-sheet-widget/distinfo
1.9+1-2math/spread-sheet-widget/Makefile
+3-42 files

LLVM/project 777df1cclang/unittests/ScalableStaticAnalysisFramework/Analyses/PointerFlow PointerFlowTest.cpp, clang/unittests/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage UnsafeBufferUsageTest.cpp

address comments
DeltaFile
+6-16clang/unittests/ScalableStaticAnalysisFramework/Analyses/PointerFlow/PointerFlowTest.cpp
+6-14clang/unittests/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsageTest.cpp
+12-302 files