LLVM/project ede065aclang/lib/CodeGen/TargetBuiltins AMDGPU.cpp, clang/test/CodeGen amdgpu-abi-version.c

clang/AMDGPU: Do not emit __oclc_ABI_version references with environment (#184868)

Assume a sufficently new code object version if the environment is set
to something indicating we should have a real library.
DeltaFile
+39-20clang/test/CodeGen/amdgpu-abi-version.c
+5-0clang/lib/CodeGen/TargetBuiltins/AMDGPU.cpp
+44-202 files

FreeNAS/freenas 5dca2a2src/middlewared/middlewared/plugins/filesystem_ acl.py, tests/api2 test_filesystem_setacl.py test_427_smb_acl.py

NAS-140122 / 26.0.0-BETA.2 / Add ACL traverse validation (by anodos325) (#18373)

This commit adds validation to prevent people from trying to traverse
ACL changes to child datasets if the children have different ACL types
on them (there's no way to apply a POSIX ACL to an NFS4 ACL dataset or a
dataset where ACL is disabled).

Some test tweaks are opportunistically added to help test runtime.

Original PR: https://github.com/truenas/middleware/pull/18352

---------

Co-authored-by: Andrew Walker <andrew.walker at truenas.com>
DeltaFile
+128-6tests/api2/test_filesystem_setacl.py
+47-1src/middlewared/middlewared/plugins/filesystem_/acl.py
+4-4tests/api2/test_427_smb_acl.py
+4-4tests/api2/test_acl_by_who.py
+2-1tests/api2/test_user_create_dir.py
+2-1tests/api2/test_011_user.py
+187-172 files not shown
+189-198 files

FreeNAS/freenas 83dca12tests/protocols nfs_proto.py

Update to match changes with the move to truenas_getfacl.
DeltaFile
+6-1tests/protocols/nfs_proto.py
+6-11 files

LLVM/project e693f0flldb/unittests/Target CMakeLists.txt

[lldb] Don't link TestingSupport as a component (#184310)

This doesn't work with dylib builds, because TestingSupport is not part
of the dylib. Instead, we should link it via LINK_LIBS, like other tests
already do.

(cherry picked from commit d1c563beee794b3a967786fd07c437ffc66fb7f0)
DeltaFile
+1-1lldb/unittests/Target/CMakeLists.txt
+1-11 files

LLVM/project 3952053lldb/source/Target Target.cpp, lldb/unittests/Target ScratchTypeSystemTest.cpp CMakeLists.txt

[lldb][Target] Allow eLanguageTypeAssembly to use ScratchTypeSystemClang (#183771)

After cleaning up some of our `LanguageType`/`SourceLangage`
round-tripping (see `7f51a2a47d2e706d04855b0e41690ebafa2b3238`), a CU
with `DW_LANG_MIPS_Assembler` will get a language type of
`eLanguageTypeAssembly` (as opposed to `eLanguageTypeMipsAssembler`).
Reason being that there is no `DW_LNAME_` (DWARFv6 language code) for
`MIPS Assembler`, only for generic `Assembly`. So it's not possible to
round-trip cleanly between pre-DWARFv6 and DWARFv6 language codes, which
LLDB relies on for storing language types (and will lean into more
heavily in the future). This broke a special provision we have where we
allow `ScratchTypeSystemClang` to be used when evaluating expressions in
assembly CUs (i.e., CUs where the debug-info explicitly sets the
language to assembly).

If we ever want to distinguish MIPS from other Assembly, the proper way
to do so is introduce a `DW_LNAME_Mips_Assembler`. For now, this patch
adds another case for `eLanguageTypeAssembly` in
`GetScratchTypeSystemForLanguage`.

    [9 lines not shown]
DeltaFile
+59-0lldb/unittests/Target/ScratchTypeSystemTest.cpp
+2-1lldb/source/Target/Target.cpp
+2-0lldb/unittests/Target/CMakeLists.txt
+63-13 files

LLVM/project ecd6f8clldb/include/lldb/Host ProcessRunLock.h, lldb/include/lldb/Target Process.h

Revert "Add the ability to "allow another thread to see the private state" mode. (#184272)"

This reverts commit 97572c1860efeeb97b5940927cee72081b61810a.

This patch seems to cause TestWatchpointCommandPython.py to time out
on the ubuntu buildbots (but nowhere else that I can find so far.)  The
timeout is weird too, the TEST FILE is timing out but the individual
tests aren't being shown and there's no other output.  Grrr...
Anyway I'll revert this and then see if I can do some guessing about
how this change might cause the test to fail.
DeltaFile
+20-79lldb/test/API/python_api/run_locker/TestRunLocker.py
+3-31lldb/include/lldb/Target/Process.h
+11-21lldb/source/Target/Process.cpp
+1-3lldb/source/Target/StopInfo.cpp
+0-2lldb/include/lldb/Host/ProcessRunLock.h
+35-1365 files

LLVM/project 5d2560clldb/include/lldb/Target Process.h

Revert "When hijacking events, don't let the user thread that was allowed"

This reverts commit a8af467fad7e5fff71643a3d6f2d06ac4f637e66.

This was a follow-on to 97572c1860efeeb97b5940927cee72081b61810a which was me
trying to guess why the ubuntu bots were failing with an entirely unhelpful
failure mode.  I'll have to figure out how I can reproduce this somewhere so
I can look at it for real.
DeltaFile
+1-14lldb/include/lldb/Target/Process.h
+1-141 files

LLVM/project c969b5flldb/test/API/python_api/run_locker TestRunLocker.py

Revert "Skip some tests on Windows.  They were already expected fail and"

This reverts commit 894408ded44151e4e34a3402210f671355d66310.

These tests were added by 97572c1860efeeb97b5940927cee72081b61810a
and I am reverting that as well.
DeltaFile
+2-3lldb/test/API/python_api/run_locker/TestRunLocker.py
+2-31 files

FreeNAS/freenas 25e0f71src/middlewared/middlewared/plugins/filesystem_ utils.py

Address review
DeltaFile
+6-1src/middlewared/middlewared/plugins/filesystem_/utils.py
+6-11 files

LLVM/project f8087adclang/lib/CodeGen/TargetBuiltins AMDGPU.cpp

typo
DeltaFile
+1-1clang/lib/CodeGen/TargetBuiltins/AMDGPU.cpp
+1-11 files

FreeBSD/src 9cea0f0share/mk bsd.linker.mk

bsd.linker.mk: Retire support for binutils 2.17.50

GNU binutils 2.17.50 is the last GPLv2 version, and we retained support
in FreeBSD while it was part of the in-tree toolchain.  The last parts
of binutils 2.17.50 were removed in commit 74e8d41e0ac8 ("Retire
BINUTILS and BINUTILS_BOOTSTRAP options") and there is no longer a need
for the build infrastructure.

We retain build-id and ifunc in LINKER_FEATURES unconditionally for now,
as they may be tested by 3rd-party Makefiles.  We can however stop
testing for them in the tree.

Reviewed by:    imp
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D55674
DeltaFile
+1-3share/mk/bsd.linker.mk
+1-31 files

FreeNAS/freenas 325f0f7src/middlewared/middlewared/plugins/zpool query_impl.py crud.py

clean up
DeltaFile
+21-36src/middlewared/middlewared/plugins/zpool/query_impl.py
+2-2src/middlewared/middlewared/plugins/zpool/crud.py
+23-382 files

FreeBSD/src a1789fasys/netinet6 in6_pcb.c

netinet6: Remove support for connecting to IN6ADDR_ANY

RFC4291 section 2.5.2:
    The unspecified address must not be used as the destination address
    of IPv6 packets or in IPv6 Routing headers.  An IPv6 packet with a
    source address of unspecified must never be forwarded by an IPv6
    router.

We disallowed connections to IN6ADDR_ANY by default, as of commit
627e126dbb07 ("netinet6: Disallow connections to IN6ADDR_ANY").  As this
is actually disallowed by the RFC, just remove the support.

Reported by:    bz (in D54306)
Reviewed by:    bz, glebius
Relnotes:       yes
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D54942
DeltaFile
+2-17sys/netinet6/in6_pcb.c
+2-171 files

FreeBSD/ports 1cf74f1math/octave-forge-datatypes distinfo Makefile

math/octave-forge-datatypes: Update to 1.2.0.
DeltaFile
+3-3math/octave-forge-datatypes/distinfo
+1-1math/octave-forge-datatypes/Makefile
+4-42 files

LLVM/project 4717366clang/lib/CodeGen/TargetBuiltins AMDGPU.cpp, clang/test/CodeGen amdgpu-abi-version.c

clang/AMDGPU: Do not emit __oclc_ABI_version references with environment

Assume a sufficently new code object version if the environment is set to
something indicating we should have a real library.
DeltaFile
+39-20clang/test/CodeGen/amdgpu-abi-version.c
+5-0clang/lib/CodeGen/TargetBuiltins/AMDGPU.cpp
+44-202 files

LLVM/project 753b81cclang-tools-extra/clang-doc Serialize.cpp Serialize.h, clang-tools-extra/clang-doc/benchmarks ClangDocBenchmark.cpp

[clang-doc] Introduce Serializer class

Serialization has mostly been done with static functions, but soon we
will need to share state, like alocator references. To avoid blowing up
our parameter lists, we can just wrap the local functions within a
class.
DeltaFile
+106-110clang-tools-extra/clang-doc/Serialize.cpp
+141-39clang-tools-extra/clang-doc/Serialize.h
+2-1clang-tools-extra/clang-doc/benchmarks/ClangDocBenchmark.cpp
+2-1clang-tools-extra/unittests/clang-doc/SerializeTest.cpp
+2-1clang-tools-extra/clang-doc/Mapper.cpp
+253-1525 files

LLVM/project f115e9cclang-tools-extra/clang-doc Representation.h Representation.cpp, clang-tools-extra/clang-doc/tool ClangDocMain.cpp

[clang-doc] Introduce type alias for OwningPtrVec/Array

We commonly have vectors/arrays of owned pointers. This should simplify
future refactoring when switching to arena allocation.
DeltaFile
+8-8clang-tools-extra/unittests/clang-doc/BitcodeTest.cpp
+10-2clang-tools-extra/clang-doc/Representation.h
+4-4clang-tools-extra/unittests/clang-doc/MergeTest.cpp
+2-3clang-tools-extra/clang-doc/Representation.cpp
+2-3clang-tools-extra/clang-doc/BitcodeReader.cpp
+1-1clang-tools-extra/clang-doc/tool/ClangDocMain.cpp
+27-213 files not shown
+30-249 files

LLVM/project 97b9567clang-tools-extra/clang-doc Serialize.cpp Representation.h, clang-tools-extra/clang-doc/benchmarks ClangDocBenchmark.cpp

[clang-doc] Introduce abstractions for pointer operations

Since we're migrating from std::unique_ptr to raw pointers via
arena allocation, we want to have some interfaces that abstract
these operations away, and can be changed to keep the system working
without introducing a lot of unnecessary chrun in the code.
DeltaFile
+12-12clang-tools-extra/clang-doc/Serialize.cpp
+11-0clang-tools-extra/clang-doc/Representation.h
+4-4clang-tools-extra/clang-doc/BitcodeReader.cpp
+4-4clang-tools-extra/clang-doc/benchmarks/ClangDocBenchmark.cpp
+3-3clang-tools-extra/clang-doc/tool/ClangDocMain.cpp
+3-3clang-tools-extra/clang-doc/Representation.cpp
+37-263 files not shown
+40-299 files

LLVM/project f230877clang-tools-extra/clang-doc Representation.h

[clang-doc][NFC] Introduce Vector and Array abstractions

Introduce OwningVec and OwningArray aliases for vector types we want to
eventually update for arena allocations.
DeltaFile
+24-16clang-tools-extra/clang-doc/Representation.h
+24-161 files

Linux/linux 5ee8dbffs/verity Kconfig

Merge tag 'fsverity-for-linus' of git://git.kernel.org/pub/scm/fs/fsverity/linux

Pull fsverity fix from Eric Biggers:
 "Prevent CONFIG_FS_VERITY from being enabled when the page size is
  256K, since it doesn't work in that case"

* tag 'fsverity-for-linus' of git://git.kernel.org/pub/scm/fs/fsverity/linux:
  fsverity: add dependency on 64K or smaller pages
DeltaFile
+3-0fs/verity/Kconfig
+3-01 files

LLVM/project 4e9275fclang-tools-extra/clang-doc Serialize.cpp Serialize.h, clang-tools-extra/clang-doc/benchmarks ClangDocBenchmark.cpp

[clang-doc][NFC] Introduce OwnedPtr abstraction

Eventually, we want clang-doc to support arena allocation, but the
widespread use of owning pointers in the data types prevents this.
Rather than have wide scale refactoring, we can introduce a type alias
that can be swapped out atomically to switch from smart pointers to raw
pointers. This is the first of several refactorings that are intended to
make the transition simpler.
DeltaFile
+39-30clang-tools-extra/clang-doc/Serialize.cpp
+38-29clang-tools-extra/clang-doc/Serialize.h
+6-7clang-tools-extra/clang-doc/BitcodeReader.cpp
+7-3clang-tools-extra/clang-doc/Representation.h
+4-5clang-tools-extra/clang-doc/Representation.cpp
+4-4clang-tools-extra/clang-doc/benchmarks/ClangDocBenchmark.cpp
+98-7810 files not shown
+119-10016 files

Linux/linux 6a42ff3crypto Kconfig testmgr.c, include/kunit run-in-irq-context.h

Merge tag 'libcrypto-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux

Pull crypto library fixes from Eric Biggers:

 - Several test fixes:

    - Fix flakiness in the interrupt context tests in certain VMs

    - Make the lib/crypto/ KUnit tests depend on the corresponding
      library options rather than selecting them. This follows the
      standard KUnit convention, and it fixes an issue where enabling
      CONFIG_KUNIT_ALL_TESTS pulled in all the crypto library code

    - Add a kunitconfig file for lib/crypto/

    - Fix a couple stale references to "aes-generic" that made it in
      concurrently with the rename to "aes-lib"

 - Update the help text for several CRYPTO kconfig options to remove

    [12 lines not shown]
DeltaFile
+28-16include/kunit/run-in-irq-context.h
+12-23lib/crypto/tests/Kconfig
+34-0lib/crypto/.kunitconfig
+0-9crypto/Kconfig
+2-2crypto/testmgr.c
+76-505 files

LLVM/project d679178flang/include/flang/Parser openmp-utils.h, flang/lib/Lower/OpenMP Utils.cpp

[flang][OpenMP] Implement utility to locate OmpClause in ODS, NFC

Simplify looking for a specific clause in OmpDirectiveSpecification.
This is alternative to DirectiveStructureChecker::FindClause for when
the internal checker structures have not yet been updated in the AST
traversal.
DeltaFile
+31-40flang/lib/Semantics/check-omp-loop.cpp
+4-14flang/lib/Semantics/check-omp-structure.cpp
+3-7flang/lib/Lower/OpenMP/Utils.cpp
+10-0flang/lib/Parser/openmp-utils.cpp
+2-6flang/lib/Parser/parse-tree.cpp
+3-0flang/include/flang/Parser/openmp-utils.h
+53-676 files

FreeNAS/freenas 2505bd0src/middlewared/middlewared/utils mount.py

filter out snapshots from iter_mountinfo

This commit adds a non-default parameter to include ZFS
snapshots in iter_mountinfo results. It fixes a bug whereby
automounted snapshots could accidentally leak into mount
info results causing logic relying on this to potentially
walk into snapshot directories. Heuristic is to check
whether source filesystem has an @ character and is ZFS
in order to positively identify snapshots vs other
filesystems. One impact of this heuristic is that users
manually mounting snapshots into normal filesystem paths
will have the snapshot excluded from results. I think
this is probably the correct solution, but one we can
revisit if needed.
DeltaFile
+38-3src/middlewared/middlewared/utils/mount.py
+38-31 files

Linux/linux 3988716drivers/acpi device_pm.c, drivers/acpi/acpica acpredef.h

Merge tag 'acpi-7.0-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm

Pull ACPI support fixes from Rafael Wysocki:

 - Revert a commit related to ACPI device power management that was
   not supposed to make any functional difference, but it did so and
   introduced a regression (Rafael Wysocki)

 - Update the _CPC object definition in ACPICA to match ACPI 6.6 and
   prevent the kernel from printing a false-positive warning regarding
   _CPC output package format on platforms shipping with firmware based
   on ACPI 6.6 (Saket Dumbre)

* tag 'acpi-7.0-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
  Revert "ACPI: PM: Let acpi_dev_pm_attach() skip devices without ACPI PM"
  ACPICA: Update the _CPC definition to match ACPI 6.6
DeltaFile
+0-9drivers/acpi/device_pm.c
+3-2drivers/acpi/acpica/acpredef.h
+3-112 files

LLVM/project 66c186bllvm/lib/Target/AArch64 AArch64ISelLowering.cpp, llvm/test/CodeGen/AArch64 sve-sext-zext.ll

[AArch64] Fix sign-extend-inreg combine for i1 types (#177976)

This fixes https://github.com/llvm/llvm-project/issues/177925

(cherry picked from commit ffb7a9f0ec80d5b12aa440d8446d2379827100f4)
DeltaFile
+28-0llvm/test/CodeGen/AArch64/sve-sext-zext.ll
+3-3llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+31-32 files

FreeNAS/freenas 95a8d3asrc/middlewared/middlewared/plugins/filesystem_ acl.py

Prevent setting recurse without traverse

(cherry picked from commit e96e4c38e6619f89f53de8d470b927997a922103)
DeltaFile
+6-0src/middlewared/middlewared/plugins/filesystem_/acl.py
+6-01 files

FreeNAS/freenas a085424src/middlewared/middlewared/plugins/filesystem_ acl.py, tests/api2 test_filesystem_setacl.py test_427_smb_acl.py

Add ACL traverse validation

This commit adds validation to prevent people from trying to
traverse ACL changes to child datasets if the children have
different ACL types on them (there's no way to apply a POSIX
ACL to an NFS4 ACL dataset or a dataset where ACL is disabled).

Some test tweaks are opportunistically added to help test runtime.

(cherry picked from commit f71cc1184fcf09828d9ab255ceec8ee8d50276bf)
DeltaFile
+126-6tests/api2/test_filesystem_setacl.py
+41-1src/middlewared/middlewared/plugins/filesystem_/acl.py
+4-4tests/api2/test_427_smb_acl.py
+4-4tests/api2/test_acl_by_who.py
+2-1tests/api2/test_011_user.py
+2-1tests/api2/test_user_create_dir.py
+179-172 files not shown
+181-198 files

FreeNAS/freenas 9f2c1b8tests/api2 test_filesystem_setacl.py

Fix test

(cherry picked from commit 0883fdebd88c6b4561da6d3524b040e19bf29e07)
DeltaFile
+2-0tests/api2/test_filesystem_setacl.py
+2-01 files

FreeNAS/freenas 480473esrc/middlewared/middlewared/plugins/filesystem_ acl.py, tests/api2 test_filesystem_setacl.py test_427_smb_acl.py

NAS-140122 / 27.0.0-BETA.1 / Add ACL traverse validation (#18352)

This commit adds validation to prevent people from trying to traverse
ACL changes to child datasets if the children have different ACL types
on them (there's no way to apply a POSIX ACL to an NFS4 ACL dataset or a
dataset where ACL is disabled).

Some test tweaks are opportunistically added to help test runtime.
DeltaFile
+128-6tests/api2/test_filesystem_setacl.py
+47-1src/middlewared/middlewared/plugins/filesystem_/acl.py
+4-4tests/api2/test_427_smb_acl.py
+4-4tests/api2/test_acl_by_who.py
+2-1tests/api2/test_user_create_dir.py
+2-1tests/api2/test_011_user.py
+187-172 files not shown
+189-198 files