LLVM/project 3938a37clang/lib/Serialization ASTReader.cpp, clang/test/ClangScanDeps build-session-validation-relocated-modules.c

[clang][Modules] Use strict comparison at build-session validation boundary (#197203)

The relocation check used `IFVT >= session` while input validation used
`IFVT > session`, silently skipping the relocation check when both
landed in the same truncated second. Share a single helper with the
strict comparison. This was noticed when the accompanying test was flaky
on green dragon macOS bot.

Also:

* Drop the test's `sleep 1` timing dependency by future-dating the
session timestamp directly.
* Remove the dead `touch %t/session.timestamp` lines in the
ClangScanDeps test (the scanner ignores the file's mtime).

hopefully resolves: rdar://173816745
DeltaFile
+21-9clang/lib/Serialization/ASTReader.cpp
+3-5clang/test/Modules/build-session-validation-relocated-modules.c
+2-2clang/test/ClangScanDeps/build-session-validation-relocated-modules.c
+26-163 files

LLVM/project dc41adeclang/include/clang/Serialization ASTRecordReader.h, clang/lib/AST ASTContext.cpp Type.cpp

trivial changes
DeltaFile
+20-14clang/lib/Sema/SemaOpenMP.cpp
+18-14clang/lib/AST/ASTContext.cpp
+16-15clang/lib/Sema/SemaTemplate.cpp
+14-11clang/lib/AST/Type.cpp
+14-8clang/lib/AST/ASTDiagnostic.cpp
+11-6clang/include/clang/Serialization/ASTRecordReader.h
+93-6833 files not shown
+202-15239 files

LLVM/project 4a3429eclang/include/clang/AST ASTContext.h, clang/lib/AST ASTContext.cpp ItaniumMangle.cpp

[clang] implement CWG2064: ignore value dependence for decltype

The 'decltype' for a value-dependent (but non-type-dependent) should be known,
so this patch makes them non-opaque instead.

This patch also implements what's neceessary to allow overloading
on pure differences in instantiation dependence, making `std::void_t`
usable for SFINAE purposes.

This also readds a few test cases from da98651, which was a previous attempt
at resolving CWG2064.

Fixes #8740
Fixes #61818
Fixes #190388
DeltaFile
+888-161clang/lib/AST/ASTContext.cpp
+328-12clang/test/SemaTemplate/instantiation-dependence.cpp
+176-96clang/lib/AST/ItaniumMangle.cpp
+100-98clang/lib/Sema/SemaCXXScopeSpec.cpp
+62-57clang/lib/AST/Type.cpp
+88-11clang/include/clang/AST/ASTContext.h
+1,642-43570 files not shown
+2,397-78876 files

LLVM/project 05afc9aclang/lib/CIR/CodeGen CIRGenExprAggregate.cpp CIRGenExprCXX.cpp, clang/test/CIR/CodeGen three-way-compare-cleanup.cpp initializer-list-size-cleanup.cpp

[CIR] Fix problems with stale insert locations (#197296)

This change fixes three places where we were copying the builder rather
than getting a reference to it, leading to potential problems with
incorrect state, including insert locations. Two of these cases were
causing observable problems, and I'm adding regression tests for those.
The third doesn't seem to have caused any actual problems, but I'm
changing it to avoid potential problems in the future.

Assisted-by: Cursor / claude-opus-4.7-thinking-xhigh
DeltaFile
+47-0clang/test/CIR/CodeGen/three-way-compare-cleanup.cpp
+32-0clang/test/CIR/CodeGen/initializer-list-size-cleanup.cpp
+2-2clang/lib/CIR/CodeGen/CIRGenExprAggregate.cpp
+1-1clang/lib/CIR/CodeGen/CIRGenExprCXX.cpp
+82-34 files

LLVM/project 7d05664libc/src/__support/CPP bit.h, libc/src/__support/macros attributes.h

[libc][NFC] Increase minimum GCC version for `LIBC_CONSTEXPR`
DeltaFile
+8-8libc/src/__support/CPP/bit.h
+1-1libc/src/__support/macros/attributes.h
+9-92 files

FreeBSD/src 8c5cc44sys/dev/mlx5/mlx5_en mlx5_en_hw_tls_rx.c

mlx5en: destroy TIR before DEK during TLS RX teardown

(cherry picked from commit bf636accdde4bb9af2c6c07af5420dffffd82332)
DeltaFile
+11-4sys/dev/mlx5/mlx5_en/mlx5_en_hw_tls_rx.c
+11-41 files

LLVM/project 7565c83clang/include/clang/Parse Parser.h, clang/include/clang/Sema DeclSpec.h

[BoundsSafety][NFC] Introduce LateParsedTypeAttribute for late-parsed type attributes (#192799)

Preparatory refactoring for llvm/llvm-project#179612. The new late
parsing approach needs a distinct data structure to carry
type-attribute-specific information through the late parsing pipeline,
separate from declaration-level late-parsed attributes.
- Add LateParsedTypeAttribute subtyping LateParsedAttribute
- Add ParseLexedTypeAttribute and LateTypeAttrParserCallback to Parser
- Extract the shared token setup, parsing, and cleanup logic from
ParseLexedCAttribute and ParseLexedTypeAttribute into a common
ParseLexedCAttributeTokens helper.
DeltaFile
+60-3clang/include/clang/Parse/Parser.h
+39-13clang/lib/Parse/ParseDecl.cpp
+10-4clang/include/clang/Sema/DeclSpec.h
+2-0clang/lib/Parse/ParseCXXInlineMethods.cpp
+111-204 files

LLVM/project b239b5cllvm/include/llvm/MC DXContainerInfo.h, llvm/lib/MC DXContainerInfo.cpp

[DirectX][ObjectYAML] Add ILDN part support (#194508)

Add support for DXContainer ILDN part in the ObjectYAML pipeline so it
can be represented in structured YAML and round-tripped through
yaml2obj/obj2yaml.

ILDN part is meant to store the name of PDB file that contains shader
debug info.
DeltaFile
+64-0llvm/test/tools/obj2yaml/DXContainer/ILDNPart.yaml
+46-2llvm/lib/Object/DXContainer.cpp
+41-0llvm/lib/MC/DXContainerInfo.cpp
+36-0llvm/unittests/Object/DXContainerTest.cpp
+33-0llvm/unittests/ObjectYAML/DXContainerYAMLTest.cpp
+32-0llvm/include/llvm/MC/DXContainerInfo.h
+252-211 files not shown
+393-217 files

FreeBSD/ports 490927cgraphics/openboard pkg-plist Makefile, graphics/openboard/files patch-src_frameworks_UBPlatformUtils__linux.cpp patch-src_podcast_UBPodcastController.cpp

graphics/openboard: New port: Interactive whiteboard

OpenBoard is an open source cross-platform interactive whiteboard
application designed primarily for use in schools. It was originally
forked from Open-Sankore, which was itself based on Uniboard. It
supports digital pens, virtual keyboards, PDF import, web browsing,
video playback, and screen annotations.

WWW: https://www.openboard.org/
https://github.com/OpenBoard-org/OpenBoard/

Patches reported to upstream:
https://github.com/OpenBoard-org/OpenBoard/pull/1489
https://github.com/OpenBoard-org/OpenBoard/pull/1490

PR:             295104
Sponsored by:   UNIS Labs
DeltaFile
+2,370-0graphics/openboard/pkg-plist
+64-0graphics/openboard/files/patch-src_frameworks_UBPlatformUtils__linux.cpp
+39-0graphics/openboard/Makefile
+29-0graphics/openboard/files/patch-src_podcast_UBPodcastController.cpp
+26-0graphics/openboard/files/patch-cmake_DependencyX11.cmake
+13-0graphics/openboard/files/patch-src_pdf_XPDFRenderer.cpp
+2,541-07 files not shown
+2,596-013 files

FreeBSD/ports 8ddb7ecmisc/py-llm distinfo Makefile, misc/py-llm/files patch-pyproject.toml

misc/py-llm: Update 0.27 => 0.31, take maintainerhsip

Changelog:
https://github.com/simonw/llm/releases/tag/0.27.1
https://github.com/simonw/llm/releases/tag/0.28
https://github.com/simonw/llm/releases/tag/0.29
https://github.com/simonw/llm/releases/tag/0.30
https://github.com/simonw/llm/releases/tag/0.31

PR:             295216
Sponsored by:   UNIS Labs
DeltaFile
+3-3misc/py-llm/distinfo
+2-2misc/py-llm/files/patch-pyproject.toml
+2-2misc/py-llm/Makefile
+7-73 files

LLVM/project 2ac7c0cclang/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 to identify an
unreachable was reached.
DeltaFile
+22-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
+95-11 files not shown
+100-17 files

FreeBSD/ports 7bb1b42biology/sra-tools Makefile, biology/sra-tools/files patch-build_install.sh patch-ngs_ngs-python_CMakeLists.txt

biology/sra-tools: Patch out extraneous scripts

Build from source was installing scripts directly into /etc/profile.d
that are not even needed when installing from ports.
Also patched out some pip commands to silence poudriere warnings.

PR:             294837
Reported by:    milios at ccsys.com
DeltaFile
+24-0biology/sra-tools/files/patch-build_install.sh
+19-0biology/sra-tools/files/patch-ngs_ngs-python_CMakeLists.txt
+13-0biology/sra-tools/files/patch-build_env.cmake
+1-1biology/sra-tools/Makefile
+57-14 files

LLVM/project d63cf8bclang/test/Instrumentor StackUsageRT.cpp StackUsageRT.json, llvm/include/llvm/Transforms/IPO Instrumentor.h

[Instrumentor] Add Alloca and Function support; stack usage example

This adds support for alloca instrumentation and function pre/post
instrumentation. Alloca support follows load/store support directly.
Functions require special care to determine the insertion points.

Together, we can showcase how the stack high watermark can be profiled,
see InstrumentorStackUsage.cpp.
DeltaFile
+294-7llvm/lib/Transforms/IPO/Instrumentor.cpp
+120-8llvm/include/llvm/Transforms/IPO/Instrumentor.h
+60-0clang/test/Instrumentor/StackUsageRT.cpp
+59-0llvm/test/Instrumentation/Instrumentor/default_config.json
+57-0llvm/test/Instrumentation/Instrumentor/alloca_and_function.ll
+54-0clang/test/Instrumentor/StackUsageRT.json
+644-152 files not shown
+683-158 files

LLVM/project 63c0b52llvm/include/llvm/Transforms/IPO Instrumentor.h InstrumentorConfigFile.h, llvm/lib/Passes PassBuilderPipelines.cpp

[Instrumentor] Use the pass builder's FileSystem for reading files

In the IO sandbox, the old read calls caused the CI to fail. This
changes uses the PassBuilder's FileSystem the same way other passes
read files from disk (during CI).
DeltaFile
+16-5llvm/lib/Transforms/IPO/InstrumentorConfigFile.cpp
+12-1llvm/lib/Transforms/IPO/Instrumentor.cpp
+7-3llvm/include/llvm/Transforms/IPO/Instrumentor.h
+2-2llvm/lib/Passes/PassBuilderPipelines.cpp
+1-1llvm/include/llvm/Transforms/IPO/InstrumentorConfigFile.h
+38-125 files

LLVM/project a776a5allvm/include/llvm/Transforms/IPO Instrumentor.h InstrumentorConfigFile.h, llvm/lib/Passes PassBuilderPipelines.cpp

[Instrumentor] Use the pass builder's FileSystem for reading files

In the IO sandbox, the old read calls caused the CI to fail. This
changes uses the PassBuilder's FileSystem the same way other passes
read files from disk (during CI).
DeltaFile
+16-5llvm/lib/Transforms/IPO/InstrumentorConfigFile.cpp
+12-1llvm/lib/Transforms/IPO/Instrumentor.cpp
+7-3llvm/include/llvm/Transforms/IPO/Instrumentor.h
+2-2llvm/lib/Passes/PassBuilderPipelines.cpp
+1-1llvm/include/llvm/Transforms/IPO/InstrumentorConfigFile.h
+38-125 files

LLVM/project 0a6ca80clang/test/Instrumentor StackUsageRT.cpp StackUsageRT.json, llvm/include/llvm/Transforms/IPO Instrumentor.h

[Instrumentor] Add Alloca and Function support; stack usage example

This adds support for alloca instrumentation and function pre/post
instrumentation. Alloca support follows load/store support directly.
Functions require special care to determine the insertion points.

Together, we can showcase how the stack high watermark can be profiled,
see InstrumentorStackUsage.cpp.
DeltaFile
+294-7llvm/lib/Transforms/IPO/Instrumentor.cpp
+120-8llvm/include/llvm/Transforms/IPO/Instrumentor.h
+60-0clang/test/Instrumentor/StackUsageRT.cpp
+59-0llvm/test/Instrumentation/Instrumentor/default_config.json
+57-0llvm/test/Instrumentation/Instrumentor/alloca_and_function.ll
+54-0clang/test/Instrumentor/StackUsageRT.json
+644-152 files not shown
+683-158 files

LLVM/project acb7c44libc/src/__support/macros attributes.h

[libc][NFC] Add `is_constant_evaluated` support for GCC9 (#197327)
DeltaFile
+7-1libc/src/__support/macros/attributes.h
+7-11 files

LLVM/project 0edfd11libc/shared math.h, libc/test/shared shared_math_constexpr_test.cpp shared_math_test.cpp

[libc] Temporarily disable iscanonical, isnan, issignaling in shared/math.h (#197328)

These clashes with same-name macros defined in <math.h>.
DeltaFile
+6-3libc/shared/math.h
+6-3libc/test/shared/shared_math_constexpr_test.cpp
+6-3libc/test/shared/shared_math_test.cpp
+18-93 files

LLVM/project 27dc281libc/src/__support/CPP/type_traits is_constant_evaluated.h, libc/src/__support/macros attributes.h

modify compiler version
DeltaFile
+7-1libc/src/__support/macros/attributes.h
+1-3libc/src/__support/CPP/type_traits/is_constant_evaluated.h
+8-42 files

LLVM/project d3831efcompiler-rt/lib/scudo/standalone/fuzz allocator_fuzzer.cpp CMakeLists.txt

[scudo] Add a generic allocation fuzzer. (#197317)

The fuzzer disabled memory tagging if supported since there is an
unknown problem with trying to create an allocator instance and doing
raw allocate/deallocate calls.
DeltaFile
+95-0compiler-rt/lib/scudo/standalone/fuzz/allocator_fuzzer.cpp
+11-0compiler-rt/lib/scudo/standalone/fuzz/CMakeLists.txt
+106-02 files

LLVM/project 9ee0527clang/test/Instrumentor StackUsageRT.cpp StackUsageRT.json, llvm/include/llvm/Transforms/IPO Instrumentor.h

[Instrumentor] Add Alloca and Function support; stack usage example

This adds support for alloca instrumentation and function pre/post
instrumentation. Alloca support follows load/store support directly.
Functions require special care to determine the insertion points.

Together, we can showcase how the stack high watermark can be profiled,
see InstrumentorStackUsage.cpp.
DeltaFile
+294-7llvm/lib/Transforms/IPO/Instrumentor.cpp
+120-8llvm/include/llvm/Transforms/IPO/Instrumentor.h
+60-0clang/test/Instrumentor/StackUsageRT.cpp
+59-0llvm/test/Instrumentation/Instrumentor/default_config.json
+57-0llvm/test/Instrumentation/Instrumentor/alloca_and_function.ll
+54-0clang/test/Instrumentor/StackUsageRT.json
+644-152 files not shown
+683-158 files

LLVM/project a10efc9llvm/include/llvm/Transforms/IPO Instrumentor.h InstrumentorConfigFile.h, llvm/lib/Passes PassBuilderPipelines.cpp

[Instrumentor] Use the pass builder's FileSystem for reading files

In the IO sandbox, the old read calls caused the CI to fail. This
changes uses the PassBuilder's FileSystem the same way other passes
read files from disk (during CI).
DeltaFile
+16-5llvm/lib/Transforms/IPO/InstrumentorConfigFile.cpp
+12-1llvm/lib/Transforms/IPO/Instrumentor.cpp
+7-3llvm/include/llvm/Transforms/IPO/Instrumentor.h
+2-2llvm/lib/Passes/PassBuilderPipelines.cpp
+1-1llvm/include/llvm/Transforms/IPO/InstrumentorConfigFile.h
+38-125 files

FreeBSD/ports 8c6ab50security/zeek distinfo Makefile

security/zeek: Update to 8.0.8

    https://github.com/zeek/zeek/releases/tag/v8.0.8

This release fixes the following potential DoS vulnerability:

 - A specially-crafted series of MIME headers sent via SMTP or HTTP
   could cause Zeek to use large amounts of memory and potentially
   crash.

This release fixes the following potential DoS vulnerability:

 - Sqlite storage backends no longer potentially write data into a
   single database file across multiple unrelated backend handles.

 - A crash in the table code was fixed if reallocation failed while
   resizing.

Reported by:    Tim Wojtulewicz
DeltaFile
+3-3security/zeek/distinfo
+1-1security/zeek/Makefile
+0-1security/zeek/pkg-plist
+4-53 files

LLVM/project 2bfc660bolt/test/AArch64 plt-mold-func-symbols.s, llvm/lib/Support APFloat.cpp

Merge branch 'main' into users/jdoerfert/instrumentor_alloca_and_function
DeltaFile
+58-0llvm/unittests/ADT/APFloatTest.cpp
+36-0bolt/test/AArch64/plt-mold-func-symbols.s
+31-0llvm/lib/Support/APFloat.cpp
+15-11llvm/test/MC/AArch64/LFI/reserved.s
+20-0llvm/lib/Target/DirectX/DirectXIRPasses/DXILDebugInfo.cpp
+10-6llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCLFIRewriter.cpp
+170-1711 files not shown
+204-3217 files

LLVM/project 537470elibc/src/__support/CPP/type_traits is_constant_evaluated.h

add Clang9 support
DeltaFile
+2-1libc/src/__support/CPP/type_traits/is_constant_evaluated.h
+2-11 files

FreeBSD/ports 894f968security/vuxml/vuln 2026.xml

security/vuxml: Mark security/zeek < 8.0.8 as vulnerable as per:

    https://github.com/zeek/zeek/releases/tag/v8.0.8

This release fixes the following potential DoS vulnerability:

 - A specially-crafted series of MIME headers sent via SMTP or HTTP
   could cause Zeek to use large amounts of memory and potentially
   crash.

Reported by:    Tim Wojtulewicz
DeltaFile
+27-0security/vuxml/vuln/2026.xml
+27-01 files

LLVM/project e45e228libc/src/__support/CPP/type_traits is_constant_evaluated.h

[libc][NFC] Add `is_constant_evaluated` support for GCC9
DeltaFile
+2-1libc/src/__support/CPP/type_traits/is_constant_evaluated.h
+2-11 files

LLVM/project 84edb83llvm/lib/Target/DirectX/DXILWriter DXILBitcodeWriter.cpp, llvm/lib/Target/DirectX/DirectXIRPasses DXILDebugInfo.cpp

[DirectX][NFC] Move DICompileUnit conversion into DXILDebugInfo (#196451)

In #192574, I added logic for changing versioned language names to
unversioned language names, but did so directly in DXILBitcodeWriter.
This is better done in DXILDebugInfo instead so that, in a future
change, we can check the result of DXILDebugInfo in tests.
DeltaFile
+20-0llvm/lib/Target/DirectX/DirectXIRPasses/DXILDebugInfo.cpp
+1-7llvm/lib/Target/DirectX/DXILWriter/DXILBitcodeWriter.cpp
+21-72 files

LLVM/project 8be53d4llvm/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
+55-0llvm/test/Instrumentation/Instrumentor/function_regex.ll
+27-12llvm/lib/Transforms/IPO/Instrumentor.cpp
+26-0llvm/test/Instrumentation/Instrumentor/bad_function_regex.json
+26-0llvm/test/Instrumentation/Instrumentor/function_regex.json
+11-0llvm/test/Instrumentation/Instrumentor/bad_function_regexp.ll
+7-1llvm/include/llvm/Transforms/IPO/Instrumentor.h
+152-131 files not shown
+155-147 files

FreeBSD/doc 9f8a9bfdocumentation/content/en/articles/committers-guide _index.adoc

committers-guide: Remove stale FreeBSD Mall link

PR: 293468
DeltaFile
+0-5documentation/content/en/articles/committers-guide/_index.adoc
+0-51 files