mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-26 13:10:34 +00:00
4ee451de36
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45418 91177308-0d34-0410-b5e6-96231b3b80d8
26 lines
907 B
C++
26 lines
907 B
C++
//===-- llvm/Target/TargetMachOWriterInfo.h - MachO Writer Info -*- C++ -*-===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file 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);
|
|
}
|