Adjust debug output for MCRelaxableFragment to include the size so that sanity checki...
authorPhilip Reames <listmail@philipreames.com>
Fri, 13 Mar 2020 22:54:43 +0000 (15:54 -0700)
committerPhilip Reames <listmail@philipreames.com>
Fri, 13 Mar 2020 23:22:46 +0000 (16:22 -0700)
llvm/lib/MC/MCFragment.cpp

index 79e675c..5252c3f 100644 (file)
@@ -394,6 +394,7 @@ LLVM_DUMP_METHOD void MCFragment::dump() const {
     OS << "\n       ";
     OS << " Inst:";
     F->getInst().dump_pretty(OS);
+    OS << " (" << F->getContents().size() << " bytes)";
     break;
   }
   case MCFragment::FT_Org:  {