diff options
author | Dan Liew <daniel.liew@imperial.ac.uk> | 2016-02-23 17:21:42 +0000 |
---|---|---|
committer | Dan Liew <daniel.liew@imperial.ac.uk> | 2016-02-23 17:25:58 +0000 |
commit | 238998f8e17b554d0c28931a61271619310a098f (patch) | |
tree | 53136e513ca93fd48ea28dd0f5b2462c2bbee2be /include | |
parent | 7f67a03988b6c0c5976d8b0aceb5406fd858c216 (diff) | |
download | klee-238998f8e17b554d0c28931a61271619310a098f.tar.gz |
Move ``Assignment::dump()`` into its own implementation file so
that it's possible to call it from gdb.
Diffstat (limited to 'include')
-rw-r--r-- | include/klee/util/Assignment.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/include/klee/util/Assignment.h b/include/klee/util/Assignment.h index e7478d33..5d8aa1ab 100644 --- a/include/klee/util/Assignment.h +++ b/include/klee/util/Assignment.h @@ -49,15 +49,7 @@ namespace klee { template<typename InputIterator> bool satisfies(InputIterator begin, InputIterator end); - - void dump() { - for (bindings_ty::iterator i = bindings.begin(), e = bindings.end(); i != e; ++i) { - llvm::errs() << (*i).first->name << "\n["; - for (int j = 0, k =(*i).second.size(); j<k; ++j ) - llvm::errs() << (int)(*i).second[j] << ","; - llvm::errs() << "]\n"; - } - } + void dump(); }; class AssignmentEvaluator : public ExprEvaluator { |