blob: 9a9d0d36e30868d287a67b653bb755608d90b7ae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
//===-- 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);
}
|