Path: blob/main/contrib/llvm-project/llvm/lib/Target/DirectX/MCTargetDesc/DirectXContainerObjectWriter.cpp
35293 views
//===-- DirectXContainerObjectWriter.cpp - DX object writer ----*- 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 DXContainer object writers for the DirectX backend.9//10//===----------------------------------------------------------------------===//1112#include "DirectXContainerObjectWriter.h"13#include "llvm/MC/MCDXContainerWriter.h"1415using namespace llvm;1617namespace {18class DirectXContainerObjectWriter : public MCDXContainerTargetWriter {19public:20DirectXContainerObjectWriter() : MCDXContainerTargetWriter() {}21};22} // namespace2324std::unique_ptr<MCObjectTargetWriter>25llvm::createDXContainerTargetObjectWriter() {26return std::make_unique<DirectXContainerObjectWriter>();27}282930