//===- XCOFFAsmParser.cpp - XCOFF Assembly Parser //-----------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #include "llvm/BinaryFormat/XCOFF.h" #include "llvm/MC/MCParser/MCAsmParser.h" #include "llvm/MC/MCParser/MCAsmParserExtension.h" usingnamespacellvm; namespace { class XCOFFAsmParser : public MCAsmParserExtension { … }; } // end anonymous namespace namespace llvm { MCAsmParserExtension *createXCOFFAsmParser() { … } } // end namespace llvm // .csect QualName [, Number ] bool XCOFFAsmParser::ParseDirectiveCSect(StringRef, SMLoc) { … }