[all-commits] [llvm/llvm-project] e3d750: [lldb][AArch64][Linux] Add fields for FPCR registe...

David Spickett via All-commits all-commits at lists.llvm.org
Thu Nov 9 01:32:38 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e3d750cc40e4cea281924142859dd4b9a6465f99
      https://github.com/llvm/llvm-project/commit/e3d750cc40e4cea281924142859dd4b9a6465f99
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2023-11-09 (Thu, 09 Nov 2023)

  Changed paths:
    M lldb/source/Plugins/Process/Utility/RegisterFlagsLinux_arm64.cpp
    M lldb/source/Plugins/Process/Utility/RegisterFlagsLinux_arm64.h
    M lldb/test/API/commands/register/register/register_command/TestRegisters.py
    M lldb/test/API/functionalities/postmortem/elf-core/TestLinuxCore.py

  Log Message:
  -----------
  [lldb][AArch64][Linux] Add fields for FPCR register (#71694)

Follows the format laid out in the Arm manual, AArch32 only fields are
ignored.

```
(lldb) register read fpcr
    fpcr = 0x00000000
         = (AHP = 0, DN = 0, FZ = 0, RMMode = 0, FZ16 = 0, IDE = 0, IXE = 0, UFE = 0, OFE = 0, DZE = 0, IOE = 0)
```

Tests use the first 4 fields that we know are always present.

Converted all the HCWAP defines to `UL` because I'm bound to
forget one if I don't do it now.




More information about the All-commits mailing list