[PATCH] D110077: [SystemZ][z/OS] Introduce the GOFFMCAsmInfo Interface for z/OS

Anirudh Prasad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 20 08:59:04 PDT 2021


anirudhp created this revision.
Herald added subscribers: hiraditya, mgorny.
anirudhp requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

- This patch adds in the GOFFMCAsmInfo interfaces for the z/OS target.
- This patch decouples the previously existing SystemZMCAsmInfo interface for the ELF target and the z/OS target.
- This patch also removes a small test in the SystemZAsmLexerTest.cpp. The reason for this is because, the test is set up for the s390x-ibm-linux (SystemZ ELF triple), and the test checks a function which is overridden only for the z/OS target. The reason we can't change the test to use a z/OS triple outright is because there is still missing support which prevents the successful running of a test (assert in AsmParser.cpp due to missing GOFFAsmParser support)


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D110077

Files:
  llvm/include/llvm/MC/MCAsmInfoGOFF.h
  llvm/lib/MC/CMakeLists.txt
  llvm/lib/MC/MCAsmInfoGOFF.cpp
  llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCAsmInfo.cpp
  llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCAsmInfo.h
  llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCTargetDesc.cpp
  llvm/unittests/MC/SystemZ/SystemZAsmLexerTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110077.373614.patch
Type: text/x-patch
Size: 7382 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210920/7d5d9319/attachment-0001.bin>


More information about the llvm-commits mailing list