/third_party/libunwind/doc/ |
D | libunwind.tex | 16 \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 …]
|
D | unw_get_accessors.tex | 8 \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 …]
|
D | unw_init_local.tex | 8 \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… 16 \Type{int} \Func{unw\_init\_local2}(\Type{unw\_cursor\_t~*}\Var{c}, \Type{unw\_context\_t~*}\Var{ct… 20 The \Func{unw\_init\_local}() routine initializes the unwind cursor 31 The \Func{unw\_init\_local}() routine can be used only for unwinding in 33 For all other cases, \Func{unw\_init\_remote}() must be used instead. 35 \Func{unw\_init\_local}(). Also, \Func{unw\_init\_local}() is 37 including \File{$<$libunwind.h$>$}, whereas \Func{unw\_init\_remote}() 42 \Func{unw\_init\_local2}() should be used for correct initialization 47 On successful completion, \Func{unw\_init\_local}() returns 0. [all …]
|
D | unw_get_fpreg.tex | 8 \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 …]
|
D | unw_set_fpreg.tex | 8 \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 …]
|
D | unw_get_reg.tex | 8 \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 …]
|
D | unw_reg_states_iterate.tex | 8 \begin{Name}{3}{unw\_reg\_states\_iterate}{David Mosberger-Tang}{Programming Library}{unw\_reg\_sta… 15 \Type{int} \Func{unw\_reg\_states\_iterate}(\Type{unw\_cursor\_t~*}\Var{cp}, \Type{unw\_reg\_states… 19 The \Func{unw\_reg\_states\_iterate}() routine provides 22 to a function of type \Type{unw\_reg\_states\_callback} which is used to 23 return the information. The function \Type{unw\_reg\_states\_callback} has the 26 \Type{int} (~*\Var{unw\_reg\_states\_callback})(\Type{void~*}\Var{token}, 29 \Type{unw\_word\_t} \Var{start\_ip}, \Type{unw\_word\_t} \Var{end\_ip}); 31 The callback function may be invoked several times for each call of \Func{unw\_reg\_states\_iterate… 33 \item[\Type{void~*} \Var{token}] The token value passed to \Var{unw\_reg\_states\_callback}. \\ 36 to \Var{unw\_apply\_reg\_state}.\\ [all …]
|
D | unw_set_reg.tex | 8 \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 …]
|
D | unw_get_proc_info_by_ip.tex | 8 \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 …]
|
D | unw_is_fpreg.tex | 8 \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)}
|
D | unw_init_remote.tex | 8 \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 …]
|
D | unw_resume.tex | 8 \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 …]
|
D | unw_getcontext.tex | 8 \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 …]
|
D | unw_flush_cache.tex | 8 \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)} 48 \SeeAlso{unw\_set\_cache\_size(3)}
|
D | unw_set_caching_policy.tex | 8 \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 …]
|
D | unw_get_proc_info.tex | 8 \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 …]
|
D | unw_set_cache_size.tex | 8 \begin{Name}{3}{unw\_set\_cache\_size}{Dave Watson}{Programming Library}{unw\_set\_cache\_size}unw\… 15 \Type{int} \Func{unw\_set\_cache\_size}(\Type{unw\_addr\_space\_t} \Var{as}, \Type{size\_t} \Var{si… 19 The \Func{unw\_set\_cache\_size}() routine sets the cache size of 23 \Func{unw\_set\_caching\_policy}) with a policy of 28 On successful completion, \Func{unw\_set\_cache\_size}() returns 0. 34 \Func{unw\_set\_cache\_size}() is thread-safe but \emph{not} safe 47 \SeeAlso{unw\_create\_addr\_space(3)}, 48 \SeeAlso{unw\_set\_caching\_policy(3)}, 49 \SeeAlso{unw\_flush\_cache(3)}
|
D | unw_apply_reg_state.tex | 8 \begin{Name}{3}{unw\_apply\_reg\_state}{David Mosberger-Tang}{Programming Library}{unw\_apply\_reg\… 16 \Func{unw\_apply\_reg\_state}(\Type{unw\_cursor\_t~*}\Var{cp}, 21 The \Func{unw\_apply\_reg\_state}() routine updates the register values 23 which have been obtained by calling \Var{unw\_reg\_states\_iterate}. 27 On successful completion, \Func{unw\_apply\_reg\_state}() returns 0. 33 \Func{unw\_apply\_reg\_state}() is thread-safe. If cursor \Var{cp} is 46 In addition, \Func{unw\_apply\_reg\_state}() may return any error 48 \Func{unw\_create\_addr\_space}(3)). 53 \SeeAlso{unw\_reg\_states\_iterate(3)}
|
D | unw_create_addr_space.tex | 8 \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 …]
|
D | libunwind-ptrace.tex | 16 \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 …]
|
D | unw_is_signal_frame.tex | 8 \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)}
|
D | unw_destroy_addr_space.tex | 8 \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)}
|
D | unw_regname.tex | 8 \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
|
D | unw_step.tex | 8 \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)}
|
/third_party/libunwind/src/ia64/ |
D | Gglobal.c | 30 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 …]
|