diff options
author | Devang Patel <dpatel@apple.com> | 2011-07-14 00:03:58 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2011-07-14 00:03:58 +0000 |
commit | 2cce0d103d3ef6fc1c4e20d0adbec6d9c4f763be (patch) | |
tree | cdd496d8b94e0d7b44c64984c48aa793777ee026 /llvm/lib | |
parent | 44c3f08e85a5b181e3d530886e8bafcc3213f92c (diff) | |
download | bcm5719-llvm-2cce0d103d3ef6fc1c4e20d0adbec6d9c4f763be.tar.gz bcm5719-llvm-2cce0d103d3ef6fc1c4e20d0adbec6d9c4f763be.zip |
Add DEBUG messages.
llvm-svn: 135110
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index 51946bae411..f6cebb39f57 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp @@ -1743,6 +1743,11 @@ bool DwarfDebug::extractScopeInformation() { // If we have alread seen a beginning of a instruction range and // current instruction scope does not match scope of first instruction // in this range then create a new instruction range. + DEBUG(dbgs() << "Createing new instruction range :\n"); + DEBUG(dbgs() << "Begin Range at " << *RangeBeginMI); + DEBUG(dbgs() << "End Range at " << *PrevMI); + DEBUG(dbgs() << "New Range starting at " << *MInsn); + DEBUG(dbgs() << "------------------------\n"); DbgRange R(RangeBeginMI, PrevMI); MI2ScopeMap[RangeBeginMI] = getOrCreateDbgScope(PrevScope, PrevInlinedAt); |