FreeBSD/src 4ba444dsys/rpc clnt_vc.c

krpc: Ref cnt the client structures for TLS upcalls

A crash occurred during testing, where the client structures had
already been free'd when the upcall thread tried to lock them.

This patch acquires a reference count on both of the structures
and these are released when the upcall is done, so that the
structures cannot be free'd prematurely.  This happened because
the testing is done over a very slow vpn.

Found during a IETF bakeathon testing event this week.

MFC after:      5 days
DeltaFile
+8-2sys/rpc/clnt_vc.c
+8-21 files

LLVM/project f93e4eelibcxx/test/libcxx/transitive_includes cxx20.csv

add "chrono new" into cxx20.csv
DeltaFile
+1-0libcxx/test/libcxx/transitive_includes/cxx20.csv
+1-01 files

FreeBSD/ports 9476d3edevel/got Makefile

devel/got: requires pkgconfig

Reported by:    Tomoaki AOKI
DeltaFile
+1-1devel/got/Makefile
+1-11 files

LLVM/project 2e5035aclang/lib/Driver/ToolChains Darwin.cpp, clang/test/AST ast-dump-stmt-json.cpp

Revert "[clang] Enable sized deallocation by default in C++14 onwards (#83774)" (#90299)

https://lab.llvm.org/buildbot/#/builders/168/builds/20063 (should be
fixed with #90292)

More details in #83774

This reverts commit cf5a8b489464d09dfdd7a48ce7c8b41d3c9bf819.
DeltaFile
+3-241clang/test/AST/ast-dump-stmt-json.cpp
+0-59clang/tools/clang-repl/CMakeLists.txt
+0-59clang/unittests/Interpreter/CMakeLists.txt
+3-55clang/lib/Driver/ToolChains/Darwin.cpp
+10-10clang/test/Lexer/cxx-features.cpp
+8-9clang/test/CXX/drs/cwg292.cpp
+24-43336 files not shown
+113-55542 files

HardenedBSD/src 877bd4elib/libgcc_s Symbol.map Versions.def

Merge branch 'freebsd/14-stable/main' into hardened/14-stable/master
DeltaFile
+6-0lib/libgcc_s/Symbol.map
+3-0lib/libgcc_s/Versions.def
+9-02 files

HardenedBSD/ports fb7091baudio/audacity distinfo Makefile, devel/aws-c-mqtt distinfo

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+20-9devel/llvm-devel/pkg-plist
+3-5audio/audacity/distinfo
+3-3shells/xonsh/distinfo
+1-5audio/audacity/Makefile
+3-3devel/aws-c-mqtt/distinfo
+3-3devel/llvm-devel/distinfo
+33-288 files not shown
+48-4314 files

LLVM/project 6dbaa89clang/lib/Format ContinuationIndenter.cpp, clang/unittests/Format FormatTestComments.cpp

[clang-format] Fix a regression in ContinuationIndenter (#88414)

Commit d06b92391513 caused a regression that breaks after a block
comment adjacent to a function paramter that follows.

Fixes #86573.

(cherry picked from commit d61edecbfd099143e0e2617505fec921524938f8)
DeltaFile
+7-1clang/lib/Format/ContinuationIndenter.cpp
+4-0clang/unittests/Format/FormatTestComments.cpp
+11-12 files

LLVM/project 51ff7f3clang/lib/Format TokenAnnotator.cpp, clang/unittests/Format TokenAnnotatorTest.cpp

[clang-format] Fix a regression in annotating TrailingReturnArrow (#86624)

Fixes #86559.

(cherry picked from commit a7f4576ff4e296ff42b16d9d91aadf82b5ea325c)
DeltaFile
+4-0clang/unittests/Format/TokenAnnotatorTest.cpp
+2-0clang/lib/Format/TokenAnnotator.cpp
+6-02 files

LLVM/project b4c0a3fclang/lib/Driver/ToolChains Darwin.cpp, clang/test/AST ast-dump-stmt-json.cpp

[𝘀𝗽𝗿] initial version

Created using spr 1.3.4
DeltaFile
+3-241clang/test/AST/ast-dump-stmt-json.cpp
+0-59clang/unittests/Interpreter/CMakeLists.txt
+0-59clang/tools/clang-repl/CMakeLists.txt
+3-55clang/lib/Driver/ToolChains/Darwin.cpp
+10-10clang/test/Lexer/cxx-features.cpp
+8-9clang/test/CXX/drs/cwg292.cpp
+24-43336 files not shown
+113-55542 files

LLVM/project 9487faelibcxx/include/__utility no_destroy.h

Update no_destroy.h
DeltaFile
+1-0libcxx/include/__utility/no_destroy.h
+1-01 files

LLVM/project 3ec858bbolt/lib/Rewrite RewriteInstance.cpp

[BOLT] Refactor patchELFPHDRTable() (#90290)

Mostly NFC accept for one assertion that was converted into an error.
DeltaFile
+56-49bolt/lib/Rewrite/RewriteInstance.cpp
+56-491 files

LLVM/project ad2816ellvm/tools/llvm-exegesis/lib SubprocessMemory.cpp

[llvm-exegesis] Use const reference for range variable

In the SubprocessMemory destructor, I was using a normal std::string to
hold the name of the current shared memory name, but a const reference
works just as well in this situation while having better performance
characteristics.

Fixes #90289
DeltaFile
+1-1llvm/tools/llvm-exegesis/lib/SubprocessMemory.cpp
+1-11 files

LLVM/project 5569c21llvm/lib/Target/RISCV/Disassembler RISCVDisassembler.cpp

[RISCV] Split RISCVDisassembler::getInstruction into a 16-bit and 32-bit version. (#90254)

This reduces nesting of the common 32-bit case and makes it easier to
add longer instruction lengths in the future.
DeltaFile
+119-99llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
+119-991 files

LLVM/project 176ab5ellvm/tools/llvm-lto2 llvm-lto2.cpp

[llvm-lto2] Simplify SymbolResolutions loop and avoid expensive std::string copy. NFC
DeltaFile
+3-4llvm/tools/llvm-lto2/llvm-lto2.cpp
+3-41 files

NetBSD/pkgsrc dhmNZ8Mwww/py-autobahn Makefile

   py-autobahn: remove -march=native to hopefully fix build on arm
VersionDeltaFile
1.40+3-1www/py-autobahn/Makefile
+3-11 files

LLVM/project 8cf0f9allvm/lib/Transforms/Instrumentation MemorySanitizer.cpp, llvm/test/Instrumentation/MemorySanitizer vscale.ll

[msan] Add conservative handling of vscale params (#90167)

Msan uses `__msan_param_tls` to pass shadow of
arguments. Position of arguments is expected to be
available during compile time, if size of the
argument is know. This is not true for vscale.

As work around we require that vscale parameters
are always initialized, then we don't need to pass
shadow.

Ret val should work out of the box as we don't
need to know size compile time.
DeltaFile
+81-0llvm/test/Instrumentation/MemorySanitizer/vscale.ll
+17-2llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
+98-22 files

LLVM/project eb3030allvm/lib/Target/AArch64/GISel AArch64LegalizerInfo.cpp, llvm/test/CodeGen/AArch64/GlobalISel legalize-bitcast.mir

[AArch64][GlobalISel] Fix legalizer crash trying to legalize <16 x i32> = G_BITCAST i512

Trying to do fewerElements on this results in an assert.

rdar://126373053
DeltaFile
+50-0llvm/test/CodeGen/AArch64/GlobalISel/legalize-bitcast.mir
+3-0llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
+53-02 files

LLVM/project acd61a4libcxx/test/libcxx/utilities no_destroy.pass.cpp

Inline test
DeltaFile
+2-3libcxx/test/libcxx/utilities/no_destroy.pass.cpp
+2-31 files

LLVM/project 9d18805libcxx/include/__utility no_destroy.h, libcxx/test/libcxx/utilities no_destroy.pass.cpp

[libcxx] Remove empty ~__no_destroy

Primary motivation is that after #84651 msan will
complain if fields accessed after ~__no_destroy.

Previously msan assumed that __obj_ will have own
destructor, were we will poison the field, but it never
happened before.

After #84651 msan will complain on any field access
after `~__no_destroy`.

As is Msan does validate fields destruction order for
classes with trivial destructor.

Additionally empty destructor will register __cxa_atexit with -O0.
https://gcc.godbolt.org/z/hce587b65

We can not remove the destructor with union where

    [9 lines not shown]
DeltaFile
+11-20libcxx/include/__utility/no_destroy.h
+28-0libcxx/test/libcxx/utilities/no_destroy.pass.cpp
+39-202 files

LLVM/project 5487aaflibcxx/test/libcxx/utilities no_destroy.pass.cpp

reorder test
DeltaFile
+5-6libcxx/test/libcxx/utilities/no_destroy.pass.cpp
+5-61 files

LLVM/project ac1587blibcxx/include/__utility no_destroy.h

Remove "unsigned"
DeltaFile
+1-1libcxx/include/__utility/no_destroy.h
+1-11 files

LLVM/project 15239a6libcxx/include/__utility no_destroy.h, libcxx/test/libcxx/utilities no_destroy.pass.cpp

Move field initialized and add constinit test
DeltaFile
+5-0libcxx/test/libcxx/utilities/no_destroy.pass.cpp
+2-2libcxx/include/__utility/no_destroy.h
+7-22 files

LLVM/project 0ca8e7cllvm/include/llvm/BinaryFormat ELF.h, llvm/lib/BinaryFormat ELF.cpp

.

Created using spr 1.3.5-bogner
DeltaFile
+11-11llvm/unittests/BinaryFormat/ELFTest.cpp
+5-4llvm/include/llvm/BinaryFormat/ELF.h
+3-4llvm/lib/BinaryFormat/ELF.cpp
+19-193 files

NetBSD/src L3589HXusr.sbin/crash Makefile

   Add ${TOOL_DATE} (Jan-Benedict Glaw)
VersionDeltaFile
1.51+2-2usr.sbin/crash/Makefile
+2-21 files

LLVM/project 80984d1libcxx/include/__utility no_destroy.h

[𝘀𝗽𝗿] initial version

Created using spr 1.3.4
DeltaFile
+1-0libcxx/include/__utility/no_destroy.h
+1-01 files

LLVM/project fefac5dcompiler-rt/test/asan/TestCases/Darwin odr-lto.cpp

[ASan][Test] Remove hardcoded linker version from test (#90147)

This is not needed as the correct linker version is detected at
configure time and passed to all tests on Darwin.

rdar://125052667
DeltaFile
+1-1compiler-rt/test/asan/TestCases/Darwin/odr-lto.cpp
+1-11 files

FreeNAS/freenas 5ea3c14src/middlewared/middlewared/plugins/iscsi_ targets.py

When updating an iSCSI target reset live target parameters if needed
DeltaFile
+15-1src/middlewared/middlewared/plugins/iscsi_/targets.py
+15-11 files

FreeNAS/freenas 42dee16src/middlewared/middlewared/plugins/iscsi_ scst.py

Add private API iscsi.scst.reset_target_parameter
DeltaFile
+22-0src/middlewared/middlewared/plugins/iscsi_/scst.py
+22-01 files

FreeNAS/freenas 84a2916src/middlewared/middlewared/etc_files scst.conf.mako, src/middlewared/middlewared/plugins/iscsi_ targets.py

Add various iSCSI target parameters as options
DeltaFile
+43-0src/middlewared/middlewared/plugins/iscsi_/targets.py
+6-0src/middlewared/middlewared/etc_files/scst.conf.mako
+49-02 files

Linux/linux 5eb4573arch/arm64/boot/dts/mediatek mt8195-cherry.dtsi mt7622.dtsi, arch/arm64/boot/dts/rockchip rk3399-puma.dtsi

Merge tag 'soc-fixes-6.9-2' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc

Pull ARM SoC fixes from Arnd Bergmann:
 "There are a lot of minor DT fixes for Mediatek, Rockchip, Qualcomm and
  Microchip and NXP, addressing both build-time warnings and bugs found
  during runtime testing.

  Most of these changes are machine specific fixups, but there are a few
  notable regressions that affect an entire SoC:

   - The Qualcomm MSI support that was improved for 6.9 ended up being
     wrong on some chips and now gets fixed.

   - The i.MX8MP camera interface broke due to a typo and gets updated
     again.

  The main driver fix is also for Qualcomm platforms, rewriting an
  interface in the QSEECOM firmware support that could lead to crashing
  the kernel from a trusted application.

    [25 lines not shown]
DeltaFile
+91-46drivers/firmware/qcom/qcom_qseecom_uefisecapp.c
+51-4include/linux/firmware/qcom/qcom_qseecom.h
+47-6arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi
+6-31drivers/firmware/qcom/qcom_scm.c
+34-2arch/arm64/boot/dts/mediatek/mt8195-cherry.dtsi
+14-20arch/arm64/boot/dts/mediatek/mt7622.dtsi
+243-10938 files not shown
+331-19344 files