Home
last modified time | relevance | path

Searched refs:unw (Results 1 – 25 of 42) sorted by relevance

12

/external/libunwind/doc/
Dlibunwind.tex16 \Type{int} \Func{unw\_getcontext}(\Type{unw\_context\_t~*});\\
18 \Type{int} \Func{unw\_init\_local}(\Type{unw\_cursor\_t~*}, \Type{unw\_context\_t~*});\\
20 \Type{int} \Func{unw\_init\_remote}(\Type{unw\_cursor\_t~*}, \Type{unw\_addr\_space\_t}, \Type{void…
22 \Type{int} \Func{unw\_step}(\Type{unw\_cursor\_t~*});\\
24 \Type{int} \Func{unw\_get\_reg}(\Type{unw\_cursor\_t~*}, \Type{unw\_regnum\_t}, \Type{unw\_word\_t~…
26 \Type{int} \Func{unw\_get\_fpreg}(\Type{unw\_cursor\_t~*}, \Type{unw\_regnum\_t}, \Type{unw\_fpreg\…
28 \Type{int} \Func{unw\_set\_reg}(\Type{unw\_cursor\_t~*}, \Type{unw\_regnum\_t}, \Type{unw\_word\_t}…
30 \Type{int} \Func{unw\_set\_fpreg}(\Type{unw\_cursor\_t~*}, \Type{unw\_regnum\_t}, \Type{unw\_fpreg\…
32 \Type{int} \Func{unw\_resume}(\Type{unw\_cursor\_t~*});\\
35 \Type{unw\_addr\_space\_t} \Var{unw\_local\_addr\_space};\\
[all …]
Dunw_get_accessors.tex8 \begin{Name}{3}{unw\_get\_accessors}{David Mosberger-Tang}{Programming Library}{unw\_get\_accessors…
15 \Type{unw\_accessors\_t~*}\Func{unw\_get\_accessors}(\Type{unw\_addr\_space\_t~}\Var{as});\\
19 The \Func{unw\_get\_accessors}() routine returns a pointer to a
20 \Type{unw\_accessors\_t} structure, which contains the call-back
22 (see \Func{unw\_create\_addr\_space}(3)). The returned pointer is
24 by a call to \Func{unw\_destroy\_addr\_space}(3).
26 Note that \Func{unw\_get\_accessors}() can be used to retrieve the
28 \Var{unw\_local\_addr\_space}.
32 The \Func{unw\_get\_accessors}() routine cannot fail and always
34 \Type{unw\_accessors\_t} structure.
[all …]
Dunw_get_fpreg.tex8 \begin{Name}{3}{unw\_get\_fpreg}{David Mosberger-Tang}{Programming Library}{unw\_get\_fpreg}unw\_ge…
15 \Type{int} \Func{unw\_get\_fpreg}(\Type{unw\_cursor\_t~*}\Var{cp}, \Type{unw\_regnum\_t} \Var{reg},…
19 The \Func{unw\_get\_fpreg}() routine reads the value of floating-point
30 \Func{unw\_is\_signal\_frame}(3)), it is usually possible to access
33 Note that \Func{unw\_get\_fpreg}() can only read the contents of
34 floating-point registers. See \Func{unw\_get\_fpreg}(3) for a way to
39 On successful completion, \Func{unw\_get\_fpreg}() returns 0.
45 \Func{unw\_get\_fpreg}() is thread-safe as well as safe to use
55 In addition, \Func{unw\_get\_fpreg}() may return any error returned by
58 \Func{unw\_create\_addr\_space}(3)).
[all …]
Dunw_set_fpreg.tex8 \begin{Name}{3}{unw\_set\_fpreg}{David Mosberger-Tang}{Programming Library}{unw\_set\_fpreg}unw\_se…
15 \Type{int} \Func{unw\_set\_fpreg}(\Type{unw\_cursor\_t~*}\Var{cp}, \Type{unw\_regnum\_t} \Var{reg},…
19 The \Func{unw\_set\_fpreg}() routine sets the value of register
30 \Func{unw\_is\_signal\_frame}(3)), it is usually possible to access
33 Note that \Func{unw\_set\_fpreg}() can only write the contents of
34 floating-point registers. See \Func{unw\_set\_reg}(3) for a way to
39 On successful completion, \Func{unw\_set\_fpreg}() returns 0.
45 \Func{unw\_set\_fpreg}() is thread-safe as well as safe to use
57 In addition, \Func{unw\_set\_fpreg}() may return any error returned by
60 \Func{unw\_create\_addr\_space}(3)).
[all …]
Dunw_init_local.tex8 \begin{Name}{3}{unw\_init\_local}{David Mosberger-Tang}{Programming Library}{unw\_init\_local}unw\_…
15 \Type{int} \Func{unw\_init\_local}(\Type{unw\_cursor\_t~*}\Var{c}, \Type{unw\_context\_t~*}\Var{ctx…
19 The \Func{unw\_init\_local}() routine initializes the unwind cursor
26 The \Func{unw\_init\_local}() routine can be used only for unwinding in
28 For all other cases, \Func{unw\_init\_remote}() must be used instead.
41 \Func{unw\_init\_local}(). Also, \Func{unw\_init\_local}() is
43 including \File{$<$libunwind.h$>$}, whereas \Func{unw\_init\_remote}()
48 On successful completion, \Func{unw\_init\_local}() returns 0.
54 \Func{unw\_init\_local}() is thread-safe as well as safe to use from a
60 \item[\Const{UNW\_EINVAL}] \Func{unw\_init\_local}() was called in a
[all …]
Dunw_get_reg.tex8 \begin{Name}{3}{unw\_get\_reg}{David Mosberger-Tang}{Programming Library}{unw\_get\_reg}unw\_get\_r…
15 \Type{int} \Func{unw\_get\_reg}(\Type{unw\_cursor\_t~*}\Var{cp}, \Type{unw\_regnum\_t} \Var{reg}, \…
19 The \Func{unw\_get\_reg}() routine reads the value of register
30 \Func{unw\_is\_signal\_frame}(3)), it is usually possible to access
33 Note that \Func{unw\_get\_reg}() can only read the contents of
35 \Func{unw\_get\_fpreg}(3) for a way to read registers which do not fit
40 On successful completion, \Func{unw\_get\_reg}() returns 0.
46 \Func{unw\_get\_reg}() is thread-safe as well as safe to use
56 In addition, \Func{unw\_get\_reg}() may return any error returned by
59 \Func{unw\_create\_addr\_space}(3)).
[all …]
Dunw_set_reg.tex8 \begin{Name}{3}{unw\_set\_reg}{David Mosberger-Tang}{Programming Library}{unw\_set\_reg}unw\_set\_r…
15 \Type{int} \Func{unw\_set\_reg}(\Type{unw\_cursor\_t~*}\Var{cp}, \Type{unw\_regnum\_t} \Var{reg}, \…
19 The \Func{unw\_set\_reg}() routine sets the value of register
30 \Func{unw\_is\_signal\_frame}(3)), it is usually possible to access
33 Note that \Func{unw\_set\_reg}() can only write the contents of
35 \Func{unw\_set\_fpreg}(3) for a way to write registers which do not
40 On successful completion, \Func{unw\_set\_reg}() returns 0.
46 \Func{unw\_set\_reg}() is thread-safe as well as safe to use
58 In addition, \Func{unw\_set\_reg}() may return any error returned by
61 \Func{unw\_create\_addr\_space}(3)).
[all …]
Dunw_get_proc_info_by_ip.tex8 \begin{Name}{3}{unw\_get\_proc\_info\_by\_ip}{David Mosberger-Tang}{Programming Library}{unw\_get\_…
15 \Type{int} \Func{unw\_get\_proc\_info\_by\_ip}(\Type{unw\_addr\_space\_t~}\Var{as}, \Type{unw\_word…
19 The \Func{unw\_get\_proc\_info\_by\_ip}() routine returns the same
21 \Func{unw\_get\_proc\_info}(), except that the info is looked up by
26 than \Func{unw\_get\_proc\_info}().
31 \Var{unw\_local\_addr\_space} can be passed for this argument.
34 type \Type{unw\_proc\_info\_t} which is used to return the info.
37 argument of the same name for \Func{unw\_init\_remote}(). When
39 \Var{unw\_local\_addr\_space}), \Const{NULL} must be passed for this
52 On successful completion, \Func{unw\_get\_proc\_info\_by\_ip}()
[all …]
Dunw_is_fpreg.tex8 \begin{Name}{3}{unw\_is\_fpreg}{David Mosberger-Tang}{Programming Library}{unw\_is\_fpreg}unw\_is\_…
15 \Type{int} \Func{unw\_is\_fpreg}(\Type{unw\_regnum\_t} \Var{reg});\\
19 The \Func{unw\_is\_fpreg}() routine checks whether register number
27 The \Func{unw\_is\_fpreg}() routine returns a non-zero value if
33 \Func{unw\_is\_fpreg}() is thread-safe as well as safe to use
39 \SeeAlso{unw\_get\_reg(3)},
40 \SeeAlso{unw\_set\_reg(3)},
41 \SeeAlso{unw\_get\_fpreg(3)},
42 \SeeAlso{unw\_set\_fpreg(3)}
Dunw_init_remote.tex8 \begin{Name}{3}{unw\_init\_remote}{David Mosberger-Tang}{Programming Library}{unw\_init\_remote}unw
15 \Type{int} \Func{unw\_init\_remote}(\Type{unw\_cursor\_t~*}\Var{c}, \Type{unw\_addr\_space\_t~}\Var…
19 The \Func{unw\_init\_remote}() routine initializes the unwind cursor
22 \Var{unw\_local\_addr\_space} (local address space) or to an arbitrary
23 address space created with \Func{unw\_create\_addr\_space}().
26 should be unwound. For example, if \Var{unw\_local\_addr\_space} is
35 Note that \Func{unw\_init\_remote}() can be used to initiate unwinding
38 generally preferable to use \Func{unw\_init\_local}() instead, because
43 On successful completion, \Func{unw\_init\_remote}() returns 0.
49 \Func{unw\_init\_remote}() is thread-safe. If the local address-space
[all …]
Dunw_resume.tex8 \begin{Name}{3}{unw\_resume}{David Mosberger-Tang}{Programming Library}{unw\_resume}unw\_resume -- …
15 \Type{int} \Func{unw\_resume}(\Type{unw\_cursor\_t~*}\Var{cp});\\
19 The \Func{unw\_resume}() routine resumes execution at the stack frame
23 For local unwinding, \Func{unw\_resume}() restores the machine state
25 \Func{unw\_resume}() does not return in this case. Restoring the
29 \Var{cp} was interrupted by a signal, then \Func{unw\_resume}() will
31 \Func{unw\_resume}() on a cursor which identifies the stack frame of
35 For remote unwinding, \Func{unw\_resume}() installs the machine state
39 \Func{unw\_resume} routine then returns normally (that is, unlikely
40 for local unwinding, \Func{unw\_resume} will always return for remote
[all …]
Dunw_getcontext.tex8 \begin{Name}{3}{unw\_getcontext}{David Mosberger-Tang}{Programming Library}{unw\_getcontext}unw\_ge…
15 \Type{int} \Func{unw\_getcontext}(\Type{unw\_context\_t~*}\Var{ucp});\\
19 The \Func{unw\_getcontext}() routine initializes the context structure
21 exact set of registers stored by \Func{unw\_getcontext}() is
31 On IA-64, \Type{unw\_context\_t} has a layout that is compatible with
33 \Func{getcontext}() instead of \Func{unw\_getcontext}(). However, the
35 initialized by \Func{unw\_getcontext()} in places where a structure
37 asymmetry is that \Func{unw\_getcontext()} is optimized for maximum
42 On successful completion, \Func{unw\_getcontext}() returns 0.
47 \Func{unw\_getcontext}() is thread-safe as well as safe to use
[all …]
Dunw_get_proc_info.tex8 \begin{Name}{3}{unw\_get\_proc\_info}{David Mosberger-Tang}{Programming Library}{unw\_get\_proc\_in…
15 \Type{int} \Func{unw\_get\_proc\_info}(\Type{unw\_cursor\_t~*}\Var{cp}, \Type{unw\_proc\_info\_t~*}…
19 The \Func{unw\_get\_proc\_info}() routine returns auxiliary
22 to a structure of type \Type{unw\_proc\_info\_t} which is used to
23 return the information. The \Type{unw\_proc\_info\_t} has the
26 \item[\Type{unw\_word\_t} \Var{start\_ip}] The address of the first
30 \item[\Type{unw\_word\_t} \Var{end\_ip}] The address of the first
34 \item[\Type{unw\_word\_t} \Var{lsda}] The address of the
38 \item[\Type{unw\_word\_t} \Var{handler}] The address of the exception
42 \item[\Type{unw\_word\_t} \Var{gp}] The global-pointer of the
[all …]
Dunw_flush_cache.tex8 \begin{Name}{3}{unw\_flush\_cache}{David Mosberger-Tang}{Programming Library}{unw\_flush\_cache}unw
15 \Type{void} \Func{unw\_flush\_cache}(\Type{unw\_addr\_space\_t} \Var{as}, \Type{unw\_word\_t} \Var{…
19 The \Func{unw\_flush\_cache}() routine flushes all cached info as it
27 \Func{unw\_flush\_cache}() may flush more information than requested,
28 but \emph{never} less. In other words, \Func{unw\_flush\_cache}() may
36 The \Func{unw\_flush\_cache}() routine cannot fail and does not
41 The \Func{unw\_flush\_cache}() routine is thread-safe as well as safe to
47 \SeeAlso{unw\_set\_caching\_policy(3)}
Dunw_set_caching_policy.tex8 \begin{Name}{3}{unw\_set\_caching\_policy}{David Mosberger-Tang}{Programming Library}{unw\_set\_cac…
15 \Type{int} \Func{unw\_set\_caching\_policy}(\Type{unw\_addr\_space\_t} \Var{as}, \Type{unw\_caching…
19 The \Func{unw\_set\_caching\_policy}() routine sets the caching policy
26 \Func{unw\_flush\_cache}() had been called.
38 appropriate calls to \Func{unw\_flush\_cache}() whenever the target
41 \Func{unw\_flush\_cache}() would have to be called (at least) for the
44 For address spaces created via \Func{unw\_create\_addr\_space}(3),
46 \Func{unw\_local\_addr\_space}, caching is turned on by default.
50 On successful completion, \Func{unw\_set\_caching\_policy}() returns 0.
56 \Func{unw\_set\_caching\_policy}() is thread-safe but \emph{not} safe
[all …]
Dunw_create_addr_space.tex8 \begin{Name}{3}{unw\_create\_addr\_space}{David Mosberger-Tang}{Programming Library}{unw\_create\_a…
15 \Type{unw\_addr\_space\_t} \Func{unw\_create\_addr\_space}(\Type{unw\_accessors\_t~*}\Var{ap}, \Typ…
19 The \Func{unw\_create\_addr\_space}() routine creates a new unwind
36 variable of type \Type{unw\_accessors\_t}. The contents of this
39 \Func{unw\_create\_addr\_space}().
47 \Func{unw\_init\_remote}(3) was called.
54 \Type{int} \Func{find\_proc\_info}(\Type{unw\_addr\_space\_t} \Var{as},\\
55 \SP\SP\SP\SP\SP\SP\SP\SP\SP\SP\SP\SP\SP\SP\SP\SP\Type{unw\_word\_t} \Var{ip}, \Type{unw\_proc\_info…
57 \Type{void} \Func{put\_unwind\_info}(\Type{unw\_addr\_space\_t} \Var{as},\\
58 \SP\SP\SP\SP\SP\SP\SP\SP\SP\SP\SP\SP\SP\SP\SP\SP\Type{unw\_proc\_info\_t~*}pip, \Type{void~*}\Var{a…
[all …]
Dlibunwind-ptrace.tex16 \Type{unw\_accessors\_t} \Var{\_UPT\_accessors};\\
23 \Type{int} \Func{\_UPT\_find\_proc\_info}(\Type{unw\_addr\_space\_t}, \Type{unw\_word\_t}, \Type{un…
25 \Type{void} \Func{\_UPT\_put\_unwind\_info}(\Type{unw\_addr\_space\_t}, \Type{unw\_proc\_info\_t~*}…
27 \Type{int} \Func{\_UPT\_get\_dyn\_info\_list\_addr}(\Type{unw\_addr\_space\_t}, \Type{unw\_word\_t~…
29 \Type{int} \Func{\_UPT\_access\_mem}(\Type{unw\_addr\_space\_t}, \Type{unw\_word\_t}, \Type{unw\_wo…
31 \Type{int} \Func{\_UPT\_access\_reg}(\Type{unw\_addr\_space\_t}, \Type{unw\_regnum\_t}, \Type{unw\_…
33 \Type{int} \Func{\_UPT\_access\_fpreg}(\Type{unw\_addr\_space\_t}, \Type{unw\_regnum\_t}, \Type{unw
35 …Func{\_UPT\_get\_proc\_name}(\Type{unw\_addr\_space\_t}, \Type{unw\_word\_t}, \Type{char~*}, \Type…
37 \Type{int} \Func{\_UPT\_resume}(\Type{unw\_addr\_space\_t}, \Type{unw\_cursor\_t~*}, \Type{void~*})…
54 \Func{unw\_create\_addr\_space}(). In many cases, the application
[all …]
Dunw_is_signal_frame.tex8 \begin{Name}{3}{unw\_is\_signal\_frame}{David Mosberger-Tang}{Programming Library}{unw\_is\_signal\…
15 \Type{int} \Func{unw\_is\_signal\_frame}(\Type{unw\_cursor\_t~*}\Var{cp});\\
19 The \Func{unw\_is\_signal\_frame}() routine returns a positive value
34 On successful completion, \Func{unw\_is\_signal\_frame}() returns a
41 \Func{unw\_is\_signal\_frame}() is thread-safe as well as safe to use
54 \SeeAlso{unw\_get\_reg(3)},
55 \SeeAlso{unw\_set\_reg(3)},
56 \SeeAlso{unw\_get\_fpreg(3)},
57 \SeeAlso{unw\_set\_fpreg(3)}
Dunw_destroy_addr_space.tex8 \begin{Name}{3}{unw\_destroy\_addr\_space}{David Mosberger-Tang}{Programming Library}{unw\_destroy\…
15 \Type{void} \Func{unw\_destroy\_addr\_space}(\Type{unw\_addr\_space\_t} \Var{as});\\
19 The \Func{unw\_destroy\_addr\_space}() routine destroys the
24 \Var{unw\_local\_addr\_space}. Attempting to do so results in
30 \SeeAlso{unw\_create\_addr\_space(3)}
Dunw_regname.tex8 \begin{Name}{3}{unw\_regname}{David Mosberger-Tang}{Programming Library}{unw\_regname}unw\_regname …
15 \Type{const char~*}\Func{unw\_regname}(\Type{unw\_regnum\_t} \Var{regnum});\\
19 The \Func{unw\_regname}() routine returns a printable name for
27 The \Func{unw\_regname}() routine cannot fail and always returns a
32 The \Func{unw\_regname}() routine is thread-safe as well as safe to
Dunw_step.tex8 \begin{Name}{3}{unw\_step}{David Mosberger-Tang}{Programming Library}{unw\_step}unw\_step -- advanc…
15 \Type{int} \Func{unw\_step}(\Type{unw\_cursor\_t~*}\Var{cp});\\
19 The \Func{unw\_step}() routine advances the unwind cursor \Var{cp} to
24 On successful completion, \Func{unw\_step}() returns a positive value
31 \Func{unw\_step}() is thread-safe. If cursor \Var{cp} is in the local
50 In addition, \Func{unw\_step}() may return any error returned by the
53 call-backs (see \Func{unw\_create\_addr\_space}(3)).
58 \SeeAlso{unw\_create\_addr\_space(3)}
Dunw_get_proc_name.tex8 \begin{Name}{3}{unw\_get\_proc\_name}{David Mosberger-Tang}{Programming Library}{unw\_get\_proc\_na…
15 \Type{int} \Func{unw\_get\_proc\_name}(\Type{unw\_cursor\_t~*}\Var{cp}, \Type{char~*}\Var{bufp}, \T…
19 The \Func{unw\_get\_proc\_name}() routine returns the name of the
27 address 0x40003000, then invoking \Func{unw\_get\_proc\_name}() on a
36 dynamic symbol table. In such cases, \Func{unw\_get\_proc\_name}()
45 On successful completion, \Func{unw\_get\_proc\_name}() returns 0.
51 \Func{unw\_get\_proc\_name}() is thread-safe. If cursor \Var{cp} is
65 In addition, \Func{unw\_get\_proc\_name}() may return any error
67 \Func{unw\_create\_addr\_space}(3)).
72 \SeeAlso{unw\_get\_proc\_info(3)}
Dunw_backtrace.tex8 \begin{Name}{3}{unw\_backtrace}{David Mosberger-Tang}{Programming Library}{unw\_backtrace}unw\_back…
15 \Type{int} \Func{unw\_backtrace}(\Type{void~**}\Var{buffer}, \Type{int}~\Var{size});\\
23 \Func{unw\_backtrace}() is a convenient routine for obtaining the backtrace for
31 aliases \Func{backtrace}() to \Func{unw\_backtrace}(), so when a program
33 calling \Func{unw\_backtrace}().
44 \SeeAlso{unw\_step(3)}
Dunw_strerror.tex8 \begin{Name}{3}{unw\_strerror}{Thomas Hallgren}{Programming Library}{unw\_strerror}unw\_strerror --…
15 \Type{const char *} \Func{unw\_strerror}(\Type{int} \Var{err\_code});\\
19 The \Func{unw\_strerror}() routine maps the (negative) \Var{err\_code}
30 \Func{unw\_strerror}() is thread-safe as well as safe to use
/external/libunwind/src/ia64/
DGglobal.c30 HIDDEN struct ia64_global_unwind_state unw = variable
73 lock_acquire (&unw.lock, saved_mask); in tdep_init()
81 mempool_init (&unw.reg_state_pool, sizeof (struct ia64_reg_state), 0); in tdep_init()
82 mempool_init (&unw.labeled_state_pool, in tdep_init()
85 unw.read_only.r0 = 0; in tdep_init()
86 unw.read_only.f0.raw.bits[0] = 0; in tdep_init()
87 unw.read_only.f0.raw.bits[1] = 0; in tdep_init()
89 lep = (uint8_t *) &unw.read_only.f1_le + 16; in tdep_init()
90 bep = (uint8_t *) &unw.read_only.f1_be; in tdep_init()
97 lep = (uint8_t *) &unw.nat_val_le + 16; in tdep_init()
[all …]

12