diff options
author | Martin Nowack <m.nowack@imperial.ac.uk> | 2020-04-06 14:49:04 +0100 |
---|---|---|
committer | Cristian Cadar <c.cadar@imperial.ac.uk> | 2020-11-04 15:14:47 +0000 |
commit | 6bc2bf207cde155fa4abbdc5be4e92e766caa6d4 (patch) | |
tree | 162a683b2849603eedf8ca25f4b30b9719fe26b5 /lib | |
parent | 6156b4eeb9a429ccc370782d719d0d6c787a6f72 (diff) | |
download | klee-6bc2bf207cde155fa4abbdc5be4e92e766caa6d4.tar.gz |
Link to the different runtime libraries depending on the application to test.
Currently, only 32bit vs. 64bit is supported.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Core/Executor.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Core/Executor.cpp b/lib/Core/Executor.cpp index ea386cfd..e3e33aa2 100644 --- a/lib/Core/Executor.cpp +++ b/lib/Core/Executor.cpp @@ -520,7 +520,8 @@ Executor::setModule(std::vector<std::unique_ptr<llvm::Module>> &modules, // Link with KLEE intrinsics library before running any optimizations SmallString<128> LibPath(opts.LibraryDir); - llvm::sys::path::append(LibPath, "libkleeRuntimeIntrinsic.bca"); + llvm::sys::path::append(LibPath, + "libkleeRuntimeIntrinsic" + opts.OptSuffix + ".bca"); std::string error; if (!klee::loadFile(LibPath.str(), modules[0]->getContext(), modules, error)) { |