unw_flush_cache(3)

unw_flush_cache3

Usage

#include <libunwind.h>

void unw_flush_cache(unw_addr_space_t as, unw_word_t lo, unw_word_t hi);

Overview

The unw_flush_cache() routine flushes all cached info as it relates to address range lo to hi (non-inclusive) in the target address space as. In addition, all info cached for address space as that is not tied to a particular code range is also flushed. For example, the address of the dynamic registration list is not tied to a code range and its cached value (if any) is flushed by a call to this routine. The address range specified by lo and hi should be understood as a hint: unw_flush_cache() may flush more information than requested, but never less. In other words, unw_flush_cache() may overflush, but not underflush.

As a special case, if arguments lo and hi are both 0, all information cached on behalf of address space as is flushed.

Return value

The unw_flush_cache() routine cannot fail and does not return a value.

Thread and signal safety

The unw_flush_cache() routine is thread safe as well as safe to use from a signal handler.

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 2 times.

  1. 6.0–10
  2. 11–12
  3. Arch

Author

David Mosberger-Tang
Email: [email protected]
WWW: http://www.nongnu.org/libunwind/.

From libunwind 1.8.3-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.