diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-09-01 06:53:41 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-09-01 06:53:41 +0000 |
commit | 400aea6b9d4d0a33f4c6cae4cada7e54029fccc4 (patch) | |
tree | 274e25a9d0d9353b3a41a60b0636edbd73d22473 /lib/Core/ExecutionState.cpp | |
parent | 0f0b921714a32b51a1bbda1848a356bb4553f3d3 (diff) | |
download | klee-400aea6b9d4d0a33f4c6cae4cada7e54029fccc4.tar.gz |
Update for LLVM ostream changes.
- Includes patch by Michael Stone! git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@80665 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Core/ExecutionState.cpp')
-rw-r--r-- | lib/Core/ExecutionState.cpp | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/lib/Core/ExecutionState.cpp b/lib/Core/ExecutionState.cpp index 9eb560b8..694b21b1 100644 --- a/lib/Core/ExecutionState.cpp +++ b/lib/Core/ExecutionState.cpp @@ -147,7 +147,7 @@ std::ostream &klee::operator<<(std::ostream &os, const MemoryMap &mm) { bool ExecutionState::merge(const ExecutionState &b) { if (DebugLogStateMerge) - llvm::cerr << "-- attempting merge of A:" + std::cerr << "-- attempting merge of A:" << this << " with B:" << &b << "--\n"; if (pc != b.pc) return false; @@ -185,21 +185,21 @@ bool ExecutionState::merge(const ExecutionState &b) { commonConstraints.begin(), commonConstraints.end(), std::inserter(bSuffix, bSuffix.end())); if (DebugLogStateMerge) { - llvm::cerr << "\tconstraint prefix: ["; + std::cerr << "\tconstraint prefix: ["; for (std::set< ref<Expr> >::iterator it = commonConstraints.begin(), ie = commonConstraints.end(); it != ie; ++it) - llvm::cerr << *it << ", "; - llvm::cerr << "]\n"; - llvm::cerr << "\tA suffix: ["; + std::cerr << *it << ", "; + std::cerr << "]\n"; + std::cerr << "\tA suffix: ["; for (std::set< ref<Expr> >::iterator it = aSuffix.begin(), ie = aSuffix.end(); it != ie; ++it) - llvm::cerr << *it << ", "; - llvm::cerr << "]\n"; - llvm::cerr << "\tB suffix: ["; + std::cerr << *it << ", "; + std::cerr << "]\n"; + std::cerr << "\tB suffix: ["; for (std::set< ref<Expr> >::iterator it = bSuffix.begin(), ie = bSuffix.end(); it != ie; ++it) - llvm::cerr << *it << ", "; - llvm::cerr << "]\n"; + std::cerr << *it << ", "; + std::cerr << "]\n"; } // We cannot merge if addresses would resolve differently in the @@ -212,9 +212,9 @@ bool ExecutionState::merge(const ExecutionState &b) { // and not the other if (DebugLogStateMerge) { - llvm::cerr << "\tchecking object states\n"; - llvm::cerr << "A: " << addressSpace.objects << "\n"; - llvm::cerr << "B: " << b.addressSpace.objects << "\n"; + std::cerr << "\tchecking object states\n"; + std::cerr << "A: " << addressSpace.objects << "\n"; + std::cerr << "B: " << b.addressSpace.objects << "\n"; } std::set<const MemoryObject*> mutated; @@ -226,22 +226,22 @@ bool ExecutionState::merge(const ExecutionState &b) { if (ai->first != bi->first) { if (DebugLogStateMerge) { if (ai->first < bi->first) { - llvm::cerr << "\t\tB misses binding for: " << ai->first->id << "\n"; + std::cerr << "\t\tB misses binding for: " << ai->first->id << "\n"; } else { - llvm::cerr << "\t\tA misses binding for: " << bi->first->id << "\n"; + std::cerr << "\t\tA misses binding for: " << bi->first->id << "\n"; } } return false; } if (ai->second != bi->second) { if (DebugLogStateMerge) - llvm::cerr << "\t\tmutated: " << ai->first->id << "\n"; + std::cerr << "\t\tmutated: " << ai->first->id << "\n"; mutated.insert(ai->first); } } if (ai!=ae || bi!=be) { if (DebugLogStateMerge) - llvm::cerr << "\t\tmappings differ\n"; + std::cerr << "\t\tmappings differ\n"; return false; } |