LLVM/project 05c0db7llvm/lib/TableGen Main.cpp, llvm/test/TableGen depfile.td

[TableGen] Emit the primary input file in -d depfile output (#197061)

This fixes a bug where old, but still supported, versions of CMake and
ninja perpetually consider zero-include tablegen files to be out of
date. It also matches what Clang and GCC do for regular C compilations.

When a .td input has no `include` directives, the depfile produced by
`-d` contains only `<output>:` followed by zero dependencies. My version
(3.27) of CMake's `cmake_transform_depfile` step then writes a 0-byte
file, which old versions of ninja treat as a missing depfile and re-run
the rule on every incremental build (e.g. Attributes.td, ValueTypes.td).

Here's the effect on Attributes.inc.d:

```
$ cat ./build/include/llvm/IR/Attributes.inc.d
Attributes.inc:
# switch branches and rebuild...
$ cat ./build/include/llvm/IR/Attributes.inc.d

    [3 lines not shown]
DeltaFile
+19-0llvm/test/TableGen/depfile.td
+10-0llvm/lib/TableGen/Main.cpp
+29-02 files

FreeBSD/ports cb6489fdevel/py-ty distinfo Makefile.crates

devel/py-ty: Update to 0.0.35

Changelog: https://github.com/astral-sh/ty/blob/0.0.35/CHANGELOG.md

Reported by:    GitHub (watch releases)
DeltaFile
+11-11devel/py-ty/distinfo
+4-4devel/py-ty/Makefile.crates
+1-1devel/py-ty/Makefile
+16-163 files

NetBSD/src YyTewhtsys/arch/m68k/include param.h

   Hide most of <m68k/param.h> from user-space and modules.
VersionDeltaFile
1.36+28-18sys/arch/m68k/include/param.h
+28-181 files

LLVM/project 51687a6llvm/lib/Transforms/IPO Instrumentor.cpp InstrumentorConfigFile.cpp, llvm/test/Instrumentation/Instrumentor multi_config.ll alloca_and_function.ll

[Instrumentor] Allow multiple config files with different filters

To instrument different functions in different ways we allow to provide
multiple config files now. Each file will result in one instrumentation
run. Multiple files can be passed via command line option or listed in
a "summary" file that is passed via command line option (to keep the
command length managable).
DeltaFile
+53-14llvm/lib/Transforms/IPO/Instrumentor.cpp
+56-0llvm/test/Instrumentation/Instrumentor/multi_config.ll
+20-20llvm/test/Instrumentation/Instrumentor/alloca_and_function.ll
+37-0llvm/lib/Transforms/IPO/InstrumentorConfigFile.cpp
+16-0llvm/test/Instrumentation/Instrumentor/multi_config_4.json
+12-0llvm/test/Instrumentation/Instrumentor/multi_config_2.json
+194-3415 files not shown
+247-4521 files

LLVM/project 18edc05llvm/include/llvm/Transforms/IPO Instrumentor.h, llvm/lib/Transforms/IPO Instrumentor.cpp

[Instrumentor] Add a global function regexp to limit the instrumentation

Only functions that match the "function_regex" will be instrumented,
or if they have the instrumentation attribute.
DeltaFile
+57-0llvm/test/Instrumentation/Instrumentor/function_regex.ll
+26-0llvm/test/Instrumentation/Instrumentor/function_regex.json
+26-0llvm/test/Instrumentation/Instrumentor/bad_function_regex.json
+22-4llvm/lib/Transforms/IPO/Instrumentor.cpp
+13-0llvm/test/Instrumentation/Instrumentor/bad_function_regexp.ll
+7-1llvm/include/llvm/Transforms/IPO/Instrumentor.h
+151-51 files not shown
+154-67 files

LLVM/project 2d46ea3clang/test/Instrumentor UnreachableRT.cpp InstrumentorUnreachable.cpp, llvm/include/llvm/Transforms/IPO Instrumentor.h

[Instrumentor] Add unreachable support; unreachable stack trace printing

Allow to instrument unreachable and provide a use case for stack trace
printing.
DeltaFile
+21-0clang/test/Instrumentor/UnreachableRT.cpp
+21-0llvm/include/llvm/Transforms/IPO/Instrumentor.h
+20-0clang/test/Instrumentor/InstrumentorUnreachable.cpp
+15-0clang/test/Instrumentor/UnreachableRT.json
+12-0llvm/lib/Transforms/IPO/Instrumentor.cpp
+5-1clang/test/Instrumentor/lit.local.cfg
+94-11 files not shown
+99-17 files

LLVM/project 3f1e2a2llvm/lib/Transforms/IPO Instrumentor.cpp InstrumentorConfigFile.cpp, llvm/test/Instrumentation/Instrumentor multi_config.ll alloca_and_function.ll

[Instrumentor] Allow multiple config files with different filters

To instrument different functions in different ways we allow to provide
multiple config files now. Each file will result in one instrumentation
run. Multiple files can be passed via command line option or listed in
a "summary" file that is passed via command line option (to keep the
command length managable).
DeltaFile
+53-14llvm/lib/Transforms/IPO/Instrumentor.cpp
+56-0llvm/test/Instrumentation/Instrumentor/multi_config.ll
+20-20llvm/test/Instrumentation/Instrumentor/alloca_and_function.ll
+36-0llvm/lib/Transforms/IPO/InstrumentorConfigFile.cpp
+16-0llvm/test/Instrumentation/Instrumentor/multi_config_4.json
+12-0llvm/test/Instrumentation/Instrumentor/multi_config_3.json
+193-3415 files not shown
+246-4521 files

FreeBSD/ports 7636db1net/samba423/files patch-lib_replace_xattr.c

net/samba423: Fix SIGABRT in bsd_attr_list()

After FORTIFY_SOURCE was added for https://bugzilla.samba.org/show_bug.cgi?id=16040, which landed in Samba 4.23.7, the net/samba423 port started crashing quite soon after startup.

It turns out that bsd_attr_list() does a number of overlapping strncpy() calls, and this is undefined behavior.

PR:     295130
Approved by:    samba (kiwi)
Sponsored by:   Klara, Inc.
DeltaFile
+14-0net/samba423/files/patch-lib_replace_xattr.c
+14-01 files

LLVM/project b43e153llvm/include/llvm/Transforms/IPO Instrumentor.h, llvm/lib/Transforms/IPO Instrumentor.cpp

[Instrumentor] Add a global function regexp to limit the instrumentation

Only functions that match the "function_regex" will be instrumented,
or if they have the instrumentation attribute.
DeltaFile
+57-0llvm/test/Instrumentation/Instrumentor/function_regex.ll
+26-0llvm/test/Instrumentation/Instrumentor/function_regex.json
+20-2llvm/lib/Transforms/IPO/Instrumentor.cpp
+7-1llvm/include/llvm/Transforms/IPO/Instrumentor.h
+3-1llvm/test/Instrumentation/Instrumentor/default_config.json
+113-45 files

LLVM/project 6709926clang-tools-extra/docs/clang-tidy Contributing.rst

[clang-tidy][docs] Remove outdated Phabricator reference (#196997)

Removed the old Phabricator mention from the clang-tidy contributing
guide. Since LLVM uses GitHub for code review now, this updates the
wording to match the current contribution workflow.
DeltaFile
+2-2clang-tools-extra/docs/clang-tidy/Contributing.rst
+2-21 files

OpenBSD/src UxboQKosys/net80211 ieee80211_node.c

   Fix signed overflow in ieee80211_40mhz_valid_secondary_below().
   The secondary_chan variable should be uint8_t instead of int8_t,
   matching ieee80211_40mhz_valid_secondary_above().

   ok phessler@ stsp@
VersionDeltaFile
1.215+2-2sys/net80211/ieee80211_node.c
+2-21 files

LLVM/project de27589clang/test/Instrumentor UnreachableRT.cpp InstrumentorUnreachable.cpp, llvm/include/llvm/Transforms/IPO Instrumentor.h

[Instrumentor] Add unreachable support; unreachable stack trace printing

Allow to instrument unreachable and provide a use case for stack trace
printing.
DeltaFile
+21-0clang/test/Instrumentor/UnreachableRT.cpp
+21-0llvm/include/llvm/Transforms/IPO/Instrumentor.h
+20-0clang/test/Instrumentor/InstrumentorUnreachable.cpp
+15-0clang/test/Instrumentor/UnreachableRT.json
+12-0llvm/lib/Transforms/IPO/Instrumentor.cpp
+5-1clang/test/Instrumentor/lit.local.cfg
+94-11 files not shown
+99-17 files

FreeBSD/ports 364e367misc/crush distinfo Makefile

misc/crush: Update to 0.67.0

Changelog: https://github.com/charmbracelet/crush/releases/tag/v0.67.0

Reported by:    GitHub (watch releases)
DeltaFile
+5-5misc/crush/distinfo
+1-2misc/crush/Makefile
+6-72 files

FreeBSD/ports 5262c9asysutils/py-croniter Makefile, sysutils/py-croniter/files patch-pyproject.toml

sysutils/py-croniter: Fix build.

PR:             295195
Approved by:    skreuzer@ (maintainer)
DeltaFile
+18-0sysutils/py-croniter/files/patch-pyproject.toml
+5-2sysutils/py-croniter/Makefile
+23-22 files

FreeBSD/ports 25fdb58devel/cargo-c distinfo Makefile.crates

devel/cargo-c: update to 0.10.22

Changes: https://github.com/lu-zero/cargo-c/releases/tag/v0.10.22
DeltaFile
+283-269devel/cargo-c/distinfo
+140-133devel/cargo-c/Makefile.crates
+2-3devel/cargo-c/Makefile
+425-4053 files

FreeBSD/ports 32b236dwww/waterfox Makefile, www/waterfox/files patch-dns-resolve-https-rr

www/waterfox: native DNS HTTPS resolving

This enables the geckos to use the OS' resolver to resolve
DNS HTTPS RRs (see RFC 9460 https://www.rfc-editor.org/rfc/rfc9460
for specs on that)

PR:             295188
Sponsored by:   UNIS Labs
MFH:            2026Q2

(cherry picked from commit c43948c764157afaebeb539389c279ba6d3b5128)
DeltaFile
+34-0www/waterfox/files/patch-dns-resolve-https-rr
+1-0www/waterfox/Makefile
+35-02 files

FreeBSD/ports 436988bwww/librewolf Makefile, www/librewolf/files patch-dns-resolve-https-rr

www/librewolf: native DNS HTTPS resolving

This enables the geckos to use the OS' resolver to resolve
DNS HTTPS RRs (see RFC 9460 https://www.rfc-editor.org/rfc/rfc9460
for specs on that)

PR:             295187
Sponsored by:   UNIS Labs
MFH:            2026Q2

(cherry picked from commit 5328dc34befa51e1dbe5767897daab1b135ef0a6)
DeltaFile
+34-0www/librewolf/files/patch-dns-resolve-https-rr
+1-0www/librewolf/Makefile
+35-02 files

FreeBSD/ports c43948cwww/waterfox Makefile, www/waterfox/files patch-dns-resolve-https-rr

www/librewolf: native DNS HTTPS resolving

This enables the geckos to use the OS' resolver to resolve
DNS HTTPS RRs (see RFC 9460 https://www.rfc-editor.org/rfc/rfc9460
for specs on that)

PR:             295188
Sponsored by:   UNIS Labs
MFH:            2026Q2
DeltaFile
+34-0www/waterfox/files/patch-dns-resolve-https-rr
+1-1www/waterfox/Makefile
+35-12 files

FreeBSD/ports 5328dc3www/librewolf Makefile, www/librewolf/files patch-dns-resolve-https-rr

www/librewolf: native DNS HTTPS resolving

This enables the geckos to use the OS' resolver to resolve
DNS HTTPS RRs (see RFC 9460 https://www.rfc-editor.org/rfc/rfc9460
for specs on that)

PR:             295187
Sponsored by:   UNIS Labs
MFH:            2026Q2
DeltaFile
+34-0www/librewolf/files/patch-dns-resolve-https-rr
+1-0www/librewolf/Makefile
+35-02 files

LLVM/project 08c77d0llvm/utils/gn/secondary/clang/unittests/ScalableStaticAnalysisFramework BUILD.gn

[gn build] Port 0c101370f58a (#197073)
DeltaFile
+1-0llvm/utils/gn/secondary/clang/unittests/ScalableStaticAnalysisFramework/BUILD.gn
+1-01 files

LLVM/project b48b110llvm/test/Transforms/LoopVectorize/RISCV strided-accesses.ll

[LV][RISCV] Simplify strided-accesses test checks by ignoring loop metadata. nfc (#196026)

Use --replace-value-regex to ignore specific !llvm.loop metadata numbers
since the metadata IDs are not important for this test.
DeltaFile
+212-394llvm/test/Transforms/LoopVectorize/RISCV/strided-accesses.ll
+212-3941 files

LLVM/project 70a70e0llvm/lib/Target/AMDGPU AMDGPUAsmPrinter.cpp GCNSubtarget.h, llvm/lib/Target/AMDGPU/MCTargetDesc AMDGPUMCExpr.cpp

Revert "[AMDGPU] Account for inline asm size in inst_pref_size calculation" (#197070)

Reverts llvm/llvm-project#192306
breaking other roundtrip test
DeltaFile
+0-154llvm/test/CodeGen/AMDGPU/inst-prefetch-inline-asm.ll
+41-42llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
+9-41llvm/test/CodeGen/AMDGPU/inst-prefetch-hint.ll
+0-45llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCExpr.cpp
+0-18llvm/lib/Target/AMDGPU/GCNSubtarget.h
+14-3llvm/lib/Target/AMDGPU/SIProgramInfo.cpp
+64-3034 files not shown
+68-32410 files

LLVM/project 1122075llvm/docs Instrumentor.rst UserGuides.rst, llvm/utils instrumentor-config-wizard.py

[Instrumentor][NFC] Add docs and config-wizard script

This commit adds initial documentation for the instrumentor to the
html/man pages and provides a script that helps new users to setup the
config and stubs file interactively.
DeltaFile
+834-0llvm/utils/instrumentor-config-wizard.py
+776-0llvm/docs/Instrumentor.rst
+5-0llvm/docs/UserGuides.rst
+1,615-03 files

FreeBSD/ports e09c8d9net-im/teams Makefile, x11/waveterm Makefile

*/*: Bump port revision after electron41 update (573fa89ba24b)
DeltaFile
+1-1net-im/teams/Makefile
+1-1x11/waveterm/Makefile
+2-22 files

FreeBSD/ports 573fa89devel/electron41/files patch-electron_spec_api-browser-window-spec.ts patch-electron_spec_api-app-spec.ts, devel/electron41/files/packagejsons yarn.lock

devel/electron41: Update to 41.5.1

Changelog: https://github.com/electron/electron/releases/tag/v41.5.1

Reported by:    GitHub (watch releases)
DeltaFile
+447-1,869devel/electron41/files/packagejsons/yarn.lock
+38-38devel/electron41/files/patch-electron_spec_api-browser-window-spec.ts
+36-36devel/electron41/files/patch-electron_spec_api-app-spec.ts
+35-35devel/electron41/files/patch-electron_spec_api-crash-reporter-spec.ts
+25-25devel/electron41/files/patch-electron_shell_browser_native__window__views.cc
+24-24devel/electron41/files/patch-electron_spec_api-net-log-spec.ts
+605-2,02733 files not shown
+744-2,16539 files

LLVM/project 896e337llvm/lib/Target/AMDGPU AMDGPUAsmPrinter.cpp GCNSubtarget.h, llvm/lib/Target/AMDGPU/MCTargetDesc AMDGPUMCExpr.cpp

Revert "[AMDGPU] Account for inline asm size in inst_pref_size calculation (#…"

This reverts commit 7ddee0b619f658cef905a69427ef9531fd1d229d.
DeltaFile
+0-154llvm/test/CodeGen/AMDGPU/inst-prefetch-inline-asm.ll
+41-42llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
+9-41llvm/test/CodeGen/AMDGPU/inst-prefetch-hint.ll
+0-45llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCExpr.cpp
+0-18llvm/lib/Target/AMDGPU/GCNSubtarget.h
+14-3llvm/lib/Target/AMDGPU/SIProgramInfo.cpp
+64-3034 files not shown
+68-32410 files

LLVM/project 7bdb2d2llvm/docs Instrumentor.rst UserGuides.rst, llvm/utils instrumentor-config-wizard.py

[Instrumentor][NFC] Add docs and config-wizard script

This commit adds initial documentation for the instrumentor to the
html/man pages and provides a script that helps new users to setup the
config and stubs file interactively.
DeltaFile
+776-0llvm/docs/Instrumentor.rst
+737-0llvm/utils/instrumentor-config-wizard.py
+5-0llvm/docs/UserGuides.rst
+1,518-03 files

FreeBSD/src a3036edsys/net if_media.h

if_media: Claim 10BASE-T1S and 10BASE-T1L constants

These are two single-pair Ethernet (SPE) variants that run at 10 Mbps.
10BASE-T1S has automotive origins and supports multiple nodes on up to
25m of cable.  10BASE-T1L is intended for building and industrial
automation and supports long-distance point to point links of over 1km.

Reviewed by:    kbowling
Differential Revision: https://reviews.freebsd.org/D56952
DeltaFile
+6-0sys/net/if_media.h
+6-01 files

LLVM/project 0c10137clang/include/clang/ScalableStaticAnalysisFramework/Analyses/PointerFlow PointerFlowAnalysis.h, clang/lib/ScalableStaticAnalysisFramework/Analyses/PointerFlow PointerFlowAnalysis.cpp PointerFlowExtractor.cpp

[SSAF][WPA] Add PointerFlowReachableAnalysis (#193097)

PointerFlowReachableAnalysis uses PointerFlow and UnsafeBufferUsage
summaries.  It computes reachable nodes in the PointerFlow graph from
unsafe buffer nodes in the UnsafeBufferUsage summary.
    
rdar://174874942

---------

Co-authored-by: Balázs Benics <benicsbalazs at gmail.com>
Co-authored-by: Jan Korous <jkorous at apple.com>
DeltaFile
+378-0clang/unittests/ScalableStaticAnalysisFramework/WholeProgramAnalysis/UnsafeBufferReachableAnalysisTest.cpp
+120-5clang/lib/ScalableStaticAnalysisFramework/Analyses/PointerFlow/PointerFlowAnalysis.cpp
+29-5clang/include/clang/ScalableStaticAnalysisFramework/Analyses/PointerFlow/PointerFlowAnalysis.h
+0-1clang/lib/ScalableStaticAnalysisFramework/Analyses/PointerFlow/PointerFlowExtractor.cpp
+1-0clang/unittests/ScalableStaticAnalysisFramework/CMakeLists.txt
+528-115 files

LLVM/project f15ad32clang/lib/CIR/CodeGen CIRGenExpr.cpp

Relocate stack addrspace casts after allocas
DeltaFile
+3-3clang/lib/CIR/CodeGen/CIRGenExpr.cpp
+3-31 files