mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-24 20:29:53 +00:00
llvm-profdata: Avoid F_Text in "merge" for now, since "llvm-profdata show" is confused with CRLF.
FIXME: line_iterator should be tolerant of CR. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204540 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
62f4b48fc1
commit
4e669c9278
@ -47,7 +47,8 @@ int merge_main(int argc, const char *argv[]) {
|
||||
OutputFilename = "-";
|
||||
|
||||
std::string ErrorInfo;
|
||||
raw_fd_ostream Output(OutputFilename.data(), ErrorInfo, sys::fs::F_Text);
|
||||
// FIXME: F_Text would be available if line_iterator could accept CRLF.
|
||||
raw_fd_ostream Output(OutputFilename.data(), ErrorInfo, sys::fs::F_None);
|
||||
if (!ErrorInfo.empty())
|
||||
exitWithError(ErrorInfo, OutputFilename);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user