mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 04:33:05 +00:00
Move createELFObjectWriter to its own header.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122064 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
14c0987bd9
commit
285b3e5b61
27
include/llvm/MC/MCELFObjectWriter.h
Normal file
27
include/llvm/MC/MCELFObjectWriter.h
Normal file
@ -0,0 +1,27 @@
|
||||
//===-- llvm/MC/MCELFObjectWriter.h - ELF Object Writer ---------*- C++ -*-===//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
// This file is distributed under the University of Illinois Open Source
|
||||
// License. See LICENSE.TXT for details.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_MC_MCELFOBJECTWRITER_H
|
||||
#define LLVM_MC_MCELFOBJECTWRITER_H
|
||||
|
||||
#include "llvm/MC/MCObjectWriter.h"
|
||||
#include "llvm/Support/DataTypes.h"
|
||||
|
||||
namespace llvm {
|
||||
/// \brief Construct a new ELF writer instance.
|
||||
///
|
||||
/// \param OS - The stream to write to.
|
||||
/// \returns The constructed object writer.
|
||||
MCObjectWriter *createELFObjectWriter(raw_ostream &OS, bool is64Bit,
|
||||
Triple::OSType OSType, uint16_t EMachine,
|
||||
bool IsLittleEndian,
|
||||
bool HasRelocationAddend);
|
||||
} // End llvm namespace
|
||||
|
||||
#endif
|
@ -190,10 +190,6 @@ public:
|
||||
static void EncodeULEB128(uint64_t Value, raw_ostream &OS);
|
||||
};
|
||||
|
||||
MCObjectWriter *createELFObjectWriter(raw_ostream &OS, bool is64Bit,
|
||||
Triple::OSType OSType, uint16_t EMachine,
|
||||
bool IsLittleEndian,
|
||||
bool HasRelocationAddend);
|
||||
MCObjectWriter *createWinCOFFObjectWriter(raw_ostream &OS, bool is64Bit);
|
||||
|
||||
} // End llvm namespace
|
||||
|
@ -20,6 +20,7 @@
|
||||
#include "llvm/MC/MCContext.h"
|
||||
#include "llvm/MC/MCELFSymbolFlags.h"
|
||||
#include "llvm/MC/MCExpr.h"
|
||||
#include "llvm/MC/MCELFObjectWriter.h"
|
||||
#include "llvm/MC/MCObjectWriter.h"
|
||||
#include "llvm/MC/MCSectionELF.h"
|
||||
#include "llvm/MC/MCSymbol.h"
|
||||
|
@ -13,6 +13,7 @@
|
||||
#include "llvm/ADT/Twine.h"
|
||||
#include "llvm/MC/MCAssembler.h"
|
||||
#include "llvm/MC/MCDirectives.h"
|
||||
#include "llvm/MC/MCELFObjectWriter.h"
|
||||
#include "llvm/MC/MCExpr.h"
|
||||
#include "llvm/MC/MCMachObjectWriter.h"
|
||||
#include "llvm/MC/MCObjectFormat.h"
|
||||
|
@ -13,6 +13,7 @@
|
||||
#include "llvm/ADT/Twine.h"
|
||||
#include "llvm/MC/MCAssembler.h"
|
||||
#include "llvm/MC/MCAsmLayout.h"
|
||||
#include "llvm/MC/MCELFObjectWriter.h"
|
||||
#include "llvm/MC/MCELFSymbolFlags.h"
|
||||
#include "llvm/MC/MCExpr.h"
|
||||
#include "llvm/MC/MCObjectFormat.h"
|
||||
|
@ -12,6 +12,7 @@
|
||||
#include "X86FixupKinds.h"
|
||||
#include "llvm/ADT/Twine.h"
|
||||
#include "llvm/MC/MCAssembler.h"
|
||||
#include "llvm/MC/MCELFObjectWriter.h"
|
||||
#include "llvm/MC/MCExpr.h"
|
||||
#include "llvm/MC/MCFixupKindInfo.h"
|
||||
#include "llvm/MC/MCMachObjectWriter.h"
|
||||
|
Loading…
Reference in New Issue
Block a user