[all-commits] [llvm/llvm-project] 23fcca: [compiler-rt][builtins] Define AT_HWCAP2 for AArch64

Xi Ruoyao via All-commits all-commits at lists.llvm.org
Wed Mar 8 07:28:04 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 23fcca822a3a3b9a14b6a1ad432814e2634cdb63
      https://github.com/llvm/llvm-project/commit/23fcca822a3a3b9a14b6a1ad432814e2634cdb63
  Author: Xi Ruoyao <xry111 at xry111.site>
  Date:   2023-03-08 (Wed, 08 Mar 2023)

  Changed paths:
    M compiler-rt/lib/builtins/cpu_model.c

  Log Message:
  -----------
  [compiler-rt][builtins] Define AT_HWCAP2 for AArch64

Without the definition, build fails on AArch64 with

> error: 'AT_HWCAP2' undeclared (first use in this function);
> did you mean 'AT_HWCAP'?

with old Glibc versions.

Differential Revision: https://reviews.llvm.org/D145494




More information about the All-commits mailing list