Path: blob/main/contrib/llvm-project/llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchELFStreamer.h
35294 views
//==-- LoongArchELFStreamer.h - LoongArch ELF Target Streamer --*- C++ -*--===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//78#ifndef LLVM_LIB_TARGET_LOONGARCH_MCTARGETDESC_LOONGARCHELFSTREAMER_H9#define LLVM_LIB_TARGET_LOONGARCH_MCTARGETDESC_LOONGARCHELFSTREAMER_H1011#include "LoongArchTargetStreamer.h"12#include "llvm/MC/MCELFStreamer.h"1314namespace llvm {1516class LoongArchTargetELFStreamer : public LoongArchTargetStreamer {17public:18MCELFStreamer &getStreamer();19LoongArchTargetELFStreamer(MCStreamer &S, const MCSubtargetInfo &STI);2021void finish() override;22};2324MCELFStreamer *createLoongArchELFStreamer(MCContext &C,25std::unique_ptr<MCAsmBackend> MAB,26std::unique_ptr<MCObjectWriter> MOW,27std::unique_ptr<MCCodeEmitter> MCE);28} // end namespace llvm29#endif303132