https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65749
--- Comment #4 from Jakub Jelinek ---
For the purpose of looking up the address in line table etc. IMNSHO the
subtraction of 1 is needed (that is what gcc unwinder does too, except for
signal frames where the pc must be on the faulting or asynchr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65749
--- Comment #3 from Yury Gribov ---
@Kostya: I suggest to mention this in ASan FAQ.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65749
Yury Gribov changed:
What|Removed |Added
CC||y.gribov at samsung dot com
--- Comment #2
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65749
--- Comment #1 from Martin Sebor ---
Replacing the computation:
uptr pc = GetPreviousInstructionPc(trace[i]);
with the assignment:
uptr pc = trace[i];
makes the PC in active frame in the stack trace consistent with the one
reported on the