mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-10-11 23:25:15 +00:00
34f03fff2d
use to write things to the file. It's abstract so each target should implement its own version for each writer type. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33286 91177308-0d34-0410-b5e6-96231b3b80d8
23 lines
855 B
C++
23 lines
855 B
C++
//===-- PPCTargetObjInfo.cpp - Object File Info ----------------------------==//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file was developed by Bill Wendling and is distributed under the
|
|
// University of Illinois Open Source License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// This file defines target object file properties for PowerPC.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#include "PPCTargetObjInfo.h"
|
|
#include "llvm/Target/TargetData.h"
|
|
#include "llvm/Target/TargetMachine.h"
|
|
using namespace llvm;
|
|
|
|
MachOTargetObjInfo::MachOTargetObjInfo(const TargetMachine &tm)
|
|
: TM(tm),
|
|
is64Bit(TM.getTargetData()->getPointerSizeInBits() == 64),
|
|
isLittleEndian(TM.getTargetData()->isLittleEndian()) {}
|