LLVM/project 668df40libc/src/__support common.h, libc/src/string/memory_utils/aarch64 inline_memcpy.h

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+21-21libc/src/string/memory_utils/x86_64/inline_memcpy.h
+16-12libc/src/string/memory_utils/arm/inline_memcpy.h
+10-7libc/src/string/memory_utils/generic/aligned_access.h
+10-1libc/src/__support/common.h
+5-3libc/src/string/memory_utils/aarch64/inline_memcpy.h
+3-4libc/src/string/memory_utils/generic/byte_per_byte.h
+65-485 files not shown
+83-5711 files

LLVM/project 6470314llvm/include/llvm/DWARFLinker AddressesMap.h, llvm/lib/DWARFLinker/Classic DWARFLinker.cpp

[DWARFLinker] Constrain a function's high_pc to its own symbol

Mach-O objects built with .subsections_via_symbols make every symbol an
independently placeable atom, and the linker packs atoms without
preserving the spacing they had in the object file.

I have an example where the compiler describes such a subprogram as
extending past its own atom. While it's debatable whether that's a good
idea, it's not invalid in the object file. However, once linked, it is
invalid.

We can make dsymutil resilient against this by looking at the size of
the symbol in the debug map and adjusting the end_pc. I'm doing so
conservatively so that only a collision is repaired. Already
overlapping/invalid ranges remain untouched.

rdar://184768778
DeltaFile
+76-0llvm/test/tools/dsymutil/Inputs/subprogram-high-pc-past-symbol.s
+72-0llvm/test/tools/dsymutil/Inputs/subprogram-high-pc-past-symbol-dwarf2.s
+57-0llvm/test/tools/dsymutil/subprogram-high-pc-past-symbol.test
+33-8llvm/include/llvm/DWARFLinker/AddressesMap.h
+25-6llvm/tools/dsymutil/DwarfLinkerForBinary.h
+21-2llvm/lib/DWARFLinker/Classic/DWARFLinker.cpp
+284-162 files not shown
+309-208 files

LLVM/project bcfd83flldb/source/Core DynamicLoader.cpp, lldb/source/Plugins/ObjectFile/Mach-O ObjectFileMachO.cpp

Address Jason's feedback
DeltaFile
+6-4lldb/source/Core/DynamicLoader.cpp
+3-2lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
+9-62 files

LLVM/project 9c90656lldb/include/lldb/Symbol SymbolLocator.h, lldb/source/Core DynamicLoader.cpp

[lldb] Search for a corefile's images before loading any of them

A userland or kernel corefile can list hundreds of images, and searching for
one can shell out to a symbol server or fetch over the network. Searching for
them one at a time is where loading such a corefile spends its time.

Add a batch form of SymbolLocator::Locate that runs the searches on the
debugger's thread pool, gated on target.parallel-module-load. Results come
back in the order the requests were given, since that order decides the
Target's module order. Only the results are ordered, and anything a search
reports to the user arrives in whatever order the searches finish in.

Only the plugin searches run concurrently, so a platform hook does not have to
be thread safe to take part, and reading a binary's UUID out of memory stays
on the calling thread.

Setting up a platform binary can replace the Target's platform and dynamic
loader, and now happens for every image before any of them is searched for, so
the platform a corefile asks for is the one all of its images are searched

    [4 lines not shown]
DeltaFile
+141-4lldb/unittests/Symbol/SymbolLocatorTest.cpp
+78-63lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
+76-11lldb/source/Symbol/SymbolLocator.cpp
+32-20lldb/source/Core/DynamicLoader.cpp
+25-0lldb/test/API/macosx/lc-note/multiple-binary-corefile/TestMultipleBinaryCorefile.py
+19-0lldb/include/lldb/Symbol/SymbolLocator.h
+371-986 files

LLVM/project 2317574llvm/include/llvm/ExecutionEngine/Orc/Shared OrcRTBridge.h, llvm/lib/ExecutionEngine/Orc/Shared OrcRTBridge.cpp

[ORC] Drop SimpleExecutorMemoryManagerSymbolNames struct (#216231)

Remove the SimpleExecutorMemoryManagerSymbolNames struct and the
orc_rt_SimpleNativeMemoryMapSPSSymbols global. The sps::MemMgr*CIName
constants in GenericMemoryManagerProxySpecs.h are now the single source
of truth for the SimpleNativeMemoryMap controller-interface names, used
by both the controller-side proxies and the executor-side
SimpleExecutorMemoryManager bootstrap registration (as
OrcRTBootstrap.cpp already does for the memory-access wrappers).

No functional change: the name strings are identical to those previously
held in orc_rt_SimpleNativeMemoryMapSPSSymbols.
DeltaFile
+0-15llvm/include/llvm/ExecutionEngine/Orc/Shared/OrcRTBridge.h
+8-6llvm/lib/ExecutionEngine/Orc/TargetProcess/SimpleExecutorMemoryManager.cpp
+7-6llvm/unittests/ExecutionEngine/Orc/EPCGenericJITLinkMemoryManagerTest.cpp
+0-9llvm/lib/ExecutionEngine/Orc/Shared/OrcRTBridge.cpp
+15-364 files

FreeBSD/ports 39cacf2devel/libgit2 Makefile distinfo

devel/libgit2: update to 1.9.7

Changes:        https://github.com/libgit2/libgit2/releases
(cherry picked from commit 265edfbeec88c7f67d81559b06fb1d51cfd63cdb)
DeltaFile
+3-3devel/libgit2/distinfo
+1-1devel/libgit2/Makefile
+4-42 files

FreeBSD/ports 265edfbdevel/libgit2 Makefile distinfo

devel/libgit2: update to 1.9.7

Changes:        https://github.com/libgit2/libgit2/releases
DeltaFile
+3-3devel/libgit2/distinfo
+1-1devel/libgit2/Makefile
+4-42 files

LLVM/project 4054122clang/docs/analyzer checkers.md, clang/docs/analyzer/developer-docs InitializerLists.md

[docs][clang] Finish MyST migration for analyzer docs
DeltaFile
+210-198clang/docs/analyzer/user-docs/Annotations.md
+32-33clang/docs/analyzer/developer-docs/InitializerLists.md
+21-22clang/docs/analyzer/user-docs/CommandLineUsage.md
+15-16clang/docs/analyzer/user-docs/CrossTranslationUnit.md
+12-13clang/docs/analyzer/checkers.md
+5-6clang/docs/analyzer/user-docs/UsingWithXCode.md
+295-2889 files not shown
+311-31315 files

LLVM/project 885e914llvm/test/CodeGen/AMDGPU amdgcn.bitcast.1024bit.ll, llvm/test/CodeGen/AMDGPU/GlobalISel legalize-load-private.mir legalize-load-local.mir

Merge branch 'main' into users/schrodingerzhu/libc-use-tlsf-freestore
DeltaFile
+10,726-10,582llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-global.mir
+13,767-6,856llvm/test/tools/llvm-mca/AArch64/Cortex/C1Nano-sve-instructions.s
+9,385-9,006llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+8,247-8,223llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-local.mir
+6,797-6,814llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-private.mir
+13,068-0llvm/test/CodeGen/RISCV/GlobalISel/atomicrmw-max-min-umax-umin.ll
+61,990-41,48118,054 files not shown
+1,136,473-690,03718,060 files

OpenBSD/src 8V4wAY5sys/dev/pci dwiic_pci.c

   match on Intel Wildcat Lake
VersionDeltaFile
1.36+7-1sys/dev/pci/dwiic_pci.c
+7-11 files

OpenBSD/src ZJZyZxRsys/dev/pci pcidevs.h pcidevs_data.h

   regen
VersionDeltaFile
1.2135+249-1sys/dev/pci/pcidevs_data.h
1.2140+63-1sys/dev/pci/pcidevs.h
+312-22 files

OpenBSD/src 2RS5VUssys/dev/pci pcidevs

   add Intel Wildcat Lake ids

   from:
   Intel Core Processor (Series 3)
   Datasheet, Volume 1 of 2, Doc. No.: 913965, Rev.: 001
VersionDeltaFile
1.2147+63-1sys/dev/pci/pcidevs
+63-11 files

OpenBSD/src XrMkUIQshare/man/man7 mdoc.7

   SPECIFICATINS SPECIFACTIONS -> SPECIFICATIONS
VersionDeltaFile
1.196+5-5share/man/man7/mdoc.7
+5-51 files

NetBSD/src UOqlNzUsys/arch/hb68k/wrap030 wrap030.dts

   Control portion of ATA is only 4 bytes.
VersionDeltaFile
1.4+1-1sys/arch/hb68k/wrap030/wrap030.dts
+1-11 files

NetBSD/src Walnx4rsys/kern kern_proc.c

   proc_vmspace_getref: Take p->p_lock around p->p_sflag access.

   Prompted by reviewing the locking rules in;

   PR kern/60568: panic locking against myself (p->p_lock) in NFS from
   sysctl_vmproc
VersionDeltaFile
1.286+29-8sys/kern/kern_proc.c
+29-81 files

NetBSD/src OSheefdsys/kern kern_proc.c

   sysctl kern.proc_args.*.cwd/pathname: Use p_reflock, not p_lock.

   - Avoid holding p_lock across copyout; this risks deadlock or panic
     if memory is exhausted and the uvm fault handler during copyout
     tries to deliver SIGKILL, which requires p_lock.

   - Avoid holding p_lock across vnode_to_path: this risks deadlock or
     panic if the file system, such as nfs, tries to check for pending
     signals, which requires p_lock.

   PR kern/60568: panic locking against myself (p->p_lock) in NFS from
   sysctl_vmproc
VersionDeltaFile
1.285+11-10sys/kern/kern_proc.c
+11-101 files

LLVM/project 8e50ac6llvm/include/llvm/ProfileData SampleProfWriter.h, llvm/lib/ProfileData SampleProfWriter.cpp

[ProfileData] Avoid magic layout indices in SampleProfileWriter (NFC) (#215981)

This patch removes hardcoded section layout indices in
SampleProfileWriterExtBinary in favor of finding the first unwritten
matching entry in SectionHdrLayout.

Previously, writeDefaultLayout and writeCtxSplitLayout passed magic
integer indices to writeOneSection to specify the position of each
section in SectionHdrLayout.

This patch introduces findUnwrittenEntry to dynamically look up the
matching unwritten section entry in SectionHdrLayout and determine its
ordinal among sections of the same type.  This allows
writeDefaultLayout and writeCtxSplitLayout to iterate over declarative
arrays of sections without magic indices, and allows removing the
index-based addSectionFlag overload.

Assisted-by: Antigravity
DeltaFile
+34-43llvm/lib/ProfileData/SampleProfWriter.cpp
+21-20llvm/include/llvm/ProfileData/SampleProfWriter.h
+55-632 files

LLVM/project 0a110d7llvm/include/llvm/ProfileData SampleProf.h, llvm/lib/ProfileData SampleProfWriter.cpp SampleProf.cpp

[ProfileData] Remove SampleSorter (NFC) (#215941)

This patch removes SampleSorter in favor of direct iteration over
BodySamples and CallsiteSamples.

Originally, BodySamples and CallsiteSamples used DenseMap.  Because
DenseMap does not guarantee iteration order, SampleSorter was
introduced to sort samples by LineLocation on demand when printing or
writing text profiles.

In December 2015, commit 10cf124bb920 switched BodySamples and
CallsiteSamples from DenseMap to std::map to reduce memory usage, but
SampleSorter was retained.  Since std::map is already ordered by
LineLocation, SampleSorter is redundant.

Assisted-by: Antigravity
DeltaFile
+45-0llvm/test/tools/llvm-profdata/sample-profile-sort.test
+0-23llvm/include/llvm/ProfileData/SampleProf.h
+13-0llvm/test/tools/llvm-profdata/Inputs/sample-profile-sort.proftext
+3-9llvm/lib/ProfileData/SampleProf.cpp
+2-9llvm/lib/ProfileData/SampleProfWriter.cpp
+63-415 files

NetBSD/src 0piloFOsys/uvm uvm_map.c

   sysctl vm.proc.*: Use p_reflock, not p_lock.

   - Avoid holding p_lock across copyout; this risks deadlock or panic
     if memory is exhausted and the uvm fault handler during copyout
     tries to deliver SIGKILL, which requires p_lock.

   - Avoid holding p_lock across vnode_to_path: this risks deadlock or
     panic if the file system, such as nfs, tries to check for pending
     signals, which requires p_lock.

   PR kern/60568: panic locking against myself (p->p_lock) in NFS from
   sysctl_vmproc
VersionDeltaFile
1.432+18-4sys/uvm/uvm_map.c
+18-41 files

NetBSD/src X0GGwXQsys/kern kern_proc.c, sys/sys proc.h

   kern: New function proc_find_reflocked.

   This is like proc_find_locked but returns with p_reflock held rather
   than p_lock.  Will be used to replace proc_find_locked in order to
   fix:

   PR kern/60568: panic locking against myself (p->p_lock) in NFS from
   sysctl_vmproc

   No modules currently use proc_find_locked or proc_find_reflocked, so
   there should be no module ABI compatibility issues here.
VersionDeltaFile
1.284+76-6sys/kern/kern_proc.c
1.374+3-1sys/sys/proc.h
+79-72 files

FreeBSD/ports 50f03f1devel/jjui Makefile distinfo

devel/jjui: Update to 0.10.9

Changelog:
- https://github.com/idursun/jjui/releases/tag/v0.10.7
- https://github.com/idursun/jjui/releases/tag/v0.10.8
- https://github.com/idursun/jjui/releases/tag/v0.10.9

PR:             297119
Reported by:    Herbert J. Skuhra <herbert at gojira.at>
Approved by:    Al Hoang <hoanga at gmail.com> (maintainer, timeout >2 weeks)
DeltaFile
+5-5devel/jjui/distinfo
+1-2devel/jjui/Makefile
+6-72 files

FreeBSD/ports e8f65e5Tools/scripts update-plist.py

Tools/scripts: add +x perms to update-plist.py
DeltaFile
+0-0Tools/scripts/update-plist.py
+0-01 files

LLVM/project 11377d6clang/docs Block-ABI-Apple.md Block-ABI-Apple.rst, clang/docs/CIR CleanupAndEHDesign.md CleanupAndEHDesign.rst

Merge rm-toc
DeltaFile
+0-2,671clang/docs/AutomaticReferenceCounting.rst
+2,588-0clang/docs/AutomaticReferenceCounting.md
+0-1,628clang/docs/CIR/CleanupAndEHDesign.rst
+1,598-0clang/docs/CIR/CleanupAndEHDesign.md
+0-941clang/docs/Block-ABI-Apple.rst
+917-0clang/docs/Block-ABI-Apple.md
+5,103-5,240295 files not shown
+23,421-11,410301 files

LLVM/project 5f33e4fllvm/lib/ProfileData InstrProf.cpp InstrProfReader.cpp, llvm/test/tools/llvm-profdata raw-magic-but-no-header.test misaligned-binary-ids-size.test

Reland "[Profile] Add a more descriptive message to the bad_header error" (#216230)

At the moment, the raw profile reader diagnoses different problem with
the same error message "invalid instrumentation profile data (file
header is corrupt)". On AIX, we had users report such problems thinking
it's a compiler bug, while the real problem was truncated profiles. The
particular case they hit was the condition

[here](https://github.com/llvm/llvm-project/blob/668803fa73bdf2f8d095162a1f81c000d18458c9/llvm/lib/ProfileData/InstrProfReader.cpp#L652):
```
Error RawInstrProfReader<IntPtrT>::readHeader(...) {
  ...
  if (Start + ValueDataOffset > DataBuffer->getBufferEnd())
    return error(instrprof_error::bad_header);
```
This could indicate a corrupted header (large garbage values for some
sections) or a truncated file.
I figured if we print the values and sizes we read in the header, it
will give the user more info.

    [16 lines not shown]
DeltaFile
+39-6llvm/lib/ProfileData/InstrProfReader.cpp
+44-0llvm/test/tools/llvm-profdata/truncated-profile.test
+15-5llvm/test/tools/llvm-profdata/insufficient-binary-ids-size.test
+2-2llvm/test/tools/llvm-profdata/misaligned-binary-ids-size.test
+4-0llvm/lib/ProfileData/InstrProf.cpp
+1-1llvm/test/tools/llvm-profdata/raw-magic-but-no-header.test
+105-141 files not shown
+106-147 files

LLVM/project b140b12clang/docs Block-ABI-Apple.md Block-ABI-Apple.rst, clang/docs/CIR CleanupAndEHDesign.md CleanupAndEHDesign.rst

Merge main
DeltaFile
+0-2,671clang/docs/AutomaticReferenceCounting.rst
+2,588-0clang/docs/AutomaticReferenceCounting.md
+0-1,628clang/docs/CIR/CleanupAndEHDesign.rst
+1,598-0clang/docs/CIR/CleanupAndEHDesign.md
+0-941clang/docs/Block-ABI-Apple.rst
+917-0clang/docs/Block-ABI-Apple.md
+5,103-5,240295 files not shown
+23,421-11,410301 files

LLVM/project ebaf063bolt/test/RISCV reloc-got.s

[BOLT][RISCV][NFC] Add a test for GOT references with a non-adjacent load (#215991)

The RISC-V psABI pairs the two halves of a PC-relative address through
the label that the %pcrel_lo relocation refers to, so the load holding
the low part does not have to follow the AUIPC directly.

Pin down the current behavior in that case. All three references name
the same symbol and should therefore resolve to the same GOT entry, but
only the first one does, because BOLT takes the low part from whatever
instruction follows the AUIPC: an unrelated ADDI in the second case, and
the terminator of the basic block in the third. The next commit fixes
this and updates the checks.
DeltaFile
+34-3bolt/test/RISCV/reloc-got.s
+34-31 files

FreeBSD/ports 2b1be43cad/librecad Makefile pkg-plist, cad/librecad/files patch-librecad_src_src.pro

cad/librecad: Update to 2.2.1.5

https://github.com/LibreCAD/LibreCAD/releases/tag/v2.2.1.4
https://github.com/LibreCAD/LibreCAD/releases/tag/v2.2.1.5
DeltaFile
+14-0cad/librecad/files/patch-librecad_src_src.pro
+3-3cad/librecad/distinfo
+3-2cad/librecad/pkg-plist
+1-1cad/librecad/Makefile
+21-64 files

LLVM/project 5e63f2cllvm/include/llvm/Transforms/Utils Local.h, llvm/lib/Transforms/Utils Local.cpp

[DebugInfo][NFC] Document debug record salvage (#215907)

Document the order salvageDebugInfoForDbgValues works in: a dbg.assign
address before its variable location, stop once a variable location
can't be salvaged, and kill every supplied record when none of them were
processed.

salvageDebugInfo is documented on both its declaration and its
definition, keep the header copy and update it.

No regressions on check-llvm.
DeltaFile
+13-6llvm/include/llvm/Transforms/Utils/Local.h
+6-5llvm/lib/Transforms/Utils/Local.cpp
+19-112 files

LLVM/project 26d1b4futils/bazel/llvm-project-overlay/mlir BUILD.bazel

[Bazel] Fixes 39f708b (#216214)

This fixes 39f708b2c66109308c779bea31cd073a77042234 (#211880).

Buildkite error link:
https://buildkite.com/llvm-project/upstream-bazel/builds?commit=39f708b2c66109308c779bea31cd073a77042234

Co-authored-by: Google Bazel Bot <google-bazel-bot at google.com>
DeltaFile
+1-0utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+1-01 files

LLVM/project e76d237llvm/include/llvm/ExecutionEngine/Orc EPCGenericJITLinkMemoryManager.h, llvm/include/llvm/ExecutionEngine/Orc/RTBridge/SPS GenericMemoryManagerProxySpecs.h

[ORC] Realign EPCGenericJITLinkMemoryManager Create API (#216216)

Bring EPCGenericJITLinkMemoryManager into alignment with
EPCGenericMemoryAccess and EPCGenericDylibManager: a Bindings
constructor plus static Create methods that build the bindings from the
ProxySpecs using the default controller-interface names.
Create(JITDylib&) resolves the SimpleNativeMemoryMap symbols in the
given JITDylib; Create(ExecutionSession&) uses the bootstrap JITDylib.
Clients targeting a different protocol can construct their own Bindings
directly.

This replaces the previous scheme where Create took a
SimpleExecutorMemoryManagerSymbolNames override.
DeltaFile
+26-34llvm/unittests/ExecutionEngine/Orc/EPCGenericJITLinkMemoryManagerTest.cpp
+13-20llvm/lib/ExecutionEngine/Orc/EPCGenericJITLinkMemoryManager.cpp
+8-10llvm/include/llvm/ExecutionEngine/Orc/EPCGenericJITLinkMemoryManager.h
+6-0llvm/include/llvm/ExecutionEngine/Orc/RTBridge/SPS/GenericMemoryManagerProxySpecs.h
+53-644 files