[all-commits] [llvm/llvm-project] 44ca65: [libc] Only include getauxval on AARCH64 targets (...

Joseph Huber via All-commits all-commits at lists.llvm.org
Mon Jun 17 13:51:48 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 44ca65661e2cdd5636f592f573a2837e6ae948ba
      https://github.com/llvm/llvm-project/commit/44ca65661e2cdd5636f592f573a2837e6ae948ba
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-06-17 (Mon, 17 Jun 2024)

  Changed paths:
    M libc/test/IntegrationTest/test.cpp
    M libc/test/UnitTest/HermeticTestUtils.cpp

  Log Message:
  -----------
  [libc] Only include getauxval on AARCH64 targets (#95844)

Summary:
Not all platforms support this function or header, but it was being
included by every test. Move it inside of the `ifdef` for the only user,
which is aarch64.



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