diff options
author | David Spickett <david.spickett@linaro.org> | 2025-07-30 11:24:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-30 11:24:35 +0100 |
commit | 10d7352c7a9997f0d39d0ee26a786b08f904b5d6 (patch) | |
tree | 19f01d9e9dee8a11b1319d0c1ba5ff4e0e2a04e4 /clang/lib/Frontend/CreateInvocationFromCommandLine.cpp | |
parent | 13f38c97d597f3b07fb674d9b8c2b1db2bc0724f (diff) | |
download | llvm-10d7352c7a9997f0d39d0ee26a786b08f904b5d6.zip llvm-10d7352c7a9997f0d39d0ee26a786b08f904b5d6.tar.gz llvm-10d7352c7a9997f0d39d0ee26a786b08f904b5d6.tar.bz2 |
[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.
Diffstat (limited to 'clang/lib/Frontend/CreateInvocationFromCommandLine.cpp')
0 files changed, 0 insertions, 0 deletions