Mk/Uses/gssapi: Add support for mit-devel
Add support for security/krb5-devel.
Reviewed by: michaelo
Differential revision: https://reviews.freebsd.org/D54747
[Support] Join threads when stopping ThreadPoolExecutor (#166054)
When building LLVM as DLL, the `ThreadPoolExecutor` can cause deadlocks
on Windows.
The threads were previously only joined when the destructor of the
`ThreadPoolExecutor` is called, not when it's stopped. Destruction
happens when unloading the DLL, when the global destructors are called.
On Windows, `std::thread` uses `FreeLibraryAndExitThread` to cleanup a
thread. This requires access to the loader lock, when a thread
terminates. However, when destroying the pool, the loader lock is also
held, as the DLL is being unloaded. If the threads did not end fast
enough, the destructor would wait for them to join. At the same time,
the threads would wait for the destructor to release the loader lock.
Joining the threads when stopping the pool fixes that, as it ensures the
threads are stopped when calling `llvm_shutdown`, outside the loader
lock.
[clang-tidy] Improve readability-enum-initial-value diagnostic message (#176485)
Enhance the readability-enum-initial-value checker to list which
enumerators
are not initialized in notes. This makes it easier for users to identify
which
specific enumerators need explicit initialization.
multimedia/tsduck: disable tsduck on 13
Mark tsduk broken on FreeBSD 13, OpenSSL 3.0 is required.
Also remove unnecessary dependencies and bump PORTREVSION
PR: 292353
Reported by: Thierry Lelegard <thierry at lelegard.fr> (maintainer)
[mlir][shard,mpi] lowering shard.all_slice in shard-to-mpi (#176438)
Lowering shard.all_slice in shard-to-mpi and reusing lowering for
shard.processmultindex.
[AArch64] Remove redundant fmovs when bitcasting from ext/trunc of bitcast (#175983)
The following can be used to reinterpret & extend a float, returning the
result as a double with the upper bits cleared:
return bit_cast<double>((uint64_t)bit_cast<uint32_t>(x))
this currently results in two fmovs being generated, i.e.
fmov w8, s0
fmov d0, x8
ret
This patch adds a pattern to improve this by using a single `fmov s0, s0`
instead, and also for the case where the integer value is truncated.
[lldb][test] Add a test for evaluating Obj-C types with an incomplete super-class
LLDB currently crashes when the super-class of an Objective-C type can't
be completed (i.e., has no definition). For Foundation types such as
`NSObject`, the debug-info would usually only contain forward
declarations. The definitions live in the Clang module `.pcm` files. But
if the source of the definition fails to be loaded (e.g., if we just
delete the module cache), then we can no longer guarantee that the
super-class has a definition. This breaks a key Clang invariant, which
requires base-classes to have definitions by the time we try to lay them
out. This patch adds an XFAILed test for such scenario.
rdar://168440264
[DTLTO] Add DTLTO-specific LTO input handling time-trace scopes (#175799)
Add time-trace scopes to the DTLTO-specific input-handling code to
improve observability and debugging.
These scopes are tested via LLD, as the primary purpose of this code is
to support member files of non-thin archives as DTLTO inputs.
`llvm-lto2` does not currently support archives. Adding archive support
to `llvm-lto2` solely for testing these scopes does not appear to be
worthwhile.
As part of this change, the deletion of temporary DTLTO input files has
been moved. Cleanup now occurs after LTO has completed, rather than
during destruction of the LTO object. This is required since by the time
the LTO object is destroyed, time-traces have already been finalized, so
no additional trace data can be recorded.
Recording time-trace data for temporary file deletion is important, as
this has been a source of performance issues in the past and an area
[3 lines not shown]
[LifetimeSafety] Fix handling of reference-type DeclRefExpr (#176728)
Fix handling of reference-typed DeclRefExpr in lifetime analysis
Fixes https://github.com/llvm/llvm-project/issues/176399
This PR fixes a bug in the lifetime analysis where reference-typed DeclRefExpr nodes were incorrectly handled. The analysis was incorrectly removing the outer layer of origin for reference types, which led to missing some dangling reference warnings.
The fix adds a check to only remove the outer layer of origin when the declaration is not a reference type.
ham/wsjtx: import wsjtx-2.5.4
Weak Signal Communication Software
WSJT-X, WSJT, MAP65, and WSPR are open-source programs designed for
weak-signal digital communication by amateur radio. Normal usage
requires a standard SSB transceiver and a personal computer with
soundcard, or the equivalent. SDR-style hardware including the
SDR-IQ, Perseus, SoftRock, and FUNcube Dongle is supported by MAP65
and WSPR. SimJT is a utility program that generates simulated signals
for test purposes. All of the programs are available free of charge,
licensed under the GNU General Public License. Installation packages
for WSJT-X are available for Windows, Linux, and OS X; WSJT and WSPR
have Windows and Linux packages, and MAP65 and SimJT are Windows only.
For further details about source code and operating systems, see the
Program Development page.
[lldb][test] TestFunctionTemplateParameterPack.py: XFAIL instead of skip
This test doesn't trigger an assertion on top-of-tree. Turn this into an
XFAIL instead.
Found this test because I'm working on improving parameter pack support
in the expression evaluator.