[Clang][Sema] Fix crash when __funcref is applied to non-function-pointer types (#176102)
Applying the funcref type to a non-function pointer was crashing. Added
validation to check that the type is a function pointer before
attempting to process it. If validation fails, emit the existing
err_attribute_webassembly_funcref diagnostic and return early.
Fixes #118233
Gracefully stop Docker service during system shutdown
This commit adds changes to gracefully stop Docker during system shutdown. By using a terminate method with a 60-second timeout, apps using databases or other stateful services can cleanly shutdown before the system halts.
[AST] Support structural equivalence checking of attributes on Decls (#168769)
The structural equivalence checker currently treats any explicit
attributes on a declaration as a reason to consider the declarations
non-equivalent in C23 mode, even when both declarations carry the same
attributes. This is unnecessarily strict and causes two otherwise
equivalent declarations to be rejected just because they carry
explicitly annotated attributes.
This patch enables TableGen to automatically generate attribute
equivalence checking functions. By default, two attributes are
considered equivalent if their normalized spellings match and all of
their arguments are equivalent. Attributes that require special handling
can provide a custom equivalence function (e.g., areAlignedAttrsEqual
for attribute Aligned).
The following attribute argument kinds currently always evaluate as
nonequivalent, since their equivalence checking has not yet been
implemented:
[14 lines not shown]
makefs: tests: Fix timestamp-related tests
Use a variable for mtree that includes the DEFAULT_MTREE_KEYWORDS, in
order to avoid missing the important "time" keyword or passing an
unimplemented "nlink" keyword.
Unskip the "failing" tests, and comment out the specific failing checks,
these will be addressed (or at least discussed) in a different revision.
For MS-DOS tests, use an even value timestamp, as precision is 2s.
For ZFS tests, use import_image instead of mount_image consistently.
Reviewed by: bnovkov, markj
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D54429
(cherry picked from commit 93b15dbc1fbc3c33c9bd53091b28c3b629d0abe1)
makefs: tests: Fix -D flag test
As stated in the manual page:
-F is almost certainly not the option you are looking for. To
create an image from a list of files in an mtree format manifest,
specify it as the last argument on the command line, not as the
argument to -F.
This change does exactly that. Also bug #192839 has already been fixed.
Reviewed by: ngie
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D54428
(cherry picked from commit 96efda9cd55689ef3fa067281d8b0a42a7122536)
[llvm-readobj][offload] Fix llvm-readobj --all on MachO (#175912)
Currently running llvm-readobj --all on any MachO object asserts,
because it implies --offload, and the --offload extraction includes an
assert on the object format. Instead, we should be silently ignoring.
This regressed in https://github.com/llvm/llvm-project/pull/143342.
(cherry picked from commit 7abe5b73b57340f49778d69eb8ad0f8b701941ea)
makefs: tests: Cleanup and remove default flags
Cleanup and remove default atf_check flags for clarity. The following
two lines are equivalent:
atf_check $cmd
atf_check -s exit:0 -e empty -o empty $cmd
Update the links to the reference documents.
Remove the D_flag_cleanup function, as common_cleanup() for these
particular set of tests does two things:
1. Unmount the md(4) device.
2. Destroy the md(4) device.
Essentially, one should only call common_cleanup() if the test body
invokes mount_image(). This is not the case for D_flag_body().
[7 lines not shown]
makefs: tests: Double the timeout of ZFS file_extend test
The test makefs_zfs_tests:file_extend is timing out on ci.freebsd.org.
Double the default timeout to allow it to finish.
Reported by: Jenkins
Reviewed by: asomers
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D54425
(cherry picked from commit 065f02174f76a49fbf537ee51ed8068d3d398b08)
makefs: tests: Double the timeout of ZFS compression test
The test makefs_zfs_tests:compression is timing out on ci.freebsd.org.
Double the default timeout to allow it to finish.
While here, check if the file exists before cleaning up, otherwise, cat
may fail.
Reported by: Jenkins
Reviewed by: asomers
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D54424
(cherry picked from commit 9f28e92637e9a29124f407b74d7665a921865a53)
[PAC][ELF] Place AUTH constants in .data.rel.ro for position dependent code (#150418)
For AArch64 target machine, effective relocation model on Windows and
Darwin is always PIC, while for ELF targets Static is used when
DynamicNoPIC is requested (see `getEffectiveRelocModel` in
AArch64TargetMachine.cpp).
This resulted in using .rodata section for AUTH constants, which is
wrong since these are filled with AUTH dynamic relocs and require the
section to be writeable during dynamic relocation resolving.
This patch adds a check ensuring if the constant itself or one of the
nested constants are AUTH ones. If so, use .data.rel.ro section.
(cherry picked from commit 2bf35f32330d6a0cada403559cd84e659224515a)
[flang][acc] Disallow duplicate variables in use_device clause (#176217)
Add a semantic check to detect when the same variable appears multiple
times in `use_device` clauses on the same `host_data` directive. While
the OpenACC specification does not explicitly prohibit this, allowing
duplicates is likely a user error and provides no additional semantics.
A similar restriction was already in place for `private`,
`firstprivate`, and `reduction` clauses on compute constructs. This
change extends that behavior to `use_device` on `host_data`.
Error message:
`'<var>' appears in more than one USE_DEVICE clause on the same
HOST_DATA directive`
[CIR] Implement codegen for inline assembly with output operands (#176006)
Part of: #153267
This is a continuation of: #154014
This patch handles output operands for inline assembly, taking the
original patch, but adding some additional tests, plus responding to all
of the original comments, plus doing some of my personal cleanup
(including extracting addVariableConstraints in a separate patch).
---------
Co-authored-by: Iris Shi <0.0 at owo.li>
[ARM] Add size to `tLDRLIT_ga_pcrel|abs` Pseudo Instructions (#175663)
Compiling OpenSSL for Thumb was giving a crash in `ARMConstantIslands`
with error message: "underestimated function size". Adding a size for
`tLDRLIT_ga_pcrel` pseudo instruction fixes the issue. Also added a
size for `tLDRLIT_ga_abs` as per review comments.
Revert "[llvm-readobj] Dump callgraph section info for ELF" (#176221)
Reverts llvm/llvm-project#157499
Following up on discourse post. Reverting this patch and will attempt a
reland addressing post merge comments.
editors/emacs-devel: Update to 2026-01-15 snapshot
Some new etc/NEWS items:
6d0d71de68c - New IELM option to insert newline when inside sexp (bug#80123)
9c1da99a850 - Optionally inhibit echo area progress reporting (bug#80198)
ea5d079e262 - Allow Ispell to save corrections as abbrevs
aa6e42f18b7 - Rename VC outgoing and incoming log commands to include "-root-"
785059a1f7a - Add frame identifiers (bug#80138)
bdd9acb6aa3 - hideshow: Reword documentation (bug#80116)
4e779d20f18 - Update cursor display using Xterm escape sequences
5b89d469656 - Bind 'apropos-user-option' to C-h u
c8d19034aa9 - Allow 'package-isolate' to fetch missing packages
881be95cddc - Allow reviewing packages before installation
d7fd87b403d - shadowfile.el uses eqhemeral buffer names now
8343ce6c529 - External Tramp methods can be used in multi-hops
48b80a1e2b9 - New function 'window-cursor-info'
51498a88cf9 - Add frame parameters 'cloned-from' and 'undeleted' (bug#80104)
ad500a13e41 - Compile queries in treesit-f-l-recompute-features (bug#80108)
[2 lines not shown]
[AArch64][GlobalISel] Fix selection of scalar-to-scalar G_UNMERGE_VALUES (#176223)
We can handle these FPR unmerges by treating them as pseudo-vectors of
the narrow element type.
Fixes #173722