FreeBSD Ports

devel/libunwind 20250904

Generic stack unwinding library

Repository
FreeBSD ports
Maintainer
[email protected]
License
MIT
Categories
devel
Package size
213.5 KiB, 1186.7 KiB installed

Description

The primary goal of this project is to define a portable and efficient C programming interface (API) to determine the call-chain of a program. The API additionally provides the means to manipulate the preserved (callee-saved) state of each call-frame and to resume execution at any point in the call-chain (non-local goto). The API supports both local (same-process) and remote (across-process) operation. As such, the API is useful in a number of applications. Some examples include:

  • exception handling The libunwind API makes it trivial to implement the stack-manipulation aspects of exception handling.
  • debuggers The libunwind API makes it trivial for debuggers to generate the call-chain (backtrace) of the threads in a running program.
  • introspection It is often useful for a running thread to determine its call-chain. For example, this is useful to display error messages (to show how the error came about) and for performance monitoring/analysis.
  • efficient setjmp() With libunwind, it is possible to implement an extremely efficient version of setjmp(). Effectively, the only context that needs to be saved consists of the stack-pointer(s).

Install

As a binary package — by origin, or by package name:

pkg install devel/libunwind
pkg install libunwind

From the ports tree:

cd /usr/ports/devel/libunwind/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	libunwind>0:devel/libunwind
LIB_DEPENDS=	libunwind-.so:devel/libunwind

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest202509042025090420211201_120240221_220250904
FreeBSD:14:quarterly2025090420250904n/a20240221_220250904
FreeBSD:15:latest2025090420250904n/a20240221_220240221_2
FreeBSD:15:quarterly2025090420250904n/an/an/a
FreeBSD:16:latest2025090420250904n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

All build dependencies 1
Required by 5654

The first 100 are listed.

Configuration

No options to configure.

USES
compiler:c11 cpe libtool pkgconfig
Service scripts
none

Files

Manual pages 40
  • _U_dyn_cancel(3)
  • _U_dyn_register(3)
  • libunwind(3)
  • libunwind-coredump(3)
  • libunwind-dynamic(3)
  • libunwind-ia64(3)
  • libunwind-nto(3)
  • libunwind-ptrace(3)
  • libunwind-setjmp(3)
  • unw_apply_reg_state(3)
  • unw_backtrace(3)
  • unw_create_addr_space(3)
  • unw_destroy_addr_space(3)
  • unw_flush_cache(3)
  • unw_get_accessors(3)
  • unw_get_elf_filename(3)
  • unw_get_elf_filename_by_ip(3)
  • unw_get_fpreg(3)
  • unw_get_proc_info(3)
  • unw_get_proc_info_by_ip(3)
  • unw_get_proc_info_in_range(3)
  • unw_get_proc_name(3)
  • unw_get_proc_name_by_ip(3)
  • unw_get_reg(3)
  • unw_getcontext(3)
  • unw_init_local(3)
  • unw_init_local2(3)
  • unw_init_remote(3)
  • unw_is_fpreg(3)
  • unw_is_signal_frame(3)
  • unw_reg_states_iterate(3)
  • unw_regname(3)
  • unw_resume(3)
  • unw_set_cache_size(3)
  • unw_set_caching_policy(3)
  • unw_set_fpreg(3)
  • unw_set_iterate_phdr_function(3)
  • unw_set_reg(3)
  • unw_step(3)
  • unw_strerror(3)
pkg-plist 73
  • include/libunwind-.h
  • include/libunwind-common.h
  • include/libunwind-coredump.h
  • include/libunwind-dynamic.h
  • include/libunwind-ptrace.h
  • include/libunwind.h
  • lib/libunwind-.a
  • lib/libunwind-.so
  • lib/libunwind-.so.8
  • lib/libunwind-.so.8.2.0
  • lib/libunwind-coredump.a
  • lib/libunwind-coredump.so
  • lib/libunwind-coredump.so.0
  • lib/libunwind-coredump.so.0.0.0
  • lib/libunwind-generic.a
  • lib/libunwind-generic.so
  • lib/libunwind-ptrace.a
  • lib/libunwind-ptrace.so
  • lib/libunwind-ptrace.so.0
  • lib/libunwind-ptrace.so.0.0.0
  • lib/libunwind-setjmp.a
  • lib/libunwind-setjmp.so
  • lib/libunwind-setjmp.so.0
  • lib/libunwind-setjmp.so.0.0.0
  • lib/libunwind.a
  • lib/libunwind.so
  • lib/libunwind.so.8
  • lib/libunwind.so.8.2.0
  • libdata/pkgconfig/libunwind-coredump.pc
  • libdata/pkgconfig/libunwind-generic.pc
  • libdata/pkgconfig/libunwind-ptrace.pc
  • libdata/pkgconfig/libunwind-setjmp.pc
  • libdata/pkgconfig/libunwind.pc
  • share/man/man3/_U_dyn_cancel.3.gz
  • share/man/man3/_U_dyn_register.3.gz
  • share/man/man3/libunwind-coredump.3.gz
  • share/man/man3/libunwind-dynamic.3.gz
  • share/man/man3/libunwind-ia64.3.gz
  • share/man/man3/libunwind-nto.3.gz
  • share/man/man3/libunwind-ptrace.3.gz
  • share/man/man3/libunwind-setjmp.3.gz
  • share/man/man3/libunwind.3.gz
  • share/man/man3/unw_apply_reg_state.3.gz
  • share/man/man3/unw_backtrace.3.gz
  • share/man/man3/unw_create_addr_space.3.gz
  • share/man/man3/unw_destroy_addr_space.3.gz
  • share/man/man3/unw_flush_cache.3.gz
  • share/man/man3/unw_get_accessors.3.gz
  • share/man/man3/unw_get_elf_filename.3.gz
  • share/man/man3/unw_get_elf_filename_by_ip.3.gz
  • share/man/man3/unw_get_fpreg.3.gz
  • share/man/man3/unw_get_proc_info.3.gz
  • share/man/man3/unw_get_proc_info_by_ip.3.gz
  • share/man/man3/unw_get_proc_info_in_range.3.gz
  • share/man/man3/unw_get_proc_name.3.gz
  • share/man/man3/unw_get_proc_name_by_ip.3.gz
  • share/man/man3/unw_get_reg.3.gz
  • share/man/man3/unw_getcontext.3.gz
  • share/man/man3/unw_init_local.3.gz
  • share/man/man3/unw_init_local2.3.gz
  • share/man/man3/unw_init_remote.3.gz
  • share/man/man3/unw_is_fpreg.3.gz
  • share/man/man3/unw_is_signal_frame.3.gz
  • share/man/man3/unw_reg_states_iterate.3.gz
  • share/man/man3/unw_regname.3.gz
  • share/man/man3/unw_resume.3.gz
  • share/man/man3/unw_set_cache_size.3.gz
  • share/man/man3/unw_set_caching_policy.3.gz
  • share/man/man3/unw_set_fpreg.3.gz
  • share/man/man3/unw_set_iterate_phdr_function.3.gz
  • share/man/man3/unw_set_reg.3.gz
  • share/man/man3/unw_step.3.gz
  • share/man/man3/unw_strerror.3.gz
distinfo 3
FileSizeSHA256
libunwind-1.8.3.tar.gz981017be30d910e67f58d82e753231f1357f326a1a088acf126b21ff77e60aab19b90b
b841b2a2665da25dd28fd16977a77bf8b3494dc7.patch95356570397cbdd40ef36d3fe06538357651b2a7923780bc7e49b486857eb4999b5
2ad7f439d6d04a808947e04b07e1efb34371c8b2.patch120187fdd01ce33faa27f001895e0c672c172dfd8b14e5dec69f0466ac7ecabd85e6
Master sites 1
  • https://github.com/libunwind/libunwind/releases/download/v1.8.3/

Commit history 0

No commits in the history this site was built from.