commit | 85d76345addd9781374874db9d2178f7b5cdf5c6 | [log] [tgz] |
---|---|---|
author | Dimitry Andric <dimitry@andric.com> | Sat Nov 20 12:10:06 2021 +0100 |
committer | Copybara-Service <copybara-worker@google.com> | Sat Nov 20 03:16:16 2021 -0800 |
tree | b02f7300495446114090b639b6bfe6d075380d3f | |
parent | c2437e2022b9c7d938717a8c96ce98bf27778cfe [diff] |
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 GitOrigin-RevId: 7dbbb5d3a46e1526cfa126ae02a5856d7ce0fda9