You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The stack frame walking code assumes that if pc == f->entry, then SP has not been
pushed down to allocate a frame yet, and otherwise it has. This is true for all the
cooperative preemption.
But a SIGPROF, which triggers a stack walk, can arrive at any time. The stack trace must
be able to handle a pc between f->entry and the stack adjustment. Similarly, the
stack trace must be able to handle the pc between the add of SP and the return.
The linker has this information and tells DWARF about it. Probably it has to tell the
runtime too.
Perhaps as part of the runtime symtab cleanup, but perhaps important enough to do before.
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: