Path: blob/main/contrib/llvm-project/llvm/lib/MC/MCDXContainerStreamer.cpp
35233 views
//===- lib/MC/MCDXContainerStreamer.cpp - DXContainer Impl ----*- 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//===----------------------------------------------------------------------===//7//8// This file contains the object streamer for DXContainer files.9//10//===----------------------------------------------------------------------===//1112#include "llvm/MC/MCDXContainerStreamer.h"13#include "llvm/MC/MCAssembler.h"14#include "llvm/MC/TargetRegistry.h"1516using namespace llvm;1718void MCDXContainerStreamer::emitInstToData(const MCInst &,19const MCSubtargetInfo &) {}2021MCStreamer *llvm::createDXContainerStreamer(22MCContext &Context, std::unique_ptr<MCAsmBackend> &&MAB,23std::unique_ptr<MCObjectWriter> &&OW, std::unique_ptr<MCCodeEmitter> &&CE) {24auto *S = new MCDXContainerStreamer(Context, std::move(MAB), std::move(OW),25std::move(CE));26return S;27}282930