[clang] Simplify the overload resolution logic for operator new and new[]
This PR replaces the current spec-equivalent argument list mutation with
direct iteration of the correctly ordered set of argument lists for a
given allocation.
This adds a bit of architectural work around the argument list construction
but the overall effect is substantially simplified search of the overload
candidates
nushell: updated to 0.114.1
0.114.1
This patch release fixes issues found after enforce-runtime-annotations became
opt-out in the last version, improving runtime type checks and error reporting.
gflags: updated to 2.3.1
2.3.1
ci: Point test.yml at main instead of master
ci: Add GitHub Actions workflow to build with Bazel
bazel: Support QNX in Bazel and more Bazel 9 fixes
[MLIR][Python] Do not install ExecutionEngine wrapper when disabled (#211250)
The `_mlirExecutionEngine` extension is declared only when
`MLIR_ENABLE_EXECUTION_ENGINE` is enabled. However,
`execution_engine.py` and its type stub are currently added to the
Python package unconditionally.
This leaves an installed `mlir.execution_engine` module that fails
immediately when imported because its native extension is absent. It
also exposes a type stub for an unavailable API.
Making sure they're added only if `MLIR_ENABLE_EXECUTION_ENGINE` is
enabled.
[llvm-objdump] Factor the load command prologue into a shared function (#210881)
Move the repeated code to print cmd and cmdsize into a shared function.
[AMDGPU] Using feature to define vmem cacheline size (#207884)
Co-authored-by: shore <shorshen at amd.com>
Co-authored-by: Matt Arsenault <Matthew.Arsenault at amd.com>
[AllocToken] Fix typeContainsPointer for references, PMFs, blocks, ObjC pointers (#211349)
When evaluating whether an allocated type contains a pointer to generate
the alloc_token metadata, typeContainsPointer() previously only checked
for PointerType.
Expand typeContainsPointer() to check isAnyPointerType(),
isReferenceType(), isMemberFunctionPointerType(), and
isBlockPointerType().
appstream: updated to 1.1.4
1.1.4
Features:
* sysinfo: Assume a more modern display for the handset chassis template
* sysinfo: Assume a more modern display for the tablet chassis template
* sysinfo: Initial code to autodetect the display size on Wayland
* sysinfo: Handle fractional display scaling via xdg-output
* Implement support for GCVE as vulnerability database provider
* qt: Sync enum mirrors with the C library
* qt: Add Artifact, Checksum, Reference, Review and Agreement wrappers
* qt: Wrap missing C API on existing classes
* reviews: Add simple interface to fetch ODRS reviews for a component
* reviews: Implement support for submitting reviews
Specification:
* docs: Suggest using the longest display side for maximum size constraints
[12 lines not shown]
[libc] Add err.h to Linux public header target lists (#210995)
Add libc.include.err to TARGET_PUBLIC_HEADERS for Linux targets
(aarch64, arm, riscv, x86_64) so that err.h gets generated and
installed.
Assisted-by: Automated tooling, human reviewed.
[CodeGen] Precompute pressure-set register classes (#210751)
Profiling sqlite on aarch64-O3 shows ~1.26% of compile-time is spent in
RegisterClassInfo::computePSetLimit. This is called from
ScheduleDAGMILive::initRegPressure via
RegClassInfo->getRegPressureSetLimit.
computePSetLimit scans every register class and its pressure-set list to
find the class with the largest RegClassWeight::WeightLimit. This is
cached, but must be recomputed on every cache invalidation.
AArch64 has 530 register classes and 190 pressure sets. Populating all
pressure-set limits visits 530 x 190 = 100,700 register classes. This
can be precomputed in TableGen, while retaining the MF-dependent
reserved-register adjustment in computePSetLimit.
CTMark results [1]:
- stage1-aarch64-O3: -1.85% geomean; Bullet -4.01%.
- stage1-O3 (x86): -0.04%; Bullet -0.13%.
[7 lines not shown]
use sshpkt_fatal instead of plain fatal() for errors in the packet
code as this provides context of the failing peer (address, port,
user, etc). Based on patch from Dag-Erling Smørgrav
Add missing opcode for offset validity check (#211186)
During offset validity check, the common API in HexagonInstrInfo does
not handle the opcode. Adding it fixes wherever offset calculation is
made for the instruction.
Co-authored-by: quic-santdas <quic_santdas at quicinc.com>
cp: Correct description of SIGINFO
The manual page claimed that SIGINFO caused information to be printed to
stdout, when in fact it is printed to stderr, as one would expect. This
has been true ever since the feature was first added in 2003.
MFC after: 1 week
Fixes: 00d321a2b395 ("Add a SIGINFO handler.")
Reviewed by: jilles
Differential Revision: https://reviews.freebsd.org/D58392
clang/AMDGPU: Fix handling of subarch only targets with no -mcpu
Extracted this out of the main clang triple conversion patches. This
should be applied to the release branch so you get consistent behavior
if you do build with subarch triples.
[lldb/script] Remove verbose comments following c4962f5721a3 (NFC) (#210827)
This removes verbose comments from c4962f5721a3 following a post-merge
comment.
Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>
(cherry picked from commit e6cde20367a82aca112db73a3d1c76e77fe580f1)
[lldb/script] Only auto-open the generator template in an editor when interactive (#210808)
`scripting extension generate` always launched the external editor after
writing the template to disk, which is fine when a user types the
command at the prompt but is undesirable when the command runs from the
test suite, a headless driver, or a script -- each invocation spawns an
editor that nobody sees.
Extend `--open-editor` (`-e`) so that the default (`eLazyBoolCalculate`)
now dispatches on `CommandReturnObject::GetInteractive()`, which
`SBCommandInterpreter::HandleCommand` explicitly clears. That's the
accurate signal even when the process' stdin is a TTY inherited from the
parent (e.g. `lldb-dotest` invoked from a terminal). `--open-editor yes`
and `--open-editor no` still force the behavior explicitly.
Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>
(cherry picked from commit 3d0f18b6210e8cbc9fa04bca91581e25371c5b14)