[AArch64][PAC] Rework the expansion of AUT/AUTPAC pseudos
Refactor `AArch64AsmPrinter::emitPtrauthAuthResign` to improve
readability and fix the conditions when `emitPtrauthDiscriminator` is
allowed to clobber AddrDisc.
* do not clobber `AUTAddrDisc` when computing `AUTDiscReg` on resigning
if `AUTAddrDisc == PACAddrDisc`, as it would prevent passing raw,
64-bit value as the new discriminator
* move the code computing `ShouldCheck` and `ShouldTrap` conditions to a
separate function
testdisk: Update to 7.2
Changes:
== 7.2 ==
== General Improvements ==
- Display disk serial number when selecting source disk
- Add support for BeFS for EFI GPT and Mac partition table
== TestDisk ==
- When searching for partition, press '+' key to skip 5% of the disk.
- exfat: Better utf-8 support when iconv is missing
- APFS: Detect APFS partition
== PhotoRec & QPhotoRec ==
- Huge work to formally verify (Frama-C WP) the code using by the various
parsers
New file formats
- bbdoc
[56 lines not shown]
NAS-139108 / 26.04 / reduce memory allocation in parent process (#17918)
I've finally got to a point where I can analyze the memory allocations
(in flamegraph form) of the middleware process. I noticed a peculiar
~21MB of heap memory being allocated in the `zfs.resource_crud.py`
module.
Closer inspection showed the following import tree.
`resource_crud.py` -> `query_impl` -> `normalize_asdict_result` ->
`TNUserProp`
`TNUserProp` imports `AUDIT_DEFAULT_FILL_CRITICAL` and
`AUDIT_DEFAULT_FILL_WARNING`
Drilling down further, I found that the following 2 imports ALONE cause
the usage
```
from sqlalchemy import Table
[6 lines not shown]
[AArch64][PAC] Rework the expansion of AUT/AUTPAC pseudos
Refactor `AArch64AsmPrinter::emitPtrauthAuthResign` to improve
readability and fix the conditions of `emitPtrauthDiscriminator` being
allowed to clobber AddrDisc:
* do not clobber `AUTAddrDisc` when computing `AUTDiscReg` on resigning
if `AUTAddrDisc == PACAddrDisc`, as it would prevent passing raw,
64-bit value as the new discriminator
* mark the `$Scratch` operand of `AUTxMxN` as early-clobber (fixes
assertions when emitting code at `-O0`)
* move the code computing `ShouldCheck` and `ShouldTrap` conditions to a
separate function
* define helper `struct PtrAuthSchema` to pass arguments to
`emitPtrauthAuthResign` in a better structured way
[AArch64][PAC] Group arguments of emitPtrauthAuthResign (NFC)
The caller of `AArch64AsmPrinter::emitPtrauthAuthResign` has to analyze
the operands of MachineInstr being emitted and pass them explicitly to
this method, which leads to large number of function arguments, some of
them being optional.
This commit introduces `struct PtrAuthSchema` to pass semantically-
related parameters as a single argument and to better express the idea
that the second schema can only be passed or omitted as a whole.
Furthermore, `AUTVal` argument is renamed to `Pointer`, as unlike other
arguments with the `AUT` prefix, it does not relate to the authentication
schema, but represents a tied in-out operand used throughout the entire
expanded instruction sequence.
graphics/darktable: fix build on powerpc64le
Use GCC to work around https://github.com/llvm/llvm-project/issues/147288
Add -lexecinfo because of:
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
if(HAVE_EXECINFO_H)
add_definitions("-DDT_HAVE_SIGNAL_TRACE")
message(STATUS "Signal debug: print-trace possible")
endif(HAVE_EXECINFO_H)
endif(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
www/proxygen: fix pkg-plist
pkg-static: Unable to access file /wrkdirs/usr/ports/www/proxygen/work/stage/usr/local/lib/liblibhttperf2.so.1.34.5:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/www/proxygen/work/stage/usr/local/lib/libproxygen.so.1.34.5:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/www/proxygen/work/stage/usr/local/lib/libproxygencurl.so.1.34.5:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/www/proxygen/work/stage/usr/local/lib/libproxygendeviousbaton.so.1.34.5:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/www/proxygen/work/stage/usr/local/lib/libproxygenhqloggerhelper.so.1.34.5:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/www/proxygen/work/stage/usr/local/lib/libproxygenhqserver.so.1.34.5:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/www/proxygen/work/stage/usr/local/lib/libproxygenhttpserver.so.1.34.5:No such file or directory
Reapply "[mlir][SCF] Fold unused `index_switch` results (#173560)"
This reverts commit 85bfb54f9dfcb323f7a8cbb38a264a596aa1a3d3,
i.e. it reapplies #173560 which was temporarily reverted in