LLVM/project 71122e7llvm/lib/CodeGen/SelectionDAG SelectionDAGDumper.cpp

[SelectionDAG] Add ISD::ARITH_FENCE to SelectionDAGDumper. (#225485)

We seem to have no consistency on CamelCase or snake_case in node
naming. I've gone with CamelCase to match the nearby nodes, but happy to
change.
DeltaFile
+1-0llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
+1-01 files

LLVM/project 838c705clang/docs ReleaseNotes.md, clang/lib/AST ExprConstant.cpp

[clang] Return early if a value dependent recovery init appeared in constant evaluation context in legacy constant evaluator (#225027)

A recovery default member initializer can be value-dependent even when
the expression referring to the variable is not. Clang should return
early to avoid crash.

This fix the issue found in
https://github.com/llvm/llvm-project/issues/185874#issuecomment-4058045596.

---------

Signed-off-by: yronglin <yronglin777 at gmail.com>
DeltaFile
+25-2clang/test/SemaCXX/recovery-expr-type.cpp
+15-7clang/lib/AST/ExprConstant.cpp
+3-0clang/docs/ReleaseNotes.md
+43-93 files

Illumos/gate 444f2eausr/src/test/header-tests/cfg c-symbols-env.cfg, usr/src/test/header-tests/cfg/c-symbols wchar_h.cfg

18447 header-tests ALL environment omits XPG3 and XPG4
Reviewed by: Robert Mustacchi <rm at fingolfin.org>
Reviewed by: Toomas Soome <tsoome at me.com>
Approved by: Dan McDonald <danmcd at oxidecomputer.com>
DeltaFile
+5-1usr/src/test/header-tests/cfg/c-symbols-env.cfg
+3-1usr/src/test/header-tests/cfg/c-symbols/wchar_h.cfg
+8-22 files

Illumos/gate ace296ausr/src/test/header-tests/cfg/c-symbols sys_timeb_h.cfg

18392 Fill in header-tests sys_timeb.h config
Reviewed by: Robert Mustacchi <rm at fingolfin.org>
Reviewed by: Toomas Soome <tsoome at me.com>
Approved by: Dan McDonald <danmcd at oxidecomputer.com>
DeltaFile
+10-4usr/src/test/header-tests/cfg/c-symbols/sys_timeb_h.cfg
+10-41 files

Illumos/gate 1fbbc3cusr/src/test/header-tests/cfg/c-symbols strings_h.cfg

18389 Fill in header-tests strings.h config
Reviewed by: Robert Mustacchi <rm at fingolfin.org>
Reviewed by: Toomas Soome <tsoome at me.com>
Approved by: Dan McDonald <danmcd at oxidecomputer.com>
DeltaFile
+36-4usr/src/test/header-tests/cfg/c-symbols/strings_h.cfg
+36-41 files

Illumos/gate 76e1647usr/src/test/header-tests/cfg c-symbols-env.cfg

18445 header test missing SUSv5 in some environments
Reviewed by: Robert Mustacchi <rm at fingolfin.org>
Reviewed by: Toomas Soome <tsoome at me.com>
Approved by: Dan McDonald <danmcd at oxidecomputer.com>
DeltaFile
+1-1usr/src/test/header-tests/cfg/c-symbols-env.cfg
+1-11 files

LLVM/project a3cba3cbolt/lib/Core DebugNames.cpp

Close a loose end for synthesized debug (anonymous namespace) strings that happen to be already in the main CU debug_str section.
DeltaFile
+4-7bolt/lib/Core/DebugNames.cpp
+4-71 files

LLVM/project c2b3813orc-rt/include/orc-rt/support bit.h

[orc-rt] Simplify bit.h countl_zero and bit_width (#225547)

The old countl_zero algorithm wasn't recognized / optimized by clang on
arm64 or x86-64. Switch to a simpler loop that clang recognizes and
rewrite bit_width in terms of countl_zero. NFCI.
DeltaFile
+8-19orc-rt/include/orc-rt/support/bit.h
+8-191 files

LLVM/project 1adcce1clang/lib/Driver/ToolChains CommonArgs.cpp, clang/test/Driver sanitize-trap-loop.c

[Driver] Link ubsan_loop_detect with --whole-archive (#225498)

`addSanitizerRuntimes` places sanitizer archives before user object
files on the linker command line.

Because `ubsan_loop_detect` was in `NonWholeStaticRuntimes` without `-u`
symbols, single-pass linkers like GNU `ld.bfd` discarded
`libclang_rt.ubsan_loop_detect.a` before seeing references to
`__ubsan_install_trap_loop_detection` or `__ubsan_is_trap_loop`. Move
`ubsan_loop_detect` to `StaticRuntimes` so it is linked with
`--whole-archive`.
DeltaFile
+1-1clang/test/Driver/sanitize-trap-loop.c
+1-1clang/lib/Driver/ToolChains/CommonArgs.cpp
+2-22 files

FreeBSD/ports 5ee9fc7devel/oci-cli Makefile distinfo

devel/oci-cli: Update 3.93.0 => 3.94.0

Changelog:
https://github.com/oracle/oci-cli/releases/tag/v3.94.0

PR:             298757
Sponsored by:   UNIS Labs (vvd, commit patch)
DeltaFile
+3-3devel/oci-cli/distinfo
+2-2devel/oci-cli/Makefile
+5-52 files

FreeBSD/ports 4801d1fdevel/py-oci Makefile distinfo

devel/py-oci: Update 2.186.0 => 2.187.0

Changelog:
https://github.com/oracle/oci-python-sdk/releases/tag/v2.187.0

PR:             298757
Sponsored by:   UNIS Labs (vvd, commit patch)
DeltaFile
+3-3devel/py-oci/distinfo
+1-1devel/py-oci/Makefile
+4-42 files

LLVM/project e02ef74llvm/lib/Target/RISCV RISCVISelLowering.cpp

fixup! Typo
DeltaFile
+1-1llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+1-11 files

LLVM/project 429bc4eclang/lib/CIR/CodeGen CIRGenCleanup.cpp CIRGenExprScalar.cpp, clang/test/CIR/CodeGen cleanup-conditional.cpp dtors.cpp

[CIR] Use cleanup active flag with logical operators (#225554)

When temporary expressions are created within a logical binary
operation, we need to use a "cleanup active" flag to guard any cleanups
that are created in the right-hand side of the expression because the
expression may short-circuit and not evaluate the RHS. Failure to do so
had been leading to destructors being called for objects that had never
been constructed.

This fix introduces a regression in destructor call ordering when both
sides of a logical operation create temporaries that require cleanup.
This is a known ordering bug that preceeded this PR but was incidentally
avoided by the previous incorrect handling. The orderig bug will be
fixed in a follow-up change.

Assisted-by: Cursor / various models
DeltaFile
+107-105clang/test/CIR/CodeGen/dtors.cpp
+86-0clang/test/CIR/CodeGen/cleanup-conditional.cpp
+8-2clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp
+8-0clang/lib/CIR/CodeGen/CIRGenCleanup.cpp
+209-1074 files

LLVM/project 0ff5abdclang/lib/CIR/Lowering/DirectToLLVM LowerToLLVM.cpp, clang/test/CIR/Lowering not.cir

[CIR] Fix 'cir.not' lowering behavior for >64 bit size (#225541)

We were only inverting the lower 64 bits because we used the
int64_t/uint64_t overload, which only filled in 64 bits. This patch
replaces that with a 'getAllOnes' of the right size.
DeltaFile
+33-0clang/test/CIR/Lowering/not.cir
+3-1clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+36-12 files

LLVM/project 4c320dcclang/lib/CIR/Lowering/DirectToLLVM LowerToLLVM.cpp, clang/test/CIR/CodeGen nobuiltin-replaceable-allocation.cpp

[CIR] Lower nobuiltin attribute (#225545)

This causes a problem in tests for global allocation functions, but we
are not currently lowering the 'nobuiltin' attribute to LLVM-IR. This
patch adds the lowering.
DeltaFile
+25-0clang/test/CIR/CodeGen/nobuiltin-replaceable-allocation.cpp
+3-1clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+28-12 files

LLVM/project c0be35fclang/lib/CIR/CodeGen CIRGenFunction.cpp CIRGenExpr.cpp, clang/test/CIR/CodeGen lambda-explicit-obj.cpp

[CIR] Fix lambda explicit object parameters (#225518)

We seem to have diverged significantly from classic compiler here,
likely because the incubator missed these changes. The result was the
exmaple given in the test would crash because the 'this' argument wasn't
set right.

This patch copy/pastes/lightly modifies classic codegen to get these
lambdas done correctly.
DeltaFile
+92-0clang/test/CIR/CodeGen/lambda-explicit-obj.cpp
+31-7clang/lib/CIR/CodeGen/CIRGenExpr.cpp
+11-14clang/lib/CIR/CodeGen/CIRGenFunction.cpp
+134-213 files

LLVM/project 2382abcclang/lib/CIR/Dialect/Transforms LoweringPrepare.cpp, clang/lib/CIR/Lowering LoweringHelpers.cpp

[CIR] Implement lowering for BitInt that needs to be an array (#225470)

On bitint types that are not powers of 2, we have to represent them as
an array. This patch modifies 'convertTypeForMemory' to do that.
However, that ends up causing a couple of problems, that this also ends
up fixing:

First: constant init needs to also lower to this type/get that correct,
  so this introduces 'getBitIntStorageAttr' to manage that

Second: The 'copy' op lowering was getting its layout from the lowered
type, which is no longer correct. Since this is suposed to be the same
as what we get from CIR, this is jsut switched to use that instead.

Third: this ran into an issue with cir.copy in LoweringPrepare where we
didn't properly copy the alignment over. The result was our copy
operation didn't get alignment correct. This patch fixes that too.

Fourth: Load/Store/VecMaskedLoad all had to change how they got the type

    [10 lines not shown]
DeltaFile
+145-0clang/test/CIR/CodeGen/bitint-wide.c
+0-65clang/test/CIR/CodeGen/bitint-split-storage-nyi.c
+45-4clang/lib/CIR/Lowering/LoweringHelpers.cpp
+27-20clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+28-0clang/test/CIR/CodeGen/global-const-alignment.cpp
+13-3clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp
+258-926 files not shown
+280-10112 files

NetBSD/pkgsrc VZVWsIVlang/ocaml ocaml.mk

   lang/ocam/ocaml.mk: Limit findlib bl3 to build phase

   This is used to find libraries; it's more or less pkg-config for
   ocaml.  There's no logical basis for it to be used at runtime by any
   ocaml package that uses it to build.
VersionDeltaFile
1.5+3-2lang/ocaml/ocaml.mk
+3-21 files

HardenedBSD/src 9bf66edlib/libbsdconf bsdconf.3 bsdconf_stmt.c, share/misc bsd-family-tree

Merge remote-tracking branch 'rad/hardened/current/master' into hardened/current/cross-dso-cfi
DeltaFile
+39-420lib/libbsdconf/bsdconf.c
+133-0lib/libbsdconf/bsdconf_stmt.c
+44-18lib/libbsdconf/bsdconf.3
+23-20share/misc/bsd-family-tree
+23-0usr.sbin/sysconf/tests/sysconf_test.sh
+0-16usr.sbin/sysconf/sysconf_scan.c
+262-47415 files not shown
+315-50421 files

HardenedBSD/src ddd28e3lib/libbsdconf bsdconf.3 bsdconf_stmt.c, share/misc bsd-family-tree

Merge remote-tracking branch 'rad/hardened/current/master' into hardened/current/pledge
DeltaFile
+39-420lib/libbsdconf/bsdconf.c
+133-0lib/libbsdconf/bsdconf_stmt.c
+44-18lib/libbsdconf/bsdconf.3
+23-20share/misc/bsd-family-tree
+23-0usr.sbin/sysconf/tests/sysconf_test.sh
+0-16usr.sbin/sysconf/sysconf_scan.c
+262-47415 files not shown
+315-50421 files

HardenedBSD/src bca3c76lib/libbsdconf bsdconf.3 bsdconf_stmt.c, share/misc bsd-family-tree

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+39-420lib/libbsdconf/bsdconf.c
+133-0lib/libbsdconf/bsdconf_stmt.c
+44-18lib/libbsdconf/bsdconf.3
+23-20share/misc/bsd-family-tree
+23-0usr.sbin/sysconf/tests/sysconf_test.sh
+0-16usr.sbin/sysconf/sysconf_scan.c
+262-47415 files not shown
+315-50421 files

HardenedBSD/ports a8e33cadeskutils/qmd/files package-lock-better-sqlite3.json package-lock.json, misc/github-copilot-cli-legacy Makefile

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+227-1,584deskutils/qmd/files/package-lock.json
+1,314-0sysutils/beats95/files/patch-go-sysinfo
+0-564misc/github-copilot-cli-legacy/files/package-lock-sharp.json
+0-455misc/github-copilot-cli-legacy/files/package-lock-keytar.json
+11-442deskutils/qmd/files/package-lock-better-sqlite3.json
+0-241misc/github-copilot-cli-legacy/Makefile
+1,552-3,286223 files not shown
+4,581-4,700229 files

HardenedBSD/ports 1ed6eabtextproc/kibana93 Makefile

textproc/kibana93: Deprecate with EXPIRATION_DATE=2026-12-31

Support for 9.3.x has ended 04 Aug 2026 - use kibana94 or kibana95 instead

Approved by:    elastic (implicit, inactive for several months again)
Sponsored by:   UNIS Labs
DeltaFile
+3-0textproc/kibana93/Makefile
+3-01 files

FreeBSD/ports 1ed6eabtextproc/kibana93 Makefile

textproc/kibana93: Deprecate with EXPIRATION_DATE=2026-12-31

Support for 9.3.x has ended 04 Aug 2026 - use kibana94 or kibana95 instead

Approved by:    elastic (implicit, inactive for several months again)
Sponsored by:   UNIS Labs
DeltaFile
+3-0textproc/kibana93/Makefile
+3-01 files

HardenedBSD/ports 3105b5csysutils/logstash93 Makefile

sysutils/logstash93: Deprecate with EXPIRATION_DATE=2026-12-31

Support for 9.3.x has ended 04 Aug 2026 - use logstash94 or logstash95 instead

Approved by:    elastic (implicit, inactive for several months again)
Sponsored by:   UNIS Labs
DeltaFile
+3-0sysutils/logstash93/Makefile
+3-01 files

FreeBSD/ports 3105b5csysutils/logstash93 Makefile

sysutils/logstash93: Deprecate with EXPIRATION_DATE=2026-12-31

Support for 9.3.x has ended 04 Aug 2026 - use logstash94 or logstash95 instead

Approved by:    elastic (implicit, inactive for several months again)
Sponsored by:   UNIS Labs
DeltaFile
+3-0sysutils/logstash93/Makefile
+3-01 files

HardenedBSD/ports 9eb26dasysutils/beats93 Makefile

sysutils/beats93: Deprecate with EXPIRATION_DATE=2026-12-31

Support for 9.3.x has ended 04 Aug 2026 - use beats94 or beats95 instead

Approved by:    elastic (implicit, inactive for several months again)
Sponsored by:   UNIS Labs
DeltaFile
+3-0sysutils/beats93/Makefile
+3-01 files

FreeBSD/ports 9eb26dasysutils/beats93 Makefile

sysutils/beats93: Deprecate with EXPIRATION_DATE=2026-12-31

Support for 9.3.x has ended 04 Aug 2026 - use beats94 or beats95 instead

Approved by:    elastic (implicit, inactive for several months again)
Sponsored by:   UNIS Labs
DeltaFile
+3-0sysutils/beats93/Makefile
+3-01 files

HardenedBSD/ports 2f21458sysutils/logstash92 Makefile

sysutils/logstash92: Deprecate with EXPIRATION_DATE=2026-12-31

Support for 9.2.x has ended 05 May 2026 - use logstash94 or logstash95 instead

Approved by:    elastic (implicit, inactive for several months again)
Sponsored by:   UNIS Labs
DeltaFile
+3-0sysutils/logstash92/Makefile
+3-01 files

FreeBSD/ports 2f21458sysutils/logstash92 Makefile

sysutils/logstash92: Deprecate with EXPIRATION_DATE=2026-12-31

Support for 9.2.x has ended 05 May 2026 - use logstash94 or logstash95 instead

Approved by:    elastic (implicit, inactive for several months again)
Sponsored by:   UNIS Labs
DeltaFile
+3-0sysutils/logstash92/Makefile
+3-01 files