extern Bool VG_(clo_trace_signals);
/* DEBUG: print symtab details? default: NO */
extern Bool VG_(clo_trace_symtab);
+/* DEBUG: print call-frame-info details? default: NO */
+extern Bool VG_(clo_trace_cfi);
/* DEBUG: print redirection details? default: NO */
extern Bool VG_(clo_trace_redir);
/* DEBUG: print thread scheduling events? default: NO */
Bool VG_(clo_trace_syscalls) = False;
Bool VG_(clo_trace_signals) = False;
Bool VG_(clo_trace_symtab) = False;
+Bool VG_(clo_trace_cfi) = False;
Bool VG_(clo_trace_redir) = False;
Bool VG_(clo_trace_sched) = False;
Bool VG_(clo_trace_pthreads) = False;
" --trace-syscalls=no|yes show all system calls? [no]\n"
" --trace-signals=no|yes show signal handling details? [no]\n"
" --trace-symtab=no|yes show symbol table details? [no]\n"
+" --trace-cfi=no|yes show call-frame-info details? [no]\n"
" --trace-sched=no|yes show thread scheduler details? [no]\n"
" --wait-for-gdb=yes|no pause on startup to wait for gdb attach\n"
#if 0
else VG_BOOL_CLO(arg, "--trace-sched", VG_(clo_trace_sched))
else VG_BOOL_CLO(arg, "--trace-signals", VG_(clo_trace_signals))
else VG_BOOL_CLO(arg, "--trace-symtab", VG_(clo_trace_symtab))
+ else VG_BOOL_CLO(arg, "--trace-cfi", VG_(clo_trace_cfi))
else VG_BOOL_CLO(arg, "--trace-redir", VG_(clo_trace_redir))
else VG_BOOL_CLO(arg, "--trace-syscalls", VG_(clo_trace_syscalls))
else VG_BOOL_CLO(arg, "--trace-pthreads", VG_(clo_trace_pthreads))
<para><computeroutput>--trace-symtab=no</computeroutput>
[default]</para>
<para><computeroutput>--trace-symtab=yes</computeroutput></para>
- <para>Enable/disable tracing of symbol table reading.</para>
+ <para>Enable/disable tracing of symbol table reading and line
+ number info reading.</para>
+ </listitem>
+
+ <listitem>
+ <para><computeroutput>--trace-cfi=no</computeroutput>
+ [default]</para>
+ <para><computeroutput>--trace-cfi=yes</computeroutput></para>
+ <para>Enable/disable tracing of call-frame-info reading.
+ Call-frame-info (CFI) is information inserted by compilers
+ which describes the relationship between adjacent call frames.
+ On architectures which by default do not use a frame pointer,
+ such as AMD64, this information is essential for creating stack
+ snapshots.</para>
</listitem>
<listitem>