diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-12-16 16:08:33 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-12-16 16:08:33 +0000 |
commit | aa4b7dd13ba83152473950d7014a29686dc7eef6 (patch) | |
tree | eb79d36df3427b6b33d958354ac909daa295a1aa /include | |
parent | 7e06af85d11fd5c5b458b7044e73fd9c9da08112 (diff) | |
download | llvm-aa4b7dd13ba83152473950d7014a29686dc7eef6.tar.gz llvm-aa4b7dd13ba83152473950d7014a29686dc7eef6.tar.bz2 llvm-aa4b7dd13ba83152473950d7014a29686dc7eef6.tar.xz |
MC/Mach-O: Move createMachObjectWriter into MCMachObjectWriter.h.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121971 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/MC/MCMachObjectWriter.h | 23 | ||||
-rw-r--r-- | include/llvm/MC/MCObjectWriter.h | 3 |
2 files changed, 23 insertions, 3 deletions
diff --git a/include/llvm/MC/MCMachObjectWriter.h b/include/llvm/MC/MCMachObjectWriter.h new file mode 100644 index 0000000000..8dc4558916 --- /dev/null +++ b/include/llvm/MC/MCMachObjectWriter.h @@ -0,0 +1,23 @@ +//===-- llvm/MC/MCMachObjectWriter.h - Mach 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_MCMACHOBJECTWRITER_H +#define LLVM_MC_MCMACHOBJECTWRITER_H + +#include "llvm/MC/MCObjectWriter.h" + +namespace llvm { + +MCObjectWriter *createMachObjectWriter(raw_ostream &OS, bool is64Bit, + uint32_t CPUType, uint32_t CPUSubtype, + bool IsLittleEndian); + +} // End llvm namespace + +#endif diff --git a/include/llvm/MC/MCObjectWriter.h b/include/llvm/MC/MCObjectWriter.h index b819a5778f..bae3368f96 100644 --- a/include/llvm/MC/MCObjectWriter.h +++ b/include/llvm/MC/MCObjectWriter.h @@ -179,9 +179,6 @@ public: static void EncodeULEB128(uint64_t Value, raw_ostream &OS); }; -MCObjectWriter *createMachObjectWriter(raw_ostream &OS, bool is64Bit, - uint32_t CPUType, uint32_t CPUSubtype, - bool IsLittleEndian); MCObjectWriter *createELFObjectWriter(raw_ostream &OS, bool is64Bit, Triple::OSType OSType, uint16_t EMachine, bool IsLittleEndian, |