[NFC][MC] Add LLVM_ABI annotations to createAsmParser functions (#182393)
Following the MCLFIRewriter PR, this adds the `LLVM_ABI` annotations for
related functions that were flagged by the ABI bot.
libnetbsd: import `__CTASSERT(..)` macros
These compile-time assert macros are similar to `Static_assert` on FreeBSD.
These macros are in use in newer versions of `contrib/netbsd-tests`.
Obtained from: https://github.com/NetBSD/src (c26cc77b3a0b26b95a2)
MFC after: 1 week
net-mgmt/victoria-logs: Improve RC script
* Have the RC system perform user switch
* Initialize default variables
* Have the RC system handle start, status, stop
* Set the process title for ps/top
* Remove reload since victoria-logs does not support it
* Use single-hyphen command line options
PR: 293061
Approved by: samm (maintainer)
[NFC] [FlowSensitive] Add mock header for coroutines
These are copied from libcxx with some details and implementation removed.
Reviewers: rohanjr
Pull Request: https://github.com/llvm/llvm-project/pull/182602
[RISCV] Use bits<1> for AltFmt in RISCVVPseudo. (#182581)
This makes the searchable table emitter use uint8_t instead of bool in
the KeyType struct. This is needed to allow us to use a bitfield in the
PseudoInfo struct and avoid a compare between a bool and uint16_t. We
already use this same bits<1> trick in other searchable tables.
Fixes #182485
NAS-139918 / 26.0.0-BETA.1 / Use render contexts in various etc groups (#18264)
This commit shifts several EtcGroups that contain more than one EtcEntry
to using a render context in cases where the entries are making
duplicate middleware calls.
Use setExprNeedsCleanups in BuildCXXNew and avoid breaking c++98
This approach is much cleaner, but broke checkICE reporting in c++98.
Stepping through a debugger shows that this happend because the
static_assert test didn not recognize ExprWithCleanups as transparent to
constant evaluation. To addresse this, we update CheckICE to recurse
into the sub-expression, and keep the old behavior.
[clang] Use uniform lifetime bounds under exceptions
To do this we have to slightly modify how some expressions are handled
in Sema. Principally, we need to ensure that calls to new for
non-trivial types still have their destructors run. Generally this isn't
an issue, since these just get sunk into the surrounding scope. With
more lifetime annotations being produced for the expressions, we found
that some calls to `new` in an unreachable switch arm would not be
wrapped in ExprWithCleanups. As a result, they remain on the EhStack
when processing the default label, and since the dead arm doesn't
dominate the default label, we can end up with a case where the def-use
chain is broken (e.g. the def doesn't dominate all uses). Technically
this path would be impossible to reach due to the active bit, but it
still failed to satisfy a dominance relationship.
With that in place, we can remove the constraint on only using tighter
lifetimes when exceptions are disabled.