about summary refs log tree commit diff homepage
path: root/lib/Support
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2014-09-14 15:51:43 -0700
committerDaniel Dunbar <daniel@zuster.org>2014-09-14 16:05:47 -0700
commit340b5ec84521c0b9d930d06e38df78d595f85c38 (patch)
tree8f9c6b04c48692c75525709e5252fecda2b4a23d /lib/Support
parent1d3c741c7f074df863e94e9dfb70630eaadac6d2 (diff)
downloadklee-340b5ec84521c0b9d930d06e38df78d595f85c38.tar.gz
[LLVM3.5] Don't try to use DEBUG macro without DEBUG_TYPE.
Diffstat (limited to 'lib/Support')
-rw-r--r--lib/Support/TreeStream.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Support/TreeStream.cpp b/lib/Support/TreeStream.cpp
index 74ffe3ba..ef59b2a9 100644
--- a/lib/Support/TreeStream.cpp
+++ b/lib/Support/TreeStream.cpp
@@ -7,6 +7,7 @@
 //
 //===----------------------------------------------------------------------===//
 
+#define DEBUG_TYPE "TreeStreamWriter"
 #include "klee/Internal/ADT/TreeStream.h"
 
 #include "klee/Internal/Support/Debug.h"
@@ -107,8 +108,7 @@ void TreeStreamWriter::readStream(TreeStreamID streamID,
   std::ifstream is(path.c_str(),
                    std::ios::in | std::ios::binary);
   assert(is.good());
-  KLEE_DEBUG_WITH_TYPE("TreeStreamWriter",
-                  llvm::errs() << "finding chain for: " << streamID << "\n");
+  KLEE_DEBUG(llvm::errs() << "finding chain for: " << streamID << "\n");
 
   std::map<unsigned,unsigned> parents;
   std::vector<unsigned> roots;
@@ -202,3 +202,4 @@ void TreeOStream::flush() {
   assert(writer);
   writer->flush();
 }
+