LLVM/project b9d2767lldb/source/Plugins/ExpressionParser/Clang ClangExpressionParser.cpp, lldb/test/API/commands/expression/ptrauth-objc TestPtrAuthObjectiveC.py main.m

[lldb] Support arm64e Objective-C signing in the expression evaluator (#187765)

When targeting arm64e, ISA pointers, class_ro_t pointers, and interface
selectors are signed in Objective-C. This PR adds support for that in
the expression evaluator.
DeltaFile
+91-0lldb/test/API/commands/expression/ptrauth-objc/TestPtrAuthObjectiveC.py
+39-0lldb/test/API/commands/expression/ptrauth-objc/main.m
+10-0lldb/test/API/commands/expression/ptrauth-objc/Makefile
+3-0lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
+143-04 files

LLVM/project bef8df8clang/lib/AST QualTypeNames.cpp, clang/test/Interpreter pretty-print.cpp

[clang][AST] Fix assertion in `getFullyQualifiedType` for AutoType (#186105)

getFullyQualifiedType() asserts "Unhandled type node" when the input
QualType is an AutoType.

This was exposed by clang-repl's value printer:
```
clang-repl> namespace N { struct D {}; }
clang-repl> auto x = N::D(); x // asserts
```

Strip AutoType early before the type-specific handling.

(cherry picked from commit 86c4e96856a645a4015adf0e4d1a779e5662c6ca)
DeltaFile
+9-0clang/test/Interpreter/pretty-print.cpp
+5-0clang/lib/AST/QualTypeNames.cpp
+14-02 files

LLVM/project 3d4dd4blldb/unittests/Platform PlatformTest.cpp

[lldb][test] Don't build PlatformLocateSafePathTest in non-asserts builds (#187829)

From a CI failure:
```
FAILED: [code=1] tools/lldb/unittests/Platform/CMakeFiles/LLDBPlatformTests.dir/PlatformTest.cpp.obj
C:\Users\tcwg\scoop\shims\ccache.exe C:\Users\tcwg\scoop\apps\llvm-arm64\current\bin\clang-cl.exe  /nologo -TP -DLLVM_BUILD_STATIC -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_HAS_EXCEPTIONS=0 -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IC:\Users\tcwg\llvm-worker\lldb-aarch64-windows\build\tools\lldb\unittests\Platform -IC:\Users\tcwg\llvm-worker\lldb-aarch64-windows\llvm-project\lldb\unittests\Platform -IC:\Users\tcwg\llvm-worker\lldb-aarch64-windows\llvm-project\lldb\include -IC:\Users\tcwg\llvm-worker\lldb-aarch64-windows\build\tools\lldb\include -IC:\Users\tcwg\llvm-worker\lldb-aarch64-windows\build\include -IC:\Users\tcwg\llvm-worker\lldb-aarch64-windows\llvm-project\llvm\include -IC:\Users\tcwg\llvm-worker\lldb-aarch64-windows\llvm-project\llvm\..\clang\include -IC:\Users\tcwg\ll
 vm-worker\lldb-aarch64-windows\build\tools\lldb\..\clang\include -IC:\Users\tcwg\llvm-worker\lldb-aarch64-windows\llvm-project\lldb\source -IC:\Users\tcwg\llvm-worker\lldb-aarch64-windows\llvm-project\lldb\unittests -IC:\Users\tcwg\llvm-worker\lldb-aarch64-windows\llvm-project\third-party\unittest\googletest\include -IC:\Users\tcwg\llvm-worker\lldb-aarch64-windows\llvm-project\third-party\unittest\googlemock\include /DWIN32 /D_WINDOWS   /Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj /permissive- -Werror=unguarded-availability-new /W4  -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported /Gw -Wno-vla-extension /O2 /Ob2 /DNDEBUG -std:c++17 -MD   -wd4018 -wd4068 -wd4150 -wd4201 -wd4251 -wd4521 -wd4530 -wd4589 -Wno-suggest-override -Wno-gn
 u-zero-variadic-macro-arguments /EHs-c- /GR- /showIncludes /Fotools\lldb\unittests\Platform\CMakeFiles\LLDBPlatformTests.dir\PlatformTest.cpp.obj /Fdtools\lldb\unittests\Platform\CMakeFiles\LLDBPlatformTests.dir\ -c -- C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\llvm-project\lldb\unittests\Platform\PlatformTest.cpp
C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\llvm-project\lldb\unittests\Platform\PlatformTest.cpp(197,5): error: use of undeclared identifier 'TestingProperties'
  197 |     TestingProperties::GetGlobalTestingProperties().SetSafeAutoLoadPaths({});
      |     ^
C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\llvm-project\lldb\unittests\Platform\PlatformTest.cpp(238,3): error: use of undeclared identifier 'TestingProperties'
  238 |   TestingProperties::GetGlobalTestingProperties().AppendSafeAutoLoadPaths(
      |   ^
C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\llvm-project\lldb\unittests\Platform\PlatformTest.cpp(265,3): error: use of undeclared identifier 'TestingProperties'
  265 |   TestingProperties::GetGlobalTestingProperties().AppendSafeAutoLoadPaths(
      |   ^
C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\llvm-project\lldb\unittests\Platform\PlatformTest.cpp(295,3): error: use of undeclared identifier 'TestingProperties'
  295 |   TestingProperties::GetGlobalTestingProperties().AppendSafeAutoLoadPaths(

    [26 lines not shown]
DeltaFile
+3-0lldb/unittests/Platform/PlatformTest.cpp
+3-01 files

LLVM/project 40a01eellvm/include/llvm/ADT Statistic.h, llvm/lib/Support Statistic.cpp

Eliminate global constructors (hopefully)

Created using spr 1.3.8-wip
DeltaFile
+32-11llvm/lib/Support/Statistic.cpp
+22-5llvm/unittests/ADT/StatisticTest.cpp
+16-2llvm/include/llvm/ADT/Statistic.h
+70-183 files

LLVM/project 367da15mlir/include/mlir/Dialect/XeGPU/IR XeGPUAttrs.td, mlir/lib/Dialect/XeGPU/IR XeGPUDialect.cpp

[MLIR][XeGPU] Enhance XeGPU lane layout to support "wrap-around" distribution (#186958)

This PR extends XeGPU lane layout to support wrap-around distribution,
enabling replication of lane-level tensor tiles across all lanes when
the tile size matches lane_data along a given dimension. Previously,
distribution required the tile size to exceed the number of lanes ×
lane_data for even partitioning.

This PR also refactors layout attribute interface functions:

computeDistributedShape() computes the distributed vector shape and is
shared by work-to-subgroup and subgroup-to-lane distribution, which
follow the same distribution rule (even or wrap-around).

computeStaticDistributedCoords() computes compile-time distributed
coordinates of sub-tiles per subgroup/lane. It is the compile-time
counterpart of computeDistributedCoords() and is used by
isCompatibleWith().
DeltaFile
+217-33mlir/lib/Dialect/XeGPU/IR/XeGPUDialect.cpp
+81-20mlir/include/mlir/Dialect/XeGPU/IR/XeGPUAttrs.td
+16-19mlir/lib/Dialect/XeGPU/Transforms/XeGPUWgToSgDistribute.cpp
+10-10mlir/test/Dialect/XeGPU/xegpu-wg-to-sg-unify-ops.mlir
+8-8mlir/test/Dialect/XeGPU/xegpu-wg-to-sg.mlir
+4-12mlir/test/Dialect/XeGPU/invalid.mlir
+336-1026 files not shown
+363-11912 files

FreeBSD/ports a93fbecscience/ocean Makefile

science/ocean: Remove expiration lines
DeltaFile
+0-3science/ocean/Makefile
+0-31 files

LLVM/project 0ae9aafllvm/lib/Transforms/InstCombine InstructionCombining.cpp, llvm/test/Transforms/InstCombine scalar_vector_gep.ll

[InstCombine] When rewriting GEPs, check that the types match. (#186886)
DeltaFile
+36-0llvm/test/Transforms/InstCombine/scalar_vector_gep.ll
+2-1llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
+38-12 files

FreeBSD/ports 3be0f9fscience/abinit Makefile

science/abinit: Remove expiration lines
DeltaFile
+0-3science/abinit/Makefile
+0-31 files

LLVM/project 0ec9f7elldb/source/Core Debugger.cpp, lldb/source/Target Platform.cpp

[lldb] Add mechanism for auto-loading Python scripts from pre-configured paths (#187031)

Depends on:
* https://github.com/llvm/llvm-project/pull/187229

(only second commit and onwards are relevant)

This patch implements the base infrastructure described in this [RFC re.
Moving libc++ data-formatters out of
LLDB](https://discourse.llvm.org/t/rfc-lldb-moving-libc-data-formatters-out-of-lldb/89591)

The intention is to provide vendors with a way to pre-configure a set of
paths that LLDB can automatically ingest formatter scripts from.

Three main changes:
1. Adds a CMake variable `LLDB_SAFE_AUTO_LOAD_PATHS` which is a
semi-colon separated list of paths. This is intended to be set by
vendors when building LLDB for distribution.
2. Adds a setting that only exists in asserts mode called

    [28 lines not shown]
DeltaFile
+504-0lldb/unittests/Platform/PlatformTest.cpp
+72-1lldb/source/Target/Platform.cpp
+55-0lldb/source/Core/Debugger.cpp
+31-0lldb/test/Shell/Platform/AutoLoad/UNIX/safe-path-last-path-wins.test
+31-0lldb/test/Shell/Platform/AutoLoad/Darwin/dsym-takes-priority.test
+30-0lldb/test/Shell/Platform/AutoLoad/UNIX/safe-path-subpackage-import.test
+723-116 files not shown
+989-1122 files

FreeBSD/ports 8f29ec9science/atompaw Makefile distinfo

science/atompaw: update 4.2.0.3 → 4.2.0.5

PR:     293946
DeltaFile
+6-12science/atompaw/Makefile
+3-3science/atompaw/distinfo
+9-152 files

HardenedBSD/src 359505esecure/lib/libcrypto/modules Makefile.inc

HBSD: Resolve merge conflict

Signed-off-by:  Shawn Webb <shawn.webb at hardenedbsd.org>
DeltaFile
+0-3secure/lib/libcrypto/modules/Makefile.inc
+0-31 files

HardenedBSD/src ec4f0easys/amd64/amd64 trap.c exec_machdep.c, sys/amd64/ia32 ia32_signal.c

Merge remote-tracking branch 'origin/freebsd/current/main' into hardened/current/master

Conflicts:
        secure/lib/libcrypto/modules/Makefile.inc (unresolved)
DeltaFile
+71-48sys/amd64/amd64/trap.c
+46-70sys/dev/tpm/tpm20.c
+49-6sys/x86/include/frame.h
+28-0sys/amd64/ia32/ia32_signal.c
+14-14sys/dev/tpm/tpm_tis_core.c
+19-0sys/amd64/amd64/exec_machdep.c
+227-1388 files not shown
+255-16314 files

HardenedBSD/src e520fd1. Makefile.inc1, libexec/pkg-serve pkg-serve.c pkg-serve.8

Merge remote-tracking branch 'origin/hardened/current/master' into hardened/current/cross-dso-cfi
DeltaFile
+230-0libexec/pkg-serve/tests/pkg_serve_test.sh
+180-0libexec/pkg-serve/pkg-serve.c
+107-0libexec/pkg-serve/pkg-serve.8
+29-0share/man/man4/man4.arm/dwcotg.4
+18-3Makefile.inc1
+17-1share/man/man5/src.conf.5
+581-434 files not shown
+656-4340 files

HardenedBSD/ports a3ea854cad/kicad-library-packages3d pkg-plist, devel/wasi-libc pkg-plist18 pkg-plist19

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+16-6,823cad/kicad-library-packages3d/pkg-plist
+2,053-0security/syft/files/modules.txt
+597-0security/syft/distinfo
+181-295textproc/hs-pandoc/distinfo
+225-225devel/wasi-libc/pkg-plist18
+225-225devel/wasi-libc/pkg-plist19
+3,297-7,56896 files not shown
+5,218-9,274102 files

LLVM/project 6891a6ecompiler-rt/lib/scudo/standalone chunk.h

[compiler-rt] Add bitmask to fix warning (#187812)

After #186881 was merged the gcc libc bots started complaining about the
conversion from u8 to 2 bit integer being unsafe (see:
https://lab.llvm.org/buildbot/#/builders/131/builds/42788). This PR
adds a bitmask that fixes the warning.
DeltaFile
+1-1compiler-rt/lib/scudo/standalone/chunk.h
+1-11 files

LLVM/project bae6a2allvm/cmake/modules LLVMExternalProjectUtils.cmake

[Runtimes] Fix Unix Makefiles race between runtimes-build and EXTRA_TARGETS (#187634)

In our downstream we have a non-runtime target depending on libclc
EXTRA_TARGET and then observe a race condition in parallel build: both
runtimes-build (full build, no lock) and libclc EXTRA_TARGET (triggered
by non-runtime target, FileLock) build concurrently, leading to corrupt
libclc library.

This exposes an limitation in ExternalProject EXTRA_TARGET design:
EXTRA_TARGETS in llvm_ExternalProject_Add only depend on
${name}-configure, not ${name}-build. This makes EXTRA_TARGETS unsafe as
dependencies of a non-runtime target..

Fix: Add a locked BUILD_COMMAND to ExternalProject_Add for Unix
Makefiles generator, using the same cmake.lock as EXTRA_TARGETS. This
serializes runtimes-build with all EXTRA_TARGETS under one lock.

With this PR, a non-runtime target can depend on a specific
EXTRA_TARGET, rather than needing to depend on the umbrella runtimes

    [9 lines not shown]
DeltaFile
+15-1llvm/cmake/modules/LLVMExternalProjectUtils.cmake
+15-11 files

LLVM/project 335a2d0clang/docs ReleaseNotes.rst, clang/lib/AST Expr.cpp

[clang] fix error: cannot compile this l-value expression yet (#187755)
DeltaFile
+17-0clang/test/CodeGenCXX/builtin_FUNCTION.cpp
+1-1clang/lib/AST/Expr.cpp
+1-0clang/docs/ReleaseNotes.rst
+19-13 files

LLVM/project 368f38bllvm/lib/Target/AMDGPU SIInsertWaitcnts.cpp

[AMDGPU][SIInsertWaitcnts][NFC] SGPRInfo: Move score selection logic closer (#186518)

Selecting the score in SGPRInfo used to require an index which you would
get by calling a getSgprScoresIdx(), which is defined in a different
class.

This patch moves the score selection logic into the SGPRinfo. This makes
the interface simpler and more intuitive.

Also given that SGPRInfo contains only two scores, this patch also
replaces the score array with individual score variables.

Should be NFC.
DeltaFile
+22-20llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
+22-201 files

LLVM/project a60b3a8libc/include threads.yaml

[libc] Fix function prototypes for <threads.h> C11 header. (#187808)

Fix return types and/or function arguments of several functions:
* mtx_destroy
* tss_delete
* thrd_exit
DeltaFile
+4-4libc/include/threads.yaml
+4-41 files

LLVM/project 57b0c94libc/src/__support/wctype perfect_hash_map.h

rename var
DeltaFile
+2-2libc/src/__support/wctype/perfect_hash_map.h
+2-21 files

LLVM/project f74010flibc/src/__support/CPP iterator.h, libc/src/__support/wctype perfect_hash_map.h

cleanup
DeltaFile
+1-2libc/src/__support/wctype/perfect_hash_map.h
+1-1libc/src/__support/CPP/iterator.h
+2-32 files

LLVM/project 3584492llvm/lib/Target/AArch64 AArch64SystemOperands.td, llvm/test/MC/AArch64 armv8.7a-xs.s armv9.5a-tlbiw.s

fixup! Move nxs bit into TLBIEntry rather than override
DeltaFile
+57-56llvm/test/MC/AArch64/armv8.7a-xs.s
+21-33llvm/lib/Target/AArch64/AArch64SystemOperands.td
+10-10llvm/test/MC/AArch64/armv9.5a-tlbiw.s
+88-993 files

LLVM/project 51c158bclang-tools-extra/clang-doc JSONGenerator.cpp, clang-tools-extra/clang-doc/assets function-template.mustache

[clang-doc] Fix incorrectly rendered specialization args in HTML (#187761)

Function template specialization arguments were incorrectly rendered
without a comma. This was due to the "End" JSON property also being
used in the levels above. Mustache looks for missing properties in
parent contexts, see #174359.
DeltaFile
+2-2clang-tools-extra/test/clang-doc/templates.cpp
+2-2clang-tools-extra/test/clang-doc/json/class-specialization.cpp
+1-1clang-tools-extra/clang-doc/JSONGenerator.cpp
+1-1clang-tools-extra/clang-doc/assets/function-template.mustache
+6-64 files

FreeBSD/src 8cc1c0fsys/amd64/amd64 trap.c

amd64 trap.c: provide tag for the struct sfhandlers definition

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
DeltaFile
+4-2sys/amd64/amd64/trap.c
+4-21 files

HardenedBSD/src 8cc1c0fsys/amd64/amd64 trap.c

amd64 trap.c: provide tag for the struct sfhandlers definition

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
DeltaFile
+4-2sys/amd64/amd64/trap.c
+4-21 files

FreeBSD/src 23dc485sys/amd64/include md_var.h

amd64: add prototype for ia32_syscall()

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
DeltaFile
+2-0sys/amd64/include/md_var.h
+2-01 files

HardenedBSD/src acce5fasys/amd64/amd64 fpu.c

amd64: remove assertion about sizeof(struct pcb)

We no longer put pcb on stack, it is part of the struct thread.
Similarly, we do not put user fpu save area on stack.  There is no
constraints on the pcb size due to the XSAVE area required alignment.

Reviewed by:    jhb, markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D55931
DeltaFile
+0-7sys/amd64/amd64/fpu.c
+0-71 files

FreeBSD/src acce5fasys/amd64/amd64 fpu.c

amd64: remove assertion about sizeof(struct pcb)

We no longer put pcb on stack, it is part of the struct thread.
Similarly, we do not put user fpu save area on stack.  There is no
constraints on the pcb size due to the XSAVE area required alignment.

Reviewed by:    jhb, markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D55931
DeltaFile
+0-7sys/amd64/amd64/fpu.c
+0-71 files

HardenedBSD/src 23dc485sys/amd64/include md_var.h

amd64: add prototype for ia32_syscall()

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
DeltaFile
+2-0sys/amd64/include/md_var.h
+2-01 files

FreeBSD/src 6275cd7sys/sys param.h

sys/param.h: bump __FreeBSD_version for amd64 struct trapframe size change

Requested by:   jhb
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
DeltaFile
+2-1sys/sys/param.h
+2-11 files