[clang][ssaf] Add `StaticLibrary` data structure (#205946)
This change introduces the `StaticLibrary` data structure, the SSAF analogue of `ar`, `libtool -static`, or `lib.exe`: a single-architecture bundle of `TUSummary` objects. `StaticLibrary` only stores `TUSummaryEncoding` because it will be used by `clang-ssaf-linker` that does not decode the summary data. We don't plan to create a decoded variant because there will be no consumer. Support for constructing and linking static libraries will be introduced in future PRs.
rdar://180665891
posix_spawn(3): create a guard page below the stack for rfork_thread on x86
Reviewed by: kevans
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D57955
net-im/abaddon: Fix build on 32bit arches by optioning out voice support
PR: 296329
Sponsored by: UNIS Labs
Co-authored-by: Vladimir Druzenko <vvd at FreeBSD.org>
[Lanai] Force AsmPrinterEndPass (#206623)
So that no pass instrumentation ends up preventing the addition of this
necessary pass.
Also makes this consistent with X86.
[Clang][OpenMP][NFC] Remove unnecessary LParentLoc in clause classes (#206386)
The LParentLoc is already a data member of the OMPVarListClause class.
The OMPThreadLimitClause and OMPNumTeamsClause classes inherit from
OMPVarListClause and should not need to have their own LParentLoc.
devel/brz: Fix with python 3.12
This is backported from upstream changes in brz 3.3.5 to get us by until
the larger switch to the 3.3 stream.
While here replace gettext with gettext-tools in USES - port doesn't
link with libintl, but uses msgfmt during build.
PR: 296361 296283
Sponsored by: UNIS Labs
set FD_CLOEXEC on the fds between sftp and its ssh process,
avoids risk of subcommands that write on odd fds breaking the
connection. GHPR693 from Manuel Einfalt;
feedback deraadt@ ok dtucker@
check key and IV length received in privsep state transfer
exactly match the expected sizes for the selected cipher;
partially redundant to similar checks in cipher_init(), but
nice to be more exact.
GHPR from jmestwa-coder; ok dtucker@
[lldb] Adjust SourceFileCompleter to use StringRef (#206603)
Instead of storing `const char *` (which are currently backed by
ConstStrings), it should instead store the FileSpec and extract the
Filename and Directory as needed.
[lldb][NFC] Change how Target stores BreakpointNames (#205419)
This changes 2 things:
1) BreakpointNameList is now called BreakpointNameMap to reflect the
actual underlying data structure.
2) BreakpointNameMap goes from a `std::map` to a `llvm::StringMap` to
eliminate the use of ConstString.