mirror_zfs/lib/libspl
Sebastian Pauka 28f0c5cfdc Support using llvm-libunwind
This commit adds support for using llvm-libunwind for kernels built
using llvm and clang. The two differences are that the largest register
index is given by _LIBUNWIND_HIGHEST_DWARF_REGISTER, we need to check
whether the register is a floating point register and the prototype
for unw_regname takes the unwind cursor as the first argument.

Reviewed-by: Rob Norris <robn@despairlabs.com>
Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Signed-off-by: Sebastian Pauka <me@spauka.se>
Closes #17230
(cherry picked from commit 1b4826b9a2)
2025-05-28 16:00:28 -07:00
..
include Cleanup VERIFY() macros (#17163) 2025-05-28 16:00:28 -07:00
os SPDX: license tags: BSD-2-Clause 2025-04-16 09:59:44 -07:00
assert.c SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
atomic.c SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
backtrace.c Support using llvm-libunwind 2025-05-28 16:00:28 -07:00
getexecname.c SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
libspl_impl.h SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
list.c SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
Makefile.am libspl: lift backtrace into a separate file 2024-05-14 09:48:45 -07:00
mkdirp.c SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
page.c SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
strlcat.c SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
strlcpy.c SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
timestamp.c SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00