about summary refs log tree commit diff homepage
path: root/include
diff options
context:
space:
mode:
authorCristian Cadar <c.cadar@imperial.ac.uk>2017-07-25 18:47:28 +0100
committerDan Liew <delcypher@gmail.com>2017-07-29 12:54:14 +0100
commit1af37be2fb7b874620a1f748e715ba4e75029ca0 (patch)
tree05d50e7fe9ebb4676d01c396a562a3cebf210474 /include
parent6dda95ed80dd9a91428eb8f8c7ae12c86627bccc (diff)
downloadklee-1af37be2fb7b874620a1f748e715ba4e75029ca0.tar.gz
Added another variant of printFileLine in KInstruction that returns the location as a string. Also added const qualifier to the printFileLine functions
Diffstat (limited to 'include')
-rw-r--r--include/klee/Internal/Module/KInstruction.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/klee/Internal/Module/KInstruction.h b/include/klee/Internal/Module/KInstruction.h
index 1cad98fd..98e4e3d0 100644
--- a/include/klee/Internal/Module/KInstruction.h
+++ b/include/klee/Internal/Module/KInstruction.h
@@ -44,7 +44,8 @@ namespace klee {
 
   public:
     virtual ~KInstruction();
-    void printFileLine(llvm::raw_ostream &);
+    void printFileLine(llvm::raw_ostream &) const;
+    std::string printFileLine() const;
 
   };