[NFC][LLVM][TableGen] Use `decodeULEB128` for `OPC_SoftFail` emission (#136220)
- Use `decodeULEB128` to decode +ve/-ve mask in OPC_SoftFail case.
- Use current `I`/`E` iterators as inputs to `decodeULEB128`.
[DebugInfo] getMergedLocation: match scopes based on their location (#132286)
getMergedLocation uses a common parent scope of the two input locations
for an output location.
It doesn't consider the case when the common parent scope is from a file
other than L1's and L2's files. In that case, it produces a merged location
with an erroneous scope (https://github.com/llvm/llvm-project/issues/122846).
In some cases, such as https://github.com/llvm/llvm-project/pull/125780#issuecomment-2651657856,
L1, L2 having a common parent scope from another file indicate that
the code at L1 and L2 is included from the same source location.
With this commit, getMergedLocation detects that L1, L2, or their common parent
scope files are different. If so, it assumes that L1 and L2 were included
from some source location, and tries to attach the output location to a scope
with the nearest common source location with regard to L1 and L2.
If the nearest common location is also from another file, getMergedLocation returns it
as a merged location, assuming that L1 and L2 belong to files that were both included
in the nearest common location.
Fixes https://github.com/llvm/llvm-project/issues/122846.
[lldb][Telemetry] Fix unit test compile failure with LLVM_ENABLE_TELEMETRY=0 (#136115)
It needs to be `TEST_F` to access `received_entries`.
Disabling also works based on the test not the fixture name.
Build failure:
```
lldb/unittests/Core/TelemetryTest.cpp:110:17: error: use of undeclared identifier 'received_entries'
110 | ASSERT_EQ(1U, received_entries.size());
| ^
lldb/unittests/Core/TelemetryTest.cpp:112:61: error: use of undeclared identifier 'received_entries'
112 | llvm::dyn_cast<lldb_private::FakeTelemetryInfo>(received_entries[0])
| ^
```
Fixes: 159b872b37363511a359c800bcc9230bb09f2457
[LLVM][TableGen] Move DecoderEmitter output to anonymous namespace (#136214)
- Move the code generated by DecoderEmitter to anonymous namespace.
- Move AMDGPU's usage of this code from header file to .cpp file.
Note, we get build errors like "call to function 'decodeInstruction'
that is neither visible in the template definition nor found by
argument-dependent lookup" if we do not change AMDGPU.
py-beautifulsoup4: updated to 4.13.4
4.13.4 (20250415)
* If you pass a function as the first argument to a find* method, the
function will only ever be called once per tag, with the Tag object
as the argument. Starting in 4.13.0, there were cases where the
function would be called with a Tag object and then called again
with the name of the tag.
* Added a passthrough implementation for NavigableString.__getitem__ which gives a
more helpful exception if the user tries to treat it as a Tag and
access its HTML attributes.
* Fixed a bug that caused an exception when unpickling the result of
parsing certain invalid markup with lxml as the tree builder.
* Converted the AUTHORS file to UTF-8 for PEP8 compliance.
[clang] Handle instantiated members to determine visibility (#136128)
As reported in issue #103477, visibility of instantiated member
functions used to be ignored when calculating visibility of a
specialization.
This patch modifies `getLVForClassMember` to look up for a source
template for an instantiated member, and changes `mergeTemplateLV` to
apply it.
A similar issue was reported in #31462, but it seems that `extern`
declaration with visibility prevents the function from being emitted as
hidden. This behavior seems correct, even though GCC emits it as with
default visibility instead.
Both tests from #103477 and #31462 are added as LIT tests `test72` and
`test73` respectively.
Make descriptions in Jail chapter more concise, add references
These changes are based on suggestions by vale:
- add conciseness
- avoid the use of won't and use "will not" instead (and others like it)
- Do not start sentences with a reference
Originally, this was part of a patch to add updated FreeBSD versions to
the jails chapter. I've split those out and committed them in
e4fc6b8657422d02cb1eddb166b928cf851be5ac separately.
Differential Revision: https://reviews.freebsd.org/D49038
Update jails chapter for FreeBSD version 14.2 in examples
This reflects the latest version of FreeBSD at this time and provides
paths with that version to create the jail.
PR: 275685
Event: Easterhegg 2025