[all-commits] [llvm/llvm-project] fb9942: [SystemZ][z/OS] Introduce initial support for GOFF...

Anirudh Prasad via All-commits all-commits at lists.llvm.org
Fri Oct 1 07:29:28 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fb99424a6f65b5a68902a59e0b84d72607f8884d
      https://github.com/llvm/llvm-project/commit/fb99424a6f65b5a68902a59e0b84d72607f8884d
  Author: Anirudh Prasad <anirudh_prasad at hotmail.com>
  Date:   2021-10-01 (Fri, 01 Oct 2021)

  Changed paths:
    M llvm/lib/MC/MCParser/AsmParser.cpp
    M llvm/lib/MC/MCParser/CMakeLists.txt
    A llvm/lib/MC/MCParser/GOFFAsmParser.cpp
    M llvm/unittests/MC/SystemZ/SystemZAsmLexerTest.cpp

  Log Message:
  -----------
  [SystemZ][z/OS] Introduce initial support for GOFF asm parser

- 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.

Reviewed By: uweigand, Kai

Differential Revision: https://reviews.llvm.org/D110730




More information about the All-commits mailing list