29 lines · cpp
1//===-- DirectXContainerObjectWriter.cpp - DX object writer ----*- 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 DXContainer object writers for the DirectX backend.10//11//===----------------------------------------------------------------------===//12 13#include "DirectXContainerObjectWriter.h"14#include "llvm/MC/MCDXContainerWriter.h"15 16using namespace llvm;17 18namespace {19class DirectXContainerObjectWriter : public MCDXContainerTargetWriter {20public:21 DirectXContainerObjectWriter() : MCDXContainerTargetWriter() {}22};23} // namespace24 25std::unique_ptr<MCObjectTargetWriter>26llvm::createDXContainerTargetObjectWriter() {27 return std::make_unique<DirectXContainerObjectWriter>();28}29