[orc-rt] Fix assertion, add fail-to-connect unit test. (#204720)
If a ControllerAccess object's connect method calls notifyDisconnected
then by the time we return to Connect we may have completed the detach,
in which case TargetState will be None, and CurrentState will be >=
Detached. This case was not covered by the assert after the return from
connect, leading to assertions when connect failed.
This commit relaxes the assertion to include the case above, and adds a
unit test to cover it.
[NFC] LowerCommentStringPass: remove unused #include (#204719)
This pass was added in a64928f267f3aeeb3571bfc7de92c432126d74e9 but does
not actually use PassBuilder
[BPF] Fix erroneous removal of non-jump-table globals (#204594)
Jump tables are supported only for cpu v4. After lowering them into
.jumptables entries, BPFAsmPrinter::doFinalization() removes the private
constant arrays that backed the jump tables. But the below 'for' loop is
actually a no-op.
for (unsigned i = 1, e = CA->getNumOperands(); i != e; ++i) {
if (!dyn_cast<BlockAddress>(CA->getOperand(i)))
continue;
}
Targets.push_back(&Global);
With current implementation, 'Global' will be added to 'Targets' and
later in doFinalization(), 'Global' will be removed. But it is possible
in 'Global' there exists non BlockAddress which are used in later code.
This will cause the problem like:
error: Undefined temporary symbol .L__const.select_fn.fns
[24 lines not shown]
devel/p5-CLI-Simple: Add port: Minimalist object oriented base class for CLI applications
Tired of writing the same 'ol boilerplate code for command line scripts?
Want a standard, simple way to create a Perl script that takes options
and commands? CLI::Simple makes it easy to create scripts that take
options, commands and arguments.
CLI::Simple is designed around the modulino pattern - Perl modules that
can be executed directly as scripts.
WWW: https://metacpan.org/pod/CLI::Simple
PR: 295931
Reported by: Einar Bjarni Halldórsson <einar at isnic.is> (new maintainer)
chromium: make wayland support optional
Fix build on NetBSD-10: disable wayland support with native X11_TYPE
../../ui/ozone/platform/wayland/host/drm_syncobj_ioctl_wrapper.cc:50:10: error: use of undeclared identifier 'drmSyncobjEventfd'
50 | return drmSyncobjEventfd(fd_.get(), handle, point, ev_fd, flags);
| ^~~~~~~~~~~~~~~~~
[X86] Add aligned atomic vector load tests wider than 128 bits (NFC) (#204495)
These >128-bit loads are expanded to __atomic_load libcalls regardless
of alignment, since x86 caps atomic ops at 128 bits.
Store version: https://github.com/llvm/llvm-project/pull/202537
Disable RelLookupTableConverter on AArch64 (#204669)
We're seeing miscompiles due to relative offsets overflowing 2GB.
AArch64 allows text + data to span up to 4GB in the small code model:
https://github.com/ARM-software/abi-aa/blob/main/sysvabi64/sysvabi64.rst#code-models.
We could also use 64-bit offsets, but I'll leave that for the futute.
Assisted-by: Gemini
[PowerPC][AIX] Support #pragma comment copyright for AIX (#178184)
This change supports **pragma comment copyright**.
Signature: `#pragma comment (copyright, "token_sequence")`
- The token_sequence is included in the generated executable and loaded
into memory when the program is run.
- copyright `comment` directive can appear only once in a translation
unit.
Implementation :
- Frontend (Clang): Parses `#pragma comment (copyright, "string")` for
AIX targets and emits :
- Emit weak_odr hidden hash-named global variables (e.g.,
`__loadtime_comment_str_<hash>`)
- Place strings in `__loadtime_comment` section and mark with
`!loadtime_comment` metadata
- Add to `llvm.compiler.used` to prevent early elimination
[38 lines not shown]