mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-25 21:16:19 +00:00
ed60103206
llvm-svn: 33817
26 lines
942 B
C++
26 lines
942 B
C++
//===-- llvm/Target/TargetMachOWriterInfo.h - MachO Writer Info -*- C++ -*-===//
|
|
//
|
|
// 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 the TargetMachOWriterInfo class.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#include "llvm/Target/TargetMachOWriterInfo.h"
|
|
#include "llvm/CodeGen/MachineRelocation.h"
|
|
using namespace llvm;
|
|
|
|
TargetMachOWriterInfo::~TargetMachOWriterInfo() {}
|
|
|
|
MachineRelocation
|
|
TargetMachOWriterInfo::GetJTRelocation(unsigned Offset,
|
|
MachineBasicBlock *MBB) const {
|
|
// FIXME: do something about PIC
|
|
return MachineRelocation::getBB(Offset, MachineRelocation::VANILLA, MBB);
|
|
}
|