aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBlockPlacement.cpp
diff options
context:
space:
mode:
authorZibi Sarbinowski <zibi@ca.ibm.com>2024-09-24 09:43:02 -0400
committerGitHub <noreply@github.com>2024-09-24 09:43:02 -0400
commit0de1e3e787c6d78b87ccb865ba2f2daf8d8e4ecc (patch)
tree87c1e1b53334e49c10528e403a43057e7b30446a /llvm/lib/CodeGen/MachineBlockPlacement.cpp
parentfe7bc872aad83fc0d5cf998230df752e73bb696d (diff)
downloadllvm-0de1e3e787c6d78b87ccb865ba2f2daf8d8e4ecc.zip
llvm-0de1e3e787c6d78b87ccb865ba2f2daf8d8e4ecc.tar.gz
llvm-0de1e3e787c6d78b87ccb865ba2f2daf8d8e4ecc.tar.bz2
[;SystemZ][z/OS] Fix llvm-ctxprof to open input files in text mode (#109691)
Reading text files on z/OS relies on auto conversion to handle ASCII/EBCDIC correctly. For this to work files need to be opened in text mode is that is the type of the file. This PR fixes `llvm-ctxprof` utility in this regards which in turn fixes the following LIT failure on z/OS: `FAIL: LLVM :: Analysis/CtxProfAnalysis/flatten-zero-path.ll`
Diffstat (limited to 'llvm/lib/CodeGen/MachineBlockPlacement.cpp')
0 files changed, 0 insertions, 0 deletions