[clang][modules] Introduce a flag to keep redundant module lookups on relocation checks (#219107)
cf8597bd3b87 introduced relocation checks for dependency scans but also
disabled it when the modules were built in the same build session for
implicit module builds.
It turns out downstream projects (using implicit modules) can depend on
the relocation check calling `lookupModule` for order-dependent module
resolution to hide poorly modularized dependencies within the same build
session, since that call loads discovered modules during search.
Introduce `-fmodules-force-redundant-lookup` as an escape hatch to
maintain preexisting redundant lookup for those projects while keeping
the fast path the default for dependency scans.
fortune: fall back to all databases if fortunes is missing
With no file argument, fortune looks for a database named fortunes
in FORTDIR. The base system has not shipped that file since
0538d7bbe620 (FreeBSD 12), only freebsd-tips, so the default
invocation failed even though a valid database remained. Callers
such as xlockmore's marquee and nose modes (fortune -s) then
displayed the error as the epigram.
If the named fortunes file is absent, scan every database in the
existing search path. /usr/local/share/games/fortune stays on that
path so fortune-mod-* packages keep working; when
fortune-mod-freebsd-classic restores the fortunes file, it is still
preferred. fortune -f with no arguments lists the same files that
would be searched.
MFC after: 1 week
Reviewed by: ziaee, fuz
Differential Revision: https://reviews.freebsd.org/D59057
[libc++][FTM] Updated FTMs from C++29 (#218241)
... and a few missing ones from previous standard versions.
---------
Co-authored-by: Hristo Hristov <zingam at outlook.com>
Co-authored-by: A. Jiang <de34 at live.cn>
[WebAssembly] Avoid scanning unrelated debug values (NFCI) (#218378)
RegStackify looks for debug values when moving an instruction.
But when a debug use comes before the definition, it may collect values
for a lot of unrelated variables until the end of the block.
Stop early once all relevant values have been found instead.
security/libgcrypt: Fix build on older LLVM
According to dim@ LLVM20 was the first LLVM to properly support the
requried SM4-EVEX instruction set. Let's make sure we have the minimum
needed LLVM installed.
PR: 297987
security/libgcrypt: Fix build on older LLVM
According to dim@ LLVM20 was the first LLVM to properly support the
requried SM4-EVEX instruction set. Let's make sure we have the minimum
needed LLVM installed.
PR: 297987
Revert "security/libgcrypt: Fix build on hardware lacking SM4-EVEX"
The patch does in fact not fix the problem. dim@ suggests a minimum
of LLVM20.
PR: 297987
This reverts commit f5beaaec79ca9a6d8dee273b44febf82e56a91a0.
Revert "security/libgcrypt: Fix build on hardware lacking SM4-EVEX"
The patch does in fact not fix the problem. dim@ suggests a minimum
of LLVM20.
PR: 297987
This reverts commit f5beaaec79ca9a6d8dee273b44febf82e56a91a0.
[lldb][Darwin] Remove libsanitizers ASan integration (#217791)
The OS-provided ASan runtime (in libsanitizers)
was removed on Darwin, so remove LLDB's support
for it.
rdar://177086333
Best reviewed commit-by-commit, 2 commits:
- b1e3ba9762dc0e1f7827113d4e5678b8aeefba66 - Remove libsanitizers ASan
integration (all deletes)
- c25c8086f4c3b195579d7d53ead4d799ab7ec445 - Fold ReportRetriever back
into the ASan plugin (mechanical inline, NFCI)