[libc] Fix atexit_test in hermetic mode (#210656)
We never unlocked the ThreadAtExit mutex, which meant the second call to
exit deadlocked. This was detected in the unit tests as they were
calling __cxa_thread_atexit from the system C library.
[ASan] Instrument ptrtoaddr as pointer difference (#211988)
We want to emit ptrtoaddr instead of ptrtoint for pointer differences to
not expose the provenance. Adjust ASan instrumentation to handle this
case as well.
[SampleProfile] Fix symbol partitioning in Eytzinger name table (#211906)
This patch fixes the symbol partitioning between context-sensitive
and flat profiles in writeEytzingerNameTableSection.
In split-layout profiles, top-level symbols in the Eytzinger name
table are partitioned into two bins -- context-sensitive and flat keys
-- so that they form parallel arrays with function offsets.
Without this patch, writeEytzingerNameTableSection uses:
if (Ctx.hasContext())
to decide which bin to use even though splitProfileMapToTwo uses:
if (!I.second.getCallsiteSamples().empty())
to partition the profile. This difference causes certain symbols to
be classified into FlatKeys in the name table but into
[13 lines not shown]
[libc++] Implement P0528R3 `std::atomic` CAS for types with padding (#76180)
Fixes #99984
Implement P0528R3 The Curious Case of Padding Bits, Featuring Atomic
Compare-and-Exchange
The unit test padding.pass.cpp is assisted by Cursor. However, all tests
have been modified to test what I wanted to test
---------
Co-authored-by: Louis Dionne <ldionne.2 at gmail.com>
[CIR][OpenCL] Attach kernel argument metadata to CIR functions
Emit the CIR OpenCL kernel argument metadata attribute for kernel functions. Preserve CIR language address-space kinds until lowering and include argument names only when `-cl-kernel-arg-info` is enabled.
AMDGPU: Declare FeatureDPP with AMDGPUSubtargetFeature (#212408)
All other features were defined using the AMDGPUSubtargetFeature
subclass of SubtargetFeature, so fix the odd one out.
[Clang] Implement P3658R1 (#212131)
As a DR in all C++ language modes.
Because we already supported the feature this is only modifying the
extensions warnings.
tcp_bblog.4: Add a manual page for TCP Blackbox Logging
The tcp_bblog facility provides structured logging of TCP stack activity
for debugging and performance analysis. It is implemented in the kernel
and allows per-connection tracing of TCP events with low overhead.
Reviewed by: tuexen, ziaee
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D56252
(cherry picked from commit 62e22d7cfc1ca1c25bede6aaeca370c163a9a1ef)
AMDGPU: Declare FeatureDPP with AMDGPUSubtargetFeature
All other features were defined using the AMDGPUSubtargetFeature subclass
of SubtargetFeature, so fix the odd one out.
Revert "[RISCV] Add TuneNoDefaultUnroll to generic CPUs (#135318)" (#212400)
This reverts commit 9c5858eb699390c2cac5f7f032279be275fa6aef which
causes some regressions.
biology/diamond: Update to 2.2.3
As part of the update, patch a build failure due to a missing #include
<unistd.h>.
Release notes: https://github.com/bbuchfink/diamond/releases/tag/v2.2.3
Sponsored by: The FreeBSD Foundation
www/elinks: Update to 0.20.0
Changelog: https://github.com/rkd77/elinks/releases/tag/v0.20.0
* bump mozjs to 140
* switch from quickjs to quickjs-ng
* Added color "default" in colors settings (\e[39m and \e[49m sequences)
* support for SVG #423
* infinite loop in mailcap code #425
* Use /usr/bin/env to determine awk interpreter path for awk example scripts #426
* skip DNS lookup for local files which have empty hostname #428
* check declaration of fgets_unlocked for bionic libc #429
* fix parallel build race #431
* added document.browse.sorting_type (and let sort "numerically", for example kernel versions)
* increase max number of concurrent connections
* extend document.browse.images.display_style, adding value -1 (no text)
* apply libcss twice (similar to elinks css implementation)
* refresh-view, set-mark, goto-mark and onload-oneshot actions for exmode #220
* back to smb based on smbclient binary
[3 lines not shown]
AMDGPU: Handle more TargetParser queries in tablegen
Previously we had various enum switches. Start generated tables
indexed by enums. Avoid some special cases by defining the dummy
"generic" and "generic-hsa" targets as real processors.
Co-authored-by: Claude (Claude-Opus-4.8)
AMDGPU: Generate TargetParser table from TableGen
Migrate .def file to tablegen. The initial TargetParser
AMDGPU backend only handled R600. Extend to modern targets.
Stub out some tablegen definitions which will be used in future
changes.
Co-authored-by: Claude (Claude-Opus-4.8)
[mlir][OpenACC] Lower single-block thread-only array reductions (#212369)
Example:
```fortran
!$acc parallel loop vector reduction(+:b)
do i = 1, n
b(i) = i
end do
```
In this code the array reduction is thread(vector)-only with no
gang/block launch dim, so a within-block `all_reduce` is a complete
reduction. ACCCGToGPU still rejected it as NYI because the accumulate
had no block context.
Fix: keep the NYI only when the region actually launches block
dimensions; allow the existing per-element `all_reduce` path for
single-block thread-only array accumulates.