GetStackTrace treats top PC as a return address from an error reporting
function, and adjusts it down by 1 instruction. This is not necessary in
a signal handler, so adjust PC up to compensate.
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 23377 Build 23376: arc lint + arc unit
Event Timeline
Comment Actions
No test because I don't see a reliable way to trigger bad debug info for the previous instruction with a C/C++ source...
With this change, tests pass both before and after https://reviews.llvm.org/D52125