[mlir][Interfaces] Fix -Wunused-function (#196314)
These functions are only used inside assert statements, so mark them
[[maybe_unused]] to prevent -Wunused-function when they are used in a
non-asserts build.
[clangd] Fix crash on completion with out-of-range position (#196112)
shouldRunCompletion() checked the Expected<> from positionToOffset() via
operator!() but never consumed the error with takeError(). This caused
an assertion failure when a TriggerCharacter completion request had a
position beyond the document bounds.
LLM was used to generate the unit test.
Fixes: #196072
cam: Cross-reference dtrace_cam.4 and cam.4
While here, remove empty sections from cam.4.
MFC after: 3 days
Fixes: 1a7151f79664 cam: Add probes for xpt actions
[libcxx] Remove _LIBCPP_STRING_INTERNAL_MEMORY_ACCESS (#196141)
This was only necessary for ASan container annotations for short
strings. Remove it now that we do not support ASan container annotations
on short strings to:
1. Not suppress Asan on other violations, e.g. std::string::size() on
dead object.
2. Make the code a bit more clean.
Short string annotations were removed in
https://github.com/llvm/llvm-project/pull/194208.
Revert "[SCEV] Introduce loop-uniform SCEV classification." (#196297)
Reverts llvm/llvm-project#194304, as it caused failed asserts - see that
PR for reproducers.
[compiler-rt] Enable ubsan_minimal runtime for SPIR-V (#196149)
The SPIR-V target support for UBSan Minimal Runtime is added to provide
basic undefined behavior detection capabilities for SPIR-V based
devices.
Currently, only the `spirv64` target is supported.
[lldb][test] Add missing include to char16/32_t test (#196300)
Fixes 605feeda1e50aa0064947e64d66d3351b9f9693e / #195514. Failed to
build on AArch64 Linux without it.
Typecast idx to size_t so that the comparison is safe on 32bit arch.
idx < 0 was already checked so casting this value from signed to unsigned
is safe.
OK tb@
Thread Safety Analysis: Fix implicit member access in attributes (#194457)
SExprBuilder previously translated DeclRefExprs referring to FieldDecls
as plain global references (til::LiteralPtr), ignoring the base object.
This caused false positives when members were accessed implicitly (such
as in C, or parameter attributes in C++) because the context of the
parent object was lost.
Fix this by using translateCXXThisExpr() to evaluate SelfArg into a base
expression when translating a DeclRefExpr to a FieldDecl. This makes the
analysis behave correctly for implicit member accesses in attributes.
Assisted-by: Gemini 3 (for debugging and review)
[AArch64][llvm] Add missing form for `LD64B`/`ST64B` instructions
`LD64B` and `ST64B` should be defined as follows[1]:
```
LD64B <Xt>, [<Xn|SP> {,#0}]
```
but they're missing the form that allows a zero immediate offset,
for example:
```
ld64b x2, [x13, #0]
st64b x16, [x13, #0]
```
Add support for zero immediate offsets for these instructions.
[1] https://developer.arm.com/documentation/ddi0602/2022-09/Base-Instructions/LD64B--Single-copy-Atomic-64-byte-Load-