mirror_zfs/lib/libspl
Sebastian Pauka 1b4826b9a2
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
2025-04-24 13:58:48 -04:00
..
include Cleanup VERIFY() macros (#17163) 2025-04-16 09:01:32 -07:00
os SPDX: license tags: BSD-2-Clause 2025-03-13 17:56:46 -07:00
assert.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
atomic.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
backtrace.c Support using llvm-libunwind 2025-04-24 13:58:48 -04:00
getexecname.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
libspl_impl.h SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
list.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -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-03-13 17:56:27 -07:00
page.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
strlcat.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
strlcpy.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
timestamp.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00