[llvm] [llvm] Win x64 Unwind V2 2/n: Support dumping UOP_Epilog (PR #110338)
Eli Friedman via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 14 16:14:47 PDT 2024
================
@@ -301,11 +301,30 @@ static void printUnwindCode(ArrayRef<UnwindCode> UCs) {
outs() << " " << (UCs[0].getOpInfo() ? "w/o" : "w")
<< " error code";
break;
+
+ case UOP_Epilog:
+ if (SeenFirstEpilog) {
+ uint32_t Offset = (UCs[0].getOpInfo() << 8) |
+ static_cast<uint32_t>(UCs[0].u.CodeOffset);
----------------
efriedma-quic wrote:
Would it make sense to package up this math into a helper in Win64EH.h?
https://github.com/llvm/llvm-project/pull/110338
More information about the llvm-commits
mailing list