about summary refs log tree commit diff homepage
path: root/lib/Core/Memory.cpp
diff options
context:
space:
mode:
authorMartin Nowack <martin_nowack@tu-dresden.de>2017-11-02 09:32:38 +0100
committerCristian Cadar <c.cadar@imperial.ac.uk>2018-02-18 12:49:41 +0000
commit7a0e82382e1211ba316af72576fe9a5bbc760fa5 (patch)
tree9401f97ec4b1c3e49e11573f25f527fdec7831d4 /lib/Core/Memory.cpp
parent4989af217357a499f21f5bfc6ad897a435d72db1 (diff)
downloadklee-7a0e82382e1211ba316af72576fe9a5bbc760fa5.tar.gz
Make print function of ObjectState public and const
Diffstat (limited to 'lib/Core/Memory.cpp')
-rw-r--r--lib/Core/Memory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Core/Memory.cpp b/lib/Core/Memory.cpp
index 584ea15d..cd13eada 100644
--- a/lib/Core/Memory.cpp
+++ b/lib/Core/Memory.cpp
@@ -577,7 +577,7 @@ void ObjectState::write64(unsigned offset, uint64_t value) {
   }
 }
 
-void ObjectState::print() {
+void ObjectState::print() const {
   llvm::errs() << "-- ObjectState --\n";
   llvm::errs() << "\tMemoryObject ID: " << object->id << "\n";
   llvm::errs() << "\tRoot Object: " << updates.root << "\n";