1 //===-- PPCXCOFFObjectWriter.cpp - PowerPC XCOFF Writer -------------------===//
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
8 //===----------------------------------------------------------------------===//
10 #include "PPCMCTargetDesc.h"
11 #include "llvm/MC/MCXCOFFObjectWriter.h"
16 class PPCXCOFFObjectWriter
: public MCXCOFFObjectTargetWriter
{
19 PPCXCOFFObjectWriter(bool Is64Bit
);
21 } // end anonymous namespace
23 PPCXCOFFObjectWriter::PPCXCOFFObjectWriter(bool Is64Bit
)
24 : MCXCOFFObjectTargetWriter(Is64Bit
) {}
26 std::unique_ptr
<MCObjectTargetWriter
>
27 llvm::createPPCXCOFFObjectWriter(bool Is64Bit
) {
28 return std::make_unique
<PPCXCOFFObjectWriter
>(Is64Bit
);