diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/klee/main.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/klee/main.cpp b/tools/klee/main.cpp index 2c418fc8..8b788b9d 100644 --- a/tools/klee/main.cpp +++ b/tools/klee/main.cpp @@ -523,7 +523,11 @@ void KleeHandler::getOutFiles(std::string path, } for (std::set<llvm::sys::Path>::iterator it = contents.begin(), ie = contents.end(); it != ie; ++it) { +#if (LLVM_VERSION_MAJOR == 2 && LLVM_VERSION_MINOR == 6) + std::string f = it->toString(); +#else std::string f = it->str(); +#endif if (f.substr(f.size()-6,f.size()) == ".ktest") { results.push_back(f); } |