Search for @_thisIsNotAPipe vs _thisIsNotAPipe (#192132)
z/OS has a table of mapped names in the IR. Counting the hits for just
the name leads to one more hit than expected. Search for the name with
the @ char to make sure the right occurrences are being counted.
Update an old temporary usage comment for tzdata
There was a short period (years ago now) when the tzdata2netbsd
script for updating NetBSD HEAD with the current version of tzdata
was not working as desired, and a comment added here indicated that.
That is long since fixed, the script has been used again now for
ages, so remove the comment indicating things were being done by
hand, and instead include usage advice for tzdata2netbsd.
NAS-140815 / 27.0.0-BETA.1 / Fix unpicklable custom exceptions across the codebase (#18829)
## Problem
The truenas API client logs warnings like:
```
Error unpickling call exception: TypeError("APIVersionDoesNotContainModelException.init() missing 1 required positional argument: 'model_name'")
```
Python's pickle reconstructs exceptions as `ExcClass(*exc.args)`, where
`exc.args` is whatever was passed to `Exception.__init__`. Two patterns
broke this:
1. `super().__init__(f"formatted {message}")` — stores the formatted
string as the sole arg, so unpickling calls e.g.
`ZpoolPoolUnhealthyException("'pool' is DEGRADED")` which fails because
`__init__` expects `(pool, health)`.
2. No `super().__init__()` call at all.
[14 lines not shown]
[clang-tidy][readability-identifier-length] refactoring and cleanup (#194610)
This PR implements the refactorings discussed with @localspook in
#193838
---------
Co-authored-by: Victor Chernyakin <chernyakin.victor.j at outlook.com>
lang/gcc17-devel: Add port
GCC, the GNU Compiler Collection, supports a number of languages.
This port installs the C, C++, and Fortran front ends as gcc17, g++17,
and gfortran17, respectively.
This is the first snapshot from trunk with the GCC 17 designation.
It largely is a copy of lang/gcc16-devel.
Undo earlier meaningless change
Revert my botched change (rev 1.7, 2026-04-18 19:42:21 +0000) which
had the parens in the wrong place, which made it useless (pointed out
offlist by rillig@ - thanks). The change was made unnecessary by
christos later change (rev 1.8, 2026-04-18 21:37:04 +0000), so there
is no point fixing it, just make it go away.
[AArch64][llvm] Generate asm parser extension map from TableGen (NFC)
Modify ARMTargetDefEmitter to emit the assembly parser `ExtensionMap[]`
and replace the hand-written table in AArch64AsmParser.cpp with the
generated one.
Keep the assembly parser-only quirks in the emitter: the directive
denylist, the legacy primary spellings for `mte` and `compnum`, and the
extra bits needed for the `sve2-*` shorthand extensions.
This removes the duplicate manual table while preserving existing
directive parsing and required-feature diagnostics.
[Docs] Normalize headers and indents for ReleaseNotes (#194784)
- Normalize the header syntax for ReleaseNotes (current `.md` file and
`ReleaseNotesTemplate.txt`) to use `#`-based headings
- Normalize indents to distinguish doc title from page headers
Fixes navigation indents for Furo theme update (see
https://github.com/llvm/llvm-project/pull/184440).
[LLVM] Provide a default 'multilibs.yaml' when configured (#192281)
Summary:
Right now it's a little difficult to use the multilibs support because
the user must manually provide one. I believe that when the user
configures multilibs with the LLVM CMake arguments at a minimum we
should provide one that forward `-fmultilib-flag=<multilib>` to the
created runtime.
This RP makes CMake emit this by manually writing a flag. Because users
could provide their own, this adds some extre complexity to prevent this
from being overwritten.
The desire for this change is to more easily ship this support in CMake
configuration files without needing to write files manually (for the
typical case).
[llvm][YAML] Support aliases (anchors) in YAMLIO (#146371)
This change makes it possible to use YAML anchors [1], [2] with
YAMLTraits. All of the necessary parser machinery already exists, so the
only change that is necessary is to wire it up to YAMLTraits.
This is done by keeping track of all `Anchor` -> `HNode *` mappings and
reusing those when an `AliasNode` is encountered.
In accordance with the spec [2], anchors do not have to be unique and
refer to the last occurrence in the serialization.
Example usage:
```yaml
foo: &a 42
bar: *a
```
[11 lines not shown]