devel/prjpeppercorn112: Remove port
This ports gets removed immediately without a grace period as it is only
useful in combination with the devel/nextpnr* ports which no longer support
this particular version of prjpeppercorn.
[lldb][test] Skip the frame 0 stack expedite test with an out-of-tree debugserver (#216496)
test_threads_info_expedites_stopped_frame_stack asserts that
jThreadsInfo
carries frame 0's stack memory for the stopped thread. debugserver only
does
that since b631e0cbd1c9, so a system debugserver sends the backchain
alone and
the test fails with "no frame 0 stack memory for stopped thread".
[IR][Intrinsics] Fix llvm.powi to require a scalar integer exponent (#216160)
Fix llvm.powi intrinsic to enforce a scalar integer exponent,
aligning the implementation with the LangRef specification.
p5-DBI: update to 1.652.
1.652 - 2026-08-15, H.Merijn Brand & Robert Rothenberg
* DBI now requires perl-5.12, driven by CVE's
* Fix test for perl configured without threads (caught by perl-5.45.1)
* Small doc fix, (issue#155), thanks Dick Franks
* Add suggested dependency (issue#145), thanks Dick Franks
* Force placeholder limit on :# and :p# too (CVE-2026-73194)
* Limit statements to 292 Mb in preparse (CVE-2026-73193)
* Add a security policy (issue#174)
* Add dbm_updatable_key attribute to DBD::DBM to configure how keys are updated
* Fix missing import in DBI::DBD::SqlEngine
* Fix !Caller2 caller loss when $^P is set (PR#184) (Thanks Paul)
Merge main into the derive-record-padding branch
Main has moved 931 commits and both parents of this branch landed with it, the
mark list in #215174 and the CIRGen marks in #215175, so this branch keeps only
the change that drops the stored `padded` bit and derives it from the `pad`
marks instead.
Assisted-by: Cursor / claude-opus-5
TIOCGSID can dereference a freed t_session, because we are storing s_leader
in the wrong place. This is a cold hard crash crashes. Some folk are
looking at fixing this properly but it will take some time, so in the meantime
we should just fail the ioctl.
From Acts1632, ok kettenis
[Object][Wasm] Guard relocation diagnostics against out-of-range indexes (#204872)
The badReloc lambda in parseRelocSection() accesses Symbols[Reloc.Index]
when building diagnostic messages, even after validation has determined
that Reloc.Index is out of range. This causes a heap out-of-bounds read
that can crash LLVM tools or produce unexpected diagnostic output.
Fix by checking Reloc.Index against Symbols.size() before dereferencing,
and emit the numeric index in the error message when out of range.
The vulnerable diagnostic path is shared across multiple relocation type
validation failures, including R_WASM_FUNCTION_INDEX_LEB,
R_WASM_TAG_INDEX_LEB, R_WASM_TABLE_NUMBER_LEB, and
R_WASM_MEMORY_ADDR_LEB.
Note: this is a minimal fix addressing the out-of-bounds access. The
R_WASM_TYPE_INDEX_LEB path validates against Signatures.size() but
badReloc() still references Symbols[Reloc.Index], which may warrant
a broader diagnostic refactoring separately.
busdma_bounce: fix unused-function warning on powerpc
static inline, and powerpc's own must_bounce() never
calls it.
Reviewed by: adrian
Differential Revision: https://reviews.freebsd.org/D58825
ossl: fix unused-function warning for AES_CBC_ENCRYPT on powerpc
static, not static inline, so TUs that don't call it warn.
Reviewed by: adrian
Differential Revision: https://reviews.freebsd.org/D58823
[Hexagon] Fix KCFI check truncating type id (#211854)
The KCFI indirect-call check is lowered directly to MCInst in the
Hexagon AsmPrinter. It omitted the constant-extender, causing
mismatches.
Packet canonicalization is how we should apply constant extenders,
duplex, compounds, etc.
Assisted-by: Claude
(cherry picked from commit c88aeaf712c6694d0b29d312783d24cacc000a5a)
[DAGCombine] Fix alignment of store in replaceStoreOfInsertLoad. (#215895)
For the variable index case, the alignment of the original store was
used, which is too large.
Fixes #215530
(cherry picked from commit 2dd35f8ff91fbea3d898474851f78dfad2332c18)
[lldb] Fix crash when adding a python ParsedCommand (#215807)
The expected result of `ParsedCommand.get_args_definition` is a List of
Lists and should not crash when it is not the case.
(cherry picked from commit 58e4198eab3b7437b5ffc2e8adb21ed8fc2d8866)
devel/py-test-check: update to 2.9.1
ok and suggestion to explicitly list sysutils/py-packaging as a runtime
dependency (instead of indirectly depending on it through devel/pytest) by tb@
[flang] To fix LIT test that AIX does not emit comdat. (#214950)
PR #213890 added this new LIT test.
However, AIX uses XCOFF and does not emit COFF COMDAT.
(cherry picked from commit 31749521e7b9f1cb93c9554133ab0a6d181fd8c7)
[RISCV] Fix prefetch ADDI-adjustment range upper bound (#215985)
SelectAddrRegImmLsb00000 folds a large constant offset into an ADDI plus
a simm12_lsb00000 prefetch immediate. The positive range [2017, 4065]
overflowed simm12 at the top end: CVal - 2016 reaches 2048/2049,
producing an invalid ADDI. Narrow it to 4063; 4064/4065 now fall through
to selectConstantAddr instead.
(cherry picked from commit 866bc8d6a9930a75b2b10a8f9d0a31982c5479bb)
[DWARFLinker] Consider module units when creating the type unit (#215731)
The parallel linker creates the artificial type unit only when some
compile unit uses an ODR language, but it looks for that language in the
compile units of the object files alone. A clang module unit decides its
own ODR availability from its own DW_AT_language, so a module built as
C++ or ObjC++ imported from an object file whose units are all C, ObjC
or Swift places DIEs in the type table which does not exist, asserting
in CompileUnit::cloneDIE and dereferencing null without assertions.
Scan the languages of the module units as well, so a module which
deduplicates types always has a type unit to hold them.
rdar://182719465
(cherry picked from commit 58599fe7d593ddd4d4e9f95cfd9348a48ddf8492)
[RISCV] Avoid pre-RA Zilsd pairs with same src/dst registers (#215575)
The pre-RA Zilsd optimizer previously allowed a special case for stores
where both source operands were the same vreg if that vreg was defined
by COPY $x0. This assumes register allocation will preserve the value as
x0, but that is not guaranteed. The vreg can be allocated to a normal
GPR, producing an invalid pair.
(cherry picked from commit 4ef2427b4c08fd28e4244c585ae0673711e4c0d6)
[DWARFLinker] Keep module type definitions in the parallel linker (#215435)
A Clang module compile unit carries the only definitions of the types
its module owns. No definition in it is reachable from a live address.
Similar to the classic linker, we need to mark everything as kept.
rdar://184559034
(cherry picked from commit ef04927f4a8b890504d770186f6002f487a6790e)
[lldb] Fix incorrect Python property bindings in SBExtensions. (#215283)
Several Python property definitions in the SB extension interface files
were incorrectly copy-pasted during the
["Don't use SWIG internals
refactor"](https://github.com/llvm/llvm-project/commit/89b658428bae3b749f174ca79f0fe390451d8f69)
causing properties to shadow earlier definitions instead of exposing new
functionalities.
Rename each duplicate to its intended property name and wire it to the
correct underlying method.
Add add new API tests to cover the issue.
- SBModule: compile_unit -> section.
- SBType: is_function -> is_reference.
- SBTypeSummary is_function_code -> is_function_name.
(cherry picked from commit 1fb48d1418cf55f398024c60af13436b806561f9)
[Hexagon] Fix unusable SCS reg, make it selectable (#213820)
SCS hardcoded r19 as the shadow call stack pointer and required
-ffixed-r19. That was the wrong register to pick: r19 is precisely the
one the intended consumers cannot give up, so the feature was unusable
in practice.
* The Hexagon Linux kernel already reserves r19 for its thread-info
pointer (arch/hexagon/Makefile: "TIR_NAME := r19", documented there as
not configurable because it is hard-coded in several files).
* hexagon-hypervisor reserves r20-r28 (kernel/CMakeLists.txt), with r28
bound to a register global (H2K_gp).
That leaves h2 only r16-r19, so no single hardcoded choice can serve
both consumers.
Intersecting that with the callee-saved regs leaves r1{6,7,8}. So the
new default is r18.
[8 lines not shown]
[Release Notes] Clang UBSan changes to aggregate copy/move operand checks
Document improvements to null, alignment, and array-bounds checks from #190739 and #203737.