Home | History | Annotate | Download | only in sanitizer_common

Lines Matching defs:StackTrace

42 struct StackTrace {
52 StackTrace() : trace(nullptr), size(0), tag(0) {}
53 StackTrace(const uptr *trace, u32 size) : trace(trace), size(size), tag(0) {}
54 StackTrace(const uptr *trace, u32 size, u32 tag)
57 // Prints a symbolized stacktrace, followed by an empty line.
60 // Prints a symbolized stacktrace to the output string, followed by an empty
64 // Prints a symbolized stacktrace to the output buffer, followed by an empty
85 uptr StackTrace::GetPreviousInstructionPc(uptr pc) {
108 // StackTrace that owns the buffer used to store the addresses.
109 struct BufferedStackTrace : public StackTrace {
113 BufferedStackTrace() : StackTrace(trace_buffer, 0), top_frame_bp(0) {}
137 *static_cast<StackTrace *>(this) = StackTrace(trace_buffer, 0);
191 uptr pc = StackTrace::GetCurrentPc()
198 // GET_CURRENT_PC() is equivalent to StackTrace::GetCurrentPc().
208 // StackTrace::GetCurrentPc() faster.
217 # define GET_CURRENT_PC() StackTrace::GetCurrentPc()