From 37e92d0c802524c19a9a84164253639aac47fee3 Mon Sep 17 00:00:00 2001 From: Martin Nowack Date: Sat, 22 Jul 2017 01:03:44 +0200 Subject: Remove support for LLVM < 3.4 Request LLVM 3.4 as minimal requirement for KLEE --- lib/Support/FileHandling.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'lib/Support/FileHandling.cpp') diff --git a/lib/Support/FileHandling.cpp b/lib/Support/FileHandling.cpp index 092a1af0..e5ead9f7 100644 --- a/lib/Support/FileHandling.cpp +++ b/lib/Support/FileHandling.cpp @@ -27,11 +27,8 @@ llvm::raw_fd_ostream *klee_open_output_file(std::string &path, error = ec.message(); #elif LLVM_VERSION_CODE >= LLVM_VERSION(3, 5) f = new llvm::raw_fd_ostream(path.c_str(), error, llvm::sys::fs::F_None); -#elif LLVM_VERSION_CODE >= LLVM_VERSION(3, 4) - f = new llvm::raw_fd_ostream(path.c_str(), error, llvm::sys::fs::F_Binary); #else - f = new llvm::raw_fd_ostream(path.c_str(), error, - llvm::raw_fd_ostream::F_Binary); + f = new llvm::raw_fd_ostream(path.c_str(), error, llvm::sys::fs::F_Binary); #endif if (!error.empty()) { if (f) -- cgit 1.4.1