[PATCH] D133376: Allow epilogue_begin to be emitted when generating DWARF

John Reagan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 28 20:38:14 PDT 2022


JohnReagan added a comment.

Thanks for this.  On OpenVMS, our calling convention wants to know about both prologue and epilogue sections.  For asych-error handling, we won't call a routine's handler (ie, personality-routine) if it is in its prologue or epilogue since the routine's frame is no longer active.  In those cases, we walk back up the stack one frame to begin our handler search.  Today, we just look at the instruction sequences and trying to guess as best we can.  Having something in the debug_line table will be a big help.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D133376/new/

https://reviews.llvm.org/D133376



More information about the llvm-commits mailing list