[all-commits] [llvm/llvm-project] 10d735: [lldb][FreeBSD] Add Auxv numbers for HWCAP3 and HW...
David Spickett via All-commits
all-commits at lists.llvm.org
Wed Jul 30 03:24:57 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 10d7352c7a9997f0d39d0ee26a786b08f904b5d6
https://github.com/llvm/llvm-project/commit/10d7352c7a9997f0d39d0ee26a786b08f904b5d6
Author: David Spickett <david.spickett at linaro.org>
Date: 2025-07-30 (Wed, 30 Jul 2025)
Changed paths:
M lldb/source/Plugins/Process/Utility/AuxVector.cpp
M lldb/source/Plugins/Process/Utility/AuxVector.h
Log Message:
-----------
[lldb][FreeBSD] Add Auxv numbers for HWCAP3 and HWCAP4 (#151152)
These entries serve the same purpose as the Linux HWCAPs but have been
assigned different numbers as FreeBSD had already used the Linux ones.
The numbers were assigned in:
https://github.com/freebsd/freebsd-src/commit/85007872d1227006adf2ce119fe30de856cbe12d
In theory we can read these for the purposes of register field
detection, even on earlier versions of FreeBSD. As the aux data is a
key-value structure, we simply won't find the new numbers on older
systems.
However, FreeBSD has not defined any feature bits for HWACP3 and 4. It
is likley that they will match the Linux feature bits, but I have no
proof of that yet.
For instance, FEAT_MTE_STORE_ONLY is indicated by a HWCAP3 feature bit
on Linux. FreeBSD does not support this feature at all yet.
So for now, these values exist for future use and are not used for
register field detection on FreeBSD.
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