1 //===- lib/MC/MCGOFFStreamer.cpp - GOFF Object Output ---------------------===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // This file assembles .s files and emits GOFF .o object files.
11 //===----------------------------------------------------------------------===//
13 #include "llvm/MC/MCGOFFStreamer.h"
14 #include "llvm/MC/MCAsmBackend.h"
15 #include "llvm/MC/MCAssembler.h"
16 #include "llvm/MC/MCCodeEmitter.h"
17 #include "llvm/MC/MCContext.h"
18 #include "llvm/MC/TargetRegistry.h"
22 MCGOFFStreamer::~MCGOFFStreamer() {}
24 MCStreamer
*llvm::createGOFFStreamer(MCContext
&Context
,
25 std::unique_ptr
<MCAsmBackend
> &&MAB
,
26 std::unique_ptr
<MCObjectWriter
> &&OW
,
27 std::unique_ptr
<MCCodeEmitter
> &&CE
) {
29 new MCGOFFStreamer(Context
, std::move(MAB
), std::move(OW
), std::move(CE
));