diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/kleaver/main.cpp | 4 | ||||
-rw-r--r-- | tools/klee/main.cpp | 10 |
2 files changed, 1 insertions, 13 deletions
diff --git a/tools/kleaver/main.cpp b/tools/kleaver/main.cpp index 0a4cfbff..558e7daf 100644 --- a/tools/kleaver/main.cpp +++ b/tools/kleaver/main.cpp @@ -395,11 +395,7 @@ int main(int argc, char **argv) { bool success = true; -#if LLVM_VERSION_CODE >= LLVM_VERSION(3, 9) llvm::sys::PrintStackTraceOnErrorSignal(argv[0]); -#else - llvm::sys::PrintStackTraceOnErrorSignal(); -#endif llvm::cl::SetVersionPrinter(klee::printVersion); llvm::cl::ParseCommandLineOptions(argc, argv); diff --git a/tools/klee/main.cpp b/tools/klee/main.cpp index f68e3b27..740b33d7 100644 --- a/tools/klee/main.cpp +++ b/tools/klee/main.cpp @@ -24,6 +24,7 @@ #include "klee/Support/PrintVersion.h" #include "klee/System/Time.h" +#include "llvm/Bitcode/BitcodeReader.h" #include "llvm/IR/Constants.h" #include "llvm/IR/IRBuilder.h" #include "llvm/IR/InstrTypes.h" @@ -43,11 +44,6 @@ #include "llvm/Support/TargetSelect.h" #include "llvm/Support/Signals.h" -#if LLVM_VERSION_CODE >= LLVM_VERSION(4, 0) -#include <llvm/Bitcode/BitcodeReader.h> -#else -#include <llvm/Bitcode/ReaderWriter.h> -#endif #include <dirent.h> #include <signal.h> @@ -1167,11 +1163,7 @@ int main(int argc, char **argv, char **envp) { llvm::InitializeNativeTarget(); parseArguments(argc, argv); -#if LLVM_VERSION_CODE >= LLVM_VERSION(3, 9) sys::PrintStackTraceOnErrorSignal(argv[0]); -#else - sys::PrintStackTraceOnErrorSignal(); -#endif if (Watchdog) { if (MaxTime.empty()) { |