[compiler-rt] [builtins] Rename sysauxv to getauxval to reflect the function called. NFCI (PR #102796)
Brad Smith via llvm-commits
llvm-commits at lists.llvm.org
Sat Aug 10 23:58:01 PDT 2024
https://github.com/brad0 created https://github.com/llvm/llvm-project/pull/102796
None
>From f6419f0c47f9cebf1f25f08b8b930cf9631b544f Mon Sep 17 00:00:00 2001
From: Brad Smith <brad at comstyle.com>
Date: Sun, 11 Aug 2024 02:51:44 -0400
Subject: [PATCH] [builtins] Rename sysauxv to getauxval to reflect the
function called. NFCI
---
compiler-rt/lib/builtins/cpu_model/aarch64.c | 4 ++--
.../cpu_model/aarch64/fmv/{sysauxv.inc => getauxval.inc} | 0
.../aarch64/lse_atomics/{sysauxv.inc => getauxval.inc} | 0
3 files changed, 2 insertions(+), 2 deletions(-)
rename compiler-rt/lib/builtins/cpu_model/aarch64/fmv/{sysauxv.inc => getauxval.inc} (100%)
rename compiler-rt/lib/builtins/cpu_model/aarch64/lse_atomics/{sysauxv.inc => getauxval.inc} (100%)
diff --git a/compiler-rt/lib/builtins/cpu_model/aarch64.c b/compiler-rt/lib/builtins/cpu_model/aarch64.c
index b868caa991b2ea..ec4b08bfa89ac8 100644
--- a/compiler-rt/lib/builtins/cpu_model/aarch64.c
+++ b/compiler-rt/lib/builtins/cpu_model/aarch64.c
@@ -47,7 +47,7 @@ _Bool __aarch64_have_lse_atomics
#include "aarch64/lse_atomics/android.inc"
#elif __has_include(<sys/auxv.h>)
#include "aarch64/hwcap.inc"
-#include "aarch64/lse_atomics/sysauxv.inc"
+#include "aarch64/lse_atomics/getauxval.inc"
#else
// When unimplemented, we leave __aarch64_have_lse_atomics initialized to false.
#endif
@@ -75,7 +75,7 @@ struct {
#include "aarch64/fmv/android.inc"
#elif __has_include(<sys/auxv.h>)
#include "aarch64/fmv/mrs.inc"
-#include "aarch64/fmv/sysauxv.inc"
+#include "aarch64/fmv/getauxval.inc"
#else
#include "aarch64/fmv/unimplemented.inc"
#endif
diff --git a/compiler-rt/lib/builtins/cpu_model/aarch64/fmv/sysauxv.inc b/compiler-rt/lib/builtins/cpu_model/aarch64/fmv/getauxval.inc
similarity index 100%
rename from compiler-rt/lib/builtins/cpu_model/aarch64/fmv/sysauxv.inc
rename to compiler-rt/lib/builtins/cpu_model/aarch64/fmv/getauxval.inc
diff --git a/compiler-rt/lib/builtins/cpu_model/aarch64/lse_atomics/sysauxv.inc b/compiler-rt/lib/builtins/cpu_model/aarch64/lse_atomics/getauxval.inc
similarity index 100%
rename from compiler-rt/lib/builtins/cpu_model/aarch64/lse_atomics/sysauxv.inc
rename to compiler-rt/lib/builtins/cpu_model/aarch64/lse_atomics/getauxval.inc
More information about the llvm-commits
mailing list