BSD Ports

devel/libunwind-devel g20261022 FreeBSD

Generic stack unwinding library (development version)

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Port added
Last update
Commit
0bc3842e2b
License
MIT
Categories
devel

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).

This is a development snapshot of libunwind. Its shared libraries have a different version than the ones of devel/libunwind, so both ports can be installed at the same time. To make that possible the development files (headers, static libraries, pkg-config files and manual pages) are installed under /usr/local/libunwind11, while only the versioned shared libraries are installed in /usr/local/lib.

Version history 1

  1. g20261022 0bc3842e2b

Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.

Install

Binary package:

pkg install libunwind-devel

From the ports tree:

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

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

RUN_DEPENDS=	libunwind-devel>0:devel/libunwind-devel

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:latest-g20261022--g20261022
FreeBSD:14:quarterly--n/a--
FreeBSD:15:latestg20261022g20261022n/a--
FreeBSD:15:quarterly--n/an/an/a
FreeBSD:16:latest-g20261022n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependency graph

Ports that need it on the left, what it needs to run on the right (to build, as it needs nothing to run); at most 8 of each. "Dependencies" below lists them all.

Dependencies

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

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

Build dependencies 9

Configuration

No options to configure.

USES
autoreconf 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
  • lib/libunwind-.so.11
  • lib/libunwind-.so.11.0.0
  • lib/libunwind.so.11
  • lib/libunwind.so.11.0.0
  • libunwind11/include/libunwind-coredump.h
  • libunwind11/include/libunwind-.h
  • libunwind11/include/libunwind-common.h
  • libunwind11/include/libunwind-dynamic.h
  • libunwind11/include/libunwind-ptrace.h
  • libunwind11/include/libunwind.h
  • libunwind11/lib/libunwind-.a
  • libunwind11/lib/libunwind-.so
  • libunwind11/lib/libunwind-coredump.a
  • libunwind11/lib/libunwind-coredump.so
  • libunwind11/lib/libunwind-coredump.so.0
  • libunwind11/lib/libunwind-coredump.so.0.1.0
  • libunwind11/lib/libunwind-generic.a
  • libunwind11/lib/libunwind-generic.so
  • libunwind11/lib/libunwind-ptrace.a
  • libunwind11/lib/libunwind-ptrace.so
  • libunwind11/lib/libunwind-ptrace.so.0
  • libunwind11/lib/libunwind-ptrace.so.0.0.0
  • libunwind11/lib/libunwind-setjmp.a
  • libunwind11/lib/libunwind-setjmp.so
  • libunwind11/lib/libunwind-setjmp.so.0
  • libunwind11/lib/libunwind-setjmp.so.0.0.0
  • libunwind11/lib/libunwind.a
  • libunwind11/lib/libunwind.so
  • libunwind11/libdata/pkgconfig/libunwind-coredump.pc
  • libunwind11/libdata/pkgconfig/libunwind-generic.pc
  • libunwind11/libdata/pkgconfig/libunwind-ptrace.pc
  • libunwind11/libdata/pkgconfig/libunwind-setjmp.pc
  • libunwind11/libdata/pkgconfig/libunwind.pc
  • libunwind11/share/man/man3/_U_dyn_cancel.3.gz
  • libunwind11/share/man/man3/_U_dyn_register.3.gz
  • libunwind11/share/man/man3/libunwind-coredump.3.gz
  • libunwind11/share/man/man3/libunwind-dynamic.3.gz
  • libunwind11/share/man/man3/libunwind-ia64.3.gz
  • libunwind11/share/man/man3/libunwind-nto.3.gz
  • libunwind11/share/man/man3/libunwind-ptrace.3.gz
  • libunwind11/share/man/man3/libunwind-setjmp.3.gz
  • libunwind11/share/man/man3/libunwind.3.gz
  • libunwind11/share/man/man3/unw_apply_reg_state.3.gz
  • libunwind11/share/man/man3/unw_backtrace.3.gz
  • libunwind11/share/man/man3/unw_create_addr_space.3.gz
  • libunwind11/share/man/man3/unw_destroy_addr_space.3.gz
  • libunwind11/share/man/man3/unw_flush_cache.3.gz
  • libunwind11/share/man/man3/unw_get_accessors.3.gz
  • libunwind11/share/man/man3/unw_get_elf_filename.3.gz
  • libunwind11/share/man/man3/unw_get_elf_filename_by_ip.3.gz
  • libunwind11/share/man/man3/unw_get_fpreg.3.gz
  • libunwind11/share/man/man3/unw_get_proc_info.3.gz
  • libunwind11/share/man/man3/unw_get_proc_info_by_ip.3.gz
  • libunwind11/share/man/man3/unw_get_proc_info_in_range.3.gz
  • libunwind11/share/man/man3/unw_get_proc_name.3.gz
  • libunwind11/share/man/man3/unw_get_proc_name_by_ip.3.gz
  • libunwind11/share/man/man3/unw_get_reg.3.gz
  • libunwind11/share/man/man3/unw_getcontext.3.gz
  • libunwind11/share/man/man3/unw_init_local.3.gz
  • libunwind11/share/man/man3/unw_init_local2.3.gz
  • libunwind11/share/man/man3/unw_init_remote.3.gz
  • libunwind11/share/man/man3/unw_is_fpreg.3.gz
  • libunwind11/share/man/man3/unw_is_signal_frame.3.gz
  • libunwind11/share/man/man3/unw_reg_states_iterate.3.gz
  • libunwind11/share/man/man3/unw_regname.3.gz
  • libunwind11/share/man/man3/unw_resume.3.gz
  • libunwind11/share/man/man3/unw_set_cache_size.3.gz
  • libunwind11/share/man/man3/unw_set_caching_policy.3.gz
  • libunwind11/share/man/man3/unw_set_fpreg.3.gz
  • libunwind11/share/man/man3/unw_set_iterate_phdr_function.3.gz
  • libunwind11/share/man/man3/unw_set_reg.3.gz
  • libunwind11/share/man/man3/unw_step.3.gz
  • libunwind11/share/man/man3/unw_strerror.3.gz
distinfo 1
FileSizeSHA256
libunwind-libunwind-g20261022-6b186af8553eb8e15bd42691c92bc0c895a154fe_GH0.tar.gz1.31473e+06a8e841086c9416c90e7d7205be7ddde9b485ea0c8c5ce7c4f4b1c77de4ea415f

Commit history 2

DateCommitCreditsLog message
0bc3842e2b Baptiste Daroussin devel/libunwind-devel: allow installation alongside libunwind
Only install the share library in the library path in order to be able to have both libunwind-devel and libunwind installed at the same time.
d94ea4f12d Gleb Popov devel/libunwind-devel: New port, a bleeding edge version of libunwind