[all-commits] [llvm/llvm-project] 0de1e3: [; SystemZ][z/OS] Fix llvm-ctxprof to open input fi...

Zibi Sarbinowski via All-commits all-commits at lists.llvm.org
Tue Sep 24 06:43:24 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0de1e3e787c6d78b87ccb865ba2f2daf8d8e4ecc
      https://github.com/llvm/llvm-project/commit/0de1e3e787c6d78b87ccb865ba2f2daf8d8e4ecc
  Author: Zibi Sarbinowski <zibi at ca.ibm.com>
  Date:   2024-09-24 (Tue, 24 Sep 2024)

  Changed paths:
    M llvm/tools/llvm-ctxprof-util/llvm-ctxprof-util.cpp

  Log Message:
  -----------
  [;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`



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list