Skip to content
Commit be492713 authored by Xinliang David Li's avatar Xinliang David Li
Browse files

[PGO] Open file with explict binary mode

Patch by: Johan Engelen

On windows, opening in text mode will result in
line ending chars to be appended leading to
profile corruption.

llvm-svn: 255684
parent 8dcfcf79
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment