2010-12-17 00:09:19 +08:00
|
|
|
//===-- MCMachObjectTargetWriter.cpp - Mach-O Target Writer Subclass ------===//
|
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#include "llvm/MC/MCMachObjectWriter.h"
|
|
|
|
|
|
|
|
using namespace llvm;
|
|
|
|
|
2010-12-17 01:21:02 +08:00
|
|
|
MCMachObjectTargetWriter::MCMachObjectTargetWriter(
|
2010-12-17 13:50:29 +08:00
|
|
|
bool Is64Bit_, uint32_t CPUType_, uint32_t CPUSubtype_,
|
|
|
|
bool UseAggressiveSymbolFolding_)
|
|
|
|
: Is64Bit(Is64Bit_), CPUType(CPUType_), CPUSubtype(CPUSubtype_),
|
|
|
|
UseAggressiveSymbolFolding(UseAggressiveSymbolFolding_) {
|
2010-12-17 00:09:19 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
MCMachObjectTargetWriter::~MCMachObjectTargetWriter() {
|
|
|
|
}
|