[PATCH] D148821: [SystemZ][z/OS] Create utility functions for converting between EBCDIC and UTF-8.

Neumann Hon via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 20 11:00:27 PDT 2023


Everybody0523 created this revision.
Everybody0523 added reviewers: Kai, uweigand, aaron.ballman, cor3ntin, tahonermann.
Herald added a subscriber: hiraditya.
Herald added a project: All.
Everybody0523 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This patch adds some utility functions for converting between EBCDIC and UTF-8.

This functionality was originally intended to be packed alongside general character set conversion, but based on comments on an RFC <https://discourse.llvm.org/t/rfc-adding-a-charset-converter-to-the-llvm-support-library/69795> it seems more prudent to separate the two tasks.

This functionality will be used in the SystemZ back-end for z/OS  as well as GOFF Object File read/write support.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D148821

Files:
  llvm/include/llvm/Support/ConvertEBCDIC.h
  llvm/lib/Support/CMakeLists.txt
  llvm/lib/Support/ConvertEBCDIC.cpp
  llvm/unittests/Support/CMakeLists.txt
  llvm/unittests/Support/ConvertEBCDICTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148821.515390.patch
Type: text/x-patch
Size: 11154 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230420/db95ae58/attachment.bin>


More information about the llvm-commits mailing list