From 31eb748944903b7f4f38afda9851951ca9dfc1ae Mon Sep 17 00:00:00 2001 From: patrick Date: Wed, 4 Oct 2017 20:27:34 +0000 Subject: Import LLVM 5.0.0 release including clang, lld and lldb. --- gnu/llvm/tools/llvm-diff/DiffConsumer.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'gnu/llvm/tools/llvm-diff/DiffConsumer.cpp') diff --git a/gnu/llvm/tools/llvm-diff/DiffConsumer.cpp b/gnu/llvm/tools/llvm-diff/DiffConsumer.cpp index 9078013c1c1..e16775010fe 100644 --- a/gnu/llvm/tools/llvm-diff/DiffConsumer.cpp +++ b/gnu/llvm/tools/llvm-diff/DiffConsumer.cpp @@ -15,6 +15,7 @@ #include "llvm/IR/Instructions.h" #include "llvm/IR/Module.h" #include "llvm/Support/ErrorHandling.h" +#include "llvm/Support/Debug.h" using namespace llvm; @@ -195,17 +196,17 @@ void DiffConsumer::logd(const DiffLogBuilder &Log) { switch (Log.getLineKind(I)) { case DC_match: out << " "; - Log.getLeft(I)->dump(); + Log.getLeft(I)->print(dbgs()); dbgs() << '\n'; //printValue(Log.getLeft(I), true); break; case DC_left: out << "< "; - Log.getLeft(I)->dump(); + Log.getLeft(I)->print(dbgs()); dbgs() << '\n'; //printValue(Log.getLeft(I), true); break; case DC_right: out << "> "; - Log.getRight(I)->dump(); + Log.getRight(I)->print(dbgs()); dbgs() << '\n'; //printValue(Log.getRight(I), false); break; } -- cgit v1.2.3-59-g8ed1b