[lldb][AArch64][Linux] Handle SME only and kernels < 6.19 (#189982) Part of #138717. The feature we need to use to restore non-streaming mode after an expression enters streaming mode was only added recently in kernel 6.19. There is no other way to restore this state, so I have adjusted the code to use the normal FP restore path for every state other than: on an SME only system and in streaming mode and restoring non-streaming state If that fails, we're on < 6.19 and all we can do is accept it and restore the rest of the register state. I've updated the tests to check kernel version and for < 6.19 remove any expression tests that hit this specific state. I could have set up expected state for them, but it's basically undefined behaviour, and I think it would make the already complex tests even worse. Documentation now mentions the required version, and release notes link to that documentation. Tested on an ARM FVP configured to SME only with kernel 6.18 and 6.19, and a Graviton 3 with only SVE.
Welcome to the LLVM project!
This repository contains the source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and run-time environments.
The LLVM project has multiple components. The core of the project is itself called “LLVM”. This contains all of the tools, libraries, and header files needed to process intermediate representations and convert them into object files. Tools include an assembler, disassembler, bitcode analyzer, and bitcode optimizer.
C-like languages use the Clang frontend. This component compiles C, C++, Objective-C, and Objective-C++ code into LLVM bitcode -- and from there into object files, using LLVM.
Other components include: the libc++ C++ standard library, the LLD linker, and more.
Consult the Getting Started with LLVM page for information on building and running LLVM.
For information on how to contribute to the LLVM project, please take a look at the Contributing to LLVM guide.
Join the LLVM Discourse forums, Discord chat, LLVM Office Hours or Regular sync-ups.
The LLVM project has adopted a code of conduct for participants to all modes of communication within the project.