[all-commits] [llvm/llvm-project] 2f48a1: [lldb][FreeBSD] Add FreeBSD specific AT_HWCAP valu...

David Spickett via All-commits all-commits at lists.llvm.org
Tue Apr 2 04:14:21 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2f48a1ff574573e7be170d39ab8de79d9db8bcea
      https://github.com/llvm/llvm-project/commit/2f48a1ff574573e7be170d39ab8de79d9db8bcea
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2024-04-02 (Tue, 02 Apr 2024)

  Changed paths:
    M lldb/source/Plugins/Process/Utility/AuxVector.h

  Log Message:
  -----------
  [lldb][FreeBSD] Add FreeBSD specific AT_HWCAP value (#84147)

While adding register fields I realised that the AUXV values for Linux
and FreeBSD disagree here.

So I've added a FreeBSD specific HWCAP value that I can use from FreeBSD
specific code.

The alternative is translating GetAuxValue calls depending on platform,
which requires that we know what we are at all times.

Another way would be to convert the entries' values when we construct
the AuxVector but the platform specific call that reads the data just
returns a raw array. So adding another layer here is more disruption.



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