This is an archive of the discontinued LLVM Phabricator instance.

[SystemZ/zos] Define Endian constants for z/OS.
ClosedPublic

Authored by Kai on Jun 23 2020, 4:52 AM.

Details

Summary

This is needed to build LLVM on z/OS, as there is no header file which provides these constants.

Diff Detail

Event Timeline

Kai created this revision.Jun 23 2020, 4:52 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 23 2020, 4:52 AM

LGTM. This introduces just the second copy of the BIG_ENDIAN/LITTLE_ENDIAN defines, so I think it is fine not to try using a common copy at this time.

This revision is now accepted and ready to land.Jun 29 2020, 8:11 AM
This revision was automatically updated to reflect the committed changes.