wavelength 1.0.0
Loading...
Searching...
No Matches
backtrace.h
Go to the documentation of this file.
1#pragma once
2
17void CaptureStackFrames(unsigned int *pFrames, int nMaxFrames);
18
26__attribute__((noinline)) unsigned int BacktraceReturnAddress();
27
35__attribute__((noinline)) unsigned int BacktraceStackPointer();
__attribute__((noinline)) unsigned int BacktraceReturnAddress()
Report the address the caller returns to.
void CaptureStackFrames(unsigned int *pFrames, int nMaxFrames)
Record the call sites of the functions on the stack, innermost first.