mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-27 06:35:30 +00:00
841056a2ad
that the MachOWriter needs in order to do its writing stuff 'n things. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33475 91177308-0d34-0410-b5e6-96231b3b80d8
24 lines
890 B
C++
24 lines
890 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;
|
|
|
|
MachineRelocation
|
|
TargetMachOWriterInfo::GetJTRelocation(unsigned Offset,
|
|
MachineBasicBlock *MBB) const {
|
|
// FIXME: do something about PIC
|
|
return MachineRelocation::getBB(Offset, MachineRelocation::VANILLA, MBB);
|
|
}
|