[all-commits] [llvm/llvm-project] d26ca8: [lldb][AArch64] Add HWCAP3 to register field detec...

David Spickett via All-commits all-commits at lists.llvm.org
Mon Jul 28 08:09:46 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d26ca8b87266024546501051ccaf75cb3756aee3
      https://github.com/llvm/llvm-project/commit/d26ca8b87266024546501051ccaf75cb3756aee3
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2025-07-28 (Mon, 28 Jul 2025)

  Changed paths:
    M lldb/source/Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_arm64.cpp
    M lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.cpp
    M lldb/source/Plugins/Process/Utility/AuxVector.cpp
    M lldb/source/Plugins/Process/Utility/AuxVector.h
    M lldb/source/Plugins/Process/Utility/RegisterFlagsDetector_arm64.cpp
    M lldb/source/Plugins/Process/Utility/RegisterFlagsDetector_arm64.h
    M lldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_arm64.cpp

  Log Message:
  -----------
  [lldb][AArch64] Add HWCAP3 to register field detection (#145029)

This will be used to detect the presence of Arm's new Memory Tagging
store only checking feature. This commit just adds the plumbing to get
that value into the detection function.

FreeBSD has not allocated a number for HWCAP3 and already has AT_ARGV
defined as 29. So instead of attempting to read from FreeBSD processes,
I've explicitly passed 0. We don't want to be reading some other entry
accidentally.

If/when FreeBSD adds HWCAP3 we can handle it like we do for
AUXV_FREEBSD_AT_HWCAP.

No extra tests here, those will be coming with the next change for MTE
support.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list