[clang][bytecode] Check if block is initialized before invoking destructor (#174082)
Fixes #173950.
The bytecode interpreter was crashing when evaluating typeid() on
references to dynamically allocated objects. For example, this would
cause an assertion failure:
static A &a = *new A;
const std::type_info &a_ti = typeid(a);
The problem was that when initialization failed, the code tried to call
invokeDtor() on blocks that were never marked as initialized. This
caused the assertion "IsInitialized" to fail. With this fix, we first
check if the block is actually initialized before trying to invoke its
destructor.
The test case I added reproduces the original crash and with the fix, it
now passes.
snd_hda: Default to 256 when corb/rirb is invalid
PR: 289284
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D54339
[AArch64] Turn MaxInterleaveFactor into a subtarget feature (#171088)
The default value for MaxInterleaveFactor is 2, but some CPUs prefer a
wider factor of 4. This adds a subtarget feature so that cpus can
override the default in their tuning features, keeping more of the
options together in one place.
[NFC][AMDGPU] Add comments for literal arguments of WMMA profiles (#174175)
Otherwise it is really hard to understand what those 0s and 1s correpond
to what.
graphics/darktable: Add libavif as dependency
* If you have installed graphics/libavif already, CMake detects it.
However it was not buildlinked and causes a build failure.
It is useful to support AVIF and add libavif as dependency.
* Bump PKGREVISION for dependency change.