blob: 3cf297499c5020068cbb13140a8187a020a3e6ad [file] [log] [blame]
Bill Wendling841056a2007-01-24 03:36:05 +00001//===-- llvm/Target/TargetMachOWriterInfo.h - MachO Writer Info -*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file was developed by Bill Wendling and is distributed under the
6// University of Illinois Open Source License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9//
10// This file defines the TargetMachOWriterInfo class.
11//
12//===----------------------------------------------------------------------===//
13
14#include "llvm/Target/TargetMachOWriterInfo.h"
15#include "llvm/CodeGen/MachineRelocation.h"
16using namespace llvm;
17
18MachineRelocation
19TargetMachOWriterInfo::GetJTRelocation(unsigned Offset,
20 MachineBasicBlock *MBB) const {
21 // FIXME: do something about PIC
22 return MachineRelocation::getBB(Offset, MachineRelocation::VANILLA, MBB);
23}