[llvm] [llvm] Win x64 Unwind V2 2/n: Support dumping UOP_Epilog (PR #110338)
    Daniel Paoliello via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Oct 15 12:48:34 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);
----------------
dpaoliello wrote:
Good idea.
https://github.com/llvm/llvm-project/pull/110338
    
    
More information about the llvm-commits
mailing list