brintos

brintos / llvm-project-archived public Read only

0
0
Text · 991 B · 88c6c8b Raw
26 lines · cpp
1//===- lib/MC/MCDXContainerStreamer.cpp - DXContainer Impl ----*- C++ -*---===//2//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-exception6//7//===----------------------------------------------------------------------===//8//9// This file contains the object streamer for DXContainer files.10//11//===----------------------------------------------------------------------===//12 13#include "llvm/MC/MCDXContainerStreamer.h"14#include "llvm/MC/MCAssembler.h"15#include "llvm/MC/TargetRegistry.h"16 17using namespace llvm;18 19MCStreamer *llvm::createDXContainerStreamer(20    MCContext &Context, std::unique_ptr<MCAsmBackend> &&MAB,21    std::unique_ptr<MCObjectWriter> &&OW, std::unique_ptr<MCCodeEmitter> &&CE) {22  auto *S = new MCDXContainerStreamer(Context, std::move(MAB), std::move(OW),23                                      std::move(CE));24  return S;25}26