mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-14 20:28:12 +01:00
a51cf49031
Add interface for configurable dwarf cache size * Use item size and round up to nearest power of 2. * Initial cache still exists in BSS. Without this, it means we would fail backtrace when out of memory. The test-mem test fails without this
93 lines
1.7 KiB
Groff
93 lines
1.7 KiB
Groff
'\" t
|
|
.\" Manual page created with latex2man on Fri Dec 2 16:09:33 PST 2016
|
|
.\" NOTE: This file is generated, DO NOT EDIT.
|
|
.de Vb
|
|
.ft CW
|
|
.nf
|
|
..
|
|
.de Ve
|
|
.ft R
|
|
|
|
.fi
|
|
..
|
|
.TH "UNW\\_FLUSH\\_CACHE" "3" "02 December 2016" "Programming Library " "Programming Library "
|
|
.SH NAME
|
|
unw_flush_cache
|
|
\-\- flush cached info
|
|
.PP
|
|
.SH SYNOPSIS
|
|
|
|
.PP
|
|
#include <libunwind.h>
|
|
.br
|
|
.PP
|
|
void
|
|
unw_flush_cache(unw_addr_space_t
|
|
as,
|
|
unw_word_t
|
|
lo,
|
|
unw_word_t
|
|
hi);
|
|
.br
|
|
.PP
|
|
.SH DESCRIPTION
|
|
|
|
.PP
|
|
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 \fInever\fP
|
|
less. In other words, unw_flush_cache()
|
|
may
|
|
overflush, but not underflush.
|
|
.PP
|
|
As a special case, if arguments lo
|
|
and hi
|
|
are both 0, all
|
|
information cached on behalf of address space as
|
|
is flushed.
|
|
.PP
|
|
.SH RETURN VALUE
|
|
|
|
.PP
|
|
The unw_flush_cache()
|
|
routine cannot fail and does not
|
|
return a value.
|
|
.PP
|
|
.SH THREAD AND SIGNAL SAFETY
|
|
|
|
.PP
|
|
The unw_flush_cache()
|
|
routine is thread\-safe as well as safe to
|
|
use from a signal handler.
|
|
.PP
|
|
.SH SEE ALSO
|
|
|
|
.PP
|
|
libunwind(3),
|
|
unw_set_caching_policy(3)
|
|
unw_set_cache_size(3)
|
|
.PP
|
|
.SH AUTHOR
|
|
|
|
.PP
|
|
David Mosberger\-Tang
|
|
.br
|
|
Email: \fBdmosberger@gmail.com\fP
|
|
.br
|
|
WWW: \fBhttp://www.nongnu.org/libunwind/\fP\&.
|
|
.\" NOTE: This file is generated, DO NOT EDIT.
|