diff options
author | Adrian Prantl <aprantl@apple.com> | 2013-05-22 18:02:19 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2013-05-22 18:02:19 +0000 |
commit | 5da4e4f3b10148e811de82ec57b3f82c15411a81 (patch) | |
tree | d108f84eb850c37600ab983101c5504ad497907e | |
parent | 039c56fb57d30b8d0b418a970f7f075694c34169 (diff) | |
download | external_llvm-5da4e4f3b10148e811de82ec57b3f82c15411a81.zip external_llvm-5da4e4f3b10148e811de82ec57b3f82c15411a81.tar.gz external_llvm-5da4e4f3b10148e811de82ec57b3f82c15411a81.tar.bz2 |
Unify formatting of debug output.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182495 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/CodeGen/SelectionDAG/FastISel.cpp | 4 | ||||
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/CodeGen/SelectionDAG/FastISel.cpp b/lib/CodeGen/SelectionDAG/FastISel.cpp index 288499a..eb80c64 100644 --- a/lib/CodeGen/SelectionDAG/FastISel.cpp +++ b/lib/CodeGen/SelectionDAG/FastISel.cpp @@ -648,7 +648,7 @@ bool FastISel::SelectCall(const User *I) { else // We can't yet handle anything else here because it would require // generating code, thus altering codegen because of debug info. - DEBUG(dbgs() << "Dropping debug info for " << DI); + DEBUG(dbgs() << "Dropping debug info for " << *DI << "\n"); return true; } case Intrinsic::dbg_value: { @@ -682,7 +682,7 @@ bool FastISel::SelectCall(const User *I) { } else { // We can't yet handle anything else here because it would require // generating code, thus altering codegen because of debug info. - DEBUG(dbgs() << "Dropping debug info for " << DI); + DEBUG(dbgs() << "Dropping debug info for " << *DI << "\n"); } return true; } diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp index c12cf52..1ce2477 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp @@ -1002,7 +1002,7 @@ void SelectionDAGBuilder::resolveDanglingDebugInfo(const Value *V, DAG.AddDbgValue(SDV, Val.getNode(), false); } } else - DEBUG(dbgs() << "Dropping debug info for " << DI << "\n"); + DEBUG(dbgs() << "Dropping debug info for " << *DI << "\n"); DanglingDebugInfoMap[V] = DanglingDebugInfo(); } } |