[PATCH] D110730: [SystemZ][z/OS] Introduce initial support for GOFF asm parser

Anirudh Prasad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 29 09:41:51 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.

- Introduce a skeleton outline for the GOFFAsmParser
- Before instantiating AsmParser/HLASMAsmParser, target specific asm parsers are attempted to be initialized first before proceeding. If it doesn't exist for a particular file type, we report a fatal error.
- This patch allows to properly instantiate the HLASMAsmParser on z/OS, and ensures we can write lit tests and unit tests which will involve the instantiation of asm parsers, without an assert / fatal error.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D110730

Files:
  llvm/lib/MC/MCParser/AsmParser.cpp
  llvm/lib/MC/MCParser/CMakeLists.txt
  llvm/lib/MC/MCParser/GOFFAsmParser.cpp
  llvm/unittests/MC/SystemZ/SystemZAsmLexerTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110730.375930.patch
Type: text/x-patch
Size: 25399 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210929/17b4942e/attachment.bin>


More information about the llvm-commits mailing list