Mention if a block has its address taken in debug output.
authorDan Gohman <gohman@apple.com>
Fri, 30 Oct 2009 02:08:26 +0000 (02:08 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 30 Oct 2009 02:08:26 +0000 (02:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85571 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/MachineBasicBlock.cpp

index 46b169a713806076fa5308dbcf0a8ba0d31c648c..4d1370aed9827230e372df060405881a31d61894 100644 (file)
@@ -185,6 +185,7 @@ void MachineBasicBlock::print(raw_ostream &OS) const {
      << ", LLVM BB @" << (const void*) LBB << ", ID#" << getNumber();
   if (Alignment) OS << ", Alignment " << Alignment;
   if (isLandingPad()) OS << ", EH LANDING PAD";
+  if (hasAddressTaken()) OS << ", ADDRESS TAKEN";
   OS << ":\n";
 
   const TargetRegisterInfo *TRI = MF->getTarget().getRegisterInfo();