12#include "klee/Config/config.h"
15#include "llvm/Support/FileSystem.h"
23std::unique_ptr<llvm::raw_fd_ostream>
28#if LLVM_VERSION_CODE >= LLVM_VERSION(7, 0)
29 auto f = std::make_unique<llvm::raw_fd_ostream>(path.c_str(), ec,
30 llvm::sys::fs::OF_None);
32 auto f = std::make_unique<llvm::raw_fd_ostream>(path.c_str(), ec,
33 llvm::sys::fs::F_None);
45std::unique_ptr<llvm::raw_ostream>
46klee_open_compressed_output_file(
const std::string &path, std::string &error) {
48 auto f = std::make_unique<compressed_fd_ostream>(path, error);
std::unique_ptr< llvm::raw_fd_ostream > klee_open_output_file(const std::string &path, std::string &error)