diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-10-25 00:08:19 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-10-25 00:08:19 +0000 |
commit | 3264dcd97024250729183ed6398c5d8a9aa7472d (patch) | |
tree | 46a8db8e8a76f88ecfaac68981d33797134a8b97 /tools | |
parent | fa2455723d00587c4478ac876cf5a824d5394cc5 (diff) | |
download | klee-3264dcd97024250729183ed6398c5d8a9aa7472d.tar.gz |
Update source to build against LLVM 2.6
git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@85024 91177308-0d34-0410-b5e6-96231b3b80d8
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); } |