Update for llvm api change.

llvm-svn: 202056
This commit is contained in:
Rafael Espindola 2014-02-24 18:21:12 +00:00
parent 26af26255c
commit d288d9aa94
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ bool JSONExporter::runOnScop(Scop &scop) {
// Write to file.
std::string ErrInfo;
tool_output_file F(FileName.c_str(), ErrInfo, llvm::sys::fs::F_None);
tool_output_file F(FileName.c_str(), ErrInfo, llvm::sys::fs::F_Text);
std::string FunctionName = R.getEntry()->getParent()->getName();
errs() << "Writing JScop '" << R.getNameStr() << "' in function '"