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

David Blaikie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 29 09:30:36 PDT 2022


dblaikie added a comment.

In D133376#3822690 <https://reviews.llvm.org/D133376#3822690>, @JohnReagan wrote:

> 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.

that seems concerning - sounds like the correctness/behavior of the platform depends on the presence/contents of .debug_line? That doesn't sound right. I thought anything relevant to that should be encoded in .debug_frame/.eh_frame, no?


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