[all-commits] [llvm/llvm-project] 7dbbb5: compiler-rt: Use FreeBSD's elf_aux_info to detect ...
Dimitry Andric via All-commits
all-commits at lists.llvm.org
Sat Nov 20 03:13:20 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7dbbb5d3a46e1526cfa126ae02a5856d7ce0fda9
https://github.com/llvm/llvm-project/commit/7dbbb5d3a46e1526cfa126ae02a5856d7ce0fda9
Author: Dimitry Andric <dimitry at andric.com>
Date: 2021-11-20 (Sat, 20 Nov 2021)
Changed paths:
M compiler-rt/lib/builtins/cpu_model.c
Log Message:
-----------
compiler-rt: Use FreeBSD's elf_aux_info to detect AArch64 HW features
Using the out-of-line LSE atomics helpers for AArch64 on FreeBSD also
requires adding support for initializing __aarch64_have_lse_atomics
correctly. On Linux this is done with getauxval(3), on FreeBSD with
elf_aux_info(3), which has a slightly different interface.
Differential Revision: https://reviews.llvm.org/D109330
More information about the All-commits
mailing list