llvm-capstone/lldb/test
David Spickett 6239227172 [lldb][AArch64] Save/restore TLS registers around expressions
Previously lldb was storing them but not restoring them. Meaning that this function:
```
void expr(uint64_t value) {
  __asm__ volatile("msr tpidr_el0, %0" ::"r"(value));
}
```
When run from lldb:
```
(lldb) expression expr()
```
Would leave tpidr as `value` instead of the original value of the register.

A check for this scenario has been added to TestAArch64LinuxTLSRegisters.py,
which covers tpidr and the SME excluisve tpidr2 register when it's present.

Reviewed By: omjavaid

Differential Revision: https://reviews.llvm.org/D156512
2023-08-03 12:33:49 +00:00
..
API [lldb][AArch64] Save/restore TLS registers around expressions 2023-08-03 12:33:49 +00:00
Shell [lldb] XFAIL command-disassemble-mixed.c on Windows 2023-07-19 09:04:56 +00:00
Unit [NFC][Py Reformat] Reformat python files in lldb 2023-05-25 12:54:09 -07:00
CMakeLists.txt [lldb] Remove reproducer test suite (NFC) 2023-05-26 09:33:40 -07:00
lit.cfg.py [NFC][Py Reformat] Reformat python files in lldb 2023-05-25 12:54:09 -07:00
lit.site.cfg.py.in Use lit_config.substitute instead of foo % lit_config.params everywhere 2022-03-16 09:57:41 +01:00