blob: 9c661286d455de0e38adf8f615f56a78b9c4a106 [file] [log] [blame]
Sean Fertilef09d54e2019-07-09 19:21:01 +00001//===-- PPCXCOFFObjectWriter.cpp - PowerPC XCOFF Writer -------------------===//
2//
3//
4// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5// See https://llvm.org/LICENSE.txt for license information.
6// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7//
8//===----------------------------------------------------------------------===//
9
10#include "PPCMCTargetDesc.h"
11#include "llvm/MC/MCXCOFFObjectWriter.h"
12
13using namespace llvm;
14
15namespace {
16class PPCXCOFFObjectWriter : public MCXCOFFObjectTargetWriter {
17
18public:
19 PPCXCOFFObjectWriter(bool Is64Bit);
20};
21} // end anonymous namespace
22
23PPCXCOFFObjectWriter::PPCXCOFFObjectWriter(bool Is64Bit)
24 : MCXCOFFObjectTargetWriter(Is64Bit) {}
25
26std::unique_ptr<MCObjectTargetWriter>
27llvm::createPPCXCOFFObjectWriter(bool Is64Bit) {
28 return llvm::make_unique<PPCXCOFFObjectWriter>(Is64Bit);
29}