about summary refs log tree commit diff homepage
path: root/lib/Core/SpecialFunctionHandler.cpp
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2011-05-25 15:37:03 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2011-05-25 15:37:03 +0000
commit958e9f99e3837ea018f18799c0055d8dc8075c4d (patch)
tree174c85de58ce112bf69ce21e5f24d85a1cb71468 /lib/Core/SpecialFunctionHandler.cpp
parent243a217c15fdbf920f91fabfae460f957b25e0ec (diff)
downloadklee-958e9f99e3837ea018f18799c0055d8dc8075c4d.tar.gz
Name symbolic arrays using the 3rd argument to klee_make_symbolic,
and make sure the name is unique.

git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@132054 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Core/SpecialFunctionHandler.cpp')
-rw-r--r--lib/Core/SpecialFunctionHandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Core/SpecialFunctionHandler.cpp b/lib/Core/SpecialFunctionHandler.cpp
index 1a0ca406..d01a9ef4 100644
--- a/lib/Core/SpecialFunctionHandler.cpp
+++ b/lib/Core/SpecialFunctionHandler.cpp
@@ -680,7 +680,7 @@ void SpecialFunctionHandler::handleMakeSymbolic(ExecutionState &state,
     assert(success && "FIXME: Unhandled solver failure");
     
     if (res) {
-      executor.executeMakeSymbolic(*s, mo);
+      executor.executeMakeSymbolic(*s, mo, name);
     } else {      
       executor.terminateStateOnError(*s, 
                                      "wrong size given to klee_make_symbolic[_name]",